/* ============================================================
   Thaleria — Careers section
   Ported as-is from Claude Design "Full website WIP".
   Full-width pages (no shared side rail).
   ============================================================ */

/* --- Hero (compact, same style as Services) ---------------------- */
.tl-careers-hero {
  padding-top: 64px;
  padding-bottom: var(--space-10);
}
.tl-careers-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-6) 0 var(--space-5);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: var(--weight-semibold);
}
.tl-careers-hero__eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--fg-accent);
  border-radius: 2px;
}
.tl-careers-hero h1 {
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-weight: var(--weight-semibold);
  margin: 0;
  color: var(--fg-1);
  text-wrap: balance;
}
.tl-careers-hero__lede {
  margin-top: var(--space-5);
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
}

/* ============================================================
   /careers/positions — search & filters + results
   ============================================================ */
.tl-pos-filters {
  /* Positioned + raised so the whole filters block (and the absolute skill
     picker inside it) stacks above the results list below — otherwise the
     result cards paint over the open dropdown's lower half. */
  position: relative;
  z-index: 40;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-6) var(--space-5);
  margin-bottom: var(--space-6);
}
.tl-pos-filters__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: var(--space-4);
  align-items: end;
}
@media (max-width: 1024px) {
  .tl-pos-filters__row { grid-template-columns: 1fr 1fr; }
  .tl-pos-filters__row > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tl-pos-filters__row { grid-template-columns: 1fr; }
  .tl-pos-filters { padding: var(--space-5); }
}

.tl-pos-filters__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-semibold);
  color: var(--fg-3);
  margin-bottom: var(--space-2);
}

.tl-pos-filters__input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--fg-1);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.tl-pos-filters__input:focus {
  outline: 0;
  border-color: var(--fg-link);
  box-shadow: 0 0 0 3px rgba(59, 111, 224, 0.12);
}
.tl-pos-filters__input::placeholder { color: var(--fg-3); }

.tl-pos-filters__modes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tl-pos-mode {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--fg-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  user-select: none;
}
.tl-pos-mode:hover { color: var(--fg-1); border-color: var(--border-2); }
.tl-pos-mode input { position: absolute; opacity: 0; pointer-events: none; }
.tl-pos-mode__box {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-2);
  border-radius: 4px;
  background: var(--surface-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.tl-pos-mode__box svg { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.tl-pos-mode.is-on {
  background: rgba(255, 165, 59, 0.08);
  border-color: var(--orange-700);
  color: var(--orange-900);
}
.tl-pos-mode.is-on .tl-pos-mode__box {
  background: var(--orange-700);
  border-color: var(--orange-700);
}
.tl-pos-mode.is-on .tl-pos-mode__box svg { opacity: 1; }

.tl-pos-skills {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-1);
}
.tl-pos-skills__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.tl-pos-skills__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-semibold);
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tl-pos-skills__hint {
  font-size: 13px;
  color: var(--fg-3);
}
.tl-pos-skills__hint strong { color: var(--orange-700); font-weight: var(--weight-semibold); }
.tl-pos-skills__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tl-skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  color: var(--fg-2);
  font-size: 13px;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  font-family: inherit;
}
.tl-skill-pill:hover { color: var(--fg-1); border-color: var(--border-2); }
.tl-skill-pill.is-on {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--fg-on-dark);
}
.tl-skill-pill.is-on:hover { background: var(--navy-600); border-color: var(--navy-600); color: var(--fg-on-dark); }
.tl-skill-pill__x {
  display: inline-flex;
  width: 14px; height: 14px;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.tl-skill-pill.is-on .tl-skill-pill__x { opacity: 1; }

.tl-skill-add { position: relative; display: inline-flex; }
.tl-skill-add__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  color: var(--fg-2);
  font: inherit;
  font-size: 13px;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.tl-skill-add__trigger:hover,
.tl-skill-add__trigger.is-on {
  color: var(--orange-700);
  border-color: var(--orange-700);
  background: rgba(255, 165, 59, 0.06);
  border-style: solid;
}
.tl-skill-add__count {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-quiet);
  color: var(--fg-3);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.tl-skill-add__trigger.is-on .tl-skill-add__count {
  background: var(--surface-accent);
  color: var(--orange-900);
}

.tl-skill-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 280px;
  max-width: 360px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tl-skill-picker__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 36px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  color: var(--fg-3);
}
.tl-skill-picker__search:focus-within { border-color: var(--fg-link); }
.tl-skill-picker__search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 13px;
  color: var(--fg-1);
  background: transparent;
}
.tl-skill-picker__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 260px;
  overflow-y: auto;
  padding: 2px;
}
.tl-skill-picker__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: var(--fg-1);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.tl-skill-picker__item:hover,
.tl-skill-picker__item:focus-visible {
  background: var(--surface-quiet);
  color: var(--fg-1);
}
.tl-skill-picker__item svg { color: var(--orange-700); flex: none; }
.tl-skill-picker__empty {
  padding: 16px 12px;
  font-size: 13px;
  color: var(--fg-3);
  text-align: center;
}

