/*
 * overrides.css
 * Fixes and additions for the Next.js migration.
 * These override Webflow CSS without touching the original files,
 * making future Webflow CSS updates easy to drop in.
 */

/* ── 1. Remove page-load opacity hack ────────────────────────────────────
 * Webflow set opacity:0 on .page-wrapper and revealed it via webflow.js.
 * In Next.js, content is server-rendered — it should always be visible.
 */
.page-wrapper {
  opacity: 1 !important;
}

/* ── 2. Remove inline transform animations from IX2 ─────────────────────
 * Webflow IX2 baked transform + opacity:0 inline styles onto elements.
 * These are stripped in our JSX, but as a safety net, override any that
 * slipped through.
 */
[style*="opacity:0"] {
  opacity: 1 !important;
}
[style*="transform"] {
  transform: none !important;
}

/* ── 3. Nav dropdown — show when .w--open is present ────────────────────
 * React adds/removes .w--open via state; Webflow CSS handles the rest.
 */
.w-dropdown-list:not(.w--open) {
  display: none;
}
.w-dropdown-list.w--open {
  display: block;
}

/* ── 4. Mobile nav (≤991px) ─────────────────────────────────────────────
 * `data-collapse="medium"` on the .w-nav element uses Webflow's own rules
 * to hide the horizontal menu below 991px (so it never renders in flow at
 * 100vw and shoves the page down). The hamburger button is hidden too —
 * on collapsed views the header is just the logo + CTAs. The primary
 * destinations (Companies, Newsletter, Interview Prep) remain in the footer.
 */
@media (max-width: 991px) {
  .header.w-nav .menu-button {
    display: none;
  }
}

/* ── 5. FAQ accordion (replaces Webflow IX2 open/close) ─────────────────
 */
details.card.faq summary {
  list-style: none;
  cursor: pointer;
}
details.card.faq summary::-webkit-details-marker {
  display: none;
}
details.card.faq .faq-content-bottom {
  display: none;
}
details.card.faq[open] .faq-content-bottom {
  display: block;
}
details.card.faq[open] .faq-arrow-line-2 {
  transform: rotate(90deg);
}

/* ── 6. Navbar "Join Hardware FYI" button ───────────────────────────────
 * Same size/padding as "Post a Job" but amber yellow with dark text.
 */
.nav-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* match .button-primary.header-button sizing exactly */
  padding: 12.5px 20px;
  font-size: 16px;
  border-radius: 11px;
  font-weight: 600;
  line-height: 1.125em;
  /* distinct amber identity */
  background-color: #FFB700;
  color: #1a1a2e;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 10px;
  transition: background-color 0.2s, transform 0.3s;
  transform-style: preserve-3d;
  font-family: var(--_apps---typography--body-font);
}

.nav-join-btn:hover {
  background-color: #e6a500;
  color: #1a1a2e;
  transform: translate3d(0, -2px, 0.01px);
}

/* ── 6a. Sticky header — home page only ──────────────────────────────────
 * The header used to scroll away, taking the "Join Hardware FYI" and
 * "Post a Job" CTAs (plus the nav links) with it. On the home page — the
 * high-intent landing surface — pin it so everything stays reachable the
 * whole way down the long job list. Elsewhere the header scrolls away as
 * before. Navbar.tsx adds `.home-sticky` only when pathname === "/", and
 * toggles `.is-condensed` past ~40px purely to drop a whisper-soft shadow so
 * the bar reads as floating over the list — nothing resizes or hides. Sticky
 * (not fixed) keeps the bar in flow (no layout jump, no body padding);
 * z-index rides on Webflow's .w-nav (1000); the opaque #f8f9fa bg lets the
 * list scroll cleanly underneath.
 */
.header.w-nav.home-sticky {
  position: sticky;
  top: 0;
  transition: box-shadow 0.22s ease;
}
.header.w-nav.home-sticky.is-condensed {
  box-shadow: 0 2px 8px rgba(20, 20, 40, 0.06);
}

/* Nav pulled left, beside the logo. "Home" is redundant with the logo (both
 * go home) so it's dropped from the nav in Navbar.tsx; the remaining group —
 * Companies · Newsletter · Interview Prep — reads cleaner sitting next to the
 * logo than floating dead-center. margin-right:auto absorbs the free space so
 * the CTAs still hold the right edge. Desktop only; below 992px Webflow
 * collapses the horizontal nav to just logo + CTAs anyway. */
@media (min-width: 992px) {
  .header-wrapper .split-content.header-center {
    margin-right: auto;
    margin-left: 44px;
  }
}

/* ── 6b. Search bar above the job list ──────────────────────────────────
 * Full-width keyword search; debounces 350ms then updates ?q= in the URL.
 */
.job-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.job-search-icon {
  position: absolute;
  left: 16px;
  color: var(--neutral-500);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.job-search-input {
  width: 100%;
  min-height: 0;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--neutral-300);
  border-radius: 10px;
  background: #fff;
  font-family: var(--_apps---typography--body-font);
  font-size: 15px;
  line-height: 1.4;
  color: var(--neutral-800);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.job-search-input::placeholder {
  color: var(--neutral-500);
}

.job-search-input:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px #0061ff18;
}

.job-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* ── 6c. Filter summary bar ──────────────────────────────────────────── */
.filter-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--neutral-200);
  border-radius: 8px;
}

.filter-summary-text {
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.filter-summary-clear-button {
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  background: #fff;
  color: var(--neutral-800);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 14px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.filter-summary-clear-button:hover {
  border-color: var(--primary-1);
  color: var(--primary-1);
  transform: translateY(-1px);
}

.results-meta-section {
  border-top: 1px solid var(--neutral-300);
  margin-bottom: 28px;
  padding-top: 18px;
}

.results-heading-row {
  display: flex;
  align-items: center;
  /* flex-start (not space-between): the track toggle anchors left, results
     copy sits beside it, and the sort control right-aligns itself via its
     own margin-left: auto — identical layout when the toggle is absent. */
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  min-height: 0;
}

/* Results count relocated out of the tab row to sit beneath the weekly banner
   as a standalone stat. The margin is the gap from the banner above it. */
.results-count-line {
  margin-top: 14px;
}

/* ── Sort control ───────────────────────────────────────────────────────── */
.job-sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.job-sort-label {
  color: var(--neutral-500);
  font-family: var(--_apps---typography--body-font);
  font-size: 13px;
  font-weight: 600;
  /* Match the trigger's centered text: a symmetric line box keeps the glyphs
     optically centered against the taller dropdown control in the flex row. */
  line-height: 1.2;
  white-space: nowrap;
}

/* Sort dropdown — reuses the sidebar filter dropdown's classes (.select-input /
   .input-4 / .select-dropdown-copy / .sidebar-filter-option) so the trigger,
   chevron, floating panel and option rows are identical to the left-side
   filters. These overrides adapt that full-width sidebar control to a compact,
   content-width, right-aligned control on the results row. */
.job-sort-dropdown.select-input.w-dropdown {
  width: auto;
  flex: 0 0 auto;
}

.job-sort-dropdown .input-4.w-dropdown-toggle {
  width: auto;
  min-width: 150px;
  margin: 0;
}

/* Anchor the floating panel to the trigger's right edge so it never spills off
   the right side of the results row. */
.job-sort-dropdown .select-dropdown-copy.w-dropdown-list {
  left: auto;
  right: 0;
}

/* ── Job board layout ───────────────────────────────────────────────────
   Desktop: the filter sidebar only holds four selects — slim it down and
   hand the reclaimed width to the job cards. Scoped ≥992px because the
   tablet/mobile breakpoints stack it full-width above the results. */
@media (min-width: 992px) {
  .split-content.job-sidebar {
    max-width: 250px;
    margin-right: 28px;
  }

  .split-content.job-board-content {
    max-width: none;
    flex: 1;
    min-width: 0;
  }
}

/* ── Job card ───────────────────────────────────────────────────────────
   Logo chip: fixed square so long titles can't squeeze it (it's a flex
   item), contain instead of cover so non-square logos never get cropped. */
.image-wrapper.card-job {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  flex-shrink: 0;
  justify-content: center;
  border-radius: 12px;
  background-color: var(--neutral-100);
  margin-right: 20px;
}

.image.card-job {
  object-fit: contain;
  width: 100%;
  height: 100%;
  min-width: 0;
}

/* Hierarchy: title leads, metadata values sit a clear step below it.
   Weight 500 (not 600) keeps it authoritative without shouting; the extra
   line-height gives two-line titles proper breathing room. */
.title.h6-size.card-job {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--neutral-800);
  margin-bottom: 4px;
}

/* Company line (§7a). The board card links to the job, not the company, so the
   name is plain muted text — not the blue underlined "external link + arrow"
   the base .card-link carries (that treatment stays on /companies, where the
   card really does open the company and the arrow is honest). The arrow markup
   is dropped in JobCard.tsx; this only recolours the name. */
.card-link.card-link--plain {
  color: var(--neutral-600);
  font-weight: 500;
  margin-right: 0;
  text-decoration: none;
}

/* Give the title/company block the room it needs; keep the right side
   just wide enough that "Manager / Director" fits on one line. */
.split-content.card-job-right {
  max-width: 520px;
  gap: 20px;
  align-items: flex-start;
}

.card-job-category-wrapper {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

/* Desktop row layout only — the theme stacks the card vertically ≤767px.
   flex-basis 0 on the left so long titles wrap instead of squeezing the
   metadata block: Location/Level/Department land in the same vertical
   lanes on every card. Lanes are sized to their content, not equal thirds
   (at 520px total: ~155/135/190) — Level fits "Manager / Director" (128px),
   Department fits "Manufacturing Engineering" (183px). Equal thirds left
   Level/Location with trapped whitespace while Department wrapped to two
   lines. The block stays vertically centered via .card.job. */
@media screen and (min-width: 768px) {
  .split-content.card-job-left {
    flex: 1 1 0;
  }

  .split-content.card-job-right {
    flex: 0 1 520px;
    display: grid;
    grid-template-columns: 155fr 135fr 190fr;
    align-items: start;
  }
}

.card-job-category-title-wrapper {
  margin-bottom: 6px;
}

.card-job-category-text {
  font-size: 15px;
  color: var(--neutral-700);
  line-height: 1.35;
}

/* Salary is supporting metadata — regular weight, muted */
.card-job-salary {
  display: flex;
  align-items: center;
  margin-top: 10px;
  color: var(--neutral-600);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.143em;
}

.card-job-salary-icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  opacity: 0.6;
}

/* Posted-date line — only rendered when the board is sorted by post date.
   A step quieter than salary: it's context for the sort, not job data. */
.card-job-posted {
  margin-top: 6px;
  color: var(--neutral-500);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.job-results-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
}

.job-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border: 1px solid #d7e4ff;
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--primary-1);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.job-results-label {
  color: #3f4862;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.job-results-meta-copy {
  /* No top margin: this copy sits inline in the centered `.results-heading-row`
     beside the track toggle, so any top margin drops it below the tab baseline.
     When the row wraps on mobile, the row's own `gap: 12px` supplies the
     vertical spacing. */
  margin: 0;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.job-results-error {
  margin: 8px 0 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.hiring-promo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 10px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
}

.hiring-promo-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hiring-promo-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  color: #475467;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.hiring-promo-copy {
  margin: 0;
  color: #101828;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hiring-promo-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.hiring-promo-button:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

/* ── Empty board state — minimal inline ─────────────────────────────────
 * Replaces the old boxed .job-empty-state card. Rendered by JobsBoardClient
 * wherever a filter or search returns nothing (home, category, /search). No
 * card chrome — the surrounding board already frames it. Two modes: a
 * "clear filters" link when filters are active, else a "subscribe" link.
 */
.board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
}

