@font-face {
  font-family: "Vazirmatn Fallback";
  src: local("Tahoma");
  size-adjust: 106%;
  ascent-override: 88%;
  descent-override: 34%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --moss: #606c38;
  --sage: #8b9d83;
  --clay: #b08b6e;
  --terracotta: #c66b3d;
  --ochre: #c08e3a;
  --sand: #e8dcc7;
  --oat: #d4b895;
  --blue: var(--moss);
  --blue-dark: #414c25;
  --blue-soft: color-mix(in srgb, var(--sage) 42%, var(--sand));
  --ink: #293126;
  --muted: #6f745f;
  --muted-strong: #525a45;
  --line: #b7bda5;
  --line-strong: #9fa88a;
  --surface: var(--sand);
  --surface-alt: color-mix(in srgb, var(--sage) 36%, var(--sand));
  --surface-raised: color-mix(in srgb, var(--oat) 38%, var(--sand));
  --success: var(--moss);
  --font: Vazirmatn, "Vazirmatn Fallback", Tahoma, Arial, sans-serif;
  --container: 1200px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

body,
button,
input,
select {
  font-family: var(--font);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

button,
input,
select {
  color: var(--ink);
  font-size: 1rem;
}

button,
a,
select,
input[type="checkbox"] {
  touch-action: manipulation;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  color: var(--surface);
  background: var(--blue);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--surface);
  background: var(--blue);
  transform: translateY(-180%);
  transition: transform 360ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.source-strip {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: var(--sand);
  background: var(--blue);
  font-size: 0.73rem;
  font-weight: 600;
}

.source-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.source-strip__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.source-strip__status > span,
.live-dot,
.eyebrow > span,
.official-badge > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

.source-strip__status > span {
  color: var(--oat);
}

.masthead {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
}

.masthead__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.wordmark__mark,
.company-identity__mark,
.job-card__company-mark,
.company-cell__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--blue);
  font-weight: 800;
}

.wordmark__mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  font-size: 1.35rem;
}

.company-identity__mark,
.job-card__company-mark,
.company-cell__mark {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--sage) 52%, var(--line));
  color: var(--blue);
  background: var(--surface-raised);
}

.company-logo {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.company-logo--snapp,
.company-logo--tapsi,
.company-logo--mci {
  width: 88%;
  height: 68%;
}

.company-cell__mark.company-cell__mark--mci,
.job-card__company-mark.job-card__company-mark--mci,
.company-identity__mark.company-identity__mark--mci {
  border-color: #174b62;
  background: #174b62;
}

.wordmark__title,
.wordmark__meta {
  display: block;
}

.wordmark__title {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.4;
}

.wordmark__meta {
  color: var(--muted);
  font-size: 0.7rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 360ms ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 360ms ease, color 360ms ease, background-color 360ms ease;
}

.header-action:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow > span {
  width: 15px;
  height: 3px;
  flex-basis: 15px;
  border-radius: 0;
}

.landing-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.landing-hero__grid {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 92px);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.7rem, 5.7vw, 5rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.hero-copy__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(180px, 0.8fr) auto;
  align-items: end;
  margin-top: 36px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.quick-search__query,
.quick-search__select {
  min-width: 0;
  padding: 6px 18px 7px;
}

.quick-search__query {
  border-inline-end: 1px solid var(--line);
}

.quick-search label {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.quick-search input,
.quick-search select {
  width: 100%;
  height: 29px;
  padding: 0;
  border: 0;
  outline: 0;
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 650;
}

.quick-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.quick-search__submit {
  align-self: stretch;
  min-width: 126px;
}

.hero-pulse {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hero-pulse__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
}

.live-dot {
  color: var(--success);
}

.hero-pulse__primary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-block: 12px;
}

.hero-pulse__primary strong {
  color: var(--blue);
  font-size: clamp(4rem, 7vw, 5.8rem);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.hero-pulse__primary span {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-pulse__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.hero-pulse__facts div {
  display: flex;
  flex-direction: column;
}

.hero-pulse__facts dt {
  color: var(--muted);
  font-size: 0.68rem;
}

.hero-pulse__facts dd {
  margin: 1px 0 0;
  font-size: 0.82rem;
  font-weight: 750;
}

.company-board,
.similar-jobs {
  padding-block: clamp(56px, 7vw, 88px);
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading h2,
.results-heading h2,
.content-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.section-heading > a {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 750;
}

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

.company-cell {
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 360ms ease, background-color 360ms ease, transform 360ms ease;
}

.company-cell:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.company-cell--active {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.company-cell__mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  font-size: 0.9rem;
}

.company-cell:first-child .company-cell__mark {
  border-color: var(--blue);
  color: var(--sand);
  background: var(--blue);
  font-size: 0.62rem;
}

.company-cell__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.company-cell__body strong {
  overflow: hidden;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-cell__body small {
  color: var(--muted);
  font-size: 0.68rem;
}

.company-cell__count {
  min-width: 30px;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.jobs-section {
  padding-block: clamp(52px, 7vw, 86px);
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
  scroll-margin-top: 24px;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.filters-disclosure > summary {
  display: none;
}

.filters-disclosure:not([open]) > .filters__heading,
.filters-disclosure:not([open]) > form {
  display: block;
}

.filters__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 15px;
  border-bottom: 1px solid var(--line);
}

.filters__heading .eyebrow {
  margin-bottom: 3px;
}

.filters__heading h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

.filters__heading > a {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.filters form {
  padding: 4px 20px 20px;
}

.field {
  padding-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background-color: var(--surface);
  font-size: 0.82rem;
  transition: border-color 360ms ease, box-shadow 360ms ease;
}

.field input:hover,
.field select:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
  outline: 0;
}

.field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-block: 17px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  cursor: pointer;
}

.check-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 4px 0 0;
  accent-color: var(--blue);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 360ms ease, background-color 360ms ease, border-color 360ms ease, transform 360ms ease;
}

.button--primary {
  color: var(--surface);
  background: var(--blue);
}

.button--primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button--large {
  min-height: 52px;
}

.filter-submit {
  width: 100%;
  font-size: 0.84rem;
}

.job-results {
  min-width: 0;
}

.results-heading {
  min-height: 78px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.results-heading .eyebrow {
  margin-bottom: 5px;
}

.active-query,
.results-heading__note {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.76rem;
}

.job-list {
  display: grid;
  gap: 11px;
}

.job-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 360ms ease, transform 360ms ease;
}

.job-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.job-card__company-mark {
  width: 52px;
  height: 52px;
  align-self: start;
  border-radius: 18px;
  background: var(--surface-raised);
  color: var(--blue);
  font-size: 1.05rem;
}

.job-card__main {
  min-width: 0;
}

.job-card__topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 750;
}

.official-badge > span {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
}

.job-card__topline time,
.detail-header__topline > time {
  color: var(--muted);
  font-size: 0.68rem;
}

.job-card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.55;
}

.job-card h3 a {
  text-decoration: none;
}

.job-card h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.job-card__tags > span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted-strong);
  background: var(--surface-raised);
  font-size: 0.68rem;
}