.tl-pos-filters__footer {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.tl-pos-filters__clear {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.tl-pos-filters__clear:hover { color: var(--fg-1); background: var(--surface-quiet); }
.tl-pos-filters__clear[disabled] { opacity: 0.4; cursor: default; }

.tl-pos-results__summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-5);
  color: var(--fg-2);
  font-size: 14px;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.tl-pos-results__summary strong {
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-semibold);
}

/* Right-hand side of the results summary: the cards-view sort control sits
   beside the view switcher and shares its baseline. */
.tl-pos-results__controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
/* Sort menu (cards view). A split control: the trigger opens the popover, the
   attached button reverses the current sort without opening anything. Styled to
   sit beside the view-switcher pills, and the popover mirrors the skill picker. */
.tl-sortmenu { position: relative; }
.tl-sortmenu__group {
  display: inline-flex;
  align-items: stretch;
}
.tl-sortmenu__trigger,
.tl-sortmenu__dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  color: var(--fg-2);
  font: inherit;
  font-size: 13px;
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.tl-sortmenu__trigger {
  border-radius: var(--radius-pill);
}
/* When the reverse button is attached, the two read as one control. */
.tl-sortmenu__group:has(.tl-sortmenu__dir) .tl-sortmenu__trigger {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right-color: transparent;
}
.tl-sortmenu__dir {
  border-radius: var(--radius-pill);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0 11px;
  color: var(--orange-900);
}
.tl-sortmenu__trigger:hover,
.tl-sortmenu__dir:hover { color: var(--fg-1); border-color: var(--border-2); }
.tl-sortmenu__trigger.is-open {
  color: var(--orange-900);
  border-color: var(--orange-700);
  background: rgba(255, 165, 59, 0.06);
}
.tl-sortmenu__trigger:focus-visible,
.tl-sortmenu__dir:focus-visible {
  outline: 2px solid var(--fg-accent);
  outline-offset: 2px;
}
.tl-sortmenu__label {
  color: var(--fg-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-semibold);
}
.tl-sortmenu__value { color: var(--fg-1); }
.tl-sortmenu__chevron {
  display: inline-flex;
  color: var(--fg-3);
  transition: transform var(--dur-fast) var(--ease-out);
}
.tl-sortmenu__trigger.is-open .tl-sortmenu__chevron { transform: rotate(180deg); }

/* Right-aligned so it opens under the control rather than off the edge, since it
   sits on the right-hand side of the results summary. */
.tl-sortmenu__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 210px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tl-sortmenu__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: var(--fg-1);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.tl-sortmenu__item:hover { background: var(--surface-quiet); }
.tl-sortmenu__item.is-on { color: var(--orange-900); font-weight: var(--weight-medium); }
.tl-sortmenu__item.is-on .tl-sort-caret { opacity: 1; }
.tl-sortmenu__item:focus-visible { outline: 2px solid var(--fg-accent); outline-offset: -2px; }
.tl-sortmenu__hint {
  margin: 4px 4px 0;
  padding-top: 8px;
  border-top: 1px solid var(--border-1);
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-3);
}
/* Very narrow screens: drop the "Sort" caption, keep the value. */
@media (max-width: 560px) {
  .tl-sortmenu__label { display: none; }
}

.tl-pos-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* --- Compact table view -----------------------------------------
   Alternative to the cards for boards with a high volume of roles.
   Secondary columns drop out as width tightens; the wrapper scrolls
   horizontally as a last resort so the page itself never does. */