.board-empty-icon {
  margin-bottom: 16px;
  color: var(--neutral-500);
}

.board-empty-title {
  margin: 0 0 6px;
  color: var(--neutral-800);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.board-empty-text {
  margin: 0 0 16px;
  color: var(--neutral-600);
  font-size: 14px;
}

.board-empty-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary-1);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.15s;
}

.board-empty-action:hover {
  gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .board-empty-action {
    transition: none;
  }
}

.job-board-load-more-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
}

/* Accent-outline treatment: reads as "there's more" without competing with the
 * primary Apply CTAs on each card. Hover mirrors the "Clear all filters" link
 * (.board-empty-action) — no fill or lift, just the arrow nudging along. */
.job-board-load-more {
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #fff;
  border: 1.5px solid var(--primary-1);
  color: var(--primary-1);
}

.job-board-load-more-arrow {
  transition: transform 0.15s;
}

.job-board-load-more:hover {
  background-color: #fff;
  border-color: var(--primary-1);
  color: var(--primary-1);
  transform: none;
}

.job-board-load-more:hover .job-board-load-more-arrow {
  transform: translateY(2px);
}

.job-board-load-more:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Scale cue for a deep board — "Showing 50 of 11,195 jobs" */
.job-board-load-more-count {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--neutral-600);
}

/* .section.home has padding-bottom:0 (hardware-fyi.css), so the board's last
 * element — the Load more button, or the last card once fully loaded — butted
 * right up against the footer. Give the section breathing room before it. */
.section.home {
  padding-bottom: 64px;
}

/* ── Hero top offset ─────────────────────────────────────────────────────
 * The gap under the sticky nav was stacking three sources: the section's top
 * padding (0 on desktop, but 86 / 69 / 50px at the legacy Webflow tablet→phone
 * breakpoints) PLUS the H1's own 40px margin-top + 20px padding-top. On tablet
 * that summed to ~146px of dead air over the headline; even desktop ran ~60px.
 * Collapse it to a single intentional offset the H1 owns, so the headline sits
 * the same tidy distance below the nav at every width. Also applied to
 * .section.companies (the /companies index + /salaries, which share the hero
 * rhythm); .section.company (singular — individual company header pages) is
 * intentionally left alone. Plain selectors here beat the base media-query
 * rules — overrides.css loads last and specificity is equal, so source order
 * wins at every breakpoint. */
.section.home,
.section.companies {
  padding-top: 0;
}
.section.home .heading-copy-copy-2,
.section.companies .heading-copy-copy-2 {
  margin-top: 0;
  padding-top: 32px;
}
@media (max-width: 479px) {
  .section.home .heading-copy-copy-2,
  .section.companies .heading-copy-copy-2 {
    padding-top: 24px;
  }
}

/* ── 7. Featured jobs — inline, highlighted, sorted to the top ───────────
 * Featured ("Boosted") posts live in the single main list (not a separate
 * section), so they still surface under any filter or search. They sort
 * first (default "Featured" sort) and carry the Webflow featured treatment:
 * the "Rail": a brand-blue (--primary-1) left rail + faint left-to-right wash,
 * plus a single accent dot as a quiet "promoted" marker — no word-tag, no
 * yellow. They pin to the top of the default sort; past
 * HYBRID_FEATURED_THRESHOLD matches they interleave instead (lib/job-board.ts).
 * Overrides the base .card.job.featured rule (hardware-fyi.css).
 */
/* Featured cards breathe a soft brand-blue glow — a gentle pulse that draws
 * the eye to promoted (paid) posts without a loud tag. Intensity sits between
 * a faint halo and a strong one. The left rail stays solid; only the other
 * three borders deepen slightly with the glow. Frozen for reduced-motion. */
@keyframes featured-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
    border-color: color-mix(in srgb, var(--primary-1) 22%, var(--neutral-300));
    border-left-color: var(--primary-1);
  }
  50% {
    box-shadow: 0 0 21px 2px color-mix(in srgb, var(--primary-1) 30%, transparent);
    border-color: color-mix(in srgb, var(--primary-1) 34%, var(--neutral-300));
    border-left-color: var(--primary-1);
  }
}

.card.job.featured {
  position: relative;
  /* .card sets overflow:hidden; the dot sits in the corner, so let it out */
  overflow: visible;
  /* Solid fallbacks first for pre-color-mix browsers, then the mixes. */
  background-color: #f6f9ff;
  border-color: var(--primary-1);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary-1) 6%, #fff),
    #fff 42%
  );
  border-color: color-mix(in srgb, var(--primary-1) 22%, var(--neutral-300));
  border-left: 3px solid var(--primary-1);
  animation: featured-glow 3.4s ease-in-out infinite;
}

/* Gate the pulse to hybrid-interleave mode. Under the 5-featured threshold the
 * board pins featured to the top (JobsBoardClient adds this modifier), where a
 * static rail reads calmer than a stack of pulsing cards. The rail, tint, and
 * dot stay; only the animated glow drops. Marketing demos (hiring/homepage)
 * render featured cards outside .jobs-grid, so they keep the pulse. */
.jobs-grid--no-featured-glow .card.job.featured {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .card.job.featured {
    animation: none;
  }
}

.card.job.featured:hover {
  border-color: color-mix(in srgb, var(--primary-1) 45%, var(--neutral-300));
  border-left-color: var(--primary-1);
}

/* Single accent dot — a quiet promoted marker, tucked in the top-right corner
 * above the Location / Level / Department column headers. */
.card.job.featured::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-1);
  pointer-events: none;
}

/* Keep card hierarchy intact inside the featured tint: salary stays
 * regular weight (never bold), logo chips keep their standard size. */
.card.job.featured .card-job-salary {
  font-weight: 400;
}

/* ── 8. Sidebar filter dropdown — float the panel absolutely ────────────
 * hardware-fyi.css leaves .select-dropdown-copy in normal flow, which
 * pushes the filters below it down. Make the panel float over the content.
 */
.select-input.w-dropdown {
  position: relative;
  display: block;   /* override Webflow's inline-block so it fills the sidebar width */
  width: 100%;
}

.select-dropdown-copy.w-dropdown-list,
.select-dropdown.w-dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  min-width: 100%;
  display: block;
  background-color: #fff;
  border: 0.5px solid #b8bbd1;
  border-radius: 6px;
  padding: 0.5rem 0.5rem 0.25rem;
  box-shadow: 0 10px 12px -3px #0000001a;
  /* Location lists all 50 states — cap the panel and scroll inside it */
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.985);
  transform-origin: top center;
  transition:
    opacity 140ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 180ms;
  will-change: opacity, transform;
}

.select-dropdown-copy.w-dropdown-list.w--open,
.select-dropdown.w-dropdown-list.w--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

/* ── 9a. Sidebar filter — .input-4 trigger ───────────────────────────────
 *
 * The .input-4 trigger is a rectangular input-style box.
 * hardware-fyi.css already fully styles it; we only add:
 *   - cursor pointer
 *   - dropdown chevron via ::after
 *   - blue border highlight when a value is active
 */

/* Make the .input-4 trigger behave as a button */
.input-4.w-dropdown-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  position: relative;
  /* override the default min-height to give a bit more breathing room */
  min-height: 38px;
  padding-right: 36px; /* room for the chevron */
  transition:
    border-color 160ms ease,
    box-shadow 180ms ease,
    background-color 160ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dropdown chevron */
.input-4.w-dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #6e6e6e;
  transition: transform 0.2s;
}

.input-4.w-dropdown-toggle.w--open::after {
  transform: translateY(-50%) rotate(180deg);
}

.input-4.w-dropdown-toggle.w--open {
  border-color: #1d894e;
  box-shadow: 0 10px 24px -18px rgba(29, 137, 78, 0.55);
  transform: translateY(-1px);
}

/* Active / selected state — blue border */
.input-4.filter-active-input {
  border-color: var(--primary-1);
}

.filter-selected-text {
  color: var(--neutral-800);
  font-weight: 500;
}

/* ── 10. Sidebar .div-block-9 — stacking context + open elevation ────────
 * hardware-fyi.css sets position:sticky on .div-block-9 (each filter block).
 * Override to relative so the sidebar scroll is correct, and give each
 * section z-index:1 so it forms its own stacking context.
 * When its inner panel is open, :has() elevates it above all siblings.
 */
.div-block-9 {
  position: relative !important;
  z-index: 1;
}

.div-block-9:has(.w--open) {
  z-index: 50;
}

/* ── 11. Sidebar filter option rows ─────────────────────────────────────
 * Clean button rows replacing the Webflow checkbox structure.
 */
.sidebar-filter-options {
  padding: 4px 2px;
}

.sidebar-filter-group + .sidebar-filter-group {
  margin-top: 12px;
}

.sidebar-filter-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  padding: 4px 8px 6px;
  font-family: var(--_apps---typography--body-font);
}

.sidebar-filter-option {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 7px 8px;
  font-size: 13px;
  font-family: var(--_apps---typography--body-font);
  color: var(--neutral-600);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  line-height: 1.4;
}

.sidebar-filter-option:hover {
  background: #f4f4f6;
  color: var(--neutral-800);
}

.sidebar-filter-option.active {
  background: #e8efff;
  color: var(--primary-1);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .select-dropdown-copy.w-dropdown-list,
  .select-dropdown.w-dropdown-list,
  .input-4.w-dropdown-toggle,
  .input-4.w-dropdown-toggle::after,
  .sidebar-filter-option {
    transition: none !important;
  }
}

