/* themandoob.qa v3: the whole site in one stylesheet.
   Brand: deep purple #210A35, lime #C7F000 (accent; never text on white), white reading space, Montserrat (EN) / Noto Kufi (AR).
   Layout uses logical properties so the Arabic pages mirror without overrides.
   Motion rules: one entry direction (up), one ease, entries <= 800ms, staggers <= 500ms, no idle loops,
   scroll-linked effects only where they carry meaning (hero depth, process progress). All off under reduced motion. */

:root {
  --lav: #CDBEE0;
  --ink: #210A35; --ink-2: #4A2A70; --ink-deep: #160624; --violet: #6E5390; --muted: #554A63; --soft: #6F6480;
  --line: #ECE7F1; --line-2: #DDD5E6; --mist: #F8F6FA; --lilac: #EFEAF5; --white: #fff;
  --on-ink: #CFC4DC; --on-ink-2: #A897BC; --ink-line: rgba(255,255,255,.12);
  --lime: #C7F000; --lime-2: #D6FF3D; --lime-soft: #F1FBC6;
  --r-lg: 28px; --r: 20px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(33,10,53,.04), 0 12px 32px -12px rgba(33,10,53,.14);
  --shadow-lg: 0 2px 4px rgba(33,10,53,.05), 0 40px 80px -32px rgba(33,10,53,.35);
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px); --header: 76px;
  --ease: cubic-bezier(.2,.7,.2,1); --dur: .7s;
  /* Type scale: every fixed font size on the site uses one of these. Headings above h3 are fluid (clamp). */
  --fs-label: 12px;   /* uppercase labels, eyebrows, pills */
  --fs-xs: 13px;      /* fine print, notes, captions */
  --fs-ui: 14px;      /* nav, small buttons, form labels, secondary links */
  --fs-sm: 15px;      /* card text, lists, buttons */
  --fs-body: 16.5px;  /* body copy, inputs */
  --fs-lead: 18px;    /* intros, small headings */
  --fs-h3: 21px;      /* card and step headings */
  --fs-h3l: 25px;     /* large panel headings */
  --h2: clamp(32px, 4.4vw, 56px);   /* section headings */
  --h2s: clamp(28px, 3.4vw, 44px);  /* headings beside a form, image or list */
  --h3f: clamp(21px, 2vw, 26px);    /* feature-card headings */
  --num: clamp(44px, 5vw, 70px);    /* big figures: cards and stats */
  --font: Montserrat, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --track: -0.03em;
}
:lang(ar) { --font: Kufi, "Geeza Pro", "Segoe UI", Tahoma, sans-serif; --track: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 20px); background: var(--ink); }
body { margin: 0; background: var(--white); color: var(--muted); font: 400 var(--fs-body)/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:lang(ar) body { line-height: 1.9; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: var(--track); text-wrap: balance; }
:lang(ar) :is(h1, h2, h3) { line-height: 1.4; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
input, select, button, textarea { font: inherit; }
legend { padding: 0; }
em { font-style: normal; color: var(--violet); }
b, strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sec-ink :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--lime); color: var(--ink); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-block-end: 18px; color: var(--ink-2); font-size: var(--fs-label); font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 2px; border-radius: 2px; background: var(--lime); }
.eyebrow-center { justify-content: center; }
.eyebrow.on-dark, .sec-ink .eyebrow { color: #E7DEF2; }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: var(--fs-ui); }
.tag { color: var(--violet); font-size: var(--fs-label); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .tag { letter-spacing: 0; font-size: var(--fs-xs); }
.lede { max-width: 60ch; font-size: var(--fs-lead); line-height: 1.7; }
.fine { color: var(--soft); font-size: var(--fs-xs); line-height: 1.6; }
:lang(ar) .fine { font-size: var(--fs-xs); }
.sec-head { max-width: 760px; margin-block-end: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: var(--h2); line-height: 1.06; }
.sec-head .lede { margin-block-start: 22px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lede { margin-inline: auto; }
.split .sec-head h2 { font-size: var(--h2s); }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; --arr-bg: rgba(255,255,255,.14); --arr-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 10px 0 26px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 600 var(--fs-sm)/1 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(33,10,53,.55); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(33,10,53,.65); }
.btn:active { transform: translateY(0); }
.btn .arr { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--arr-bg); color: var(--arr-fg); font-size: var(--fs-xs); transition: transform .3s var(--ease); }
.btn:hover .arr { transform: rotate(45deg); }
.btn-light { --bg: #fff; --fg: var(--ink); --arr-bg: var(--ink); --arr-fg: #fff; box-shadow: 0 14px 34px -18px rgba(0,0,0,.6); }
.btn-light:hover { background: #F2EDF7; box-shadow: 0 22px 44px -20px rgba(0,0,0,.7); }
.btn-sm { min-height: 42px; padding: 0 6px 0 18px; font-size: var(--fs-ui); }
.btn-sm .arr { width: 30px; height: 30px; }
.btn-lg { min-height: 60px; padding: 0 10px 0 30px; font-size: var(--fs-body); }
.btn-lg .arr { width: 40px; height: 40px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 7px; transition: text-underline-offset .2s; }
.btn-link:hover { text-underline-offset: 10px; }
.btn-link.on-dark { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.btn-link.on-dark:hover { text-decoration-color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; font-size: var(--fs-ui); text-decoration: none; }
.more .arr { transition: transform .25s var(--ease); }
a:hover > .more .arr, .more:hover .arr { transform: translate(3px, -3px); }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn .arr { display: grid; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) rotate(45deg); }
[dir="rtl"] a:hover > .more .arr, [dir="rtl"] .more:hover .arr { transform: scaleX(-1) translate(3px, -3px); }

.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.ticks li + li { margin-block-start: 13px; }
.tick { flex: none; width: 20px; height: 20px; margin-block-start: 1px; }
.tick circle { fill: var(--lime); }
.tick path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header (dark, matches the on-purple logo) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { background: rgba(33,10,53,.96); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.bar { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.brand { flex: none; display: flex; flex-direction: column; line-height: 1; color: #fff; text-decoration: none; font-family: Montserrat, system-ui, sans-serif; text-transform: uppercase; }
.brand-the { margin-block-end: 3px; color: var(--lav); font-size: 11px; font-weight: 600; letter-spacing: .42em; }
.brand-name { font-size: 25px; font-weight: 800; letter-spacing: .02em; }
.brand:hover .brand-name { color: #F2EDF7; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; color: #E7DEF2; font-size: var(--fs-ui); font-weight: 550; text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current] { background: rgba(255,255,255,.08); color: #fff; }
.bar-end { display: flex; align-items: center; gap: 12px; }
.lang { padding: 8px 12px; border-radius: 10px; color: #E7DEF2; font-size: var(--fs-ui); font-weight: 600; text-decoration: none; }
.lang:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang:lang(ar) { font-family: Kufi, "Geeza Pro", Tahoma, sans-serif; }
.lang:lang(en) { font-family: Montserrat, system-ui, sans-serif; }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--ink-line); border-radius: 14px; background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; inset-inline-start: 13px; width: 18px; height: 1.8px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-nav { border-block-start: 1px solid var(--ink-line); background: var(--ink); }
.mobile-nav .wrap { display: flex; flex-direction: column; padding-block: 8px 24px; }
.mobile-nav a:not(.btn) { padding: 15px 4px; border-block-end: 1px solid var(--ink-line); color: #fff; font-size: var(--fs-body); font-weight: 600; text-decoration: none; }
.mobile-nav .btn { margin-block-start: 20px; }
@media (max-width: 1100px) { .nav, .bar-end > .lang, .bar-end > .btn { display: none; } .menu-btn { display: block; } .bar-end { margin-inline-start: auto; } }
@media (min-width: 1101px) { .mobile-nav { display: none !important; } }
.nav a, .bar-end .btn { white-space: nowrap; }

/* ---------- hero: sky plate, headline, towers in front ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(100svh - var(--header), 1000px); display: flex; flex-direction: column; background: var(--ink-deep); color: var(--on-ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg .sky, .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
/* Scroll depth: --hp goes 0 → 1 as the hero scrolls away (set by site.js). Layers move at different rates:
   sky and clouds drift and widen behind the towers (which stay anchored to the bottom), the headline sinks and fades. */
.hero-bg .sky { position: absolute; inset: 0; transform-origin: 50% 30%; translate: 0 calc(var(--hpf, 0) * 8%); scale: calc(1.08 + var(--hpf, 0) * .18); }
/* Clouds: a brighter pass of the sky, above the top shading, kept to the upper part of the hero and drifting
   sideways faster than the sky. All moves are percentages of the layer's own size, so they line up on any screen. */
.hero-bg .clouds { z-index: 1; mix-blend-mode: screen; opacity: .7; transform-origin: 50% 20%;
  translate: calc(var(--hpf, 0) * -18%) calc(-12% + var(--hpf, 0) * 6%); scale: calc(1.4 + var(--hpf, 0) * .15);
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 40%, transparent 72%); mask: linear-gradient(180deg, #000 0%, #000 40%, transparent 72%); }
.hero-copy { translate: 0 calc(var(--hp, 0) * 18vh); opacity: calc(1 - var(--hp, 0) * 1.4); }
.hero-city { scale: calc(1 + var(--hp, 0) * .08); transform-origin: 50% 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, var(--ink) 0%, rgba(33,10,53,.55) 22%, rgba(22,6,36,0) 55%),
  radial-gradient(50% 40% at 50% 92%, rgba(199,240,0,.14), transparent 70%); }
.hero-copy { position: relative; z-index: 2; padding-block-start: clamp(44px, 7vh, 96px); text-align: center; will-change: translate, opacity; }
.hero h1 { color: #fff; font-size: clamp(36px, 4.5vw, 66px); line-height: 1.02; letter-spacing: -0.04em; }
:lang(ar) .hero h1 { letter-spacing: 0; line-height: 1.35; font-size: clamp(32px, 4.1vw, 60px); }
.line { display: block; overflow: hidden; padding-block-end: .08em; }
.line > span { display: block; }
.line-b { color: var(--lav); }
.line-b .mark { color: #fff; }
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; inset-inline: 1% 0; bottom: -.02em; height: .09em; border-radius: 99px; background: var(--lime); transform-origin: left center; }
[dir="rtl"] .mark::after { transform-origin: right center; }
.hero-sub { margin: 24px auto 0; color: #F2EDF7; font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.hero-sub b { display: inline-block; white-space: nowrap; padding: .08em .45em; margin-inline-end: 0; border-radius: .3em; background: #fff; color: var(--ink); font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.theme-light .hero-sub { color: var(--ink); }
.theme-light .hero-sub b { background: var(--ink); color: #fff; }
.hero-sub small { display: block; margin-block-start: 10px; color: var(--soft); font-size: var(--fs-ui); font-weight: 500; letter-spacing: 0; }
.hero:not(.x) .hero-sub small { color: inherit; opacity: .75; }
.theme-light .hero-sub small { color: var(--soft); opacity: 1; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-block-start: 40px; }
.hero-trust li { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.06); text-align: start; }
[dir="rtl"] .hero-trust li { padding: 12px 12px 12px 20px; }
.ht-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--lime); color: var(--ink); }
.ht-icon svg { width: 22px; height: 22px; }
.hero-trust b { display: block; color: #fff; font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; }
.hero-trust small { display: block; color: var(--on-ink-2); font-size: var(--fs-xs); line-height: 1.35; }
.theme-light .hero-trust li { border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.theme-light .hero-trust b { color: var(--ink); }
.theme-light .hero-trust small { color: var(--soft); }
@media (max-width: 700px) { .hero-trust { flex-direction: column; align-items: stretch; gap: 10px; margin-block-start: 30px; } }
.hero-intro { max-width: 640px; margin: 18px auto 0; color: var(--on-ink); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; margin-block-start: 38px; }
.hero .eyebrow::before, .page-hero .eyebrow::before { background: rgba(255,255,255,.35); }
.ns-icon { color: #fff; }
.hero-city { position: relative; z-index: 1; margin-block-start: auto; padding-block-start: clamp(20px, 3vh, 40px); will-change: translate; }
/* the walking mandoob heads for the towers: the brand character, not a stock illustration, leads the first view */
.hero-mandoob { position: absolute; z-index: 2; bottom: 0; inset-inline-start: max(8px, calc(50% - var(--sky-w) / 2 - var(--m-w) * .9)); width: var(--m-w); }
[dir="rtl"] .hero-mandoob { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) { .hero-mandoob { animation: up .8s .5s var(--ease) both; } }
.hero-city { --sky-w: min(1180px, 92vw, 46vh * 1.86); --m-w: clamp(70px, 8vw, 128px); }
.skyline { display: block; width: var(--sky-w); margin-inline: auto; }
.skyline img { width: 100%; }
@media (max-width: 700px) { .hero-city { --m-w: 62px; } .hero-mandoob { inset-inline-start: 6vw; } .skyline { width: 160vw; max-width: none; margin-inline-start: calc(50% - 80vw); } .hero-actions { flex-direction: column; } .hero { min-height: 0; } }

/* hero load: lines rise out of their masks, then the rest follows upward (total stagger 450ms) */
@media (prefers-reduced-motion: no-preference) {
  .hero-sub, .hero-intro, .hero-actions, .hero-trust { animation: up var(--dur) var(--ease) both; }
  .line > span { animation: line .8s var(--ease) both; }
  .hero-sub { animation-delay: .26s; }
  .line:first-child > span { animation-delay: .08s; } .line-b > span { animation-delay: .18s; }
  .hero-intro { animation-delay: .32s; } .hero-actions { animation-delay: .38s; } .hero-trust { animation-delay: .45s; }
  .hero-city { animation: city .8s .2s var(--ease) both; }
  .mark::after { animation: draw .6s .75s var(--ease) both; }
}
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes line { from { transform: translateY(105%); } }
@keyframes city { from { transform: translateY(70px); } }
@keyframes draw { from { transform: scaleX(0); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 10vw, 140px); }
.sec-tight { padding-block: 24px 96px; }
.sec-mist { background: var(--mist); }
.sec-ink { position: relative; background: radial-gradient(60% 80% at 90% 0%, #3B1B5C 0%, transparent 60%), radial-gradient(50% 70% at 0% 100%, #2D1047 0%, transparent 60%), var(--ink); color: var(--on-ink); }
.sec-ink :is(h2, h3, b, strong) { color: #fff; }
.sec-ink em { color: var(--lav); }
.sec-ink .fine { color: var(--on-ink-2); }
.sec-ink .lede { color: var(--on-ink); }
.sec-ink .ticks li { color: #F2EDF7; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-wide { grid-template-columns: .9fr 1.1fr; align-items: center; }
.split-faq { grid-template-columns: .8fr 1.2fr; }
.split-process { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) { .split, .split-wide, .split-faq, .split-process { grid-template-columns: 1fr; } }

/* start + form */
.start .sec-head { margin-block-end: 36px; }
.next-list li { display: flex; gap: 20px; padding-block: 20px; border-block-start: 1px solid var(--line); }
.next-list li:last-child { border-block-end: 1px solid var(--line); }
.next-list span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lilac); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; }
.next-list h3 { font-size: var(--fs-lead); margin-block-end: 4px; }
.next-list p { font-size: var(--fs-sm); }
.start .fine { max-width: 62ch; margin-block-start: 20px; }
.form-card { position: relative; padding: clamp(26px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--muted); box-shadow: var(--shadow-lg); }
.form-lift { position: sticky; top: calc(var(--header) + 24px); }
/* form head: the mandoob character beside who reads the request and when they reply */
.form-head { display: flex; align-items: flex-start; gap: 16px; margin-block-end: 22px; padding-block-end: 20px; border-block-end: 1px solid var(--line); }
.form-head img { flex: none; width: 44px; }
.form-head h3 { color: var(--ink); font-size: var(--fs-h3); }
.form-head p { margin-block-start: 6px; font-size: var(--fs-ui); line-height: 1.55; }
.form-head p b { display: inline-block; margin-block-start: 6px; padding: .12em .5em; border-radius: .3em; background: var(--lime-soft); color: var(--ink); }
/* the closing form sits in a dark section whose headings are white; the card itself is white */
.sec-ink .form-head h3, .sec-ink .form-head b { color: var(--ink); }
.form-progress { display: flex; align-items: center; gap: 14px; margin-block-end: 22px; }
.form-progress[hidden] { display: none; }
.fp-label { flex: none; color: var(--ink); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
:lang(ar) .fp-label { letter-spacing: 0; font-size: var(--fs-xs); }
.fp-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--lilac); overflow: hidden; }
.fp-bar i { display: block; width: 50%; height: 100%; border-radius: 4px; background: var(--lime); transition: width .5s var(--ease); }
[data-at="2"] .fp-bar i { width: 100%; }
.fstep legend { margin-block-end: 16px; color: var(--ink); font-size: var(--fs-body); font-weight: 700; }
.fstep + .fstep { margin-block-start: 8px; }
.is-stepped .fstep legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.is-stepped .fstep[hidden] { display: none; }
.is-stepped .fstep:not([hidden]) { animation: up .45s var(--ease) both; }
.field { display: flex; flex-direction: column; gap: 8px; margin-block-end: 18px; }
.field label { color: var(--ink); font-size: var(--fs-ui); font-weight: 600; }
.field label span { color: var(--soft); font-weight: 500; }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 500 var(--fs-body) var(--font); appearance: none; transition: border-color .2s, box-shadow .2s; }
.field select { padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23210A35' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: right 16px center; }
[dir="rtl"] .field select { background-position: left 16px center; }
.field input::placeholder { color: var(--soft); }
.field input:hover, .field select:hover { border-color: #C9BFD5; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(110,83,144,.15); }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180,35,24,.12); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-pair { grid-template-columns: 1fr; gap: 0; } }
.js-back { display: block; margin: 14px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--soft); font: 600 var(--fs-ui) var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.js-back:hover { color: var(--ink); }
.js-back[hidden], .js-next[hidden] { display: none; }
.form-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: 14px; color: var(--ink); font-size: var(--fs-xs); font-weight: 600; text-align: center; }
.form-trust svg { width: 16px; height: 16px; color: var(--violet); flex: none; }
.form-note { margin-block-start: 10px; color: var(--soft); font-size: var(--fs-xs); line-height: 1.6; text-align: center; }
.form-note a { color: var(--ink); }
.check-status:not(:empty) { margin-block-start: 12px; padding: 12px 14px; border-radius: 10px; font-size: var(--fs-ui); }
.check-status.is-error { background: #FEF3F2; color: #912018; }
.check-done h3 { font-size: var(--fs-h3); line-height: 1.3; }
.check-done > p { margin-block: 10px 22px; }
.check-done:focus { outline: 0; }
.next-steps { display: grid; gap: 12px; }
.next-step { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.next-step:hover { border-color: var(--ink-2); background: var(--mist); }
.next-step b { display: block; font-size: var(--fs-sm); }
.next-step small { color: var(--soft); font-size: var(--fs-xs); }
.ns-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--lime); }
.next-wa .ns-icon { background: #E7F8EE; color: #128C4A; }

/* statement + metrics */
.statement-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-block-end: clamp(48px, 6vw, 80px); }
.statement-top .sec-head { margin: 0; }
.statement-top .sec-head h2 { font-size: var(--h2s); }
.statement-top .lede { padding-block-end: 8px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-2); margin-block-end: 18px; }
.metrics li { padding: 36px 28px 32px; border-inline-start: 1px solid var(--line-2); }
.metrics li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.metrics li > b { display: block; width: fit-content; color: var(--ink); font-size: var(--num); line-height: 1; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.metrics li > span { color: var(--ink); font-size: var(--fs-body) !important; font-weight: 650; }
.metrics li > small { display: block; margin-block-start: 8px; color: var(--soft); font-size: var(--fs-ui); line-height: 1.5; }
.metrics .metric-word { font-size: clamp(34px, 3.3vw, 50px); white-space: nowrap; padding-block-start: .1em; }
:lang(ar) .metrics .metric-word { font-size: clamp(30px, 3vw, 44px); }
.metrics li > span { display: block; margin-block-start: 14px; max-width: 26ch; font-size: var(--fs-ui); line-height: 1.55; }
/* minmax(0, 1fr): a long figure wraps inside its column instead of widening the page on phones */
@media (max-width: 900px) { .statement-top { grid-template-columns: 1fr; } .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metrics .metric-word { white-space: normal; } .metrics li { padding: 28px 18px; } .metrics li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; } .metrics li:nth-child(n+3) { border-block-start: 1px solid var(--line-2); } }

/* paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.path { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path h3 { margin-block: 14px 14px; font-size: var(--h3f); line-height: 1.22; }
.path > p { margin-block-end: 26px; font-size: var(--fs-sm); }
.path .ticks { margin-block-end: 32px; }
.path .ticks li { font-size: var(--fs-sm); }
.path .btn { margin-block-start: auto; align-self: flex-start; }
.path-dark { border: 0; background: radial-gradient(90% 70% at 100% 0%, #3B1B5C, transparent 60%), var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); }
.path-dark h3 { color: #fff; }
.path-dark .tag { color: var(--lav); }
.path-dark .ticks li { color: #F2EDF7; }
@media (min-width: 1001px) { .path-dark { transform: translateY(-16px); } .path-dark:hover { transform: translateY(-20px); } }
@media (max-width: 1000px) { .paths { grid-template-columns: 1fr; } }

/* services: tabs on desktop, stacked panels without JS or on small screens */
.services .sec-head .lede { color: var(--on-ink); }
.svc-wrap { display: grid; gap: 20px; }
.svc-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-panel { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--ink-line); border-radius: var(--r-lg); background: rgba(255,255,255,.04); }
.svc-head { display: flex; align-items: center; gap: 16px; margin-block-end: 22px; }
.svc-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.1); color: #fff; }
.svc-icon svg { width: 24px; height: 24px; }
.svc-panel .tag { color: var(--lav); display: flex; gap: 10px; align-items: center; }
.badge, .sec-ink .badge { padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-size: var(--fs-label); letter-spacing: .1em; }
.svc-panel h3 { font-size: var(--h3f); line-height: 1.15; margin-block-end: 12px; }
.svc-p { margin-block-end: 24px; max-width: 52ch; }
.svc-get { margin-block-end: 14px; color: var(--on-ink-2); font-size: var(--fs-label); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .svc-get { letter-spacing: 0; font-size: var(--fs-xs); }
.svc-panel .ticks { margin-block-end: 30px; }
.svc-panel .more { margin-block-start: auto; color: #fff; }
.is-tabs { grid-template-columns: 380px 1fr; align-items: stretch; }
.is-tabs .svc-tabs { display: flex; flex-direction: column; gap: 6px; }
.is-tabs .svc-panels { display: block; }
.is-tabs .svc-panel { height: 100%; }
.is-tabs .svc-panel[hidden] { display: none; }
.is-tabs .svc-panel:not([hidden]) { animation: up .5s var(--ease) both; }
.svc-tab { display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 18px; background: transparent; color: #E7DEF2; font: 600 var(--fs-body)/1.3 var(--font); text-align: start; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.svc-tab small { display: block; margin-block-end: 3px; color: var(--on-ink-2); font-size: var(--fs-label); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .svc-tab small { letter-spacing: 0; font-size: var(--fs-xs); }
.svc-tab .svc-icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; transition: background-color .25s, color .25s; }
.svc-tab:hover { background: rgba(255,255,255,.05); }
.svc-tab[aria-selected="true"] { border-color: var(--ink-line); background: rgba(255,255,255,.08); color: #fff; }
.svc-tab[aria-selected="true"] .svc-icon { background: #fff; color: var(--ink); }
@media (max-width: 1000px) { .svc-panels { grid-template-columns: 1fr; } .is-tabs { grid-template-columns: 1fr; } .is-tabs .svc-tabs { display: none; } .is-tabs .svc-panels { display: grid; } .is-tabs .svc-panel[hidden] { display: flex; } }

/* compare: one table, our column tinted (not a separate panel) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-wrap { max-width: 1000px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 20px 24px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; font-size: var(--fs-sm); line-height: 1.5; }
.compare-table tbody tr:last-child > * { border-block-end: 0; }
.compare-table thead th { padding-block: 18px; background: var(--mist); color: var(--ink); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .compare-table thead th { letter-spacing: 0; font-size: var(--fs-xs); }
.compare-table thead th:first-child { width: 26%; }
.compare-table tbody th { color: var(--ink); font-weight: 650; }
.compare-table td { color: var(--muted); }
.compare-table td > * { vertical-align: -4px; }
.compare-table .x { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 10px; border-radius: 50%; background: #F2F0F4; color: var(--soft); font-size: var(--fs-label); font-weight: 700; }
.compare-table .ct-us { background: #FBFDF2; color: var(--ink); font-weight: 600; border-inline-start: 2px solid var(--lime); }
.compare-table thead .ct-us { background: var(--ink); color: #fff; }
.compare-table .tick { display: inline-block; margin-inline-end: 10px; }
.compare-cta { margin-block-start: 44px; }
/* phones: still one table; each row's topic runs full width, the two answers sit side by side below it */
@media (max-width: 640px) {
  .compare-table, .compare-table thead, .compare-table tbody { display: block; }
  .compare-table tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare-table thead th:first-child { display: none; }
  .compare-table tbody th { grid-column: 1 / -1; padding: 16px 14px 6px; border-block-end: 0; font-size: var(--fs-sm); }
  .compare-table td { padding: 6px 14px 16px; font-size: var(--fs-ui); }
  .compare-table thead th { padding: 14px; }
  .compare-table .ct-us { border-inline-start-width: 2px; }
  .compare-table .x, .compare-table .tick { display: block; margin: 4px 0 8px; }
}

/* checker */
.checker .sec-head { margin: 0; }
.checker .split-wide { align-items: start; }
.checker-box { padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.checker-box > label { display: block; margin-block-end: 10px; color: var(--ink); font-size: var(--fs-ui); font-weight: 600; }
.search { position: relative; }
.search svg { position: absolute; inset-inline-start: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; min-height: 62px; padding-inline: 54px 18px; border: 1.5px solid var(--line-2); border-radius: 16px; color: var(--ink); font: 500 var(--fs-body) var(--font); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: 0; border-color: var(--ink-2); box-shadow: 0 0 0 5px rgba(110,83,144,.14); }
.checker-status { min-height: 1.6em; margin-block: 12px 4px; color: var(--soft); font-size: var(--fs-ui); }
.results { max-height: 340px; overflow: auto; margin-block-end: 18px; border-block-start: 1px solid var(--line); overscroll-behavior: contain; }
.results li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 14px 2px; border-block-end: 1px solid var(--line); }
.results .name { color: var(--ink); font-size: var(--fs-sm); font-weight: 550; line-height: 1.45; }
.results .name > span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.results .name small { display: block; color: var(--soft); font-size: var(--fs-xs); font-weight: 400; unicode-bidi: plaintext; text-align: start; }
.chip { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 5px 10px; border-radius: 999px; font-size: var(--fs-label); font-weight: 650; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-y { background: var(--lime-soft); color: #3D4A00; }
.chip-p { background: var(--lilac); color: var(--ink-2); }
.chip-a { background: #F2F0F4; color: var(--muted); }
.use { grid-row: span 2; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 600 var(--fs-xs) var(--font); white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.use:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 520px) { .results li { grid-template-columns: 1fr; } .use { grid-row: auto; justify-self: start; } }

/* process: sticky intro, timeline whose line fills as you scroll and lights each step */
.process-head { position: sticky; top: calc(var(--header) + 40px); }
.process-head .fine { margin-block: -24px 28px; }
.timeline { position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); }
.timeline::after { background: var(--lime); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding-block-end: 56px; }
.timeline li:last-child { padding-block-end: 0; }
.tl-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.timeline li.is-on .tl-n { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.timeline h3 { font-size: var(--fs-h3); margin-block: 4px 10px; }
.timeline li > div { padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.timeline li.is-on > div { border-color: var(--line-2); box-shadow: var(--shadow); }
.step-label { color: var(--violet); font-size: var(--fs-label); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .step-label { letter-spacing: 0; font-size: var(--fs-xs); }
@media (max-width: 900px) { .process-head { position: static; } .timeline li { gap: 18px; padding-block-end: 32px; } .timeline li > div { padding: 22px; } }

/* why qatar */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-block-end: 36px; }
.stats article { display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--ink-line); border-radius: var(--r); background: rgba(255,255,255,.04); transition: background-color .3s, border-color .3s; }
.stats article:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.stats small { color: var(--lav); font-size: var(--fs-label); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .stats small { letter-spacing: 0; font-size: var(--fs-xs); }
.stat { display: block; margin-block: 8px 18px; color: #fff; font-size: var(--num); line-height: 1; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat > span:last-child { color: var(--lav); font-size: .55em; }
.stats h3 { margin-block-end: 10px; font-size: var(--fs-lead); }
.stats p { margin-block-end: 22px; font-size: var(--fs-ui); }
.stats a { margin-block-start: auto; color: #E7DEF2; font-size: var(--fs-xs); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(199,240,0,.6); text-underline-offset: 5px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; } }

/* trust */
.trust .split { align-items: center; grid-template-columns: .9fr 1.1fr; }
.trust-art { position: relative; margin: 0; }
.trust-art img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.trust-art::after { content: ""; position: absolute; inset-inline-end: -16px; bottom: -16px; z-index: -1; width: 46%; height: 46%; border-radius: var(--r-lg); background: var(--lime); }
.commit li { display: flex; gap: 22px; padding-block: 24px; border-block-start: 1px solid var(--line); }
.commit li:last-child { border-block-end: 1px solid var(--line); }
.commit span { flex: none; min-width: 28px; padding-block-start: 3px; color: var(--violet); font-size: var(--fs-ui); font-weight: 700; }
.commit h3 { margin-block-end: 6px; font-size: var(--fs-h3); }
@media (max-width: 900px) { .trust .split { grid-template-columns: 1fr; } .trust-art { max-width: 460px; } }

/* office: full-bleed image card with copy over a gradient */
.office { padding-block-end: clamp(80px, 10vw, 140px); }
.office-card { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; display: flex; align-items: flex-end; border-radius: 32px; background: var(--ink); }
.office-img { position: absolute; inset: 0; z-index: -2; }
.office-img img { width: 100%; height: 100%; object-fit: cover; }
.office-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,6,36,.94) 0%, rgba(22,6,36,.75) 38%, rgba(22,6,36,0) 70%); }
[dir="rtl"] .office-card::before { background: linear-gradient(270deg, rgba(22,6,36,.94) 0%, rgba(22,6,36,.75) 38%, rgba(22,6,36,0) 70%); }
.office-copy { max-width: 560px; padding: clamp(32px, 5vw, 64px); color: var(--on-ink); }
.office-copy .sec-head { margin-block-end: 24px; }
.office-copy .sec-head h2 { color: #fff; font-size: var(--h2s); }
.office-copy .eyebrow { color: #E7DEF2; }
.office-copy em { color: var(--lav); }
.office-copy .lede { color: var(--on-ink); font-size: var(--fs-body); }
.office-copy .ticks { margin-block-end: 30px; }
.office-copy .ticks li { color: #F2EDF7; font-size: var(--fs-sm); }
.office-copy .fine { margin-block-start: 18px; color: var(--on-ink-2); }
@media (max-width: 800px) { .office-card { min-height: 0; flex-direction: column; align-items: stretch; } .office-img { position: relative; aspect-ratio: 16 / 10; } .office-card::before { display: none; } }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: flex; flex-direction: column; padding: 32px 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.guide-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.guide-card h3 { margin-block: 14px 12px; font-size: var(--fs-h3); line-height: 1.25; }
.guide-card p { margin-block-end: 28px; font-size: var(--fs-sm); }
.guide-card .more { margin-block-start: auto; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

/* faq */
.faq-intro { position: sticky; top: calc(var(--header) + 40px); }
.faq-aside { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.faq-aside img { flex: none; width: 56px; }
.faq-aside h3 { margin-block-end: 6px; font-size: var(--fs-lead); }
.faq-aside p { margin-block-end: 12px; font-size: var(--fs-ui); }
.faq-all { display: block; margin-inline-start: auto; margin-block-end: 14px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 600 var(--fs-xs) var(--font); cursor: pointer; }
.faq-all:hover { border-color: var(--ink); }
.qa { border-block-end: 1px solid var(--line-2); }
.qa:first-of-type { border-block-start: 1px solid var(--line-2); }
/* three short groups instead of one long list */
.faq-set + .faq-set { margin-block-start: 40px; }
.faq-group { margin-block-end: 12px; color: var(--violet); font-size: var(--fs-label); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .faq-group { letter-spacing: 0; font-size: var(--fs-ui); }
.qa summary { position: relative; display: block; padding-block: 24px; padding-inline-end: 48px; color: var(--ink); font-size: var(--fs-lead); font-weight: 650; line-height: 1.45; list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 16px; height: 2px; margin-block-start: -1px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa summary:hover { color: var(--ink-2); }
.qa p { max-width: 64ch; padding-block-end: 26px; }
@media (max-width: 900px) { .faq-intro { position: static; margin-block-end: 8px; } }

/* final (dark) */
.final .ticks { margin-block-start: 28px; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-block-start: 26px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.sec-ink .contact-line { border-color: var(--ink-line); }
.contact-line > span { min-width: 90px; color: var(--soft); font-size: var(--fs-xs); font-weight: 600; }
.sec-ink .contact-line > span { color: var(--on-ink-2); }
.contact-line > a { color: var(--ink); font-weight: 650; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sec-ink .contact-line > a { color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.social svg { width: 17px; height: 17px; }
.social.on-dark a { border-color: rgba(255,255,255,.18); color: #fff; }
.social.on-dark a:hover { border-color: #fff; background: #fff; color: var(--ink); }

/* footer */
.site-footer { padding-block: 72px 28px; background: var(--ink); border-block-start: 1px solid var(--ink-line); color: var(--on-ink-2); font-size: var(--fs-ui); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-block-end: 48px; border-block-end: 1px solid var(--ink-line); }
.foot-brand img { width: 200px; margin-block-end: 18px; }
.tagline { margin-block-end: 24px; color: #E7DEF2; }
.tagline b { color: var(--lime); font-weight: 650; }
.site-footer h2, .foot-h { margin-block-end: 16px; color: #fff; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .site-footer h2, .foot-h { letter-spacing: 0; font-size: var(--fs-ui); }
.site-footer li + li { margin-block-start: 10px; }
.site-footer a { color: #E7DEF2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-mail { font-weight: 600; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block-start: 24px; font-size: var(--fs-xs); }
.foot-bottom p:last-child { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(33,10,53,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block-start: 1px solid var(--ink-line); transition: transform .35s var(--ease); }
  .mobile-cta .btn { width: 100%; }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .site-footer { padding-block-end: 104px; }
}

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); background: var(--ink-deep); color: var(--on-ink); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg .sky, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(33,10,53,.7) 45%, rgba(22,6,36,.55) 100%); }
.page-hero-slim { padding-block-end: 48px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: clamp(28px, 4vw, 48px); font-size: var(--fs-xs); }
.crumbs li { display: flex; gap: 8px; color: var(--on-ink-2); }
.crumbs li + li::before { content: "/"; color: rgba(255,255,255,.25); }
.crumbs a { color: #fff; font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: end; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
:lang(ar) .page-hero h1 { letter-spacing: 0; line-height: 1.35; }
.page-hero h1 em { display: block; color: var(--lav); }
.page-hero .hero-intro { max-width: 56ch; margin: 22px 0 0; }
.page-hero-copy > * { animation: up var(--dur) var(--ease) both; }
.page-hero-copy > :nth-child(2) { animation-delay: .08s; } .page-hero-copy > :nth-child(3) { animation-delay: .16s; } .page-hero-copy > :nth-child(4) { animation-delay: .24s; }
.start-actions { justify-content: flex-start; }
.included { padding: 32px; border-radius: 24px; background: #fff; color: var(--muted); box-shadow: var(--shadow-lg); animation: up var(--dur) .3s var(--ease) both; }
.included h2 { margin-block-end: 20px; color: var(--violet); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
:lang(ar) .included h2 { letter-spacing: 0; font-size: var(--fs-ui); }
.included .ticks li { font-size: var(--fs-sm); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-art { margin-block: clamp(48px, 6vw, 80px) 0; }
.page-art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.page-art .fine { margin-block-start: 12px; }
.article-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
/* minmax(0,…) + min-width:0 keep wide tables scrolling inside .table-wrap instead of widening the page on phones */
.article-grid > * { min-width: 0; }
.toc { position: sticky; top: calc(var(--header) + 40px); align-self: start; }
.toc ol { border-inline-start: 2px solid var(--line); }
/* scoped to the list so the sidebar button keeps its .btn styling */
.toc ol a { display: block; margin-inline-start: -2px; padding: 8px 16px; border-inline-start: 2px solid transparent; color: var(--muted); font-size: var(--fs-ui); line-height: 1.45; text-decoration: none; transition: color .2s, border-color .2s; }
.toc ol a:hover, .toc ol a.is-current { border-color: var(--lime); color: var(--ink); }
.toc-cta { margin-block-start: 28px; }
.prose > section { padding-block: 8px 44px; }
.prose > section + section { padding-block-start: 44px; border-block-start: 1px solid var(--line); }
.part-n { display: block; margin-block-end: 10px; color: var(--violet); font-size: var(--fs-xs); font-weight: 700; }
.prose h2 { margin-block-end: 16px; font-size: var(--h3f); line-height: 1.2; }
.prose p { max-width: 60ch; font-size: var(--fs-lead); line-height: 1.8; }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }
.page-hero-slim h1 { margin-block-end: 10px; }
.page-hero-slim .fine { color: var(--on-ink-2); }
.legal h2 { margin-block: 40px 12px; font-size: var(--fs-h3); }
.legal p, .legal li { font-size: var(--fs-body); line-height: 1.8; }
.legal p + p { margin-block-start: 14px; }
.legal ul { margin-block: 12px; }
.legal li { position: relative; padding-inline-start: 22px; }
.legal li + li { margin-block-start: 10px; }
.legal li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.legal a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal .box { margin-block-start: 12px; padding: 22px 24px; border-radius: 16px; background: var(--mist); color: var(--ink); line-height: 1.8; }
.legal .note { margin-block-end: 24px; padding: 14px 18px; border-radius: 12px; background: var(--lilac); color: var(--ink); font-size: var(--fs-ui); }
.not-found { min-height: 60vh; display: grid; align-items: center; }
.not-found h1 { color: #fff; font-size: var(--h2); }
.not-found .hero-intro { margin-inline: auto; margin-block-end: 32px; }

/* ---------- white-hero variant (HERO_THEME=light): light header and hero, same layout ---------- */
.theme-light .site-header { background: #fff; border-block-end: 1px solid var(--line); }
.theme-light .site-header.is-scrolled { background: rgba(255,255,255,.97); box-shadow: 0 10px 30px -22px rgba(33,10,53,.35); }
.theme-light .brand { color: var(--ink); }
.theme-light .brand-the { color: var(--violet); }
.theme-light .brand:hover .brand-name { color: var(--ink-2); }
.theme-light .nav a, .theme-light .lang { color: var(--ink); }
.theme-light .nav a:hover, .theme-light .nav a[aria-current], .theme-light .lang:hover { background: var(--mist); color: var(--ink); }
.theme-light .menu-btn { border-color: var(--line-2); }
.theme-light .menu-btn span { background: var(--ink); }
.theme-light .mobile-nav { background: #fff; border-color: var(--line); }
.theme-light .mobile-nav a:not(.btn) { color: var(--ink); border-color: var(--line); }
.theme-light .site-header .btn-light, .theme-light .hero .btn-light, .theme-light .mobile-nav .btn-light { --bg: var(--ink); --fg: #fff; --arr-bg: rgba(255,255,255,.16); --arr-fg: #fff; box-shadow: 0 10px 24px -12px rgba(33,10,53,.55); }
.theme-light .site-header .btn-light:hover, .theme-light .hero .btn-light:hover { background: #2E1148; }
.theme-light .hero { background: linear-gradient(180deg, #fff 0%, #fff 40%, #F5F1FA 75%, #ECE4F4 100%); color: var(--muted); }
.theme-light .hero-bg .sky { display: none; }
.theme-light .hero-bg::after { background: radial-gradient(55% 45% at 50% 100%, rgba(110,83,144,.18), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgba(199,240,0,.10), transparent 70%); }
.theme-light .hero-bg .clouds { display: none; }
.theme-light .hero h1 { color: var(--ink); }
.theme-light .line-b { color: var(--violet); }
.theme-light .line-b .mark { color: var(--ink); }
.theme-light .hero-intro { color: var(--muted); }
.theme-light .hero .btn-link.on-dark { color: var(--ink); text-decoration-color: var(--lime); }
.theme-light .hero :focus-visible, .theme-light .site-header :focus-visible { outline-color: var(--ink); }
.theme-light .mobile-cta { background: rgba(255,255,255,.95); border-color: var(--line); }
.theme-light .mobile-cta .btn-light { --bg: var(--ink); --fg: #fff; --arr-bg: rgba(255,255,255,.16); --arr-fg: #fff; }

/* ---------- scan-friendly emphasis (same idea as amzsavvy.com's .hl) ----------
   The key phrase of every heading sits on a lime highlighter band; key sentences in intros sit on a soft
   purple band; small labels are purple pills. Lime stays an accent: never a section background. */
/* Lime marks only the decision messages (hero, start, services, comparison, promise, final CTA: .sec-head.key)
   and the proof figures. Other headings keep a calm violet second line. */
.sec-head h2 em { display: inline; color: var(--violet); }
.sec-ink .sec-head h2 em, .office-copy .sec-head h2 em { color: var(--lav); }
.sec-head.key h2 em, .page-hero h1 em, .hl, .metrics b.metric-hl {
  display: inline; color: var(--ink);
  background: linear-gradient(180deg, transparent .16em, var(--lime) .16em, var(--lime) calc(100% - .06em), transparent calc(100% - .06em));
  padding-inline: .14em; margin-inline: -.06em; border-radius: .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:lang(ar) .sec-head.key h2 em, :lang(ar) .page-hero h1 em, :lang(ar) .hl, :lang(ar) .metrics b.metric-hl { background: linear-gradient(180deg, transparent .28em, var(--lime) .28em, var(--lime) calc(100% - .18em), transparent calc(100% - .18em)); }
.lede b, .svc-p b, .office-copy .lede b, .checker .lede b {
  color: var(--ink); font-weight: 650; padding: .08em .3em; margin-inline: -.1em; border-radius: .3em;
  background: var(--lilac); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sec-ink .lede b, .office-copy .lede b { background: rgba(255,255,255,.14); color: #fff; }
.tag, .step-label, .svc-get { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--lilac); color: var(--ink-2); line-height: 1.3; }
.sec-ink .tag, .path-dark .tag, .svc-panel .tag, .sec-ink .svc-get { background: rgba(255,255,255,.1); color: #F2EDF7; }
.svc-panel .tag { display: inline-flex; }
.path .tag, .guide-card .tag, .timeline .step-label { align-self: flex-start; justify-self: start; width: fit-content; }
.metrics li > span b { padding: .05em .35em; border-radius: .3em; background: var(--ink); color: #fff; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* white hero: "paperwork." sits on the lime band instead of an underline */
.theme-light .hero .mark { color: var(--ink); background: linear-gradient(180deg, transparent .2em, var(--lime) .2em, var(--lime) calc(100% - .1em), transparent calc(100% - .1em)); padding-inline: .1em; margin-inline: -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.theme-light .hero .mark::after { display: none; }
:lang(ar) .theme-light .hero .mark, .theme-light:lang(ar) .hero .mark { background: linear-gradient(180deg, transparent .3em, var(--lime) .3em, var(--lime) calc(100% - .22em), transparent calc(100% - .22em)); }
.theme-light .btn:not(.btn-light):not(.btn-ghost) .arr, .theme-light .site-header .btn-light .arr, .theme-light .hero .btn-light .arr, .theme-light .mobile-cta .btn-light .arr { background: var(--lime); color: var(--ink); }

/* white page heroes (service, legal, 404) */
.theme-light .page-hero { background: linear-gradient(180deg, #fff 0%, #F7F4FB 100%); color: var(--muted); border-block-end: 1px solid var(--line); }
.theme-light .page-hero-bg { display: none; }
.theme-light .page-hero h1, .theme-light .not-found h1 { color: var(--ink); }
.theme-light .page-hero .hero-intro, .theme-light .page-hero-slim .fine { color: var(--muted); }
.theme-light .crumbs li { color: var(--soft); }
.theme-light .crumbs li + li::before { color: var(--line-2); }
.theme-light .crumbs a { color: var(--ink); }
.theme-light .page-hero .btn-light { --bg: var(--ink); --fg: #fff; --arr-bg: var(--lime); --arr-fg: var(--ink); }
.theme-light .page-hero .btn-link.on-dark { color: var(--ink); text-decoration-color: var(--lime); }
.theme-light .page-hero .eyebrow::before { background: var(--lime); }
.theme-light .page-hero .eyebrow.on-dark, .theme-light .hero .eyebrow.on-dark { color: var(--ink-2); }
.theme-light .included { border: 1px solid var(--line); }
.theme-light .page-hero :focus-visible { outline-color: var(--ink); }

/* ---------- scroll reveal ----------
   One direction (up), one ease, one duration. Hidden only when scripting is on and motion is
   allowed; a 3s fallback animation guarantees nothing stays hidden if the script fails. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-in) { opacity: 0; translate: 0 24px; animation: reveal-fallback 0s 3s forwards; }
  [data-reveal] { transition: opacity var(--dur) var(--ease) var(--d, 0s), translate var(--dur) var(--ease) var(--d, 0s), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
}
@keyframes reveal-fallback { to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}

@media print { .site-header, .mobile-cta, .site-footer .social, .form-card, .checker-box, .hero-bg, .hero-city { display: none !important; } body { color: #000; } .hero, .sec-ink { background: #fff; color: #000; } }

/* ---------- touch: comfortable tap targets on phones without changing the visual rhythm ---------- */
@media (pointer: coarse), (max-width: 700px) {
  .more, .btn-link, .stats a, .crumbs a, .contact-line > a, .faq-aside .more { padding-block: 11px; margin-block: -11px; }
  .site-footer li a, .foot-bottom a, .foot-mail { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .site-footer li + li { margin-block-start: 0; }
  .faq-all { min-height: 44px; }
  .social a { width: 44px; height: 44px; }
  .qa summary { padding-block: 22px; }
  .badge { font-size: var(--fs-label); }
  .step-label, .tag, .svc-cat, .stats small { font-size: var(--fs-label); }
}

/* ---- blog (posts + index) ---- */
.narrow-copy { max-width: 820px; }
.post-meta { margin: 18px 0 0; color: var(--on-ink-2); font-size: var(--fs-ui); }
.post-meta a { color: inherit; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.theme-light .post-meta { color: var(--soft); }
.page-hero .hero-intro.answer { max-width: 68ch; font-size: var(--fs-lead); }
.theme-light .page-hero .hero-intro.answer { color: var(--ink); }
.takeaways { margin-block-end: 40px; padding: 28px 30px; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); }
.takeaways h2 { margin-block-end: 16px; font-size: var(--fs-h3); }
.post > section { padding-block: 8px 40px; }
.post > section + section { padding-block-start: 40px; border-block-start: 1px solid var(--line); }
.post h3 { margin-block: 26px 10px; font-size: var(--fs-h3); line-height: 1.3; }
.post p + p { margin-block-start: 16px; }
.post ul:not(.ticks), .post ol { max-width: 62ch; margin-block: 14px 18px; padding-inline-start: 0; font-size: var(--fs-lead); line-height: 1.7; }
.post ul:not(.ticks) li { position: relative; padding-inline-start: 24px; }
.post ul:not(.ticks) li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.post ol { counter-reset: n; }
.post ol li { position: relative; padding-inline-start: 38px; counter-increment: n; }
.post ol li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: .2em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--fs-xs); font-weight: 700; }
.post li + li { margin-block-start: 10px; }
.post a:not(.btn) { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.table-wrap { max-width: 100%; margin-block: 18px 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.post table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.post th, .post td { padding: 12px 16px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.post th { background: var(--mist); color: var(--ink); font-weight: 650; }
.post tr:last-child td { border-block-end: 0; }
.callout { max-width: 62ch; margin-block: 20px; padding: 18px 22px; border-inline-start: 4px solid var(--lime); border-radius: 0 14px 14px 0; background: var(--lilac); color: var(--ink); font-size: var(--fs-body); }
.post .faq-list { max-width: 70ch; }
.sources ul li { font-size: var(--fs-sm); }
.post-card .fine { margin-block: -14px 18px; }
.review-strip { max-width: 70ch; margin-block-end: 22px; padding: 14px 18px; border-radius: 12px; background: var(--lilac); color: var(--ink); font-size: var(--fs-ui); line-height: 1.6; }
