/* ═══════════════════════════════════════════════════════════════
   Talk Scout — main design system & layout styles
   2D Flat Illustration theme, bilingual LTR & RTL support
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0B1130;
  --blue: #5170FF;
  --blue-600: #3B5BFF;
  --blue-700: #2947E6;
  --blue-50: #EEF2FF;
  --blue-100: #E0E7FF;
  --coral: #FF6551;
  --mint: #10B981;
  --paper: #FAFBFF;
  --paper-2: #F3F6FF;
  --ink: #0B1130;
  --ink-60: rgba(11,17,48,.62);
  --ink-40: rgba(11,17,48,.42);
  --line: rgba(81,112,255,.14);
  --line-strong: rgba(81,112,255,.28);
  --shadow-sm: 0 2px 8px rgba(11,17,48,.04);
  --shadow: 0 10px 30px rgba(81,112,255,.10);
  --shadow-lg: 0 22px 50px rgba(81,112,255,.16);
  --r: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; font: inherit; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }

/* ── typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
p.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--ink-60); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--blue-600);
  background: var(--blue-50); padding: .35rem .85rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}

/* ── buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: .95rem 1.8rem; border-radius: 100px;
  box-shadow: 0 10px 24px rgba(81,112,255,.32);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(81,112,255,.42);
}
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: #fff; color: var(--navy);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn.ghost:hover {
  background: var(--blue-50); border-color: var(--blue);
  color: var(--blue-700);
}
.btn.sm { padding: .65rem 1.25rem; font-size: .9rem; }
.btn .arw { transition: transform .25s ease; }
.btn:hover .arw { transform: translateX(4px); }

/* Language Switcher Button */
.lang-btn { text-decoration: none;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--paper-2); color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 100px;
  padding: .45rem .95rem; font-weight: 700; font-size: .88rem;
  cursor: pointer; transition: all .25s;
}
.lang-btn:hover {
  background: var(--blue-50); border-color: var(--blue);
  color: var(--blue-600);
}
.lang-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── nav ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 1.2rem 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.stuck {
  background: rgba(250,251,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(11,17,48,.06);
  padding: .75rem 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.35rem; color: var(--navy); }
/* The mark is 96x125 — a speech bubble with a tail hanging bottom-left,
   not a square. Forcing width and height equal stretched it ~25% wide.
   Height drives the size; width follows the artwork. flex:none stops the
   nav's flex row shrinking it below that. */
.brand img { height: 32px; width: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn):not(.lang-btn) {
  font-weight: 600; font-size: .95rem; color: var(--ink-60);
  transition: color .2s; position: relative;
}
.nav-links a:not(.btn):not(.lang-btn):hover { color: var(--blue-600); }
.burger { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; }
.burger span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--navy); transition: transform .3s, top .3s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

/* ── hero ───────────────────────────────────────────────────── */
.hero { padding: 9rem 0 4rem; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { margin: 1.2rem 0 1.1rem; }
.hero .lede { max-width: 30rem; }
.hero-cta { display: flex; gap: .8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--ink-40); font-weight: 500; }

/* hero visual: concentric call rings + waveform + logo */
.callviz { position: relative; aspect-ratio: 1; display: grid; place-items: center; width: 100%; max-width: 480px; margin: 0 auto; }
.callviz .ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--blue-100);
  inset: 0; animation: pulseRing 4s ease-out infinite; }
.callviz .ring:nth-child(2) { animation-delay: 1.3s; }
.callviz .ring:nth-child(3) { animation-delay: 2.6s; }
@keyframes pulseRing { 0% { transform: scale(.45); opacity: 0; }
  25% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.callviz .disc { width: 54%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-600) 60%, var(--blue-700) 100%);
  display: grid; place-items: center; box-shadow: 0 30px 70px rgba(81,112,255,.42);
  position: relative; z-index: 2; }