/* ── 12. Footer — Verge-inspired minimal (Option A, soft-gray accent) ────
 * Logo + social circles up top, a bold row of category links, a muted row
 * of resource links, and a small-caps copyright. Uses .site-footer so it
 * never collides with the old Webflow .footer-* rules. Markup: Footer.tsx.
 */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid var(--neutral-300);
  font-family: var(--_apps---typography--body-font);
}

.sf-inner {
  max-width: 1246px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

/* Top row: logo left, social circles right */
.sf-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.sf-logo {
  display: block;
  flex-shrink: 0;
  padding-top: 4px;
  transition: opacity 0.15s ease;
}

.sf-logo:hover {
  opacity: 0.85;
}

.sf-logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Social circles — soft gray at rest, invert to dark gray on hover */
.sf-socials {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.sf-social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.sf-social svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.sf-social:hover {
  background: var(--neutral-700);
  border-color: var(--neutral-700);
  color: #fff;
}

/* Link rows with hairline pipe separators */
.sf-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  row-gap: 14px;
}

.sf-links li {
  display: flex;
  align-items: center;
}

.sf-links li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 14px;
  margin: 0 18px;
  background: var(--neutral-300);
}

.sf-links a {
  text-decoration: none;
  transition: color 0.12s ease, opacity 0.12s ease;
}

.sf-links-primary a {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--neutral-700);
}

.sf-links-primary a:hover {
  opacity: 0.6;
}

.sf-links-secondary {
  margin-top: 20px;
}

.sf-links-secondary a {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--neutral-600);
}

.sf-links-secondary a:hover {
  color: var(--neutral-800);
}

.sf-copyright {
  margin: 44px 0 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

@media (max-width: 991px) {
  .sf-top {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 44px;
  }
}

@media (max-width: 767px) {
  .sf-inner {
    padding-top: 48px;
  }

  .sf-logo img {
    height: 32px;
  }

  .sf-links li:not(:last-child)::after {
    margin: 0 12px;
  }

  .sf-links-primary a {
    font-size: 14.5px;
  }
}

@media (max-width: 479px) {
  /* pipes orphan at line ends when every item wraps — drop them */
  .sf-links {
    column-gap: 22px;
  }

  .sf-links li:not(:last-child)::after {
    display: none;
  }

  .sf-social {
    width: 40px;
    height: 40px;
  }

  .sf-socials {
    gap: 10px;
  }
}

/* ── 13. Pending state ───────────────────────────────────────────────── */
.filter-pending {
  pointer-events: none;
  opacity: 0.6;
}

/* ── 13. Clear filters button inside the sidebar ────────────────────── */
.filter-clear-sidebar-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  font-family: var(--_apps---typography--body-font);
  color: var(--neutral-600);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}

.filter-clear-sidebar-btn:hover {
  border-color: var(--primary-1);
  color: var(--primary-1);
}

.filter-clear-sidebar-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── 14. Collapsible filters on tablet/mobile (≤991px) ──────────────────
 * Below 992px the board becomes a single column and the four filter
 * dropdowns would stack above the job list. Hide them behind a
 * "Filters" toggle bar instead; when expanded, lay the sections out in
 * a 2-column grid on tablet and a single column on phones.
 */
.job-filters-toggle {
  display: none;
}

@media (max-width: 991px) {
  .job-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--neutral-300);
    border-radius: 10px;
    background: #fff;
    color: var(--neutral-800);
    font-family: var(--_apps---typography--body-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .job-filters-toggle:hover {
    border-color: var(--primary-1);
  }

  .job-filters-toggle:focus-visible {
    outline: none;
    border-color: var(--primary-1);
    box-shadow: 0 0 0 3px #0061ff18;
  }

  .job-filters-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .job-filters-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--primary-1);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  .job-filters-toggle-chevron {
    flex-shrink: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6e6e6e;
    transition: transform 0.2s;
  }

  .split-content.job-sidebar.filters-open .job-filters-toggle-chevron {
    transform: rotate(180deg);
  }

  .split-content.job-sidebar {
    margin-bottom: 24px;
    margin-right: 0;
  }

  /* Collapsed by default; no sticky behavior in single-column layout */
  .split-content.job-sidebar .job-sidebar-wrapper {
    display: none;
    position: static;
    margin-bottom: 0;
  }

  .split-content.job-sidebar.filters-open .job-sidebar-wrapper {
    display: block;
    margin-top: 14px;
  }

  /* Filter sections: 2-up grid on tablet */
  .split-content.job-sidebar .form-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .split-content.job-sidebar .form-block-copy-2 {
    margin-bottom: 0;
  }

  .split-content.job-sidebar .div-block-9 {
    width: 100%;
    margin: 0;
  }

  .split-content.job-sidebar .filter-clear-sidebar-btn {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}

@media (max-width: 479px) {
  /* Single column of filters on phones */
  .split-content.job-sidebar .form-2 {
    grid-template-columns: 1fr;
  }
}

/* ── Job detail page: banner + logo ──────────────────────────────────────── */

/* The main column only had max-width, so its flex width was content-driven:
   it shrink-wrapped to the card at first paint, then snapped wider once the
   related-jobs grid streamed in below (visible resize). A definite width
   makes it fill its 849px slot immediately, before any streamed content. */
.split-content.job-post-body {
  width: 100%;
}

/* Banner must fill the full card width — .card.job-post uses align-items:center
   which would otherwise shrink the image-wrapper to content width */
.image-wrapper.card-job-post {
  width: 100%;
  align-self: stretch;
}

/* Logo: clip image to the rounded container */
.image-wrapper.card-job-post-logo {
  overflow: hidden;
  padding: 0;
  background-color: transparent;
}

@media (max-width: 767px) {
  .job-search-input {
    padding: 14px 16px 14px 44px;
    border-radius: 10px;
    font-size: 15px;
  }

  .job-search-icon {
    left: 16px;
    width: 18px;
    height: 18px;
  }

  .filter-summary-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-summary-clear-button {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
  }

  .results-meta-section {
    margin-bottom: 20px;
    padding-top: 14px;
  }

  .results-heading-row {
    flex-wrap: wrap;
  }

  .job-sort-control {
    width: 100%;
  }

  /* Let the dropdown stretch to fill the row alongside the label on mobile. */
  .job-sort-dropdown.select-input.w-dropdown {
    flex: 1;
  }

  .job-sort-dropdown .input-4.w-dropdown-toggle {
    width: 100%;
    min-width: 0;
  }

  .job-results-title {
    gap: 8px 10px;
  }

  .job-count-badge,
  .job-results-label {
    font-size: inherit;
  }

  .job-count-badge {
    padding: 5px 10px;
    font-size: 12px;
  }

  .job-results-label {
    font-size: 14px;
  }

  .job-results-meta-copy,
  .job-results-error {
    font-size: 13px;
  }

  .hiring-promo-banner {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .hiring-promo-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hiring-promo-copy {
    font-size: 15px;
  }

  .hiring-promo-button {
    width: 100%;
  }

  .job-board-load-more-wrapper {
    margin-top: 22px;
  }

  .job-board-load-more {
    width: 100%;
  }

  .section.home {
    padding-bottom: 44px;
  }
}

/* ── Post a Featured Job (/post-a-job) ──────────────────────────────────
   Dedicated pjf-* field system — deliberately avoids Webflow's pill
   .input/.button-primary classes. Control styling mirrors the job-board
   surfaces (.job-search-input, .job-sort-dropdown) so the whole product
   reads as one design: 10px-radius fields, 1.5px borders, soft blue
   focus ring, left-aligned text. */
.section.post-job {
  /* match the board/companies surfaces: white cards on the gray canvas,
     and a seamless transition into the gray footer. Shorthand on purpose —
     it clears the legacy Webflow blue gradient (background-image) on this
     same selector in hardware-fyi.css. */
  background: #f8f9fa;
  padding-top: 0;
  padding-bottom: 0;
}

.post-job-container {
  max-width: 1120px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.post-job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  /* aside must stretch to full column height or the sticky summary
     inside it has no scroll range */
}

.post-job-header {
  margin-bottom: 32px;
}

/* Monochrome-clean restyle: gray eyebrow, blue is reserved for the CTA,
   focus ring and required marks only (§ Vercel-inspired form pass). */
.post-job-eyebrow {
  color: var(--neutral-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.post-job-heading {
  color: var(--neutral-800);
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 12px;
}

.post-job-sub {
  color: var(--neutral-600);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 0;
}

/* Sticky order summary — flat card, hairline border, monochrome checks */
.post-job-summary {
  position: sticky;
  top: 28px;
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(23, 23, 40, 0.04);
}

.post-job-summary-label {
  color: var(--neutral-500);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.post-job-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-300);
  margin-bottom: 16px;
}

.post-job-price {
  color: var(--neutral-800);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.post-job-price-term {
  color: var(--neutral-500);
  font-size: 12.5px;
  font-weight: 500;
}

.post-job-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.post-job-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--neutral-600);
  font-size: 13px;
  line-height: 1.45;
}

.post-job-benefit svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--neutral-800);
}

/* Rail CTA — sized a step smaller than the below-form submit so the two
   don't shout at each other; sits above the Stripe reassurance foot.
   Chained selector beats plain .pjf-submit regardless of source order. */
.post-job-summary-cta.pjf-submit {
  margin-top: 4px;
  margin-bottom: 16px;
  padding: 11px 18px;
  font-size: 14px;
}

.post-job-summary-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--neutral-300);
  padding-top: 16px;
  color: var(--neutral-500);
  font-size: 12px;
  line-height: 1.4;
}

.post-job-summary-foot svg {
  flex-shrink: 0;
}

/* Form shell */
.pjf {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pjf-card {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  padding: 24px 24px 26px;
  box-shadow: 0 1px 2px rgba(23, 23, 40, 0.04);
}

.pjf-card-head {
  margin-bottom: 20px;
}

.pjf-card-title {
  color: var(--neutral-800);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 4px;
}

.pjf-card-desc {
  color: var(--neutral-600);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
}

.pjf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.pjf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 0;
}

.pjf-field-full {
  grid-column: 1 / -1;
}

/* Bundle (Growth Pack) form — repeatable role rows on /post-a-bundle */
.pjf-card-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.pjf-count {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-600);
  background: var(--neutral-200);
  border: 1px solid var(--neutral-300);
  border-radius: 100px;
  padding: 3px 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pjf-roles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Role rows read as their own hairline cards on the muted surface, rather
   than divider-separated blocks. */