.tl-pos-table__scroll {
  overflow-x: auto;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
}
.tl-pos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  /* Below this the columns start crushing; the wrapper scrolls instead. */
  min-width: 620px;
}
.tl-pos-table thead th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-semibold);
  color: var(--fg-3);
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--border-1);
  background: var(--surface-quiet);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}
/* Sortable headers. The button carries the header's own typography rather than
   restating it, so a sortable column looks identical to a plain one until hover. */
.tl-pos-table__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
}
.tl-pos-table__sort:hover { color: var(--fg-1); }
.tl-pos-table__sort.is-active { color: var(--fg-accent); }
.tl-pos-table__sort:focus-visible {
  outline: 2px solid var(--fg-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Reserve the caret's width at all times so the header row doesn't shift by a
   few pixels when a column becomes active. */
.tl-sort-caret {
  font-size: 9px;
  line-height: 1;
  width: 9px;
  display: inline-block;
  opacity: 1;
}
/* Inactive column: the slot is held open but empty, so nothing reads as sorted
   when nothing is. Hover brings it in faintly as the clickability cue. */
.tl-sort-caret.is-idle { opacity: 0; transition: opacity var(--dur-fast) var(--ease-out); }
.tl-pos-table__sort:hover .tl-sort-caret.is-idle,
.tl-pos-table__sort:focus-visible .tl-sort-caret.is-idle { opacity: 0.4; }

.tl-pos-table tbody th,
.tl-pos-table tbody td {
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--border-1);
  color: var(--fg-2);
  vertical-align: middle;
  text-align: left;
  font-weight: var(--weight-regular);
}
.tl-pos-table tbody tr:last-child th,
.tl-pos-table tbody tr:last-child td { border-bottom: 0; }
.tl-pos-table tbody tr:hover { background: var(--surface-quiet); }
.tl-pos-table__title {
  color: var(--fg-1);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  font-size: 15px;
}
.tl-pos-table__title:hover { color: var(--fg-link); text-decoration: underline; }
.tl-pos-table__title:focus-visible { outline: 2px solid var(--fg-link); outline-offset: 2px; border-radius: 2px; }
.tl-pos-table__applied {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-semibold);
  color: var(--fg-accent);
  border: 1px solid var(--fg-accent);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  vertical-align: middle;
}
.tl-pos-table__deadline { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tl-pos-table__empty { color: var(--fg-3); }
.tl-pos-table__cell--ref { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1024px) {
  .tl-pos-table__cell--industry { display: none; }
  .tl-pos-table__cell--ref { display: none; }
  .tl-pos-table { min-width: 460px; }
}
/* Narrow screens: three columns still needed ~500px and clipped the deadline,
   so each row collapses to a stacked entry — title, then a meta line — using
   the same markup. */
@media (max-width: 720px) {
  .tl-pos-table { min-width: 0; }
  .tl-pos-table thead { display: none; }
  .tl-pos-table,
  .tl-pos-table tbody,
  .tl-pos-table tr { display: block; width: 100%; }
  .tl-pos-table tr {
    padding: 14px var(--space-4);
    border-bottom: 1px solid var(--border-1);
  }
  .tl-pos-table tbody tr:last-child { border-bottom: 0; }
  .tl-pos-table tbody th {
    display: block;
    padding: 0;
    border: 0;
    margin-bottom: 4px;
  }
  /* Stacked, every cell runs inline as one meta line — the columns dropped for
     the narrow *table* layout fit again here, so this deliberately re-shows
     work mode and industry (it outranks the column-hiding rules above). */
  .tl-pos-table tbody td {
    display: inline;
    padding: 0;
    border: 0;
    font-size: 13px;
  }
  .tl-pos-table tbody td + td::before { content: " · "; color: var(--fg-3); }
}
.tl-pos-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-8);
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--fg-1);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.tl-pos-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange-700);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur-base) var(--ease-out);
}
.tl-pos-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
  color: var(--fg-1);
}
.tl-pos-card:hover::before { transform: scaleY(1); }

.tl-pos-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  /* Lets the truncation above actually engage. A flex container's default minimum
     is its content's, so without this the row stayed at its min-content width and
     pushed the card's single grid column to 300px inside a 279px content box —
     which is what put "View role" 22px past the card's right padding. */
  min-width: 0;
}
/* Same reason, one level up: `1fr` is `minmax(auto, 1fr)`, and the auto minimum
   resolves to the item's min-content unless the item is allowed to shrink. */