.callviz .disc img { width: 42%; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.wave { position: absolute; z-index: 3; bottom: 14%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; height: 46px;
  background: #fff; padding: .7rem 1.1rem; border-radius: 100px; box-shadow: var(--shadow); }
.wave i { display: block; width: 4px; border-radius: 4px; background: var(--blue);
  height: 30%; animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { 0%,100% { height: 22%; } 50% { height: 92%; } }

/* floating language chips around the disc */
.float-chip {
  position: absolute;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .5rem 1.1rem;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  width: auto !important;
  max-width: max-content !important;
  display: inline-block;
}
.float-chip-1 { top: 6%; left: 2%; }
.float-chip-2 { top: 24%; right: -2%; }
.float-chip-3 { bottom: 26%; left: -4%; }
.float-chip-4 { bottom: 4%; right: 6%; }

/* trust row */
.trust { display: flex; gap: 2.2rem; align-items: center; flex-wrap: wrap; margin-top: 2.4rem;
  padding-top: 1.7rem; border-top: 1px solid var(--line); }
.trust .t { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600;
  color: var(--ink-60); }
.trust svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; }

/* ── marquee (Airtight Infinite Loop) ───────────────────────── */
.marquee {
  background: var(--blue);
  color: #fff;
  padding: 1.15rem 0;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  direction: ltr !important;
  user-select: none;
}
.marquee .track {
  display: flex;
  gap: 2.8rem;
  align-items: center;
  flex: none;
  animation: marqueeScroll 25s linear infinite;
  padding-right: 2.8rem;
}
.marquee b { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.marquee i { opacity: .5; font-style: normal; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── stats ──────────────────────────────────────────────────── */
.stats { padding: 4.5rem 0 1rem; }
.stats .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.stat { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem 1.4rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat b { display: block; font-size: clamp(2rem,3.4vw,2.9rem); font-weight: 800; color: var(--blue-600);
  letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: .45rem; font-size: .92rem; color: var(--ink-60); font-weight: 500; }

/* ── section head ───────────────────────────────────────────── */
.head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.head h2 { margin: 1rem 0 .8rem; }

/* ── steps (How it works interactive) ───────────────────────── */
.steps { padding: 5.5rem 0; background: var(--paper-2); }
.steps-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
.step-list { display: flex; flex-direction: column; gap: .8rem; }
.step-item {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--r);
  background: transparent;
  border: 1px solid transparent;
  transition: all .3s;
  cursor: pointer;
  overflow: hidden;
}
.step-item:hover { background: rgba(255,255,255,0.7); border-color: var(--line); }
.step-item.on { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.step-item .n { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid;
  place-items: center; font-weight: 800; font-size: 1rem; background: var(--blue-50);
  color: var(--blue-600); transition: all .3s; }
.step-item.on .n { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(81,112,255,.4); }
.step-item h3 { margin-bottom: .3rem; font-size: 1.25rem; }
.step-item p { color: var(--ink-60); font-size: 1rem; }
.step-item .step-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: var(--blue);
  opacity: 0;
  transition: opacity .2s;
}
.step-item.on .step-progress { opacity: 1; }
@keyframes stepProgressAnim { 0% { width: 0%; } 100% { width: 100%; } }

.step-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #5170FF;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.step-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease, transform .45s ease;
  transform: scale(1.02);
}
.step-media img.on { opacity: 1; transform: scale(1); }

/* ── jobs ───────────────────────────────────────────────────── */
.jobs { padding: 5.5rem 0; }
.filters { display: flex; gap: .55rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.4rem; }
.filters button { font-family: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  padding: .6rem 1.2rem; border-radius: 100px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink-60); transition: all .25s; }
.filters button:hover { border-color: var(--blue); color: var(--blue-700); }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue);
  color: #fff; box-shadow: 0 6px 16px rgba(81,112,255,.32); }
.job-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .7rem; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s; }
.job::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue);
  opacity: 0; transition: opacity .3s; }