.pjf-role {
  padding: 16px;
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  background: var(--neutral-200);
}
.pjf-role-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pjf-role-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
}
.pjf-role-remove {
  border: none;
  background: none;
  padding: 4px 6px;
  margin: -4px -6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--neutral-500);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}
.pjf-role-remove:hover {
  color: #b42318;
  background: #fef3f2;
}
/* Ghost "add role" — hairline border, quiet until hover (no dashed rule) */
.pjf-add-role {
  margin-top: 14px;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  background: #fff;
  color: var(--neutral-700);
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.pjf-add-role:hover {
  border-color: var(--neutral-400);
  background: var(--neutral-200);
  color: var(--neutral-800);
}
.pjf-add-role:focus-visible {
  outline: 2px solid var(--primary-1);
  outline-offset: 2px;
}

.pjf-label {
  color: var(--neutral-700);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.pjf-req {
  color: var(--primary-1);
  font-weight: 600;
}

/* Controls */
.pjf-input,
.pjf-select,
.pjf-textarea {
  width: 100%;
  margin: 0;
  min-height: 0;
  padding: 9px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  background-color: #fff;
  color: var(--neutral-800);
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.pjf-input::placeholder,
.pjf-textarea::placeholder {
  color: var(--neutral-500);
  font-size: 14px;
}

.pjf-input:hover,
.pjf-select:hover,
.pjf-textarea:hover {
  border-color: var(--neutral-400);
}

.pjf-input:focus,
.pjf-select:focus,
.pjf-textarea:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.15);
}

/* Custom form dropdown (PostJobSelect) — adopts the job board's floating-panel
   dropdown identity: the panel (.select-dropdown-copy) and option rows
   (.sidebar-filter-option) are inherited wholesale from the home page filters
   (§8–11 above). Only the trigger is styled here, sized to match the .pjf-input
   text fields so the two line up in the grid, with the same rotating chevron
   and open highlight as the sidebar filters. */
.pjf-select-dropdown.select-input.w-dropdown {
  width: 100%;
  display: block;
}

/* Each .w-dropdown wrapper is its own stacking context at z-index:900 (the
   Webflow default), so all the form's dropdowns tie and paint in DOM order —
   which traps an open panel behind the triggers of fields that come after it
   (Industry's list falls behind the Level / Job type boxes). Lift the wrapper
   whose panel is open above its siblings, mirroring the sidebar's
   .div-block-9:has(.w--open) elevation (§10). */
.pjf-select-dropdown.w-dropdown:has(.w--open) {
  z-index: 1000;
}

.pjf-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding: 9px 34px 9px 12px; /* extra right padding clears the chevron */
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  background-color: #fff;
  color: var(--neutral-800);
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pjf-select-trigger:hover {
  border-color: var(--neutral-400);
}

.pjf-select-trigger:focus-visible,
.pjf-select-trigger.w--open {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.15);
}

/* Rotating chevron — the same signature as the home page filter triggers */
.pjf-select-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #6e6e6e;
  transition: transform 0.2s;
  pointer-events: none;
}

.pjf-select-trigger.w--open::after {
  transform: translateY(-50%) rotate(180deg);
}

.pjf-select-value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pjf-select-value.is-placeholder {
  color: var(--neutral-500);
}

@media (prefers-reduced-motion: reduce) {
  .pjf-select-trigger,
  .pjf-select-trigger::after {
    transition: none !important;
  }
}

.pjf-textarea {
  height: auto;
  padding: 10px 12px;
  line-height: 1.55;
  resize: vertical;
}

.pjf-hint {
  color: var(--neutral-500);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Errors */
.pjf-errors {
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  padding: 14px 18px;
}

.pjf-error {
  color: #b91c1c;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.pjf-error:last-child {
  margin-bottom: 0;
}

/* Inline per-field validation — our own replacement for the browser's native
   tooltip bubbles (the forms carry noValidate). An invalid control turns its
   1.5px border red and swaps its blue focus ring for a red one; the message
   sits in the same slot as the field hint. Reds mirror the .pjf-errors
   palette so the whole board reads as one system. */
.pjf-input[aria-invalid="true"],
.pjf-textarea[aria-invalid="true"],
.pjf-select-trigger[aria-invalid="true"] {
  border-color: #dc2626;
}

.pjf-input[aria-invalid="true"]:hover,
.pjf-textarea[aria-invalid="true"]:hover,
.pjf-select-trigger[aria-invalid="true"]:hover {
  border-color: #dc2626;
}

.pjf-input[aria-invalid="true"]:focus,
.pjf-textarea[aria-invalid="true"]:focus,
.pjf-select-trigger[aria-invalid="true"]:focus,
.pjf-select-trigger[aria-invalid="true"]:focus-visible {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.pjf-field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
  animation: pjf-field-error-in 140ms ease-out;
}

.pjf-field-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

@keyframes pjf-field-error-in {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pjf-field-error {
    animation: none;
  }
}

/* Submit */
.pjf-submit-row {
  margin-top: 4px;
}

.pjf-submit {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  background-color: var(--primary-1);
  color: #fff;
  font-family: var(--_apps---typography--body-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.pjf-submit:hover {
  background-color: #034fcb;
}

.pjf-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-1);
}

.pjf-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.pjf-submit-hint {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--neutral-500);
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
}

/* ── Split-checkout: post-payment completion step ────────────────────────
 * The success page collects the full write-up. It has no pricing aside, so
 * it centers in a single readable column instead of the two-col layout. */
.post-job-complete {
  max-width: 720px;
  margin: 0 auto;
}

/* Read-only reminder of what was just paid for, above the details form. */
.pjf-summary-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: #f4f8ff;
  border: 1px solid #dce7ff;
  border-radius: 10px;
}

.pjf-summary-chip-label {
  color: var(--primary-1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pjf-summary-chip-role {
  color: var(--neutral-800);
  font-size: 15px;
  font-weight: 600;
}

.pjf-summary-chip-co {
  color: var(--neutral-600);
  font-size: 15px;
}

.pjf-summary-chip-co::before {
  content: "·";
  margin-right: 10px;
  color: var(--neutral-400);
}

/* Confirmation shown once the details form is submitted. */
.pjf-done {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(23, 23, 40, 0.04);
}

.pjf-done-title {
  color: var(--neutral-800);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.pjf-done-text {
  color: var(--neutral-600);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 24px;
}

@media (max-width: 991px) {
  .post-job-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .post-job-summary {
    position: static;
  }

  /* On the mobile stack the rail lands right below the form's own CTA, so
     showing both would just be a duplicate. Keep the below-form submit. */
  .post-job-summary-cta.pjf-submit {
    display: none;
  }
}

@media (max-width: 640px) {
  .post-job-container {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .pjf-grid {
    grid-template-columns: 1fr;
  }

  .pjf-card {
    border-radius: 12px;
    padding: 20px 18px 22px;
  }
}

/* ── 15. Newsletter banner: retro shadow + schematic signal pulse ────────
 * (HOMEPAGE) The promo banner gets a hard-offset "retro" shadow, and the
 * gap between the copy and the Subscribe button becomes a schematic net
 * (components/SignalTrace.tsx): a solid wire from a junction dot at the
 * copy end, terminating into a horizontal ground cap beside the button.
 * A pulse (site blue) commutes along the wire and discharges into ground —
 * the ground symbol flashes on arrival; the button itself stays still.
 * Scoped to .retro-accents, which only the homepage section carries
 * (app/page.tsx); category pages share the banner markup but hide the
 * trace lane and skip the animations.
 */
.retro-accents {
  --retro-ink: #171728;
  --retro-shadow: 3px 3px 0 0 var(--retro-ink);
  --retro-shadow-small: 2px 2px 0 0 var(--retro-ink);
  --signal-cycle: 4.2s;
  --signal-wire: rgba(23, 23, 40, 0.5);
  /* amber yellow — matches the navbar "Join Hardware FYI" button (#FFB700) */
  --signal-accent: #FFB700;
  --signal-accent-glow: rgba(255, 183, 0, 0.4);
}

/* the trace lane only exists on the homepage scope */
.signal-track {
  display: none;
}

.retro-accents .hiring-promo-banner {
  border: 1px solid var(--retro-ink);
  box-shadow: var(--retro-shadow);
  background: #fff;
  backdrop-filter: none;
  /* copy | trace lane | button */
  grid-template-columns: auto minmax(90px, 1fr) auto;
}

.retro-accents .hiring-promo-label {
  border: 1px solid var(--retro-ink);
}

/* the schematic run: junction dot → wire → ground cap */
.retro-accents .signal-track {
  display: flex;
  align-items: center;
  position: relative;
  align-self: center;
  height: 28px;
  margin: 0 6px;
}

.retro-accents .signal-wire {
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: var(--signal-wire);
}

/* junction dot where the wire leaves the copy */
.retro-accents .signal-track::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--signal-wire);
}

/* ground cap: centered on the wire axis, flashes when the pulse lands */
.retro-accents .signal-ground {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--signal-wire);
  animation: signal-ground-flash var(--signal-cycle) linear infinite;
}

@keyframes signal-ground-flash {
  0%,
  47%,
  64%,
  100% {
    color: var(--signal-wire);
  }
  51%,
  58% {
    color: var(--signal-accent);
  }
}

.retro-accents .signal-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal-accent);
  box-shadow: 0 0 6px 1px var(--signal-accent-glow);
  animation: signal-travel var(--signal-cycle) linear infinite;
}

/* comet tail */
.retro-accents .signal-pulse::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal-accent));
}

/* runs the wire in the first half of the cycle, rests in the second;
   parks centered on the ground stub (16px in from the track edge) */