.tl-pos-card__main { min-width: 0; }
.tl-pos-card__industry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tl-pos-card__industry::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--orange-700);
}
.tl-pos-card__sep {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--border-2);
}
/* Client's own job reference. Shown only on boards whose CMS entry opts in, so it
   is additive to the meta row and never reserved when absent. */
.tl-pos-card__ref {
  font-variant-numeric: tabular-nums;
}
/* "Applied" marker, appended to the card meta row. It inherits the row's
   uppercase/tracking treatment, so only colour and the tinted pill distinguish
   it. Appears just after hydration (own-application state is fetched
   client-side), which is why it's additive and shifts nothing around it. */
.tl-pos-card__applied {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(14, 159, 110, 0.10);
  color: var(--success);
}
/* Icon + text on one line (Tailwind preflight makes svg display:block, which
   would otherwise push the location below the pin). */
/* Truncates rather than wraps. As a shrinkable item in a nowrap row it was the
   only flexible thing in the meta line, so it absorbed all the shrinkage and
   broke "The Hague, The Netherlands" across three lines — which then dragged the
   industry label and separator to the middle of a 54px-tall row. One line with an
   ellipsis is the honest trade at this width; the full location is on the role
   page. min-width: 0 is what lets a flex item shrink below min-content at all. */
.tl-pos-card__loc {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-pos-card__title {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.tl-pos-card__summary {
  margin: 0 0 var(--space-5);
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
}
.tl-pos-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tl-pos-card__skill {
  font-size: 12px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-quiet);
  color: var(--fg-1);
  border: 1px solid var(--border-1);
}
.tl-pos-card__skill--more {
  background: transparent;
  color: var(--fg-3);
  font-style: italic;
}

.tl-pos-card__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-left: var(--space-8);
  border-left: 1px solid var(--border-1);
  min-height: 100%;
}
.tl-pos-card__side-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tl-pos-card__side-key {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--fg-3);
}
.tl-pos-card__side-val {
  font-size: 15px;
  font-weight: var(--weight-medium);
  color: var(--fg-1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
/* inline-block, not the default inline: as an inline box this broke across line
   boxes on a narrow column — "Near-site" split into NEAR- / SITE and the pill's
   border and padding fragmented with it, since an inline box only paints its
   padding on the first and last fragment. nowrap keeps the label whole, so a chip
   that doesn't fit moves to the next line intact instead of tearing. */
.tl-mode-chip {
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--weight-semibold);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-accent);
  color: var(--orange-900);
  border: 1px solid rgba(255, 165, 59, 0.4);
}
.tl-pos-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
  transition: gap var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.tl-pos-card:hover .tl-pos-card__cta { color: var(--orange-700); gap: 12px; }

@media (max-width: 820px) {
  .tl-pos-card {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-6);
  }
  .tl-pos-card__summary { display: none; }
  .tl-pos-card__skills { display: none; }
  .tl-pos-card__side {
    border-left: 0;
    padding-left: 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-1);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-5);
  }
  .tl-pos-card__cta { margin-top: 0; margin-left: auto; }
}

.tl-pos-empty {
  background: var(--surface-card);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  color: var(--fg-2);
}
.tl-pos-empty h3 {
  margin: 0 0 var(--space-2);
  color: var(--fg-1);
  font-size: 20px;
  font-weight: var(--weight-semibold);
}
.tl-pos-empty p { margin: 0 0 var(--space-6); }

/* Pagination */
.tl-pagination {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}
.tl-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-1);
  background: var(--surface-card);
  color: var(--fg-1);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 14px;
  font-weight: var(--weight-medium);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.tl-pagination__btn:hover:not([disabled]) {
  border-color: var(--border-2);
  background: var(--surface-quiet);
}
.tl-pagination__btn[disabled] { opacity: 0.4; cursor: default; }
.tl-pagination__btn.is-active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--fg-on-dark);
}
.tl-pagination__ellipsis {
  color: var(--fg-3);
  padding: 0 4px;
  user-select: none;
}
.tl-pagination__total {
  margin-left: var(--space-3);
  font-size: 13px;
  color: var(--fg-3);
}

