:root {
  --green: #0B6B6A;
  --green-hover: #084F4E;
  --green-soft: #E3F2F1;
  --green-on: #D5EEEC;
  --orange: #C2410C;
  --orange-soft: #FFF1E8;
  --ink: #12202F;
  --ink-2: #3D4A59;
  --muted: #5B6878;
  --line: #E2E7EC;
  --line-strong: #CBD3DB;
  --bg: #F5F7F8;
  --white: #FFFFFF;
  --danger: #B42318;
  --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--green); }
a:hover { color: var(--green-hover); }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
#reps, #companies, #join { scroll-margin-top: 16px; }

.skip {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { padding-block: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.wordmark-sm { font-size: 20px; }
.w-rep { color: var(--ink); }
.w-sawy { color: var(--green); }
.w-rep-light { color: var(--white); }
.w-sawy-light { color: #7FD1C7; }
.top-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-link { color: var(--ink-2); text-decoration: none; font-size: 16px; }
.nav-link:hover { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border-radius: 12px; border: 1px solid transparent; transition: background .15s, color .15s;
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; height: 54px; font-size: 17px; border-radius: 14px; margin-top: 6px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); color: var(--white); }
.btn-outline { background: var(--white); border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green-soft); color: var(--green-hover); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { padding-block: 64px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pill {
  align-self: flex-start; height: 32px; padding: 0 14px; border-radius: 16px;
  background: var(--orange-soft); color: var(--orange); font-size: 14px; font-weight: 600;
  display: flex; align-items: center;
}
h1 { font-size: 52px; line-height: 1.25; text-wrap: balance; }
.accent { color: var(--green); }
.lead { font-size: 20px; line-height: 1.8; color: var(--ink-2); max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { flex: 1 1 300px; display: flex; justify-content: center; }
.phone { width: 312px; height: 675px; border-radius: 40px; background: var(--ink); padding: 10px; flex-shrink: 0; }
.phone-screen { width: 292px; height: 655px; border-radius: 30px; overflow: hidden; position: relative; }
.phone-scale { width: 390px; height: 844px; transform: scale(0.7488); transform-origin: top right; position: absolute; top: 0; right: 0; pointer-events: none; user-select: none; }

/* Sections */
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-green { background: var(--green); }
.section { padding-block: 64px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head h2 { font-size: 34px; line-height: 1.35; }
.section-head.on-green { color: var(--white); }
.section-head.on-green p { font-size: 18px; color: var(--green-on); }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--green); }
.eyebrow-orange { color: var(--orange); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-muted { background: var(--bg); border-color: transparent; }
.card h3 { font-size: 21px; }
.card p { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.step {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: var(--white);
  font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* Forms */
.forms { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.form { flex: 1 1 340px; min-width: 0; gap: 14px; border: none; }
.form h3 { font-size: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; min-width: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
label { font-size: 14px; font-weight: 600; }
input, select {
  height: 48px; width: 100%; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--white); padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--ink);
}
select { padding: 0 12px; }
input[dir="ltr"] { text-align: right; }
input::placeholder { color: #8A96A3; }
input:focus, select:focus { border-color: var(--green); outline: 2px solid var(--green-soft); outline-offset: 0; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.err { font-size: 13px; color: var(--danger); }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.form-status { font-size: 14px; min-height: 0; }
.form-status.error { color: var(--danger); }
.form { position: relative; }
.form.picked { box-shadow: 0 0 0 4px #7FD1C7; }

.privacy-note { color: var(--green-on); font-size: 14px; }

/* Success state */
.done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.done-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.done h3 { font-size: 22px; }
.done p { color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.btn-wa { background: #1FA855; color: var(--white); height: 48px; padding: 0 20px; font-size: 15px; gap: 8px; }
.btn-wa:hover { background: #178A45; color: var(--white); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3DD; }
.footer-row { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.social { display: flex; gap: 20px; flex-wrap: wrap; }
.social a { color: #C9D3DD; font-size: 15px; }
.social a:hover { color: var(--white); }
.copy { font-size: 14px; }

/* Phones */
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .header-row { padding-block: 12px; }
  .top-nav { gap: 16px; }
  .top-nav .nav-link { display: none; }
  .btn-sm { height: 40px; padding: 0 14px; font-size: 14px; }
  .wordmark { font-size: 22px; }
  .hero { padding-block: 40px 32px; gap: 36px; }
  h1 { font-size: 34px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 100%; }
  .section { padding-block: 48px; gap: 24px; }
  .section-head h2 { font-size: 27px; }
  .card { padding: 22px; }
  .form { flex-basis: 100%; }
}
@media (max-width: 360px) {
  .phone { transform: scale(.9); transform-origin: top center; margin-bottom: -68px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