@keyframes signal-travel {
  0% {
    left: 0;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  50% {
    left: calc(100% - 16px);
    opacity: 1;
  }
  56% {
    left: calc(100% - 16px);
    opacity: 0;
  }
  100% {
    left: 0;
    opacity: 0;
  }
}

.retro-accents .hiring-promo-button {
  border: 1px solid var(--retro-ink);
  box-shadow: var(--retro-shadow-small);
  transition: transform 0.15s, background-color 0.2s;
}

.retro-accents .hiring-promo-button:hover {
  transform: translate(-1px, -1px);
}

/* stacked banner on phones: no lane, no choreography */
@media (max-width: 767px) {
  .retro-accents .hiring-promo-banner {
    grid-template-columns: 1fr;
  }

  .retro-accents .signal-track {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retro-accents .signal-pulse {
    display: none;
  }

  .retro-accents .signal-ground {
    animation: none;
  }

  .retro-accents .hiring-promo-button {
    transition: none !important;
    transform: none !important;
  }
}

/* ── Company profile page (/companies/[slug]) ───────────────────────────
 * The scraped bio arrives as one LinkedIn blob; the page parses it into
 * fact pills (industry / size / founded) + real paragraphs, collapsed
 * behind a "Read more" fade so the job list stays above the fold.
 */
.company-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.company-fact-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: 999px;
  background: #fff;
  color: #3f4862;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

/* ── Job detail sidebar: enriched "About [company]" card ────────────────
 * Mirrors the /companies header — a short bio blurb + size/founded pills —
 * so engineers get company context without leaving the job post.
 */
.card-job-post-sidebar-blurb {
  margin: 0 0 12px;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pills sit between blurb and button (blurb already carries bottom spacing) */
.company-facts.card-job-post-sidebar-facts {
  margin-top: 0;
  margin-bottom: 16px;
}

.company-about {
  max-width: 1040px;
  margin-bottom: 36px;
}

.company-about-heading {
  margin: 0 0 10px;
  color: var(--neutral-500);
  font-family: var(--_apps---typography--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-about-body {
  position: relative;
}

/* Collapsed: roughly five lines of copy */
.company-about-body.clamped {
  max-height: 138px;
  overflow: hidden;
}

/* Fade only when text is actually cut off (matches #f8f9fa page bg) */
.company-about-body.clamped.overflowing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0), #f8f9fa);
  pointer-events: none;
}

.company-about-paragraph {
  margin: 0 0 14px;
  color: var(--neutral-600);
  font-size: 16px;
  line-height: 1.65;
}

.company-about-paragraph:last-child {
  margin-bottom: 0;
}

.company-about-toggle {
  all: unset;
  cursor: pointer;
  margin-top: 10px;
  color: var(--primary-1);
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.company-about-toggle:hover {
  text-decoration: underline;
}

.company-about-toggle:focus-visible {
  outline: 2px solid var(--primary-1);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Header: logo beside name/meta/facts; stacks on phones */
.company-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.company-header .company-header-logo {
  flex-shrink: 0;
  margin-right: 0;
}

/* Neutralize the Webflow mobile rule that pushes heading copy right
   (margin-left auto + padding-left) inside this header */
@media (max-width: 991px) {
  .company-header .heading-copy-copy-2,
  .company-header .heading-copy-copy-copy {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 479px) {
  .company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── "Visit website" — outbound link to a company's own homepage ─────────
 * Profile header gets a labeled button; directory cards / table rows get a
 * compact globe badge. All links carry UTM referral tags (withCompanyReferral)
 * and open in a new tab. See components/CompanyWebsiteLink.tsx.
 */

/* Profile header (/companies/[slug]) — button sits at the far right, centered
   against the logo/name block; drops under the name when the header stacks. */
.company-header-action {
  margin-left: auto;
  flex-shrink: 0;
}

.company-website-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.company-website-btn .company-website-arrow {
  opacity: 0.55;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.company-website-btn:hover .company-website-arrow {
  opacity: 1;
  transform: translate(1px, -1px);
}

@media (max-width: 479px) {
  .company-header-action {
    margin-left: 0;
  }
}

/* Compact globe badge — directory cards and table rows */
.company-website-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--neutral-300);
  background: #fff;
  color: var(--neutral-600);
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s, background 0.18s,
    transform 0.18s, box-shadow 0.18s;
}

.company-website-badge:hover {
  color: var(--primary-1);
  border-color: var(--primary-1);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 97, 255, 0.12);
}

.company-website-badge:focus-visible {
  outline: none;
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px #0061ff18;
}

.company-website-icon {
  display: block;
}

/* Card: badge is a sibling of the full-card link, floated into the top-right
   corner. The right metadata block reserves a gutter so nothing slides under
   it (the card centers its blocks vertically, so a plain corner overlaps). */
.company-card-item {
  position: relative;
}

.company-card-item .company-website-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .company-card-item .split-content.card-job-right {
    padding-right: 42px;
  }
}

/* On stacked cards the badge overlaps the title row — give it clearance. */
@media screen and (max-width: 767px) {
  .company-card-item .card-job-title-wrapper {
    padding-right: 42px;
  }
}

/* Table: badge hugs the right edge of the company cell */
.cotable-co .company-website-badge {
  margin-left: auto;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .company-website-badge {
    transition: none;
  }
  .company-website-badge:hover {
    transform: none;
  }
}

/* ── Companies directory (/companies) ───────────────────────────────────
 * Full-width list (no sidebar): search + a horizontal Domain chip row are
 * the only controls, and everything filters/sorts client-side. Each card
 * carries real, aggregated company metadata — industry, the disciplines
 * they hire, and how recently they last posted — instead of a count in
 * three disguises.
 */

/* Webflow ships a legacy hero gradient on .section.companies at small
   widths; the redesigned directory uses the flat board background. */
.section.companies {
  background-image: none;
}

/* Hero stat pills sit inside .heading-title under the subheading */
.companies-hero-facts {
  margin-top: 18px;
}

.companies-directory {
  margin-top: 8px;
}

/* Domain filter — one dimension, so a horizontal chip row reads better
   than a whole sidebar column. Selected chip flips to the accent color. */
.domain-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--neutral-300);
  border-radius: 999px;
  background: #fff;
  color: var(--neutral-700);
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s,
    transform 0.18s;
}

.domain-chip:hover {
  border-color: var(--primary-1);
  color: var(--primary-1);
  transform: translateY(-1px);
}

.domain-chip:focus-visible {
  outline: none;
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px #0061ff18;
}

.domain-chip.active {
  border-color: var(--primary-1);
  background: var(--primary-1);
  color: #fff;
}

.domain-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--neutral-200);
  color: var(--neutral-600);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.domain-chip.active .domain-chip-count {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

/* Inline "Clear filters" under the results/sort row */
.companies-clear-inline {
  margin-top: 4px;
  align-self: flex-start;
  cursor: pointer;
}

/* Card: blurb clamps to two lines so every row keeps the same height */
.company-card-blurb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 2px 0 12px;
  max-width: 60ch;
  color: #667085;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* Long scraped industry / discipline strings clamp instead of stretching
   the row */
.company-card-fact {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Initials fallback fills the 56px logo chip */
.company-card-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #f5f9ff;
  border: 1px solid #d7e4ff;
  color: #1f4b85;
  font-size: 18px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .domain-chip {
    transition: none;
  }
  .domain-chip:hover {
    transform: none;
  }
}

/* ── Hiring page (2026-07 redesign) ─────────────────────────────────────
 * /hiring — pricing-first layout: pricing cards (opener) → boosted-post demo
 * → logo wall → FAQ → dark CTA band. 80px vertical rhythm between sections.
 * All classes are hp-* namespaced.
 */
.hp {
  background: var(--_apps---colors--background);
  font-family: var(--_apps---typography--body-font);
  color: var(--neutral-800);
}
.hp-wrap {
  /* Matches the nav's .container-default (1246px + 24px padding) so every
     section lines up edge-to-edge with the header logo and Post-a-Job button
     instead of sitting inset from them. */
  max-width: 1246px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid transparent; /* equal heights with the ghost variant */
  border-radius: 11px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}
.hp-btn:hover {
  transform: translateY(-2px);
}
.hp-btn-primary {
  background: var(--primary-1);
  color: #fff;
  box-shadow: 0 8px 20px #0061ff33;
}
.hp-btn-primary:hover {
  background: var(--secondary-1);
  color: #fff;
}
.hp-btn-white {
  background: #fff;
  color: var(--secondary-1);
}
.hp-btn-white:hover {
  color: var(--secondary-1);
}
.hp-btn-ghost {
  background: #fff;
  color: var(--neutral-800);
  border-color: var(--neutral-300);
}
.hp-btn-ghost:hover {
  border-color: var(--neutral-700);
  color: var(--neutral-800);
}
.hp-btn-big {
  padding: 15px 28px;
  font-size: 16.5px;
}
.hp-btn:focus-visible {
  outline: 2px solid var(--primary-1);
  outline-offset: 2px;
}

/* "Your post, boosted" demo panel — follows the pricing section */
.hp-demo-sec {
  padding-top: 80px;
}
.hp-demo {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 20px;
  box-shadow: 0 12px 32px var(--shadow-card-long);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Board surface: a light inset so the white .card.job rows read as a real
   list. The cards are the live board component; only the frame is bespoke. */
.hp-demo-board {
  background: #f6f7f9;
  border: 1px solid var(--neutral-300);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  overflow-x: auto; /* safety net: never let a wide card break the frame */
}
/* Demo cards are non-interactive — keep the real styling, drop the hover lift
   so the static snapshot doesn't jiggle under the cursor. */
.hp-demo-board .card.job {
  cursor: default;
}
.hp-demo-board .card.job:hover {
  transform: none;
  box-shadow: none;
}
.hp-demo-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--neutral-300);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--neutral-500);
  font-size: 14px;
  background: #fff;
}
.hp-demo-search svg {
  width: 16px;
  height: 16px;
  flex: none;
}
/* Callouts: a 4-across row beneath the board — what the boost actually buys. */
.hp-demo-callouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
  padding: 2px 4px;
}
.hp-call {
  border-left: 2px solid var(--primary-1);
  padding-left: 14px;
}
.hp-call b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary-1);
  margin-bottom: 3px;
}
.hp-call span {
  font-size: 13px;
  color: var(--neutral-600);
  line-height: 1.45;
}

/* Logo wall — full-color brand isotypes in logo+name lockups (the same square
   marks the board renders). Reads as a real "hiring here" band, not a thin row
   of grey wordmarks. */
.hp-logos {
  background: #fff;
  border-top: 1px solid var(--neutral-300);
  border-bottom: 1px solid var(--neutral-300);
  padding: 46px 0;
  margin-top: 80px;
}
.hp-logos-head {
  text-align: center;
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-500);
}
.hp-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}
.hp-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-lockup-chip {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neutral-300);
  box-shadow: 0 1px 3px var(--shadow-card-short);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-lockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-lockup-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--neutral-800);
  white-space: nowrap;
}

/* Section headers */
.hp-sec-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.hp-sec-head h1,
.hp-sec-head h2 {
  font-family: var(--_apps---typography--heading-font);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.hp-sec-head h1 {
  font-size: clamp(32px, 3.8vw, 42px);
}
.hp-sec-head p {
  color: var(--neutral-600);
  font-size: 16px;
  margin: 0;
}
.hp-sec-head a {
  color: var(--secondary-1);
  text-decoration: none;
}
/* Small kicker above the opener headline — signals the section without letting
   "pricing" be the first thing the eye lands on. */
.hp-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-1);
}