/* ============================================================
   /careers/positions/[slug] — job detail
   ============================================================ */
.tl-job-hero {
  padding-top: 64px;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-1);
}
.tl-job-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-6) 0 var(--space-5);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--fg-2);
}
.tl-job-hero__eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--fg-accent);
  border-radius: 2px;
}
.tl-job-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
  text-wrap: balance;
  max-width: 22ch;
}
.tl-job-hero__rate {
  margin-top: var(--space-5);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.tl-job-hero__rate-value {
  font-size: 26px;
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.tl-job-hero__rate-value em {
  color: var(--orange-700);
  font-style: normal;
}
.tl-job-hero__rate-unit {
  font-size: 14px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-semibold);
}

.tl-job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--space-12);
  align-items: start;
}
/* The aside is first in the source (see CareersPages.jsx) so it stacks above the
   description on a phone. Placing both explicitly puts it back on the right here
   without an `order` shuffle, which would leave the Apply button reachable in a
   different sequence than it reads. */
.tl-job-layout > .tl-job-aside { grid-column: 2; grid-row: 1; }
.tl-job-layout__main { grid-column: 1; grid-row: 1; }
@media (max-width: 1024px) {
  .tl-job-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .tl-job-layout > .tl-job-aside,
  .tl-job-layout__main { grid-column: 1; grid-row: auto; }
}

.tl-job-aside {
  position: sticky;
  top: 100px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
@media (max-width: 1024px) {
  .tl-job-aside { position: static; }
}
.tl-job-aside__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--fg-accent);
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tl-job-aside__label::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--fg-accent);
  border-radius: 2px;
}
.tl-job-aside__dl {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}
.tl-job-aside__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-1);
  align-items: start;
}
.tl-job-aside__row:last-of-type { border-bottom: 0; }
.tl-job-aside__icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--surface-accent);
  color: var(--orange-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.tl-job-aside__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tl-job-aside__field dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-semibold);
  color: var(--fg-3);
}
.tl-job-aside__field dd {
  margin: 0;
  font-size: 15px;
  color: var(--fg-1);
  font-weight: var(--weight-medium);
  line-height: 1.4;
}
.tl-job-aside__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.tl-job-aside__chip {
  font-size: 12px;
  font-weight: var(--weight-medium);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-quiet);
  color: var(--fg-1);
  border: 1px solid var(--border-1);
}
.tl-job-aside__apply {
  /* Full-width, but keep .tl-btn's flex so the label + arrow stay on one line
     (display:block let Tailwind preflight's svg{display:block} drop the arrow). */
  display: flex;
  width: 100%;
  margin-top: var(--space-6);
}

/* Occupies the apply button's slot once applied. Same footprint so the aside
   doesn't reflow, but flat and unclickable — it reports state, it isn't an action.
   Tinted from --success rather than a new green so it matches the notice above. */
.tl-job-aside__applied {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  margin-top: var(--space-6);
  padding: 14px var(--space-5);
  border: 1px solid rgba(14, 159, 110, 0.35);
  border-radius: var(--radius-md);
  background: rgba(14, 159, 110, 0.10);
  color: #0B7B55;
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  line-height: 1.4;
}

.tl-job-section { margin-bottom: var(--space-10); }
.tl-job-section__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--fg-2);
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tl-job-section__eyebrow::before {
  content: "";
  width: 16px; height: 2px;
  background: var(--fg-accent);
  border-radius: 2px;
}
.tl-job-section h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
  margin: 0 0 var(--space-5);
  color: var(--fg-1);
  text-wrap: balance;
}
.tl-job-summary {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0;
}

.tl-job-draft h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: var(--weight-semibold);
  margin: var(--space-8) 0 var(--space-3);
  color: var(--fg-1);
}
.tl-job-draft h2:first-child { margin-top: 0; }
.tl-job-draft h3 {
  font-size: 18px;
  font-weight: var(--weight-semibold);
  margin: var(--space-6) 0 var(--space-2);
  color: var(--fg-1);
}
.tl-job-draft p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-1);
  margin: 0 0 var(--space-4);
}
.tl-job-draft ul,
.tl-job-draft ol {
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-job-draft li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
}
.tl-job-draft ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--orange-700);
  margin-top: 10px;
  flex: none;
}
.tl-job-draft ol { counter-reset: tl-ol; }
.tl-job-draft ol li { counter-increment: tl-ol; }
.tl-job-draft ol li::before {
  content: counter(tl-ol) ".";
  font-weight: var(--weight-semibold);
  color: var(--orange-700);
  min-width: 22px;
  flex: none;
}

