/* =========================================================
   hire.page styles. Source of truth for the look: docs/design.md.
   Started from design/styles.css (approved 2026-11-20).
   ========================================================= */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
}

:root {
  /* Color: official paper, passport ink, status stamps */
  --paper: #f3f6f5;       /* page: cool security-paper tint */
  --panel: #ffffff;       /* raised surfaces */
  --ink: #13203a;         /* primary text */
  --slate: #4a5670;       /* secondary text */
  --muted: #5e6880;       /* tertiary text, axis labels */
  --line: #d8e0e3;        /* panel borders, rules */
  --line-soft: #e6ecee;   /* row dividers, chart grid */
  --navy: #1d3a6e;        /* brand, actions, chart emphasis */
  --navy-hover: #142c57;
  --navy-wash: #e7edf6;
  --bar-muted: #6f8cc0;   /* earlier years in charts */
  --good: #17794f;
  --good-wash: #e5f2eb;
  --warn: #955600;
  --warn-wash: #fbf0df;
  --bad: #b42318;
  --bad-wash: #fbe9e7;

  --display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9 6.1-6.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.2v6.2' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12.6' r='1.35'/%3E%3C/svg%3E");
  --icon-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 4.6l6.8 6.8M11.4 4.6l-6.8 6.8' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5l4.6 6.2H3.4z'/%3E%3C/svg%3E");
  --icon-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7.5' rx='1.6'/%3E%3Cpath d='M5.4 7V5.3a2.6 2.6 0 015.2 0V7' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 0 0 0 2.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --guilloche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='28' viewBox='0 0 140 28'%3E%3Cg fill='none' stroke='%231d3a6e' stroke-opacity='.08'%3E%3Cpath d='M0 14C17.5 0 52.5 0 70 14s52.5 14 70 0'/%3E%3Cpath d='M0 14c17.5 14 52.5 14 70 0S122.5 0 140 14'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }

/* ---------- Preview notice ---------- */
.preview-note {
  background: var(--navy-wash);
  color: var(--ink);
  font-size: 13px;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- Header ---------- */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  position: relative;
  width: 26px; height: 26px;
  border: 2px solid var(--navy);
  border-radius: 7px;
  display: grid; place-items: center;
  transform: rotate(-6deg);
  color: var(--navy);
}
.logo-mark::before {
  content: ""; position: absolute; inset: 2px;
  border: 1px solid var(--navy); border-radius: 4px;
}
.logo-mark::after {
  content: ""; width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: var(--icon-check) center / contain no-repeat;
          mask: var(--icon-check) center / contain no-repeat;
}
.nav { display: flex; gap: 24px; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
  text-decoration-color: var(--navy);
}
.header-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.country {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--slate);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px 4px 5px; background: var(--panel);
}
.country-code {
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 11px; letter-spacing: .03em;
  border-radius: 999px; padding: 2px 7px;
}
.login { color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; }
.login:hover { color: var(--ink); }

/* ---------- Buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1.1 var(--sans);
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  background: var(--navy); color: #fff;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #fff; }
.btn-quiet { background: var(--panel); color: var(--navy); border-color: var(--line); }
.btn-quiet:hover { background: var(--navy-wash); border-color: var(--line); color: var(--navy); }
.btn-lg { padding: 15px 22px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }

.chip {
  display: inline-block;
  font-size: 13.5px; color: var(--ink); text-decoration: none;
  padding: 5px 11px;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }

.tag {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; color: var(--navy);
  background: var(--navy-wash);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Sponsorship signals (status: icon + words + color) ---------- */