/* ── Hero (page opener) ──────────────────────────────────────────────────
 * Two-column split: copy on the left, a live featured board card on the right.
 * The grid is asymmetric on purpose — the copy is short (a headline + one line
 * + buttons), so the card gets the wider share (~58%) and the example role can
 * breathe instead of being squeezed into a narrow column. The card carries the
 * real featured treatment (blue rail + dot) so the value prop is shown, told. */
.hp-hero {
  padding-top: 64px;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: 56px;
}
.hp-hero-copy {
  min-width: 0;
}
.hp-hero h1 {
  font-family: var(--_apps---typography--heading-font);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.hp-hero-copy > p {
  color: var(--neutral-600);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 40ch;
}
.hp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hp-hero-note {
  font-size: 13.5px;
  color: var(--neutral-500);
  margin: 0;
}
/* The wider right column: mock search + the featured card. min-width:0 lets the
   card shrink with the column instead of forcing overflow at small widths. */
.hp-hero-visual {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.hp-hero-card {
  position: relative;
  /* Solid fallback first, then the featured wash — mirrors .card.job.featured */
  background-color: #f6f9ff;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary-1) 7%, #fff),
    #fff 55%
  );
  border: 1px solid color-mix(in srgb, var(--primary-1) 22%, var(--neutral-300));
  border-left: 3px solid var(--primary-1);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 18px 44px #0061ff29;
}
.hp-hero-card::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-1);
}
.hp-hero-card-top {
  display: flex;
  align-items: center;
  gap: 15px;
}
.hp-hero-chip {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-hero-chip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-hero-card-title {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--neutral-800);
  margin: 0 0 2px;
  line-height: 1.3;
}
.hp-hero-card-co {
  font-size: 13.5px;
  color: var(--neutral-600);
}
.hp-hero-card-meta {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--primary-1) 12%, var(--neutral-300));
}
.hp-hero-card-meta > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-hero-card-meta span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-500);
}
.hp-hero-card-meta b {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-800);
}

/* Pricing cards */
.hp-pricing {
  /* Inherits .hp-wrap's nav-matched 1246px — three cards at ~385px each. */
  padding-top: 80px;
}
.hp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.hp-plan {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 2px 6px var(--shadow-card-short);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hp-plan.feat {
  background: var(--primary-1);
  border-color: var(--primary-1);
  color: #fff;
  box-shadow: 0 16px 36px #0061ff33;
}
.hp-plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-3);
  color: var(--neutral-800);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 100px;
  padding: 6px 15px;
  white-space: nowrap;
}
.hp-plan h2 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5em;
  margin: 0 0 5px;
  letter-spacing: -0.015em;
}
.hp-plan.feat h2 {
  color: #fff;
}
.hp-plan-tag {
  font-size: 15px;
  color: var(--neutral-600);
  margin: 0 0 20px;
}
.hp-plan.feat .hp-plan-tag {
  color: #cfe0ff;
}
.hp-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.hp-price b {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hp-price span {
  font-size: 15.5px;
  color: var(--neutral-600);
}
.hp-plan.feat .hp-price span {
  color: #cfe0ff;
}
.hp-per {
  font-size: 13.5px;
  color: var(--neutral-500);
  margin: 0 0 22px;
  min-height: 19px;
}
.hp-plan.feat .hp-per {
  color: #9fc2ff;
}
.hp-feats {
  list-style: none;
  margin: 0 0 30px;
  padding: 24px 0 0;
  border-top: 1px solid var(--neutral-300);
  display: grid;
  gap: 13px;
  flex: 1;
  align-content: start;
}
.hp-plan.feat .hp-feats {
  border-top-color: #3d84ff;
}
.hp-feats li {
  display: flex;
  gap: 11px;
  font-size: 15.5px;
  color: var(--neutral-700);
}
.hp-plan.feat .hp-feats li {
  color: #eaf2ff;
}
.hp-check {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

/* FAQ — a heading rail on the left, a single stacked accordion column on the
 * right. Replaces the old 2×2 grid, which broke reading order (eye had to
 * ping-pong between columns) and left ragged card heights. The single column
 * reads top-to-bottom and lets each answer breathe. */
.hp-faq-sec {
  padding: 80px 24px 0;
}
.hp-faq-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px 56px;
  align-items: start;
}
.hp-faq-aside h2 {
  font-family: var(--_apps---typography--heading-font);
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hp-faq-aside p {
  color: var(--neutral-600);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.hp-faq-aside a {
  color: var(--secondary-1);
  text-decoration: none;
}
.hp-faq-aside a:hover {
  text-decoration: underline;
}
.hp-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
details.hp-q {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 14px;
  padding: 0 22px;
  box-shadow: 0 2px 6px var(--shadow-card-short);
  transition: border-color 0.2s;
}
details.hp-q:hover {
  border-color: var(--neutral-400);
}
details.hp-q summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 600;
  padding: 18px 0;
  letter-spacing: -0.01em;
  color: var(--neutral-800);
}
details.hp-q summary::-webkit-details-marker {
  display: none;
}
details.hp-q summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--neutral-500);
  transition: transform 0.2s;
  line-height: 1;
  flex: none;
}
details.hp-q[open] summary::after {
  transform: rotate(45deg);
}
details.hp-q > p {
  margin: 0;
  padding: 0 0 18px;
  font-size: 14.5px;
  color: var(--neutral-600);
  max-width: 62ch;
}

/* Final CTA — branded blue "finale" card.
 * Was a flat --neutral-800 ink band that echoed nothing else on the page. Now a
 * contained, rounded blue panel that mirrors the featured pricing card (same
 * --primary-1 surface, white button, gold accent, blue glow) so the page
 * bookends on the brand blue instead of a generic dark SaaS footer. */
.hp-cta-sec {
  margin-top: 80px;
  padding: 0 24px 80px; /* breathing room before the footer */
}
.hp-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding: 76px 32px;
  border-radius: 28px;
  background:
    radial-gradient(
      120% 140% at 50% -25%,
      #2c76ff 0%,
      rgba(44, 118, 255, 0) 55%
    ),
    linear-gradient(165deg, var(--primary-1) 0%, var(--secondary-1) 100%);
  box-shadow: 0 22px 55px #0061ff40;
}
/* Whisper-faint blueprint grid — nods to "building the physical world" with no
   extra asset; masked so it dissolves before the panel edges. */
.hp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#ffffff12 1px, transparent 1px),
    linear-gradient(90deg, #ffffff12 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(
    75% 75% at 50% 25%,
    #000 0%,
    transparent 78%
  );
  mask-image: radial-gradient(75% 75% at 50% 25%, #000 0%, transparent 78%);
}
.hp-cta-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-3); /* gold — ties back to the featured card's flag */
}
.hp-cta h2 {
  font-family: var(--_apps---typography--heading-font);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #fff;
  text-wrap: balance;
}
.hp-cta p {
  color: #cfe0ff; /* same blue-tint the featured pricing card uses */
  font-size: 16.5px;
  line-height: 1.5;
  margin: 0 auto 30px;
  max-width: 46ch;
}
/* Two ways in — a filled white button (single post) beside a light-outline
 * button (5-pack bundle) so hirers can choose without leaving the page. */
.hp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hp-cta .hp-btn-white {
  box-shadow: 0 12px 26px #00164733;
}
.hp-cta .hp-btn-white:hover {
  color: var(--primary-1);
}
/* Bundle CTA: transparent with a translucent white rule — reads as the quieter
   second option against the blue, brightening to a solid outline on hover. */
.hp-btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hp-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.hp-cta-note {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #9fc2ff;
}

/* Responsive */
@media (max-width: 991px) {
  .hp-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 44px;
  }
  .hp-hero-visual {
    max-width: 560px;
  }
  .hp-demo-callouts {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }
  .hp-plans {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .hp-plan.feat {
    order: -1;
  }
  .hp-faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 640px;
  }
  .hp-faq-aside {
    position: static;
  }
}
@media (max-width: 620px) {
  .hp-hero {
    padding-top: 32px;
  }
  .hp-hero-visual {
    max-width: none;
  }
  .hp-pricing {
    padding-top: 60px;
  }
  .hp-plan {
    padding: 30px 24px;
  }
  .hp-demo {
    padding: 14px;
  }
  .hp-demo-board {
    padding: 12px;
  }
  .hp-demo-callouts {
    grid-template-columns: 1fr;
  }
  .hp-logos-grid {
    gap: 16px 24px;
  }
  .hp-cta {
    padding: 56px 22px;
    border-radius: 22px;
  }
  .hp-cta-sec {
    padding-bottom: 56px;
  }
  .hp-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-btn,
  details.hp-q summary::after {
    transition: none;
  }
  .hp-btn:hover {
    transform: none;
  }
}

/* ── 16. Campaign landing eyebrow (Reindustrialize) ──────────────────────
 * Small uppercase kicker above the H1 on branded category pages. Uses the
 * theme accent (--primary-1) — no new colors. */
.category-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-1);
}
.category-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--primary-1);
}

/* ── 17. Track toggle (All / Engineering / Skilled Trades) ───────────────
 * Cuts the board between engineering roles and the Reindustrialize (skilled
 * trades) cut. Styled as light underlined tabs so it reads in the same accent-
 * on-white language as "Clear all filters" (primary-1 text link) and "Load
 * more" (white + primary-1 outline) instead of the dark-filled SaaS pill it
 * used to be. Inactive tabs are quiet grey (weight 500); the active tab is ink
 * text (weight 600) with the blue kept to a 2px underline — the accent bar
 * echoes .category-eyebrow's ink rule and is the only colour the control adds. */
.track-toggle {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-shrink: 0;
}

.track-toggle-segment {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 0;
  color: var(--neutral-500);
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
}

.track-toggle-segment::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--primary-1);
  opacity: 0;
  transition: opacity 0.15s;
}

.track-toggle-segment:hover:not(.active):not(:disabled) {
  color: var(--neutral-800);
}

.track-toggle-segment.active {
  color: var(--neutral-800);
  font-weight: 600;
}

.track-toggle-segment.active::after {
  opacity: 1;
}

.track-toggle-segment:disabled {
  cursor: default;
  opacity: 0.55;
}