/* Application form */
.tl-apply {
  padding: var(--space-10) var(--space-10);
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
}
@media (max-width: 640px) { .tl-apply { padding: var(--space-8) var(--space-6); } }

.tl-apply__head {
  margin-bottom: var(--space-8);
  max-width: 60ch;
}
.tl-apply__head h2 {
  margin: var(--space-3) 0 var(--space-3);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
}
.tl-apply__head p {
  margin: 0;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.6;
}

/* Single column: since the form became account-led there are no paired fields
   left (name and email now come from the account), so everything stacks. */
.tl-apply__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

/* Guest state: account CTA in place of the form. */
.tl-apply__guest {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.tl-apply__guest-alt {
  font-size: var(--fs-small);
  color: var(--fg-2);
}
.tl-apply__guest-alt a {
  color: var(--fg-link);
  font-weight: var(--weight-medium);
}

/* Two-step application, on the boards that require a contract configuration
   (Strapi `require_contract_configuration`). Step 1 asks the contract questions in
   place of the form, so both steps stay in this one card; the question blocks
   themselves are the questionnaire's, from careers-questionnaire.css. */
.tl-apply__step {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-small);
  color: var(--fg-2);
}
.tl-apply__step-count {
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
  letter-spacing: 0.02em;
}
.tl-apply__contract-lede {
  margin: 0 0 var(--space-6);
  max-width: 62ch;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--fg-2);
}
.tl-apply__contract-foot {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* Saved configuration above step 2: a reminder of what travels with the
   application, quieter than the form it sits on top of. */
.tl-apply__contract-saved {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  background: var(--surface-quiet);
  margin-bottom: var(--space-6);
}
.tl-apply__contract-saved-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.tl-apply__contract-saved-title {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
}
.tl-apply__contract-edit {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: var(--fs-small);
  color: var(--fg-link);
  font-weight: var(--weight-medium);
}
.tl-apply__contract-edit:hover { text-decoration: underline; }

/* The board's current-position question, when it asks one. */
.tl-apply__inposition { margin: 0; }

/* Marks a control that is deliberately inert because the backend can't yet
   accept it — paired with `disabled`, never used on its own. */
.tl-apply__pending {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--fg-3);
  font-style: italic;
}

.tl-apply__upload.is-disabled {
  opacity: 0.6;
}
.tl-apply__upload.is-disabled .tl-apply__upload-add { cursor: not-allowed; }

/* Only the session-dependent part of the apply block defers, so this stands in
   for a CTA row rather than the whole form. */
.tl-apply__skel {
  height: 48px;
  max-width: 280px;
  border-radius: var(--radius-md);
  background: var(--surface-quiet);
}

.tl-apply__upload {
  border: 1.5px dashed var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--surface-quiet);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.tl-apply__upload-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.tl-apply__upload-title {
  font-size: 15px;
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
  margin: 0;
}
.tl-apply__upload-sub {
  font-size: 13px;
  color: var(--fg-2);
  margin: 4px 0 0;
}
.tl-apply__upload-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Its own control rather than a .tl-btn, which is why it sat at 38px — smaller
     than anything else on the portal — while the two buttons either side of it
     are 48. 44 at phone widths matches the target the applications and account
     screens now use. */
  height: 38px;
  padding: 0 14px;
  background: var(--surface-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--fg-1);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.tl-apply__upload-add:hover { background: var(--neutral-100); border-color: var(--fg-1); }
.tl-apply__upload-add[disabled] { opacity: 0.5; cursor: default; }
/* Has to sit after the rule above, not with this file's other mobile overrides at
   line 627: a media query adds no specificity, so the later declaration wins. */