.job-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.job-card__link svg {
  transition: transform 360ms ease;
}

.job-card__link:hover svg {
  transform: translateX(-3px);
}

.empty-state {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
}

.empty-state__mark {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 1.8rem;
  font-weight: 850;
}

.empty-state h3 {
  margin: 0;
  font-size: 1.35rem;
}

.empty-state p {
  max-width: 500px;
  margin: 9px 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

.empty-inline {
  margin: 0;
  padding: 24px;
  color: var(--muted);
}

.pagination {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.pagination a {
  color: var(--blue);
  font-weight: 750;
}

.detail-surface {
  padding-bottom: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.breadcrumb {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.breadcrumb a {
  flex: 0 0 auto;
  color: var(--blue);
}

.breadcrumb span[aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 24px;
  align-items: start;
}

.detail-main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.detail-header {
  padding: clamp(26px, 5vw, 52px);
}

.detail-header__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-identity__mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--surface-raised);
  color: var(--blue);
}

.company-identity > div {
  display: flex;
  flex-direction: column;
}

.company-identity strong {
  font-size: 0.9rem;
}

.detail-header h1 {
  max-width: 820px;
  margin: clamp(34px, 6vw, 70px) 0 0;
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
  margin: clamp(34px, 5vw, 58px) 0 0;
}

.detail-meta div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
}

.detail-meta dt {
  color: var(--muted);
  font-size: 0.68rem;
}

.detail-meta dd {
  margin: 2px 0 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-description {
  padding: clamp(26px, 5vw, 52px);
}

.content-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.prose {
  max-width: 760px;
  padding-top: 28px;
  color: #37402f;
  font-size: 0.96rem;
  line-height: 2;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 2.2em 0 0.65em;
  color: var(--ink);
  line-height: 1.55;
}

.prose h2 {
  font-size: 1.5rem;
}

.prose h3 {
  font-size: 1.25rem;
}

.prose li {
  margin-block: 0.45em;
}

.prose a {
  color: var(--blue);
}

.apply-panel {
  position: sticky;
  top: 20px;
  padding: 25px;
}

.apply-panel h2 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.5;
}

.apply-panel > p:not(.eyebrow) {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 0.82rem;
}

.apply-panel .button {
  width: 100%;
  font-size: 0.8rem;
}

.source-link {
  display: block;
  margin-top: 15px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.apply-panel__trust {
  margin-top: 25px;
  padding: 16px;
  border-inline-start: 3px solid var(--blue);
  background: var(--blue-soft);
}

.apply-panel__trust strong {
  font-size: 0.76rem;
}

.apply-panel__trust p {
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-size: 0.7rem;
}

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

.similar-grid > a {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 360ms ease, transform 360ms ease;
}

.similar-grid > a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.similar-grid strong {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.65;
}

.similar-grid small {
  margin-top: 4px;
  color: var(--muted);
}

.similar-grid__cta {
  margin-top: auto;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 750;
}

.site-footer {
  background: var(--surface);
}

.site-footer__inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand strong {
  display: block;
  font-size: 0.9rem;
}

.footer-brand p {
  max-width: 470px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.76rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--blue);
}

.site-footer__note {
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

@media (max-width: 1040px) {
  .company-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-search {
    grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.8fr) auto;
  }

  .job-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .job-card__company-mark {
    width: 48px;
    height: 48px;
  }

  .job-card__link {
    grid-column: 2;
    justify-self: start;
  }

  .similar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .masthead__inner {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    justify-self: end;
  }

  .header-action {
    display: none;
  }

  .landing-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 680px;
  }

  .hero-pulse {
    min-height: auto;
    display: grid;
    grid-template-columns: 0.7fr 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
  }

  .hero-pulse__primary {
    padding: 0;
  }

  .hero-pulse__primary strong {
    font-size: 3.8rem;
  }

  .hero-pulse__facts {
    padding: 0 14px 0 0;
    border-top: 0;
    border-inline-start: 1px solid var(--line);
  }

  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .filters,
  .apply-panel {
    position: static;
  }

  .filters form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .check-field,
  .filter-submit {
    grid-column: 1 / -1;
  }

  .detail-layout {
    display: flex;
    flex-direction: column;
  }

  .detail-main {
    display: contents;
  }

  .apply-panel {
    width: 100%;
  }

  .detail-header {
    order: 0;
  }

  .apply-panel {
    order: 1;
  }

  .detail-description {
    order: 2;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .source-strip__inner {
    justify-content: center;
  }

  .source-strip__inner > span:last-child {
    display: none;
  }

  .masthead__inner {
    min-height: 68px;
    display: flex;
    justify-content: space-between;
  }

  .wordmark__meta {
    display: none;
  }

  .wordmark__mark {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.74rem;
  }

  .main-nav a:last-child {
    display: none;
  }

  .landing-hero__grid {
    min-height: 0;
    padding-block: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 11.5vw, 3.65rem);
    line-height: 1.22;
  }

  .hero-copy__lead {
    font-size: 0.94rem;
  }

  .quick-search {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quick-search__query,
  .quick-search__select {
    padding: 10px 12px;
  }

  .quick-search__query {
    border-bottom: 1px solid var(--line);
    border-inline-end: 0;
  }

  .quick-search__select {
    margin-bottom: 7px;
  }

  .quick-search__submit {
    min-height: 50px;
  }

  .hero-pulse {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 6px;
    padding: 12px 16px;
  }

  .hero-pulse__label {
    grid-column: 1 / -1;
  }

  .hero-pulse__primary strong {
    font-size: 3.35rem;
  }

  .hero-pulse__facts {
    display: block;
  }

  .hero-pulse__facts div + div {
    margin-top: 4px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 10px;
  }

  .section-heading > a {
    display: inline-block;
    margin-top: 12px;
  }

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

  .company-cell {
    min-height: 78px;
  }

  .jobs-section {
    padding-block: 44px;
  }

  .filters form {
    grid-template-columns: 1fr;
  }

  .filters-disclosure > summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 780;
    cursor: pointer;
    list-style: none;
  }

  .filters-disclosure > summary::-webkit-details-marker {
    display: none;
  }

  .filters-disclosure__state {
    color: var(--blue);
    font-size: 0.72rem;
  }

  .filters-disclosure[open] .filters-disclosure__state::before {
    content: "بستن";
  }

  .filters-disclosure[open] .filters-disclosure__state {
    font-size: 0;
  }

  .filters-disclosure[open] .filters-disclosure__state::before {
    font-size: 0.72rem;
  }

  .filters-disclosure:not([open]) > .filters__heading,
  .filters-disclosure:not([open]) > form {
    display: none;
  }

  .filters__heading {
    border-top: 1px solid var(--line);
  }

  .check-field,
  .filter-submit {
    grid-column: auto;
  }

  .results-heading {
    min-height: 0;
    display: block;
    margin: 38px 0 18px;
  }

  .active-query,
  .results-heading__note {
    margin-top: 7px;
  }

  .job-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  .job-card__company-mark {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .job-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .job-card h3 {
    font-size: 1.02rem;
  }

  .job-card__link {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .breadcrumb {
    min-height: 56px;
  }

  .detail-header,
  .detail-description,
  .apply-panel {
    border-radius: var(--radius-md);
  }

  .detail-header {
    padding: 22px;
  }

  .detail-header__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .detail-header h1 {
    margin-top: 36px;
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .detail-meta {
    grid-template-columns: 1fr 1fr;
  }

  .detail-description {
    padding: 24px 21px;
  }

  .prose {
    font-size: 0.9rem;
  }

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

  .similar-grid > a {
    min-height: 178px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 36px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .wordmark__title {
    font-size: 0.88rem;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