@media (max-width: 767px) {
  /* Sort row wraps on mobile — spread the tabs across the full width so they
     line up with the full-width sort control below. */
  .track-toggle {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .track-toggle-segment {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
  }
}

/* ── Companies market pulse + comparison table (2026-07) ─────────────────
 * /companies statistical redesign. Two new namespaced surfaces:
 *   .mkt-*     — "Market pulse" strip: a landscape rollup of the filtered
 *                set (discipline demand, seniority/stage mix, geography,
 *                posting momentum).
 *   .cotable-* — dense sortable comparison table (default view; the old
 *                cards remain behind the view toggle).
 * .stackbar is the shared proportional segment bar primitive.
 */

.mkt {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 16px;
  padding: 22px 24px 20px;
  margin-bottom: 26px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mkt-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 18px;
}

.mkt-title {
  margin: 0;
  color: var(--neutral-500);
  font-family: var(--_apps---typography--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mkt-scope {
  margin: 0;
  color: var(--neutral-600);
  font-size: 13px;
  font-weight: 600;
}

.mkt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 28px;
}

.mkt-module {
  min-width: 0;
}

.mkt-module-title {
  margin: 0 0 10px;
  color: var(--neutral-500);
  font-family: var(--_apps---typography--body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mkt-module-title-second {
  margin-top: 16px;
}

/* Ranked bar rows (discipline demand, top states) */
.mkt-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mkt-bar-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
}

.mkt-bar-label {
  color: var(--neutral-700);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-bar-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--neutral-200);
  overflow: hidden;
}

.mkt-bar-fill {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
}

.mkt-bar-fill-state {
  background: var(--primary-1);
}

.mkt-bar-count {
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Shared proportional segment bar (seniority, stage, disciplines) */
.stackbar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  background: var(--neutral-200);
  overflow: hidden;
}

.stackbar-seg {
  display: block;
  height: 100%;
}

.mkt-stack {
  margin-bottom: 8px;
}

.mkt-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.mkt-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--neutral-600);
  font-size: 12px;
  font-weight: 500;
}

.mkt-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mkt-legend-share {
  color: var(--neutral-500);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Momentum module */
.mkt-momentum {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mkt-big {
  color: var(--neutral-800);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mkt-delta {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--neutral-200);
  color: var(--neutral-600);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.mkt-delta.up {
  background: #ecfdf3;
  color: #027a48;
}

.mkt-delta.down {
  background: #fef3f2;
  color: #b42318;
}

.mkt-momentum-caption {
  margin: 4px 0 12px;
  color: var(--neutral-500);
  font-size: 12px;
}

.mkt-spark {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  color: var(--primary-1);
}

.mkt-footnote {
  margin: 8px 0 0;
  color: var(--neutral-500);
  font-size: 12px;
}

@media (max-width: 991px) {
  .mkt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 579px) {
  .mkt {
    padding: 18px 16px;
  }
  .mkt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── View toggle (Table | Cards) ─────────────────────────────────────── */
.results-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

/* The sort control right-aligns itself with margin-left: auto when used
   standalone; inside the controls cluster the wrapper owns that job. */
.results-controls .job-sort-control {
  margin-left: 0;
}

.co-view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid var(--neutral-300);
  border-radius: 999px;
  background: #fff;
}

.co-view-option {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--neutral-600);
  font-family: var(--_apps---typography--body-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.co-view-option:hover {
  color: var(--primary-1);
}

.co-view-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #0061ff18;
}

.co-view-option.active {
  background: var(--primary-1);
  color: #fff;
}

/* ── Comparison table ────────────────────────────────────────────────── */
.cotable-wrap {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.cotable {
  width: 100%;
  min-width: 1010px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--_apps---typography--body-font);
  color: var(--neutral-700);
}

.cotable thead th {
  position: sticky;
  top: 0;
  background: #fafbfc;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--neutral-300);
  white-space: nowrap;
}

.cotable-sort {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: none;
  padding: 0;
  color: var(--neutral-500);
  font-family: var(--_apps---typography--body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s;
}

.cotable-sort:hover {
  color: var(--neutral-800);
}

.cotable-sort:focus-visible {
  outline: 2px solid var(--primary-1);
  outline-offset: 3px;
  border-radius: 3px;
}

.cotable-sort.active {
  color: var(--primary-1);
}

.cotable-sort-arrow {
  font-size: 9px;
  opacity: 0.55;
}

.cotable-sort.active .cotable-sort-arrow {
  opacity: 1;
}

.cotable tbody td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--neutral-200);
  vertical-align: middle;
}

.cotable tbody tr:last-child td {
  border-bottom: none;
}

.cotable-row {
  cursor: pointer;
  transition: background 0.12s;
}

.cotable-row:hover {
  background: #f6f9ff;
}

/* Company column pins left so horizontal scroll keeps rows identifiable */
.cotable th:first-child,
.cotable td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  border-right: 1px solid var(--neutral-200);
}

.cotable thead th:first-child {
  background: #fafbfc;
  z-index: 3;
}

.cotable-row:hover td:first-child {
  background: #f6f9ff;
}

.cotable-co {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  max-width: 280px;
}

.cotable-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.cotable-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f9ff;
  border-color: #d7e4ff;
  color: #1f4b85;
  font-size: 10px;
  font-weight: 700;
}