.signal {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  padding: 4px 10px 4px 7px;
  border-radius: 999px; white-space: nowrap;
}
.signal::before {
  content: ""; flex: none; width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.signal-strong   { color: var(--good); background: var(--good-wash); --icon: var(--icon-check); }
.signal-possible { color: var(--warn); background: var(--warn-wash); --icon: var(--icon-alert); }
.signal-unlikely { color: var(--bad);  background: var(--bad-wash);  --icon: var(--icon-cross); }

/* ---------- The stamp ---------- */
.stamp {
  --stamp-ink: var(--good);
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 15px 24px 13px;
  color: var(--stamp-ink);
  border: 3px solid currentColor;
  border-radius: 14px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.05;
  transform: rotate(-6deg);
  opacity: .94;
  mix-blend-mode: multiply;
  -webkit-mask-image: var(--grain); mask-image: var(--grain);
  -webkit-mask-size: 200px; mask-size: 200px;
}
.stamp::before {
  content: ""; position: absolute; inset: 4px;
  border: 1.5px solid currentColor; border-radius: 9px;
  pointer-events: none;
}
.stamp-top  { font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.stamp-main { font-size: 27px; font-weight: 800; letter-spacing: .05em; }
.stamp-sub  { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; }
.stamp-lg { padding: 20px 32px 17px; border-width: 4px; border-radius: 18px; }
.stamp-lg::before { inset: 5px; border-width: 2px; border-radius: 12px; }
.stamp-lg .stamp-top  { font-size: 14px; }
.stamp-lg .stamp-main { font-size: 40px; }
.stamp-lg .stamp-sub  { font-size: 13px; }
.stamp-sm { padding: 9px 14px 8px; border-width: 2.5px; border-radius: 10px; transform: rotate(-4deg); }
.stamp-sm::before { inset: 3px; border-width: 1px; border-radius: 7px; }
.stamp-sm .stamp-main { font-size: 17px; }
.stamp-sm .stamp-sub { font-size: 10.5px; }

.stamp-press { animation: stamp-press 560ms cubic-bezier(.2, .9, .25, 1.15) 350ms both; }
@keyframes stamp-press {
  from { opacity: 0; transform: rotate(-6deg) scale(1.45); }
  70%  { opacity: .96; transform: rotate(-6deg) scale(.97); }
  to   { opacity: .94; transform: rotate(-6deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .stamp-press { animation: none; }
}

/* ---------- Company avatar ---------- */
.co-avatar {
  flex: none;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy-wash); color: var(--navy);
  font-family: var(--display); font-size: 22px; line-height: 1;
}
.co-avatar-lg { width: 56px; height: 56px; border-radius: 13px; font-size: 32px; }
.co-avatar-sm { width: 30px; height: 30px; border-radius: 8px; font-size: 17px; }

/* ---------- Sections & headings ---------- */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.012em; }
.sec-head p { color: var(--muted); font-size: 15px; }
.sec-link { margin-left: auto; font-weight: 600; font-size: 15px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--slate); }
.lede { font-size: 19px; color: var(--slate); max-width: 40em; }
.notice { max-width: 40em; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--slate); }
.notice strong { color: var(--ink); }
.btn-soon { cursor: default; opacity: .55; text-align: center; }
.notice p { margin: 0; }
.notice .btn { margin-top: 12px; }
html:not(.js) .waitlist-open { display: none; }

/* ---------- Waitlist dialog ---------- */
.modal {
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(19, 32, 58, .28);
}
.modal:focus { outline: none; }
.modal::backdrop { background: rgba(19, 32, 58, .55); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; }
.modal > p { margin: 10px 0 18px; color: var(--slate); }
.modal-close {
  flex: none; width: 36px; height: 36px; margin: -6px -6px 0 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--slate);
  font: inherit; font-size: 26px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--navy-wash); color: var(--ink); }
.modal-close:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.modal-form { min-height: 120px; }
@media (max-width: 640px) { .modal { padding: 20px 16px; } .modal-head h2 { font-size: 22px; } }
.page-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.01em;
}

/* ---------- Panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.panel-pad { padding: 24px; }
.panel h3 { font-size: 17px; font-weight: 700; }
.panel-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- Job list ---------- */
.job-list { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.job-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 160px 132px 214px;
  gap: 16px; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
}
.job-row:first-child { border-top: 0; }
.job-when { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.job-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.job-title:hover { color: var(--navy); text-decoration: underline; }
.job-co { display: block; color: var(--slate); font-size: 14px; margin-top: 1px; }
.job-loc { color: var(--slate); font-size: 14.5px; }
.job-pay { font-size: 15px; font-variant-numeric: tabular-nums; }
.job-row .signal { justify-self: start; }
.job-row-locked { color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 9px, var(--paper) 9px 10px); }
.locked-line { display: flex; align-items: center; gap: 10px; grid-column: 2 / -1; font-size: 15px; color: var(--slate); }
.locked-line::before {
  content: ""; width: 16px; height: 16px; flex: none; background: var(--navy);
  -webkit-mask: var(--icon-lock) center / contain no-repeat;
          mask: var(--icon-lock) center / contain no-repeat;
}
.locked-line a { margin-left: auto; font-weight: 600; }