.job:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.job:hover::before { opacity: 1; }
.job .tags { display: flex; gap: .45rem; flex-wrap: wrap; }
.tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .28rem .7rem; border-radius: 100px; background: var(--blue-50); color: var(--blue-600); }
.tag.hot { background: #FEE2E2; color: #EF4444; }
.job h3 { font-size: 1.2rem; }
.job .co { font-weight: 600; color: var(--blue-600); font-size: .92rem; }
.job p { color: var(--ink-60); font-size: .95rem; line-height: 1.5; flex-grow: 1; }
.job .meta { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .86rem; color: var(--ink-40);
  font-weight: 600; padding-top: .6rem; border-top: 1px solid var(--line); }
.job .meta span { display: inline-flex; align-items: center; gap: .3rem; }
.job .meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.job .btn.go { margin-top: .4rem; align-self: flex-start; }
.jobs-more { text-align: center; margin-top: 2.4rem; color: var(--ink-60); font-size: 1.05rem; }

/* ── quality / dark section ─────────────────────────────────── */
.dark { background: var(--navy); color: #fff; padding: 6.5rem 0; position: relative; overflow: hidden; }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dark .eyebrow { background: rgba(81,112,255,.16); color: #93A6FF; }
.dark .eyebrow::before { background: #93A6FF; }
.dark h2 { color: #fff; }
.dark h2 em { color: #93A6FF; }
.dark p.lede { color: rgba(255,255,255,.7); }
.levels { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.level { display: grid; grid-template-columns: 54px 1fr; gap: 1.2rem; align-items: center; }
.level b { font-size: 1.1rem; font-weight: 800; color: #93A6FF; }
.level .bar { height: 10px; background: rgba(255,255,255,.1); border-radius: 100px; overflow: hidden; }
.level .bar i { display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), #93A6FF);
  border-radius: 100px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.cefr-card { border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.cefr-card img { width: 100%; }

/* ── split CTA ──────────────────────────────────────────────── */
.split { padding: 6rem 0; background: var(--paper); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.card-cta { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 2.8rem 2.4rem; display: flex; flex-direction: column; gap: 1.2rem;
  transition: transform .3s, box-shadow .3s, border-color .3s; }
.card-cta:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card-cta.primary {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 40px rgba(81,112,255,.36);
}
.card-cta.primary h3 { color: #fff; }
.card-cta.primary .lede, .card-cta.primary li { color: rgba(255,255,255,.9); }
.card-cta .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-50);
  display: grid; place-items: center; color: var(--blue-600); }
.card-cta.primary .ico { background: rgba(255,255,255,.2); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.card-cta .ico svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.card-cta.primary .ico svg { stroke: #fff; }
.card-cta h3 { font-size: 1.7rem; }
.card-cta p.lede { font-size: 1.05rem; }
.card-cta ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin: .6rem 0; }
.card-cta li { display: flex; align-items: center; gap: .6rem; font-size: .96rem; color: var(--ink-60); font-weight: 600; }
.card-cta li::before { content: '✓'; color: var(--blue); font-weight: 800; }
.card-cta.primary li::before { content: '✓'; color: #fff; font-weight: 800; }
.card-cta .btn { margin-top: auto; align-self: flex-start; }
.card-cta.primary .btn { background: #fff; color: var(--blue-700); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.card-cta.primary .btn:hover { background: var(--blue-50); color: var(--navy); }

/* ── forms & subpages ───────────────────────────────────────── */
.page-hero { padding: 8rem 0 3rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero .back { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem;
  font-weight: 600; color: var(--ink-60); margin-bottom: 1.2rem; transition: color .2s; }
.page-hero .back:hover { color: var(--blue); }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero .lede { max-width: 38rem; }
.form-section { padding: 4.5rem 0; }
.form-wrap { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2.8rem; box-shadow: var(--shadow); }
.form-wrap form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-intro { color: var(--ink-60); font-size: .98rem; margin-top: -.5rem; margin-bottom: .4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .92rem; font-weight: 700; color: var(--navy); }
.field .req { color: var(--coral); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--navy);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .85rem 1.1rem; transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(81,112,255,.14);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235170FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.8rem; }
.field textarea { resize: vertical; min-height: 100px; }
.field .err { font-size: .82rem; color: var(--coral); font-weight: 600; display: none; margin-top: .15rem; }
.field.invalid input, .field.invalid select { border-color: var(--coral); background: #FFF5F5; }
.field.invalid .err { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choices label { display: inline-flex; align-items: center; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 0; height: 0; }
.choices span {
  display: inline-flex; align-items: center; font-size: .92rem; font-weight: 600;
  padding: .55rem 1.1rem; border-radius: 100px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink-60); transition: all .2s;
}
.choices input:checked + span {
  background: var(--blue-50); border-color: var(--blue); color: var(--blue-700); font-weight: 700;
}
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-note { font-size: .88rem; color: var(--ink-40); font-weight: 500; }
.done { display: none; text-align: center; padding: 2.5rem 1rem; }
.done.show { display: block; }
.done .mark { width: 70px; height: 70px; border-radius: 50%; background: #D1FAE5;
  color: var(--mint); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.done .mark svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 3; }
.done h2 { margin-bottom: .6rem; }
.done p { color: var(--ink-60); max-width: 28rem; margin: 0 auto 1.8rem; font-size: 1.05rem; }
form.sent { display: none; }

/* ── footer ─────────────────────────────────────────────────── */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.foot .links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: var(--ink-60); }
.socials a:hover svg { fill: #fff; }
.copy { width: 100%; text-align: center; font-size: .86rem; color: var(--ink-40);
  padding-top: 1.6rem; margin-top: .6rem; border-top: 1px solid var(--line); }

/* ── sticky CTA dock ────────────────────────────────────────── */
.dock { position: fixed; left: 50%; bottom: 1.2rem; z-index: 55; transform: translate(-50%,180%);
  display: flex; align-items: center; gap: 1rem; padding: .55rem .6rem .55rem 1.5rem;
  background: var(--navy); border-radius: 100px; box-shadow: 0 18px 44px rgba(11,17,48,.4);
  transition: transform .5s cubic-bezier(.2,.9,.3,1); max-width: 94vw; }
.dock.show { transform: translate(-50%,0); }
.dock p { color: #fff; font-size: .98rem; font-weight: 500; white-space: nowrap; }
.dock p b { font-weight: 800; }
.dock .btn { padding: .7rem 1.4rem; font-size: .95rem; box-shadow: none; }
.dock .x { background: none; border: 0; color: rgba(255,255,255,.45); font-size: 1.3rem;
  cursor: pointer; padding: 0 .4rem; line-height: 1; font-family: inherit; }
.dock .x:hover { color: #fff; }

/* ── scroll progress ────────────────────────────────────────── */
.prog { position: fixed; top: 0; left: 0; height: 3px; background: var(--blue); z-index: 70;
  width: 0; box-shadow: 0 0 12px rgba(81,112,255,.7); }

/* ── reveal primitives (JS adds .in) ────────────────────────── */
[data-rise] { opacity: 0; transform: translateY(28px); }
[data-rise].in { opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
[data-stagger] > * { opacity: 0; transform: translateY(24px); }
[data-stagger].in > * { opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero .wrap, .steps-grid, .dark-grid, .split-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 0 3rem; }
  .callviz { max-width: 380px; margin: 0 auto; }
  .stats .grid { grid-template-columns: repeat(2,1fr); }
  .job-grid { grid-template-columns: 1fr; }
  .step-media { order: -1; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; padding: 5.5rem 6vw 2rem;
    background: #fff; flex-direction: column; align-items: stretch; gap: .4rem;
    transform: translateY(-102%); transition: transform .4s cubic-bezier(.3,.9,.3,1);
    box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-links a:not(.lang-btn) { padding: .9rem .2rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: .8rem; border-bottom: 0; justify-content: center; }
  .burger { display: block; z-index: 2; }
  .two-col { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.8rem 1.4rem; }
}

/* ── RTL styling ───────────────────────────────────────────── */
[dir="rtl"] { text-align: right; }
/* Outfit has no Arabic glyphs. The rule has to reach body and the form
   controls too — a bare [dir=rtl] on <html> loses to the 'body' selector. */
[dir="rtl"], [dir="rtl"] body,
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select, [dir="rtl"] button {
  font-family: 'Cairo', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  letter-spacing: normal;
  line-height: 1.3;
}
[dir="rtl"] .eyebrow {
  letter-spacing: normal;
}
[dir="rtl"] .btn .arw {
  display: inline-block;
  transform: scaleX(-1);
}
[dir="rtl"] .btn:hover .arw {
  transform: scaleX(-1) translateX(-5px);
}
[dir="rtl"] .hero .wrap {
  direction: rtl;
}
[dir="rtl"] .float-chip-1 { left: auto !important; right: 2% !important; }
[dir="rtl"] .float-chip-2 { right: auto !important; left: -2% !important; }
[dir="rtl"] .float-chip-3 { left: auto !important; right: -4% !important; }
[dir="rtl"] .float-chip-4 { right: auto !important; left: 6% !important; }
[dir="rtl"] .trust .t { gap: .5rem; }
[dir="rtl"] .stat span { font-size: .95rem; }
[dir="rtl"] .step-item { direction: rtl; }
[dir="rtl"] .step-item .step-progress { left: auto; right: 0; }
[dir="rtl"] .job::before { left: auto; right: 0; }
[dir="rtl"] .job .meta span svg { margin-left: .35rem; margin-right: 0; }
[dir="rtl"] .level { grid-template-columns: 1fr 54px; }
[dir="rtl"] .level b { order: 2; }
[dir="rtl"] .level .bar { order: 1; }
[dir="rtl"] .level .bar i {
  background: linear-gradient(270deg, var(--blue), #93A6FF);
  margin-left: auto;
}
[dir="rtl"] .field select {
  padding-right: 1.1rem;
  padding-left: 2.8rem;
  background-position: left 1.1rem center;
}
[dir="rtl"] .page-hero .back {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: .4rem;
}
[dir="rtl"] .dock {
  direction: rtl;
  padding: .55rem 1.5rem .55rem .6rem;
}

/* ── faq ─────────────────────────────────────────────────────── */
.faq { padding: 5.5rem 0; background: var(--paper-2); }
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: var(--r); }
.faq-item summary h3 {
  margin: 0; font-size: 1.06rem; font-weight: 700; line-height: 1.45; color: var(--navy);
}
.faq-item[open] summary h3 { color: var(--blue-600); }
.faq-item .chev {
  flex: 0 0 auto; width: 11px; height: 11px; margin-right: .2rem;
  border-right: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s;
}
.faq-item[open] .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-a { padding: 0 1.4rem 1.3rem; }
.faq-a p { margin: 0; color: var(--ink-60); font-size: 1.02rem; line-height: 1.72; }
.faq-foot { text-align: center; margin-top: 2.4rem; color: var(--ink-60); font-size: 1.02rem; }
.faq-foot a { color: var(--blue-600); font-weight: 700; }
.faq-foot a:hover { text-decoration: underline; }

/* ── legal (terms of service) ────────────────────────────────── */
.legal-section { padding: 4rem 0 5.5rem; }
.legal {
  max-width: 46rem; margin: 0 auto; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 3rem 3rem 2.4rem;
}
.legal section + section { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.24rem; font-weight: 800; color: var(--navy); margin: 0 0 .85rem; }
.legal p { color: var(--ink-60); font-size: 1.02rem; line-height: 1.75; margin: 0 0 .9rem; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0 0 .9rem; padding-inline-start: 1.3rem; }
.legal li { color: var(--ink-60); font-size: 1.02rem; line-height: 1.7; margin-bottom: .45rem; }
.legal a { color: var(--blue-600); font-weight: 700; }
.legal a:hover { text-decoration: underline; }

/* ── rtl for the new sections ────────────────────────────────── */
[dir="rtl"] .faq-item summary { text-align: right; }
[dir="rtl"] .faq-item .chev { margin-right: 0; margin-left: .2rem; }
[dir="rtl"] .legal { text-align: right; }

@media (max-width: 720px) {
  .faq { padding: 4rem 0; }
  .faq-item summary { padding: 1rem 1.1rem; }
  .faq-item summary h3 { font-size: 1rem; }
  .faq-a { padding: 0 1.1rem 1.1rem; }
  .legal { padding: 2rem 1.4rem 1.6rem; border-radius: var(--r); }
  .legal-section { padding: 2.5rem 0 4rem; }
}

/* honeypot — moved off-screen rather than display:none, which some bots skip */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── language pages: pay ─────────────────────────────────────── */
.pay { padding: 4.5rem 0; }
.pay-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: stretch; }
.pay-big {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
  color: #fff; border-radius: var(--r-lg); padding: 2.4rem 2rem; box-shadow: var(--shadow-lg);
}
.pay-big.none { background: var(--paper-2); color: var(--navy); box-shadow: var(--shadow-sm); border: 1.5px solid var(--line); }
.pay-big b { display: block; font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.pay-big.none b { font-size: clamp(1.3rem, 3.4vw, 1.7rem); line-height: 1.3; }
.pay-big b small { font-size: .32em; font-weight: 700; margin-inline-start: .4rem; opacity: .8; letter-spacing: 0; }
.pay-big > span { display: block; margin-top: .6rem; font-weight: 600; opacity: .85; font-size: 1rem; }
.pay-vs { margin: 1.2rem 0 0; font-size: .95rem; line-height: 1.6; opacity: .82; }
.pay-big.none .pay-vs { opacity: 1; color: var(--ink-60); }
.pay-ceil { margin: .5rem 0 0; font-size: .95rem; font-weight: 700; }
.pay-bands { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.pay-bands h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-40); margin: 0 0 1.1rem; font-weight: 700; }
.pay-bands dl { margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.pay-bands dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.pay-bands dl > div:last-of-type { border-bottom: 0; }
.pay-bands dt { color: var(--ink-60); font-size: .96rem; }
.pay-bands dd { margin: 0; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.pay-bands dd small { font-weight: 600; font-size: .72em; color: var(--ink-40); margin-inline-start: .2rem; }
.src { margin: 1.2rem 0 0; font-size: .82rem; color: var(--ink-40); line-height: 1.5; }
.src a { color: var(--blue-600); font-weight: 600; }
.src a:hover { text-decoration: underline; }

/* ── CEFR ladder ─────────────────────────────────────────────── */
.levels-sec { padding: 4.5rem 0; }
.lvl-chart { max-width: 40rem; margin: 2.4rem auto 0; display: flex; flex-direction: column; gap: .9rem; }
.lvl { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 1rem; }
.lvl b { font-weight: 800; font-size: 1.05rem; }
.lvl i { display: block; height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 0%, #8FA5FF 100%); }
.lvl span { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lvl span small { font-weight: 600; opacity: .6; }

/* ── what you need ───────────────────────────────────────────── */
.need { padding: 4.5rem 0; background: var(--paper-2); }
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.spec { margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: 0; }
.spec > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { color: var(--ink-40); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.spec dd { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.55; }
.why-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.why-card p { color: var(--ink-60); line-height: 1.8; margin: 1rem 0 0; font-size: 1.02rem; }

/* ── language page cta ───────────────────────────────────────── */
.lp-cta { text-align: center; max-width: 34rem; margin: 0 auto; }
.lp-cta .form-note { margin-top: .9rem; }
.lp-hire { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--ink-60); font-size: .98rem; }
.lp-hire a { color: var(--blue-600); font-weight: 700; }
.lp-hire a:hover { text-decoration: underline; }

/* ── hub ─────────────────────────────────────────────────────── */
.hub { padding: 4rem 0 5.5rem; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.hub-card {
  display: block; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hub-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.hub-card h3 { margin: 0 0 .8rem; font-size: 1.2rem; color: var(--navy); }
.hub-pay b { font-size: 1.5rem; font-weight: 800; color: var(--blue-600); font-variant-numeric: tabular-nums; }
.hub-pay small { color: var(--ink-40); font-weight: 600; font-size: .82rem; }
.hub-pay .nodata { color: var(--ink-40); font-size: .92rem; font-style: italic; }
.hub-go { display: inline-block; margin-top: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  color: var(--blue-600); background: var(--blue-50); padding: .25rem .6rem; border-radius: 6px; }
.hub-note { margin-top: 2.4rem; text-align: center; color: var(--ink-40); font-size: .9rem; }

@media (max-width: 900px) {
  .pay-grid, .need-grid { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 1fr; gap: .2rem; }
  .lvl { grid-template-columns: 34px 1fr auto; gap: .7rem; }
}