.cotable-co-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cotable-co-name {
  color: var(--neutral-800);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cotable-co-name:hover {
  color: var(--primary-1);
}

.cotable-sub {
  display: block;
  margin-top: 2px;
  color: var(--neutral-500);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.cotable-num {
  display: inline-block;
  min-width: 26px;
  color: var(--neutral-800);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cotable-bar-track {
  display: inline-block;
  vertical-align: middle;
  width: 54px;
  height: 6px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--neutral-200);
  overflow: hidden;
}

.cotable-bar-fill {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  background: var(--primary-1);
}

.cotable-spark {
  display: block;
  color: var(--primary-1);
}

.cotable-momentum {
  display: block;
  margin-top: 2px;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cotable-momentum.up {
  color: #027a48;
}

.cotable-stack {
  width: 104px;
  height: 8px;
}

.cotable-stack + .cotable-sub {
  margin-top: 5px;
  max-width: 120px;
}

.cotable-loc {
  display: block;
  color: var(--neutral-700);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  /* Scraped locations occasionally carry full street addresses — clamp so
     one bad row can't stretch the column */
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cotable-chip {
  color: #3f4862;
  font-size: 13px;
  white-space: nowrap;
}

.cotable-empty {
  color: #98a2b3;
}

.cotable-col-recent {
  color: var(--neutral-600);
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .results-controls {
    width: 100%;
    justify-content: space-between;
  }
  .cotable-wrap {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .co-view-option,
  .cotable-sort,
  .cotable-row {
    transition: none;
  }
}

/* ── Salary benchmarks (/salaries) + company pulse (2026-07) ─────────────
 * .sal-*     — the discipline × level grid, specialty/geo modules.
 * .copulse   — /companies/[slug] stats row; reuses the .mkt visual system.
 */

.mkt-head-link {
  margin-left: auto;
  color: var(--primary-1);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.mkt-head-link:hover {
  text-decoration: underline;
}

.sal {
  margin-top: 8px;
}

.sal-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.sal-controls-note {
  margin: 0;
  color: var(--neutral-600);
  font-size: 13px;
  font-weight: 600;
}

.sal-grid-wrap {
  margin-bottom: 10px;
}

.saltable {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--_apps---typography--body-font);
  color: var(--neutral-700);
}

.saltable thead th {
  background: #fafbfc;
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--neutral-300);
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.saltable tbody th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--neutral-200);
  color: var(--neutral-800);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.saltable tbody td {
  padding: 6px 6px;
  border-bottom: 1px solid var(--neutral-200);
  vertical-align: middle;
}

.saltable tbody tr:last-child th,
.saltable tbody tr:last-child td {
  border-bottom: none;
}

/* Discipline column pins left for horizontal scroll on narrow screens */
.saltable th:first-child,
.saltable td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  border-right: 1px solid var(--neutral-200);
}

.saltable thead th:first-child {
  background: #fafbfc;
  z-index: 3;
}

/* The all-disciplines margin row reads as a summary band */
.sal-margin-row th,
.sal-margin-row td {
  background: #fafbfc;
}

.sal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 5px 6px;
  border-radius: 8px;
}

.sal-cell-range {
  color: var(--neutral-800);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sal-cell-n {
  color: var(--neutral-500);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sal-empty {
  display: block;
  text-align: center;
  color: #98a2b3;
}

.sal-grid-note {
  margin: 0 0 28px;
  color: var(--neutral-500);
  font-size: 12px;
}

.sal-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-bottom: 36px;
}

.sal-module {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.sal-module-title {
  margin: 0 0 4px;
  color: var(--neutral-800);
  font-family: var(--_apps---typography--body-font);
  font-size: 16px;
  font-weight: 700;
}

.sal-module-sub {
  margin: 0 0 14px;
  color: var(--neutral-500);
  font-size: 12.5px;
}

/* Wider labels/values than the market strip's 90px rhythm */
.sal-spec-row {
  grid-template-columns: 150px minmax(0, 1fr) 52px;
}

.sal-spec-value {
  font-size: 12.5px;
  color: var(--neutral-700);
}

.sal-state-fill {
  background: var(--neutral-500);
}

.sal-method {
  max-width: 760px;
  margin-bottom: 40px;
}

.sal-method p {
  margin: 0 0 12px;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 1.65;
}

.sal-method a {
  color: var(--primary-1);
}

/* Company pulse: tighter vertical rhythm under the page header */
.copulse {
  margin: 26px 0 32px;
}

.copulse-pay {
  margin: 0 0 6px;
  color: var(--neutral-800);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.copulse-link {
  color: var(--primary-1);
  font-weight: 600;
  text-decoration: none;
}

.copulse-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .sal-modules {
    grid-template-columns: minmax(0, 1fr);
  }
  .sal-spec-row {
    grid-template-columns: 120px minmax(0, 1fr) 52px;
  }
}

/* Homepage hero "Trusted by" strip — real horizontal logos (same asset
   set as the hiring page's .hp-logos wall), height-normalized. Rendered
   lighter than the hiring page so the hero strip stays understated. */
.companies-logo-img {
  width: auto;
  opacity: 0.62;
  flex: 0 0 auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .companies-logos-wrapper {
    gap: 20px 30px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §  /admin/jobs — internal review console
   Vercel-clean, monochrome surface mirroring the pjf-* post-form system:
   white cards on the #f8f9fa canvas, 1px --neutral-300 hairlines, 12px card /
   8px control radii, and blue (--primary-1) reserved for the primary CTA,
   focus rings, and the Featured accent only. Not indexed; admin-key gated.
   ═══════════════════════════════════════════════════════════════════════════ */
.section.admin {
  background: #f8f9fa;
  padding-top: 0;
  padding-bottom: 0;
}
.adm-container {
  max-width: 1080px;
  padding-top: 40px;
  padding-bottom: 96px;
}

/* Page header — same rhythm as .post-job-header */
.adm-header {
  margin-bottom: 30px;
}
.adm-eyebrow {
  color: var(--neutral-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.adm-heading {
  color: var(--neutral-800);
  font-size: clamp(26px, 3.4vw, 33px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.adm-sub {
  color: var(--neutral-600);
  font-size: 15px;
  line-height: 1.55;
  max-width: 70ch;
  margin: 0;
}

/* Group heading (Board analytics / Needs review / All paid posts) */
.adm-group {
  margin: 40px 0 6px;
}
.adm-group-title {
  color: var(--neutral-800);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.adm-group-note {
  color: var(--neutral-500);
  font-size: 13px;
  line-height: 1.5;
  max-width: 78ch;
  margin: 6px 0 0;
}

/* Shared card surface */
.adm-card {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(23, 23, 40, 0.04);
}
.adm-card-pad {
  padding: 22px;
}

/* Analytics pulse */
.adm-pulse {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}
.adm-stat {
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(23, 23, 40, 0.04);
  padding: 18px 20px;
}
.adm-stat-label {
  color: var(--neutral-500);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.adm-stat-value {
  color: var(--neutral-800);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.adm-stat-sub {
  color: var(--neutral-500);
  font-size: 12.5px;
  margin-top: 10px;
}
.adm-stat-sub strong {
  color: var(--neutral-700);
  font-weight: 600;
}
.adm-note {
  color: var(--neutral-500);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 78ch;
  margin: 0;
}

/* Review queue */
.adm-queue {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.adm-review {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px;
}
.adm-review-main {
  min-width: 260px;
  flex: 1 1 320px;
}
.adm-review-title {
  color: var(--neutral-800);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 5px;
}
.adm-review-meta {
  color: var(--neutral-600);
  font-size: 14px;
  margin-bottom: 8px;
}
.adm-review-line {
  color: var(--neutral-500);
  font-size: 13px;
  margin-bottom: 4px;
}
.adm-review-line a,
.adm-link {
  color: var(--primary-1);
  text-decoration: none;
}
.adm-review-line a:hover,
.adm-link:hover {
  text-decoration: underline;
}
.adm-finish {
  font-size: 13px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--neutral-200);
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  color: var(--neutral-600);
  line-height: 1.5;
  word-break: break-all;
}
.adm-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.adm-actions-hint {
  color: var(--neutral-500);
  font-size: 13px;
}

/* Buttons — blue reserved for the primary action */
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--_apps---typography--body-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.adm-btn-primary {
  background: var(--primary-1);
  border-color: var(--primary-1);
  color: #fff;
}
.adm-btn-primary:hover {
  background: #034fcb;
  border-color: #034fcb;
}
.adm-btn-secondary {
  background: #fff;
  border-color: var(--neutral-300);
  color: var(--neutral-700);
}
.adm-btn-secondary:hover {
  border-color: var(--neutral-400);
  color: var(--neutral-800);
}
.adm-btn-danger {
  background: #fff;
  border-color: #f0c4c0;
  color: #b42318;
}
.adm-btn-danger:hover {
  background: #fbedec;
}
.adm-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.28);
}

/* Badges */
.adm-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  vertical-align: middle;
  border: 1px solid transparent;
  white-space: nowrap;
}
.adm-badge-warn {
  color: #b42318;
  background: #fbedec;
  border-color: #f5d9d6;
}
.adm-badge-feature {
  color: var(--primary-1);
  background: rgba(0, 97, 255, 0.08);
  border-color: rgba(0, 97, 255, 0.18);
}

/* Table */
.adm-table-wrap {
  overflow-x: auto;
}
.adm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.adm-table thead th {
  text-align: left;
  padding: 13px 16px;
  color: var(--neutral-500);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--neutral-300);
}
.adm-table tbody td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--neutral-600);
  border-bottom: 1px solid #f0f0f4;
  vertical-align: middle;
}
.adm-table tbody tr:last-child td {
  border-bottom: none;
}
.adm-table .adm-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.adm-table tbody td.adm-num-zero {
  color: var(--neutral-400);
}
.adm-cell-title {
  color: var(--neutral-800);
  font-weight: 600;
}
.adm-cell-company {
  color: var(--neutral-500);
  font-size: 13px;
  margin-top: 2px;
}
.adm-empty {
  color: var(--neutral-500);
  font-size: 14px;
}

@media (max-width: 767px) {
  .adm-container {
    padding-top: 28px;
    padding-bottom: 64px;
  }
  .adm-review {
    padding: 18px;
  }
  .adm-actions {
    width: 100%;
  }
}

/* ── Companies directory · Vercel-clean control pass (2026-07-08) ────────
   Restyles the /companies toolbar cluster — search field, the Table/Cards
   segmented toggle, the sort control, and the domain filter chips — into the
   same monochrome hairline aesthetic as the pjf-* post forms: 1px borders,
   8px radii, a near-zero shadow, blue reserved for focus only, and an
   ink-black (not blue) active chip. Every selector is scoped under
   .companies-directory so the shared .job-search-* / .co-view-* / sort
   classes on the home board stay exactly as they are. CSS-only — no markup
   changes; the controls keep their current positions. */

/* Search field — hairline border, 8px radius, quiet gray hover */
.companies-directory .job-search-input {
  padding: 11px 16px 11px 42px;
  border-width: 1px;
  border-radius: 8px;
  font-size: 14px;
}
.companies-directory .job-search-input:hover {
  border-color: var(--neutral-400);
}
.companies-directory .job-search-icon {
  left: 14px;
  width: 16px;
  height: 16px;
}

/* Table / Cards — a segmented control: white thumb on a muted track,
   replacing the blue-filled active pill. */
.companies-directory .co-view-toggle {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--neutral-300);
  border-radius: 9px;
  background: #eef0f2;
}
.companies-directory .co-view-option {
  padding: 6px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-600);
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}
.companies-directory .co-view-option:hover {
  color: var(--neutral-800);
}
.companies-directory .co-view-option.active {
  background: #fff;
  color: var(--neutral-800);
  box-shadow:
    0 1px 2px rgba(23, 23, 40, 0.08),
    0 0 0 1px rgba(23, 23, 40, 0.04);
}

/* Sort control (Cards view) — the bare native <select> styled into the same
   hairline field family, with a custom chevron so the native arrow doesn't
   fight the flat look. */
.companies-directory .job-sort-label {
  font-weight: 500;
  color: var(--neutral-600);
}
.companies-directory .job-sort-select {
  min-height: 0;
  height: 38px;
  margin: 0;
  padding: 0 32px 0 13px;
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238c8c9e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: var(--neutral-700);
  font-family: var(--_apps---typography--body-font);
  font-size: 13.5px;
  line-height: 1.4;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.companies-directory .job-sort-select:hover {
  border-color: var(--neutral-400);
}
.companies-directory .job-sort-select:focus {
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px #0061ff18;
}

/* Domain chips — 8px-radius rects (from full pills), hairline border, quiet
   gray hover (no blue, no lift), ink-black active with a monochrome count. */
.companies-directory .domain-chip {
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-width: 1px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.companies-directory .domain-chip:hover {
  border-color: var(--neutral-400);
  color: var(--neutral-800);
  transform: none;
}
.companies-directory .domain-chip:focus-visible {
  border-color: var(--neutral-400);
  box-shadow: 0 0 0 3px #0061ff18;
}
.companies-directory .domain-chip.active {
  background: var(--primary-1);
  border-color: var(--primary-1);
  color: #fff;
}
.companies-directory .domain-chip-count {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 600;
}
.companies-directory .domain-chip.active .domain-chip-count {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero stat readout — passive, inline, hairline-divided. Replaces the old
   .company-fact-pill row so the interactive rect chips below own the "chip"
   language; numbers read in ink, labels in gray. */
.hero-stat-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--neutral-500);
}
.hero-stat {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.hero-stat b {
  color: var(--neutral-800);
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
/* Hairline divider centered in the 18px gap before each stat after the first */
.hero-stat + .hero-stat::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 13px;
  background: var(--neutral-300);
}

/* ── "Explain the data" pass (2026-07-08) ──────────────────────────────
   Market Pulse expand toggles, the company-page locations module, and the
   table's hover-breakdown affordance. */

/* Expand / collapse toggle beneath a ranked bar list (Market Pulse
   disciplines + states). Blue is the accent — a "show more" is a good use
   of it — and it reads as an inline control, not a footnote. */
.mkt-more {
  margin: 8px 0 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary-1);
  font-family: var(--_apps---typography--body-font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
}
.mkt-more:hover {
  color: var(--secondary-1);
  text-decoration: underline;
}
.mkt-more:focus-visible {
  outline: 2px solid var(--primary-1);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Top-align pulse modules so an expanded discipline/location list grows down
   without stretching whitespace into its shorter neighbors. */
.mkt-module {
  align-self: start;
}

/* Company-page pulse now runs FIVE modules (added "Where they hire"); let
   them flow responsively instead of the directory strip's fixed 4-up. */
.copulse .mkt-grid {
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
}

/* Table cells whose visible text is a summary ("+5", "3 states"); a dotted
   underline signals "hover me" and a styled card (.cotip) shows the full
   breakdown. Inherits the row's pointer cursor — no help-cursor glyph. */
.companies-directory .cotable-sub--hint {
  text-decoration: underline dotted var(--neutral-400);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.15s, color 0.15s;
}
.companies-directory .cotable-sub--hint:hover {
  color: var(--neutral-700);
  text-decoration-color: var(--neutral-500);
}

/* Breakdown hover card — the on-brand replacement for the native title
   tooltip. Hairline card + soft elevation, uppercase micro-label, and a
   colored dot per row (discipline hues reuse the stacked-bar palette).
   position: fixed so the table's overflow-x never clips it. */
.cotip {
  position: fixed;
  z-index: 9999;
  min-width: 178px;
  max-width: 264px;
  /* Sized to content — no scrollbar on the side. Real breakdowns are short
     (a hardware company hires across ≤13 disciplines / a handful of states),
     so no height cap is needed; the scroll-dismiss guard in BreakdownTooltip
     still applies if overflow is ever reintroduced. */
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 10px;
  box-shadow:
    0 8px 24px rgba(23, 23, 40, 0.12),
    0 2px 6px rgba(23, 23, 40, 0.08);
  font-family: var(--_apps---typography--body-font);
  /* Card fades in place; positioning is set inline post-measure */
  pointer-events: auto;
}
.cotip-title {
  margin: 0 0 9px;
  color: var(--neutral-500);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cotip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cotip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.2;
}
.cotip-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex: none;
}
.cotip-label {
  color: var(--neutral-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cotip-count {
  margin-left: auto;
  padding-left: 12px;
  color: var(--neutral-500);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
