:root {
  color-scheme: light;
  --ink: #141917;
  --ink-soft: #2f3b37;
  --muted: #66746f;
  --line: #dfe7e3;
  --paper: #ffffff;
  --page: #fafbf9;
  --soft: #f2f6f4;
  --mint: #dff0eb;
  --green: #0f6b5f;
  --green-dark: #073f38;
  --coral: #c94f45;
  --amber: #c98b20;
  --blue: #315e9f;
  --shadow-sm: 0 10px 24px rgba(20, 25, 23, 0.08);
  --shadow-md: 0 24px 70px rgba(20, 25, 23, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, 1140px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 12px;
  z-index: 40;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--green-dark);
  color: #fff;
  padding: 8px 12px;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 231, 227, 0.92);
  background: rgba(250, 251, 249, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 107, 95, 0.22);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.site-nav {
  display: none;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green-dark);
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(223, 240, 235, 0.55) 0%, rgba(250, 251, 249, 0) 58%),
    var(--page);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 107, 95, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 107, 95, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 26px;
  padding-block: 34px 30px;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2.05rem, 10.5vw, 3.45rem);
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.55rem, 7vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
}

h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.38;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  font-weight: 500;
}

.lead-form {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding: 12px;
  border: 1px solid rgba(223, 231, 227, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.hero-lead {
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: #8a9692;
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 107, 95, 0.13);
}

.choice-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.choice-field legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 8px 10px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.choice-card input {
  accent-color: var(--green);
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.65;
}

.consent-field input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: var(--green);
}

.consent-field a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 7px;
  padding: 10px 18px;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.primary-button {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 107, 95, 0.24);
}

.secondary-button {
  background: var(--green-dark);
  color: #fff;
}

.primary-button:hover,
.secondary-button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled,
.primary-button[aria-busy="true"],
.secondary-button[aria-busy="true"] {
  cursor: not-allowed;
  filter: grayscale(0.2) brightness(0.92);
  opacity: 0.72;
  transform: none;
}

.inline-button {
  width: fit-content;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  max-width: 650px;
}

.hero-metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--coral);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  width: min(100%, 650px);
  margin-inline: auto;
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(223, 231, 227, 0.95);
  border-radius: var(--radius);
  background: #e5eee9;
  box-shadow: var(--shadow-md);
}

.match-panel {
  position: absolute;
  inset-inline: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: 310px;
  margin-inline-start: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(20, 25, 23, 0.16);
  backdrop-filter: blur(10px);
}

.match-panel span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.match-panel strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
}

.match-panel small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.jobs-shell,
.steps-section,
.resources-section,
.alerts-section,
.faq-section {
  padding-block: 44px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 500;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.chip {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  padding: 7px 13px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(20, 25, 23, 0.04);
}

.chip.is-active {
  border-color: rgba(15, 107, 95, 0.3);
  background: var(--green);
  color: #fff;
}

.jobs-status {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 10px 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.jobs-status strong {
  color: var(--coral);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

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

.job-card,
.step-card,
.resource-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.job-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(20, 25, 23, 0.05);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.job-card:hover {
  border-color: rgba(15, 107, 95, 0.32);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.job-card h3 {
  margin-bottom: 2px;
}

.job-company {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.save-button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.save-button.is-saved {
  border-color: rgba(201, 139, 32, 0.55);
  background: #fff7e7;
  color: #996411;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.job-meta span {
  min-height: 38px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--ink-soft);
  padding: 7px 9px;
  font-size: 0.82rem;
  font-weight: 800;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.job-tags span {
  border-radius: 999px;
  background: #edf3fb;
  color: var(--blue);
  padding: 5px 9px;
  font-size: 0.77rem;
  font-weight: 800;
}

.job-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.job-card-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.text-link {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--soft);
  text-align: center;
}

.steps-section {
  background: var(--green-dark);
  color: #fff;
}

.steps-section h2,
.steps-section h3 {
  color: #fff;
}

.steps-section .eyebrow,
.steps-section .section-heading p {
  color: #b9e7dd;
}

.steps-grid,
.resource-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.step-card {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.step-card p {
  margin-bottom: 0;
  color: #d6f0ea;
  font-weight: 500;
}

.step-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffd27b;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.resources-grid {
  display: grid;
  gap: 18px;
}

.resource-card {
  padding: 17px;
  box-shadow: 0 10px 22px rgba(20, 25, 23, 0.05);
}

.resource-card:nth-child(1) {
  border-top: 4px solid var(--coral);
}

.resource-card:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.resource-card:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.resource-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
}

.alerts-section {
  background: var(--mint);
}

.alerts-panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(15, 107, 95, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
}

.alerts-panel p {
  color: var(--ink-soft);
  font-weight: 500;
}

.alert-form {
  display: grid;
  gap: 12px;
}

.alerts-panel .lead-form {
  max-width: none;
  box-shadow: var(--shadow-sm);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.faq-section {
  background: var(--page);
}

details {
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(20, 25, 23, 0.04);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  padding-block: 28px;
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.site-footer strong {
  font-family: Inter, Arial, sans-serif;
}

.site-footer p {
  margin-bottom: 0;
  color: #cbd5d1;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #d9f1eb;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.simple-page {
  min-height: 70vh;
  padding-block: 42px;
  background: var(--page);
}

.prose {
  max-width: 820px;
}

.prose h1 {
  font-size: clamp(2rem, 9vw, 3rem);
}

.prose h2 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.prose p {
  color: var(--muted);
}

.prose a:not(.primary-button):not(.secondary-button) {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose ul,
.prose ol {
  margin: 14px 0 0;
  padding-inline-start: 22px;
  color: var(--muted);
  font-weight: 500;
}

.prose li + li {
  margin-top: 8px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.simple-cards {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.simple-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(20, 25, 23, 0.05);
}

.simple-card h2,
.simple-card h3 {
  margin-top: 0;
}

.simple-card p {
  margin-bottom: 0;
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .header-action {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .match-panel {
    position: static;
    margin-top: 10px;
    max-width: none;
  }

  .choice-field {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  .hero-lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .hero-lead .choice-field,
  .hero-lead .consent-field,
  .hero-lead .lead-submit,
  .hero-lead .form-note,
  .hero-lead .honeypot {
    grid-column: 1 / -1;
  }

  .job-list,
  .steps-grid,
  .resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alerts-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 24px;
  }

  .alerts-panel .lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alerts-panel .choice-field,
  .alerts-panel .consent-field,
  .alerts-panel .lead-submit,
  .alerts-panel .form-note,
  .alerts-panel .honeypot {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 800;
  }

  .site-nav a:hover {
    color: var(--green);
  }

  .hero-grid {
    grid-template-columns: 0.98fr 1.02fr;
    align-items: center;
    min-height: 650px;
    padding-block: 54px 48px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .job-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .resources-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
