@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink-900: #0C0F13; --ink-800: #161A1F; --ink-700: #23262B; --ink-500: #4A4F57;
  --ink-400: #6E747D; --ink-200: #C7CBD1; --ink-100: #E4E6E9;
  --sand-50: #FBF8F3; --sand-100: #F5F0E6; --sand-200: #ECE3D2;
  --olive-50: #F1F4EC; --olive-100: #E1E9D3; --olive-500: #627C3D; --olive-600: #4D632F; --olive-700: #3B4D24;
  --apricot-50: #FCF1E8; --apricot-400: #E08D43; --apricot-600: #A45A1E;
  --shadow-sm: 0 1px 2px rgba(20,24,28,.04), 0 1px 1px rgba(20,24,28,.02);
  --shadow-md: 0 8px 24px rgba(20,24,28,.08), 0 2px 4px rgba(20,24,28,.04);
  --shadow-lg: 0 24px 48px rgba(20,24,28,.16);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Tajawal', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  background: var(--sand-100);
  color: var(--ink-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--olive-600); margin: 0 0 12px;
}

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,248,243,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand-lockup img { width: 32px; height: 32px; border-radius: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .2s ease, transform .12s ease; border: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--olive-500); color: var(--sand-50); padding: 13px 22px; font-size: 15px; }
.btn-primary:hover { background: var(--olive-600); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink-700); padding: 9px 6px; font-weight: 600; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { font-size: 13px; font-weight: 600; color: var(--ink-500); text-decoration: none; }
.lang-switch:hover { color: var(--ink-800); }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.015em;
  margin: 0 0 20px; color: var(--ink-900);
}
.hero p.lede { font-size: 18px; line-height: 1.6; color: var(--ink-500); margin: 0 0 28px; max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.trust-line { font-size: 13px; color: var(--ink-400); }
.trust-line b { color: var(--ink-500); font-weight: 600; }

/* Phone mockup */
.phone { width: 280px; margin: 0 auto; background: var(--ink-900); border-radius: 36px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--sand-50); border-radius: 26px; padding: 18px 16px 10px; overflow: hidden; }
.phone-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--ink-700); margin-bottom: 18px; }
.phone-screen h2 { font-size: 20px; margin: 0 0 2px; color: var(--ink-900); }
.phone-caption { font-size: 12px; color: var(--ink-400); margin: 0 0 14px; }
.match-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow-sm); margin-bottom: 10px;
}
.match-card .role { font-size: 14px; font-weight: 700; color: var(--ink-900); margin: 0 0 2px; }
.match-card .company { font-size: 12px; color: var(--ink-500); margin: 0 0 10px; }
.match-pill {
  display: inline-flex; align-items: center; gap: 4px; background: var(--olive-50); color: var(--olive-700);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.phone-nav { display: flex; justify-content: space-around; padding: 10px 0 2px; margin-top: 4px; border-top: 1px solid var(--ink-100); }
.phone-nav span { font-size: 10px; font-weight: 600; color: var(--ink-400); }
.phone-nav span.active { color: var(--olive-600); }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -.015em; margin: 0 0 10px; color: var(--ink-900); }
.section-head p { font-size: 16px; color: var(--ink-500); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step-card { background: var(--sand-50); border: 1px solid var(--ink-100); border-radius: 16px; padding: 20px 18px; }
.step-num { font-size: 12px; font-weight: 700; color: var(--ink-400); margin-bottom: 10px; }
.step-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--olive-50); color: var(--olive-600);
  display: grid; place-items: center; margin-bottom: 14px;
}
.step-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* Directional icons (send/paper-plane) mirror in RTL; spatial icons (clock, kanban) don't. */
[dir="rtl"] .step-icon[data-icon="send"] svg { transform: scaleX(-1); }
.step-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--ink-900); }
.step-card p { font-size: 13px; color: var(--ink-500); margin: 0; line-height: 1.5; }

.values { background: var(--sand-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--ink-900); }
.value-card p { font-size: 14px; color: var(--ink-500); margin: 0; line-height: 1.6; }

.cta-band { background: var(--ink-900); color: var(--sand-50); border-radius: 24px; margin: 0 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.cta-band p { color: var(--ink-200); margin: 0 0 28px; font-size: 15px; }
.cta-band .btn-primary { padding: 15px 28px; font-size: 16px; }
.cta-band .note { display: block; margin-top: 14px; font-size: 12px; color: var(--ink-400); }

footer.site { background: var(--ink-900); color: var(--ink-200); padding: 48px 0 28px; margin-top: -1px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid .brand-lockup { color: var(--sand-50); margin-bottom: 10px; }
.footer-grid p { font-size: 13px; color: var(--ink-400); max-width: 34ch; line-height: 1.6; }
footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { font-size: 14px; color: var(--sand-100); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--ink-700); padding-top: 20px; font-size: 12px; color: var(--ink-400); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; text-align: left; }
  .hero h1 { font-size: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0 16px; padding: 40px 24px; }
}