/* ---------- Tables ---------- */
.table-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 13px 20px; text-align: left; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.data-table thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--muted); background: #f8faf9; }
.data-table tbody th { font-weight: 600; }
.data-table tbody th a { color: var(--ink); text-decoration: none; }
.data-table tbody th a:hover { color: var(--navy); text-decoration: underline; }
.data-table .co-cell { display: flex; align-items: center; gap: 12px; }
.data-table .cell-sub { display: block; font-size: 13.5px; font-weight: 400; color: var(--slate); }
.data-table .num { text-align: right; }

/* ---------- FAQ ---------- */
.faq { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 0; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 22px; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate);
  transform: rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--slate); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--panel); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 48px 0 32px; }
.footer-grid h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-grid li { margin: 7px 0; }
.footer-grid a { color: var(--slate); text-decoration: none; font-size: 14.5px; }
.footer-grid a:hover { color: var(--navy); text-decoration: underline; }
.footer-about { color: var(--slate); font-size: 14.5px; max-width: 30ch; margin-top: 12px; }
.soon { color: var(--muted); font-size: 14.5px; }
.footer-legal { border-top: 1px solid var(--line-soft); padding: 20px 0 32px; font-size: 13px; color: var(--muted); display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal p { max-width: 80ch; }

/* =========================================================
   Home
   ========================================================= */
.hero { padding: 64px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.014em;
  max-width: 11em;
  text-wrap: balance;
}
.hero .lede { margin-top: 20px; max-width: 32em; }

.search { margin-top: 32px; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.search-tabs label {
  cursor: pointer; font-size: 15px; font-weight: 600; color: var(--slate);
  padding: 7px 14px; border-radius: 8px;
}
.search-tabs label:hover { color: var(--ink); }
#mode-jobs:checked ~ .search-tabs label[for="mode-jobs"],
#mode-co:checked ~ .search-tabs label[for="mode-co"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
#mode-jobs:focus-visible ~ .search-tabs label[for="mode-jobs"],
#mode-co:focus-visible ~ .search-tabs label[for="mode-co"] { outline: 2px solid var(--navy); outline-offset: 2px; }
#mode-jobs:checked ~ .search-co,
#mode-co:checked ~ .search-jobs { display: none; }

.search-form {
  display: flex; align-items: stretch;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(19, 32, 58, .05);
}
.field { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 7px 14px 6px; border-radius: 8px; }
.field + .field { border-left: 1px solid var(--line-soft); }
.field:focus-within { background: var(--navy-wash); }
.field label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field input { border: 0; background: transparent; padding: 1px 0; font-size: 16px; font-weight: 500; outline: none; width: 100%; }
.field input::placeholder { color: #8a93a6; font-weight: 400; }
.search-form .btn { margin-left: 6px; padding: 0 22px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.popular > span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.hero-facts { margin-top: 26px; font-size: 14.5px; color: var(--slate); }
.hero-facts strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* The visa page card */
.visa-card {
  position: relative; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 28px 24px;
  box-shadow: 0 1px 0 rgba(19, 32, 58, .04), 0 22px 44px -26px rgba(19, 32, 58, .4);
}
.visa-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--guilloche); background-size: 140px 28px;
  pointer-events: none;
}
.visa-card > * { position: relative; }
.visa-head { display: flex; align-items: center; gap: 12px; }
.visa-co { font-weight: 700; font-size: 18px; }
.visa-meta { color: var(--slate); font-size: 14px; }
.visa-question { margin-top: 22px; font-size: 15px; color: var(--slate); }
.visa-stamp-zone { display: grid; place-items: center; padding: 22px 0 26px; }
.visa-facts { border-top: 1px solid var(--line); }
.visa-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.visa-facts dt { color: var(--slate); }
.visa-facts dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.visa-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }

/* Timeline: a real sequence, so it gets times as markers */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; margin: 8px 0 32px; }
.timeline::before { content: ""; position: absolute; top: 6px; left: 7px; right: 0; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 30px; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 4px var(--paper);
}
.timeline li:last-child::before { background: var(--good); }
.timeline .tl-step { display: block; font-weight: 700; color: var(--navy); font-size: 15px; }
.timeline li:last-child .tl-step { color: var(--good); }
.timeline h3 { font-size: 18px; margin-top: 4px; }
.timeline p { color: var(--slate); margin-top: 6px; max-width: 34ch; }