@media (max-width: 720px) {
  .tl-apply__upload-add { height: 44px; }
}
.tl-apply__upload-list {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}
.tl-apply__upload-list:empty { display: none; }
.tl-apply__file {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
}
.tl-apply__file-icon {
  width: 32px; height: 32px;
  background: var(--surface-accent);
  color: var(--orange-700);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
}
.tl-apply__file-name {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--fg-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.tl-apply__file-size { font-size: 12px; color: var(--fg-3); }
.tl-apply__file-remove {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--fg-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.tl-apply__file-remove:hover { background: var(--surface-quiet); color: var(--danger); }
.tl-apply__upload-error {
  margin-top: var(--space-3);
  font-size: 13px;
  color: var(--danger);
}

.tl-apply__submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}
.tl-apply__submit-note {
  font-size: 13px;
  color: var(--fg-3);
  max-width: 360px;
}

.tl-apply__progress {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--fg-2);
  max-width: 360px;
}
.tl-apply__error {
  font-size: 14px;
  color: var(--danger);
  padding: var(--space-3) var(--space-4);
  background: rgba(217, 83, 79, 0.08);
  border: 1px solid rgba(217, 83, 79, 0.25);
  border-radius: var(--radius-md);
}

.tl-apply__sent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(14, 159, 110, 0.06);
  border: 1px solid rgba(14, 159, 110, 0.2);
  border-radius: var(--radius-lg);
}
.tl-apply__sent-icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--success);
  color: var(--fg-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tl-apply__sent h3 {
  margin: 0;
  font-size: 18px;
  font-weight: var(--weight-semibold);
  color: var(--fg-1);
}
.tl-apply__sent p {
  margin: 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}
.tl-apply__sent p a {
  color: var(--fg-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Already-applied notice, in the job detail hero under the title. Width-capped
   so it reads as a status note rather than a full-bleed banner. */
.tl-job-applied {
  max-width: 62ch;
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgba(14, 159, 110, 0.35);
  border-radius: var(--radius-md);
  background: rgba(14, 159, 110, 0.08);
  color: var(--fg-1);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.tl-job-applied strong { font-weight: var(--weight-semibold); }
/* Underlined, like every other inline link in body copy: the tinted panel leaves
   colour alone doing too little work to read as a link. */
.tl-job-applied a {
  color: var(--fg-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tl-job-back {
  margin-top: var(--space-8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), gap var(--dur-fast) var(--ease-out);
}
.tl-job-back:hover { color: var(--fg-1); gap: 12px; }
.tl-job-back svg { transform: rotate(180deg); }

/* ============================================================
   /careers/faq — categories + accordion
   ============================================================ */
.tl-faq-cats {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 1024px) {
  .tl-faq-cats { grid-template-columns: 1fr; gap: var(--space-6); }
}
.tl-faq-cats__rail {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* The rail is a jump-nav, and a jump-nav only earns its space while it stays in
   view. Below this it can't be sticky — the column collapses to one — so it was
   laid out as a horizontal scroller above the questions, where it cost a row and
   held nothing the page didn't already say: every category is a heading in the
   content below it. So it's simply not shown; scrolling is the navigation. */
@media (max-width: 1024px) {
  .tl-faq-cats__rail { display: none; }
}
.tl-faq-cat-btn {
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid var(--border-1);
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--fg-2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
  line-height: 1.3;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.tl-faq-cat-btn:hover { color: var(--fg-1); background: var(--surface-quiet); }
.tl-faq-cat-btn.is-on {
  color: var(--orange-700);
  border-left-color: var(--orange-700);
  font-weight: var(--weight-semibold);
}
.tl-faq-cat-btn small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--fg-3);
}
@media (max-width: 1024px) {
  .tl-faq-cat-btn {
    border-left: 0;
    border-bottom: 2px solid var(--border-1);
  }
  .tl-faq-cat-btn.is-on {
    border-bottom-color: var(--orange-700);
    border-left-color: transparent;
    background: rgba(255, 165, 59, 0.08);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

.tl-faq-cat-head {
  margin: 0 0 var(--space-5);
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.tl-faq-cat-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: var(--weight-semibold);
}
.tl-faq-cat-head__count {
  font-size: 13px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.tl-faq-cat + .tl-faq-cat { margin-top: var(--space-10); }

/* --- Configure your contract — CTA block -------------------------- */
.tl-contract-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.tl-contract-cta__note {
  font-size: var(--fs-small);
  color: var(--fg-on-dark-muted);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .tl-contract-cta { flex-direction: column; align-items: flex-start; }
}