.browse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.browse-grid h3 { font-size: 16px; margin-bottom: 10px; }
.browse-grid li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.browse-grid a { text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.browse-grid a:hover { color: var(--navy); }
.browse-grid a span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }

/* =========================================================
   Company page
   ========================================================= */
.co-hero { padding: 40px 0 44px; }
.co-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.co-id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.co-name { font-size: 20px; font-weight: 700; }
.co-meta { color: var(--slate); font-size: 15px; }
.answer { margin-top: 18px; font-size: 19px; color: var(--ink); max-width: 36em; }
.answer strong { font-weight: 700; color: var(--good); }

.checks { margin-top: 22px; max-width: 560px; border-top: 1px solid var(--line); }
.check {
  --icon: var(--icon-check); --tone: var(--good); --wash: var(--good-wash);
  display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.check span:last-child { text-align: right; }
.check-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--wash); display: grid; place-items: center;
}
.check-icon::before {
  content: ""; width: 14px; height: 14px; background: var(--tone);
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
}
.check strong { font-size: 15px; }
.check span:last-child { color: var(--slate); font-size: 14px; }
.check-neutral { --icon: var(--icon-dash); --tone: var(--muted); --wash: #edf1f3; }
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.co-stamp-zone { display: grid; justify-items: center; gap: 22px; }
.stamp-caption { font-size: 13.5px; color: var(--muted); text-align: center; max-width: 28ch; }

/* Stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.tile { padding: 20px 22px; }
.tile + .tile { border-left: 1px solid var(--line-soft); }
.tile-label { font-size: 14px; color: var(--slate); }
.tile-value { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; line-height: 1.15; }
.tile-value-text { font-size: 24px; line-height: 1.25; padding-top: 6px; }
.tile-delta { display: flex; align-items: center; gap: 4px; font-size: 13.5px; margin-top: 6px; color: var(--slate); }
.tile-delta.up { color: var(--good); font-weight: 600; }
.tile-delta.up::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: var(--icon-up) center / contain no-repeat;
          mask: var(--icon-up) center / contain no-repeat;
}

.viz-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }

/* Column chart: filings per fiscal year */
.viz-head { margin-bottom: 18px; }
.cols { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
.cols-y { position: relative; height: 200px; }
.cols-y span {
  position: absolute; right: 0;
  bottom: calc(var(--v) / var(--max) * 100%);
  transform: translateY(50%);
  font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1;
}
.cols-plot {
  position: relative; height: 200px;
  display: flex; align-items: flex-end; justify-content: space-around;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 100% 20%;
  margin-bottom: 30px;
}
.col { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.col-bar {
  position: relative;
  width: 24px; height: calc(var(--v) / var(--max) * 100%);
  background: var(--bar-muted);
  border: 0; padding: 0; border-radius: 4px 4px 0 0;
  cursor: default;
}
.col-bar::before { content: ""; position: absolute; inset: -10px -12px 0; }
.col-bar:hover, .col-bar:focus-visible { filter: brightness(1.15); }
.col.is-latest .col-bar { background: var(--navy); }
.col-value { font-size: 14px; font-weight: 700; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.col-x { position: absolute; top: calc(100% + 8px); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.col.is-latest .col-x { color: var(--ink); font-weight: 600; }
.tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-size: 13px; line-height: 1.35; white-space: nowrap;
  padding: 7px 10px; border-radius: 7px;
  opacity: 0; pointer-events: none; z-index: 2;
}
.tip strong { font-size: 15px; }
.col-bar:hover .tip, .col-bar:focus-visible .tip { opacity: 1; }
.viz-table { margin-top: 4px; font-size: 14px; }
.viz-table summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.viz-table table { margin-top: 10px; border-collapse: collapse; width: 100%; }
.viz-table th, .viz-table td { padding: 6px 10px; border-top: 1px solid var(--line-soft); text-align: left; }
.viz-table td { text-align: right; font-variant-numeric: tabular-nums; }

/* Horizontal bar list: where they sponsor */
.hbars li { margin-top: 16px; }
.hbars li:first-child { margin-top: 0; }
.hb-label { display: flex; justify-content: space-between; font-size: 14.5px; }
.hb-label span:last-child { color: var(--slate); font-variant-numeric: tabular-nums; }
.hb-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; border-left: 1px solid var(--line); }
.hb-fill { height: 12px; width: calc(var(--p) * 1%); min-width: 4px; background: var(--navy); border-radius: 0 4px 4px 0; }
.hb-val { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.viz-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* Roles table with salary range plot */
.range-axis { display: block; position: relative; height: 16px; }
.range-axis span { position: absolute; left: calc((var(--t) - var(--rmin, 100)) / var(--rspan, 140) * 100%); transform: translateX(-50%); font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.range-axis span:first-child { transform: none; }
.range-axis span:last-child { transform: translateX(-100%); }
.range { position: relative; height: 18px; background-image: linear-gradient(to right, var(--line-soft) 1px, transparent 1px); background-size: 25% 100%; }
.range-head { display: block; margin-bottom: 6px; }
.block { margin-top: 56px; }
.block-last { margin-bottom: 64px; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.range-bar {
  position: absolute; top: 50%; height: 8px; transform: translateY(-50%);
  left: calc((var(--lo) - var(--rmin, 100)) / var(--rspan, 140) * 100%);
  width: calc((var(--hi) - var(--lo)) / var(--rspan, 140) * 100%);
  background: var(--bar-muted); border-radius: 4px;
}
.range-dot {
  position: absolute; top: 50%;
  left: calc((var(--mid) - var(--rmin, 100)) / var(--rspan, 140) * 100%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); box-shadow: 0 0 0 2px var(--panel);
  transform: translate(-50%, -50%);
}
.range-text { display: block; margin-top: 4px; font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.roles-table td.range-cell { width: 46%; }
.roles-table td.num { font-weight: 600; }

/* Sources */
.sources { font-size: 14px; color: var(--slate); }
.sources h2 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.sources li { margin: 5px 0; padding-left: 16px; position: relative; }
.sources li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }

.similar li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.similar li:first-child { border-top: 0; padding-top: 0; }
.similar a { font-weight: 600; color: var(--ink); text-decoration: none; }
.similar a:hover { color: var(--navy); text-decoration: underline; }
.similar p { font-size: 14px; color: var(--slate); }

/* =========================================================
   Job page
   ========================================================= */
.job-hero { padding: 36px 0 32px; }
.job-hero .page-title { max-width: 20ch; }
.job-hero-co { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 17px; font-weight: 600; }
.job-hero-co a { color: var(--ink); }
.job-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 22px; }
.job-facts dt { font-size: 13.5px; color: var(--muted); }
.job-facts dd { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.job-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 56px; }
.check-panel { padding: 26px 28px; }
.check-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.check-panel-head h2 { font-size: 22px; }
.check-panel-head p { color: var(--slate); font-size: 15px; margin-top: 4px; }
.check-rows { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.check-row { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.check-row .check-icon { width: 28px; height: 28px; --icon: var(--icon-check); --tone: var(--good); --wash: var(--good-wash); }
.check-row strong { font-size: 16px; }
.check-row p { color: var(--slate); font-size: 15px; margin-top: 2px; }
.check-row blockquote { margin-top: 8px; padding: 10px 14px; border-left: 3px solid var(--good); background: #f6faf8; font-size: 15px; color: var(--ink); border-radius: 0 8px 8px 0; }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.job-desc { margin-top: 28px; padding: 28px; }
.job-desc h2 { font-size: 20px; margin-bottom: 10px; }
.job-desc h3 { font-size: 16px; margin: 22px 0 8px; }
.job-desc p, .job-desc li { color: #2a3550; max-width: 68ch; }
.job-desc ul { list-style: disc; padding-left: 22px; }
.job-desc li { margin: 6px 0; }
.side { display: grid; gap: 20px; position: sticky; top: 20px; }
.side-facts { margin-top: 14px; }
.side-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.side-facts dt { color: var(--slate); }
.side-facts dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.alert-card { background: var(--navy); color: #fff; border-radius: 12px; padding: 22px; }
.alert-card h3 { font-size: 17px; }
.alert-card p { color: #d5deee; font-size: 14.5px; margin: 8px 0 16px; }
.alert-card .btn { background: #fff; color: var(--navy); border-color: #fff; }
.alert-card .btn:hover { background: var(--navy-wash); }
.mini-jobs { margin-top: 10px; }
.mini-jobs li { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mini-jobs li:first-child { border-top: 0; padding-top: 4px; }
.mini-jobs a { font-weight: 600; color: var(--ink); text-decoration: none; display: block; }
.mini-jobs a:hover { color: var(--navy); text-decoration: underline; }
.mini-jobs p { font-size: 14px; color: var(--slate); margin: 2px 0 6px; }

/* =========================================================
   Jobs list page
   ========================================================= */
.list-hero { padding: 36px 0 28px; }
.list-hero .lede { margin-top: 14px; }
.list-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 56px; }
.filters { position: sticky; top: 20px; }
.filters fieldset { border: 0; padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.filters legend { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; cursor: pointer; }
.opt input { width: 17px; height: 17px; accent-color: var(--navy); margin: 0; flex: none; }
.opt .count { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.opt .signal { font-size: 12.5px; }
.filters select, .toolbar select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 14.5px;
}
.pro-only { font-size: 12px; font-weight: 600; color: var(--navy); background: var(--navy-wash); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar p { font-size: 15px; color: var(--slate); }
.toolbar p strong { color: var(--ink); }
.toolbar label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.toolbar select { width: auto; }
/* Narrower column here: location moves under the company name */
.list-grid .job-row {
  grid-template-columns: 76px minmax(0, 1fr) 118px 200px;
  grid-template-areas: "when main pay signal" "when loc pay signal";
  row-gap: 0;
}
.list-grid .job-row > .job-when { grid-area: when; }
.list-grid .job-row > div { grid-area: main; }
.list-grid .job-row > .job-loc { grid-area: loc; font-size: 14px; margin-top: 1px; }
.list-grid .job-row > .job-pay { grid-area: pay; }
.list-grid .job-row > .signal { grid-area: signal; }
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; font-size: 15px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 8px; padding: 0 10px; text-decoration: none; }
.pager a { color: var(--ink); border: 1px solid var(--line); background: var(--panel); }
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager [aria-current="page"] { background: var(--navy); color: #fff; font-weight: 700; }
.seo-block { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.seo-block h2 { font-size: 22px; margin-bottom: 8px; }
.seo-block > p { color: var(--slate); max-width: 68ch; }
.seo-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 28px; }
.seo-facts div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.seo-facts dt { font-size: 14px; color: var(--slate); }
.seo-facts dd { font-size: 24px; font-weight: 600; margin-top: 2px; }
.related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* =========================================================
   Pricing page
   ========================================================= */
.pricing-hero { padding: 48px 0 12px; }
.pricing-hero .page-title { max-width: 16ch; }
.pricing-hero .lede { margin-top: 16px; }
.billing { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin: 32px 0 20px; }
.billing label { cursor: pointer; padding: 8px 14px; border-radius: 7px; font-size: 14.5px; font-weight: 600; color: var(--slate); }
.billing label .save { color: var(--good); font-weight: 600; }
#bill-month:checked ~ .billing label[for="bill-month"],
#bill-quarter:checked ~ .billing label[for="bill-quarter"] { background: var(--navy); color: #fff; }
#bill-quarter:checked ~ .billing label[for="bill-quarter"] .save { color: #bfe8d2; }
#bill-month:focus-visible ~ .billing label[for="bill-month"],
#bill-quarter:focus-visible ~ .billing label[for="bill-quarter"] { outline: 2px solid var(--navy); outline-offset: 2px; }
#bill-month:checked ~ .plans .price-quarter,
#bill-quarter:checked ~ .plans .price-month { display: none; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
.plan-pro { border: 2px solid var(--navy); position: relative; overflow: hidden; }
.plan-pro::before { content: ""; position: absolute; inset: 0; background-image: var(--guilloche); background-size: 140px 28px; pointer-events: none; }
.plan > * { position: relative; }
.plan h2 { font-size: 20px; }
.plan-for { color: var(--slate); font-size: 15px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.price-amount { font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price-unit { color: var(--slate); font-size: 15px; }
.price-note { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan .btn { margin: 22px 0 24px; }
.plan-list li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; background: var(--good);
  -webkit-mask: var(--icon-check) center / contain no-repeat;
          mask: var(--icon-check) center / contain no-repeat;
}
.plan-list-head { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.compare { margin-top: 56px; }
.compare .table-panel, .pricing-faq .faq { max-width: 900px; }
.compare h2 { font-size: 22px; margin-bottom: 16px; }
.compare td { text-align: center; }
.compare td.yes, .compare td.no { font-size: 0; }
.compare td.yes::before, .compare td.no::before {
  content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: middle;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.compare td.yes::before { --m: var(--icon-check); background: var(--good); }
.compare td.no::before { --m: var(--icon-dash); background: #a3abbb; }
.compare thead th:not(:first-child) { text-align: center; }
.compare td.num-c { font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-label a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hb-label a:hover { color: var(--navy); text-decoration: underline; }
.pricing-faq { margin-top: 56px; padding-bottom: 32px; }
.pricing-faq h2 { font-size: 22px; margin-bottom: 16px; }

/* =========================================================
   Added for the real build
   ========================================================= */
/* Sponsorship check rows and hero checks: amber, red, neutral */
.check-row.is-warn .check-icon, .check.is-warn { --icon: var(--icon-alert); --tone: var(--warn); --wash: var(--warn-wash); }
.check-row.is-bad .check-icon, .check.is-bad { --icon: var(--icon-cross); --tone: var(--bad); --wash: var(--bad-wash); }
.check-row.is-neutral .check-icon { --icon: var(--icon-dash); --tone: var(--muted); --wash: #edf1f3; }
.check-row.is-bad blockquote { border-left-color: var(--bad); background: #fdf6f5; }
.check-row.is-warn blockquote { border-left-color: var(--warn); background: #fdf8ef; }
/* Stamp verdicts other than yes */
.stamp-warn { --stamp-ink: var(--warn); }
.stamp-bad { --stamp-ink: var(--bad); }
.stamp-neutral { --stamp-ink: var(--muted); }
.answer.is-no strong { color: var(--slate); }
.tile-delta.down { color: var(--slate); }
/* Filters submit (hidden when JS auto-submits) */
.filters-apply { margin-top: 4px; }
.js .filters-apply { display: none; }
.opt.is-locked { color: var(--muted); }
/* Empty and simple text pages */
.empty { padding: 28px; text-align: center; color: var(--slate); }
.prose { max-width: 44em; padding-bottom: 64px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink); margin-top: 10px; }
.prose ul { list-style: disc; padding-left: 22px; }
.updated { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .job-row { grid-template-columns: 76px minmax(0, 1fr) 128px 190px; }
  .job-row .job-loc { display: none; }
  .list-grid .job-row .job-loc { display: block; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .country, .login { display: none; }
  .hero-grid, .two-col, .co-hero-grid, .viz-row, .job-grid, .list-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 40px; }
  .visa-card { max-width: 460px; }
  .co-stamp-zone { justify-items: start; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:nth-child(3) { border-left: 0; }
  .tile:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .side, .filters { position: static; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .timeline::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 30px; }
  .browse-grid, .seo-facts, .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .search-form { flex-direction: column; }
  .field + .field { border-left: 0; border-top: 1px solid var(--line-soft); }
  .search-form .btn { margin: 6px 0 0; padding: 14px; }
  .job-row, .list-grid .job-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: none; gap: 6px 12px; }
  .list-grid .job-row > * { grid-area: auto; }
  .list-grid .job-row .job-loc { display: none; }
  .job-row .job-when { grid-column: 1 / -1; order: -1; font-size: 13px; }
  .job-row .job-pay { text-align: right; }
  .job-row .signal { grid-column: 1 / -1; }
  .locked-line { grid-column: 1 / -1; flex-wrap: wrap; }
  .data-table th, .data-table td { padding: 11px 12px; }
  .hide-sm { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-value { font-size: 28px; }
}

.more-link { margin: 16px 0 0; }
.tile-value a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
