/* ==========================================================================
   ORIGIN · SWANA brand and style guide · Component kit
   V1 · 27 October 2026 · Michel Matta
   Reads only from origin-tokens.css. Prefix: .o-
   Phone layouts switch at 640px through container queries: put
   container-type: inline-size on <body> or <main> and every component
   adapts to the width it is given.
   Direction: every component uses logical properties and works in
   dir="rtl" without extra rules. Icons that point mirror (.o-icon--mirror).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. BASE
   -------------------------------------------------------------------------- */
.o-root{
  font-family: var(--o-font-body);
  font-size: var(--o-size-body);
  line-height: var(--o-lh-body);
  font-weight: var(--o-weight-body);
  color: var(--o-color-text);
  background: var(--o-color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  container-type: inline-size;
  container-name: o-frame;
}
.o-root *, .o-root *::before, .o-root *::after{ box-sizing: border-box; }
.o-root :focus-visible{ outline: 2px solid var(--o-color-focus); outline-offset: 3px; border-radius: var(--o-radius-xs); }
.o-root img, .o-root svg{ display: block; max-width: 100%; }
:where(.o-root) p{ margin: 0; }
:where(.o-root) ul, :where(.o-root) ol{ margin: 0; padding: 0; list-style: none; }
:where(.o-root) a{ color: inherit; text-decoration: none; }

/* Type styles. Headlines in the display family, sentence case, never uppercase. */
.o-display, .o-h1, .o-h2, .o-h3, .o-h4{
  font-family: var(--o-font-display);
  font-weight: var(--o-weight-display);
  color: var(--o-color-heading);
  margin: 0;
  text-wrap: balance;
}
.o-display{ font-size: var(--o-size-display); line-height: var(--o-lh-display); letter-spacing: var(--o-tracking-display); }
.o-h1{ font-size: var(--o-size-h1); line-height: var(--o-lh-h1); letter-spacing: var(--o-tracking-display); }
.o-h2{ font-size: var(--o-size-h2); line-height: var(--o-lh-h2); letter-spacing: var(--o-tracking-heading); }
.o-h3{ font-size: var(--o-size-h3); line-height: var(--o-lh-h3); letter-spacing: var(--o-tracking-heading); font-weight: var(--o-weight-heading); }
.o-h4{ font-size: var(--o-size-h4); line-height: var(--o-lh-h4); font-weight: var(--o-weight-heading); }
/* Accent word: one word per headline in Instrument Serif Italic, always lowercase, a touch larger than the line.
   Never a number, never in a button, never more than one per headline. Arabic has no serif: Light weight in purple instead. */
.o-n{ font-family: var(--o-font-numbers); font-variant-numeric: proportional-nums lining-nums; letter-spacing: -0.01em; } /* a number inside a headline */
.o-accent, em.o-accent{ font-family: var(--o-font-accent); font-style: italic; font-weight: 400; text-transform: lowercase; font-size: 1.08em; line-height: .9; letter-spacing: 0; }
.o-accent:lang(ar){ font-family: inherit; font-style: normal; font-weight: 300; font-size: 1em; text-transform: none; color: var(--o-color-accent); }
[data-surface="dark"] .o-accent:lang(ar), [data-surface="purple"] .o-accent:lang(ar), .o-tile .o-accent:lang(ar), .o-band .o-accent:lang(ar){ color: #C9A9FF; }
.o-h4:lang(en){ font-family: var(--o-font-body); font-weight: 500; }
.o-lead{ font-size: var(--o-size-lead); line-height: var(--o-lh-lead); color: var(--o-color-text); }
.o-body{ font-size: var(--o-size-body); line-height: var(--o-lh-body); }
.o-small{ font-size: var(--o-size-small); line-height: var(--o-lh-small); }
.o-caption{ font-family: var(--o-font-detail); font-size: var(--o-size-caption); line-height: var(--o-lh-caption); color: var(--o-color-muted); }
.o-muted{ color: var(--o-color-muted); }
.o-strong{ font-weight: var(--o-weight-body-strong); color: var(--o-color-heading); }
.o-eyebrow{
  font-family: var(--o-font-detail); font-size: var(--o-size-eyebrow); line-height: 1.2;
  font-weight: var(--o-weight-detail); letter-spacing: .1em; text-transform: uppercase; color: var(--o-color-heading);
  display: inline-flex; align-items: center; gap: var(--o-space-2);
}
.o-eyebrow--accent{ color: var(--o-color-accent); }
.o-eyebrow:lang(ar){ letter-spacing: 0; font-size: 13px; font-weight: 700; }
.o-label{ font-family: var(--o-font-detail); font-size: 11px; font-weight: var(--o-weight-detail); letter-spacing: .1em; text-transform: uppercase; color: var(--o-color-muted); }
.o-label:lang(ar){ letter-spacing: 0; font-size: 12px; font-weight: 700; }
.o-link{ color: var(--o-color-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--o-duration-fast) var(--o-ease); }
.o-link:hover{ color: var(--o-color-accent); }
.o-rule{ border: 0; border-top: 1px solid var(--o-color-line); margin: 0; }

/* Numbers: PP Neue Montreal in English, Almarai in Arabic, Western digits, proportional figures */
.o-num, .o-price, .o-stat__value, .o-step__num, .o-numeral{
  font-family: var(--o-font-numbers); font-variant-numeric: proportional-nums lining-nums; direction: ltr; unicode-bidi: isolate;
}
.o-price{ white-space: nowrap; font-family: var(--o-font-numbers); font-size: var(--o-size-price); line-height: var(--o-lh-price); font-weight: 500; letter-spacing: -0.02em; color: var(--o-color-heading); }
.o-price__cur{ font-family: var(--o-font-body); font-size: .45em; font-weight: 500; color: var(--o-color-muted); vertical-align: 0.9em; margin-inline-end: .25em; letter-spacing: 0; }
.o-num{ font-size: var(--o-size-number); line-height: var(--o-lh-number); font-weight: 500; }

/* --------------------------------------------------------------------------
   1. LAYOUT
   -------------------------------------------------------------------------- */
.o-container{ width: 100%; max-width: calc(var(--o-container) + var(--o-margin) * 2); margin-inline: auto; padding-inline: var(--o-margin); }
.o-container--narrow{ max-width: calc(var(--o-container-narrow) + var(--o-margin) * 2); }
.o-section{ position: relative; padding-block: var(--o-section-y); background: var(--o-color-bg); color: var(--o-color-text); overflow: hidden; }
.o-section--alt{ background: var(--o-color-surface-alt); }
.o-section--tight{ padding-block: var(--o-space-9); }
.o-section > .o-container{ position: relative; z-index: 1; }
.o-grid{ display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--o-gutter); }
.o-grid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.o-grid--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.o-grid--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.o-span-4{ grid-column: span 4; } .o-span-5{ grid-column: span 5; } .o-span-6{ grid-column: span 6; } .o-span-7{ grid-column: span 7; } .o-span-8{ grid-column: span 8; } .o-span-12{ grid-column: span 12; }
.o-stack{ display: flex; flex-direction: column; gap: var(--o-stack); }
.o-stack--sm{ gap: var(--o-space-3); } .o-stack--lg{ gap: var(--o-space-7); }
.o-row{ display: flex; flex-wrap: wrap; align-items: center; gap: var(--o-space-3); }

/* Glow: the decorative device for dark sections */
.o-glow{ position: absolute; inset: 0; pointer-events: none; background: var(--o-glow-purple); }
.o-glow--edge{ background: var(--o-glow-purple-edge); }
.o-glow--pink{ background: var(--o-glow-pink); }
.o-glow--both{ background: var(--o-glow-purple), var(--o-glow-pink); }

/* Media placeholder: real work and real numbers go here, never stock */
.o-media{ background: var(--o-surface-box); border-radius: var(--o-radius-xl); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--o-color-muted); font-size: var(--o-size-caption); overflow: hidden; }
.o-media--wide{ aspect-ratio: 16/9; } .o-media--square{ aspect-ratio: 1; }
[data-surface="dark"] .o-media{ background: var(--o-glass); border: 1px solid var(--o-glass-line); color: var(--o-color-muted); }

/* --------------------------------------------------------------------------
   2. ICONS · inline SVG sprite, 24px, stroke 1.75, currentColor, one particle dot
   -------------------------------------------------------------------------- */
.o-icon{ width: var(--o-icon-size); height: var(--o-icon-size); flex: none; stroke: currentColor; fill: none; stroke-width: var(--o-icon-stroke); stroke-linecap: round; stroke-linejoin: round; }
.o-icon--sm{ width: var(--o-icon-size-sm); height: var(--o-icon-size-sm); }
.o-icon--lg{ width: var(--o-icon-size-lg); height: var(--o-icon-size-lg); }
.o-icon--fill{ fill: currentColor; stroke: none; }
[dir="rtl"] .o-icon--mirror, :lang(ar) .o-icon--mirror{ transform: scaleX(-1); }
/* every icon carries one filled particle: purple on light, lilac on dark, currentColor inside buttons and badges */
.o-icon .o-icon__dot{ fill: var(--o-color-accent); stroke: none; }
[data-surface="dark"] .o-icon .o-icon__dot, .o-tile .o-icon__dot, .o-band .o-icon__dot{ fill: #C9A9FF; }
.o-btn .o-icon__dot, .o-icon-badge .o-icon__dot, .o-badge .o-icon__dot, .o-box .o-icon__dot, .o-chat__av .o-icon__dot, .o-chat-launcher__av .o-icon__dot, .o-social .o-icon__dot, .o-chat__send .o-icon__dot, .o-chat__close .o-icon__dot{ fill: currentColor; }
.o-icon-badge{ width: 40px; height: 40px; border-radius: var(--o-radius-md); display: grid; place-items: center; background: var(--o-color-accent-soft); color: var(--o-color-accent); flex: none; }
.o-icon-badge--success{ background: var(--o-color-success-soft); color: var(--o-ink); }
[data-surface="dark"] .o-icon-badge{ background: var(--o-glass); border: 1px solid var(--o-glass-line); color: var(--o-white); }

/* --------------------------------------------------------------------------
   3. BUTTONS
   Primary purple everywhere. Every page section ends with the primary
   button "Send your request". Pink is an emphasis variant, at most once a page.
   -------------------------------------------------------------------------- */
.o-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: var(--o-space-2);
  min-height: 44px; padding: 0 18px;
  font-family: var(--o-font-body); font-size: var(--o-size-button); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1;
  border-radius: var(--o-radius-sm); border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--o-duration-base) var(--o-ease), color var(--o-duration-base) var(--o-ease), border-color var(--o-duration-base) var(--o-ease), box-shadow var(--o-duration-base) var(--o-ease), transform var(--o-duration-fast) var(--o-ease);
}
.o-btn:active{ transform: translateY(1px); }
.o-btn:disabled, .o-btn[aria-disabled="true"]{ opacity: .45; cursor: not-allowed; transform: none; }
.o-btn .o-icon{ width: 16px; height: 16px; transition: transform var(--o-duration-slow) var(--o-ease); }
.o-btn:hover .o-icon--mirror{ transform: translateX(4px); }
[dir="rtl"] .o-btn:hover .o-icon--mirror, :lang(ar) .o-btn:hover .o-icon--mirror{ transform: scaleX(-1) translateX(4px); }
.o-btn:lang(ar){ text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; }
.o-btn--primary{ background: var(--o-color-accent); color: var(--o-color-on-accent); border-color: var(--o-color-accent); }
.o-btn--primary:hover{ background: var(--o-color-accent-hover); border-color: var(--o-color-accent-hover); }
.o-btn--primary:active{ background: var(--o-color-accent-active); }
.o-btn--secondary{ background: transparent; color: var(--o-color-heading); border-color: var(--o-color-heading); }
.o-btn--secondary:hover{ background: var(--o-color-heading); color: var(--o-color-bg); }
[data-surface="dark"] .o-btn--secondary:hover{ background: var(--o-white); color: var(--o-black); }
.o-btn--ghost{ background: transparent; color: var(--o-color-accent); padding-inline: var(--o-space-3); }
.o-btn--ghost:hover{ background: var(--o-color-accent-soft); }
[data-surface="dark"] .o-btn--ghost{ color: var(--o-white); } [data-surface="dark"] .o-btn--ghost:hover{ background: var(--o-glass); }
.o-btn--emphasis{ background: var(--o-color-emphasis); color: var(--o-color-on-emphasis); border-color: var(--o-color-emphasis); }
.o-btn--emphasis:hover{ background: #E61C78; border-color: #E61C78; }
.o-btn--sm{ min-height: 40px; padding-inline: 14px; font-size: 11.5px; }
.o-btn--lg{ min-height: 52px; padding-inline: 24px; font-size: 13px; }
.o-btn--light{ background: var(--o-white); color: var(--o-ink); border-color: var(--o-white); }
.o-btn--light:hover{ background: var(--o-lilac); border-color: var(--o-lilac); }
/* Underlined text link, uppercase, from the clone's header and footer */
.o-link-u{ font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--o-color-heading); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color var(--o-duration-base), text-underline-offset var(--o-duration-base); }
.o-link-u:hover{ text-decoration-color: var(--o-color-emphasis); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.o-link-u:lang(ar){ text-transform: none; letter-spacing: 0; font-size: 13px; }
.o-btn--block{ width: 100%; }
.o-btn.is-loading{ color: transparent; position: relative; pointer-events: none; }
.o-btn.is-loading::after{ content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: o-spin .8s linear infinite; }
@keyframes o-spin{ to{ transform: rotate(360deg); } }
.o-btn-group{ display: flex; flex-wrap: wrap; gap: var(--o-space-3); align-items: center; }

/* --------------------------------------------------------------------------
   4. BADGES, TAGS, CHIPS
   -------------------------------------------------------------------------- */
.o-badge{ display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--o-radius-pill); font-size: 13px; font-weight: var(--o-weight-body-strong); line-height: 1; background: var(--o-color-accent-soft); color: var(--o-color-accent); white-space: nowrap; }
.o-badge--emphasis{ background: var(--o-color-emphasis); color: var(--o-color-on-emphasis); }
.o-badge--success{ background: var(--o-color-success); color: var(--o-ink); }
.o-badge--notice{ background: var(--o-color-notice); color: var(--o-ink); }
.o-badge--info{ background: var(--o-color-info-soft); color: var(--o-color-info); }
.o-badge--live{ background: var(--o-color-live-soft); color: var(--o-ink); }
.o-badge--live::before{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o-color-live); box-shadow: 0 0 0 3px rgba(51,217,255,.3); }
.o-badge--neutral{ background: var(--o-surface-box); color: var(--o-color-text); }
[data-surface="dark"] .o-badge--neutral{ background: var(--o-glass); color: var(--o-white); border: 1px solid var(--o-glass-line); }
.o-chip{ display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--o-radius-pill); border: 1px solid var(--o-color-line-strong); background: var(--o-color-surface); color: var(--o-color-text); font-size: 14px; font-weight: var(--o-weight-body-strong); cursor: pointer; transition: all var(--o-duration-base) var(--o-ease); }
.o-chip:hover{ border-color: var(--o-color-accent); color: var(--o-color-accent); background: var(--o-color-accent-wash); }
.o-chip.is-active{ background: var(--o-color-accent); border-color: var(--o-color-accent); color: var(--o-color-on-accent); }

/* --------------------------------------------------------------------------
   5. CARDS · clean: white, one line, 16px corners, air inside
   -------------------------------------------------------------------------- */
.o-card{ background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-radius: var(--o-radius-lg); padding: var(--o-space-6); display: flex; flex-direction: column; gap: var(--o-space-4); transition: box-shadow var(--o-duration-base) var(--o-ease), transform var(--o-duration-base) var(--o-ease), border-color var(--o-duration-base) var(--o-ease); }
.o-card--hover:hover{ box-shadow: var(--o-shadow-md); transform: translateY(-2px); border-color: var(--o-color-line-strong); }
.o-card--soft{ background: var(--o-color-surface-alt); border-color: transparent; }
.o-card--accent{ border-color: var(--o-color-accent); box-shadow: 0 0 0 1px var(--o-color-accent); }
.o-card--glass{ background: var(--o-glass); border-color: var(--o-glass-line); backdrop-filter: blur(12px); }
.o-card--lifted{ box-shadow: var(--o-shadow-lg); border-color: transparent; }
.o-card__title{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: var(--o-size-h4); line-height: var(--o-lh-h4); color: var(--o-color-heading); }
.o-card__title:lang(en){ font-family: var(--o-font-body); font-weight: 500; }
.o-card__body{ color: var(--o-color-muted); font-size: var(--o-size-small); line-height: var(--o-lh-small); }
.o-card--compact{ padding: var(--o-space-5); gap: var(--o-space-3); }
[data-surface="dark"] .o-card{ background: var(--o-glass); border-color: var(--o-glass-line); }

/* --------------------------------------------------------------------------
   6. STAT NUMBERS · the number is the hero; the label is quiet
   -------------------------------------------------------------------------- */
.o-stat{ display: flex; flex-direction: column; gap: var(--o-space-2); min-width: 0; }
.o-stat__value{ font-family: var(--o-font-numbers); font-size: var(--o-size-stat); line-height: var(--o-lh-stat); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: proportional-nums lining-nums; color: var(--o-color-heading); }
.o-stat__value sup, .o-stat__value .o-stat__unit{ font-size: .5em; font-weight: 500; vertical-align: .55em; margin-inline-start: .08em; letter-spacing: -0.01em; color: var(--o-color-accent); }
.o-stat__label{ font-size: var(--o-size-small); line-height: var(--o-lh-small); color: var(--o-color-muted); max-width: 26ch; }
.o-stat__delta{ display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: var(--o-weight-body-strong); color: var(--o-ink); background: var(--o-color-success); border-radius: var(--o-radius-pill); padding: 2px 10px; width: fit-content; }
.o-stat--sm .o-stat__value{ font-size: var(--o-size-stat-sm); }
.o-stat--accent .o-stat__value{ color: var(--o-color-accent); }
[data-surface="dark"] .o-stat__value{ color: var(--o-white); }
[data-surface="dark"] .o-stat--accent .o-stat__value{ color: #C9A9FF; }
[data-surface="dark"] .o-stat__unit, [data-surface="purple"] .o-stat__unit, .o-tool__r .o-stat__unit{ color: #C9A9FF; }
.o-stats{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--o-space-6) var(--o-space-5); }
.o-stats--2{ grid-template-columns: repeat(2, minmax(0,1fr)); } .o-stats--3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.o-stats--lined .o-stat{ padding-inline-start: var(--o-space-4); border-inline-start: 1px solid var(--o-color-line); }
.o-stats--tiles .o-stat{ background: var(--o-color-surface-alt); border-radius: var(--o-radius-lg); padding: var(--o-space-5); }
[data-surface="dark"] .o-stats--tiles .o-stat{ background: var(--o-glass); border: 1px solid var(--o-glass-line); }
/* Stat with a thin connector line, as in the inspiration: number above a rule that runs to the label */
.o-stat--lined{ position: relative; padding-top: var(--o-space-4); }
.o-stat--lined::before{ content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 1px; background: var(--o-color-line-strong); }
.o-stat--lined::after{ content: ""; position: absolute; top: -3px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--o-color-accent); }

/* --------------------------------------------------------------------------
   7. STEP NUMERALS · 01 02 03
   -------------------------------------------------------------------------- */
.o-numeral{ font-family: var(--o-font-detail); font-size: var(--o-size-numeral); line-height: 1; font-weight: 300; letter-spacing: -0.02em; color: var(--o-color-accent); }
.o-steps{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--o-gutter); counter-reset: o-step; position: relative; }
.o-step{ position: relative; display: flex; flex-direction: column; gap: var(--o-space-3); padding-top: var(--o-space-5); border-top: 1px solid var(--o-color-line-strong); counter-increment: o-step; }
.o-step::after{ content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--o-color-accent); }
.o-step__num{ font-family: var(--o-font-detail); font-size: var(--o-size-numeral); line-height: 1; font-weight: 300; letter-spacing: -0.02em; color: var(--o-color-accent); }
.o-step__num::before{ content: counter(o-step, decimal-leading-zero); }
:lang(ar) .o-step__num::before{ content: counter(o-step, o-arabic); }
@counter-style o-arabic{ system: extends arabic-indic; pad: 2 "٠"; }
.o-step__title{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: var(--o-size-h4); line-height: var(--o-lh-h4); color: var(--o-color-heading); }
.o-step__title:lang(en){ font-family: var(--o-font-body); font-weight: 500; }
.o-step__body{ color: var(--o-color-muted); font-size: var(--o-size-small); line-height: var(--o-lh-small); }
.o-steps--cards .o-step{ border-top: 0; padding: var(--o-space-5); background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-radius: var(--o-radius-lg); }
.o-steps--cards .o-step::after{ display: none; }
[data-surface="dark"] .o-steps--cards .o-step{ background: var(--o-glass); border-color: var(--o-glass-line); }
[data-surface="dark"] .o-step__num, [data-surface="dark"] .o-numeral{ color: #C9A9FF; }
/* vertical list form, for the form progress and the process on phone */
.o-steps--list{ grid-template-columns: 1fr; gap: 0; }
.o-steps--list .o-step{ flex-direction: row; align-items: flex-start; gap: var(--o-space-5); padding-block: var(--o-space-5); border-top: 1px solid var(--o-color-line); }
.o-steps--list .o-step::after{ display: none; }
.o-steps--list .o-step__num{ width: 64px; flex: none; }

/* --------------------------------------------------------------------------
   8. SECTION HEADER
   -------------------------------------------------------------------------- */
.o-sec-head{ display: flex; flex-direction: column; gap: var(--o-space-4); max-width: 760px; margin-bottom: var(--o-section-gap); }
.o-sec-head .o-lead{ color: var(--o-color-muted); }
.o-sec-head--center{ align-items: center; text-align: center; margin-inline: auto; }
.o-sec-head--split{ max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: var(--o-space-6); }
.o-sec-head--split > div{ max-width: 640px; display: flex; flex-direction: column; gap: var(--o-space-4); }

/* --------------------------------------------------------------------------
   9. NAVIGATION
   -------------------------------------------------------------------------- */
.o-nav{ position: sticky; top: 0; z-index: var(--o-z-nav); background: color-mix(in srgb, var(--o-color-bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--o-color-line); }
.o-nav__in{ display: flex; align-items: center; gap: var(--o-space-6); min-height: 72px; }
.o-nav__logo{ height: 26px; width: auto; flex: none; }
.o-nav__logo img, .o-nav__logo svg{ height: 100%; width: auto; }
.o-nav__links{ display: flex; align-items: center; gap: var(--o-space-5); margin-inline-start: var(--o-space-4); }
.o-nav__links a{ font-size: var(--o-size-small); font-weight: var(--o-weight-body-strong); color: var(--o-color-text); padding: 6px 0; border-bottom: 2px solid transparent; transition: color var(--o-duration-fast) var(--o-ease), border-color var(--o-duration-fast) var(--o-ease); }
.o-nav__links a:hover, .o-nav__links a[aria-current="page"]{ color: var(--o-color-accent); border-color: var(--o-color-accent); }
.o-nav__end{ margin-inline-start: auto; display: flex; align-items: center; gap: var(--o-space-3); }
.o-lang{ display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--o-radius-pill); border: 1px solid var(--o-color-line-strong); font-size: 14px; font-weight: var(--o-weight-body-strong); color: var(--o-color-text); background: var(--o-color-surface); transition: all var(--o-duration-base) var(--o-ease); }
.o-lang:hover{ border-color: var(--o-color-accent); color: var(--o-color-accent); }
.o-lang:lang(en){ font-family: var(--o-font-body-ar); font-weight: 700; } /* the switch shows the other language in its own face */
.o-lang:lang(ar){ font-family: var(--o-font-body-en); font-weight: 500; }
.o-nav__menu{ display: none; width: 44px; height: 44px; border-radius: var(--o-radius-sm); border: 1px solid var(--o-color-line-strong); background: transparent; color: var(--o-color-text); place-items: center; cursor: pointer; }
[data-surface="dark"] .o-nav{ background: rgba(0,0,0,.72); }

/* --------------------------------------------------------------------------
   10. HERO · white, one idea, a quiet glow; or dark with the purple light
   -------------------------------------------------------------------------- */
.o-hero{ position: relative; padding-block: var(--o-space-11) var(--o-space-10); overflow: hidden; background: var(--o-color-bg); }
.o-hero--light::before{ content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(92,17,209,.14), rgba(92,17,209,0)); pointer-events: none; }
.o-hero__grid{ display: grid; grid-template-columns: 7fr 5fr; gap: var(--o-space-9); align-items: center; }
.o-hero__copy{ display: flex; flex-direction: column; gap: var(--o-space-5); }
.o-hero__sub{ font-size: var(--o-size-lead); line-height: var(--o-lh-lead); color: var(--o-color-muted); max-width: 56ch; }
.o-hero__ctas{ display: flex; flex-wrap: wrap; gap: var(--o-space-3); padding-top: var(--o-space-2); }
.o-hero__note{ font-size: var(--o-size-caption); color: var(--o-color-muted); }
.o-hero--dark{ background: var(--o-black); }

/* --------------------------------------------------------------------------
   11. PAIR · what is in the way / what you want
   -------------------------------------------------------------------------- */
.o-pair{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--o-gutter); }
.o-pair__col{ border-radius: var(--o-radius-lg); padding: var(--o-space-6); display: flex; flex-direction: column; gap: var(--o-space-4); background: var(--o-color-surface-alt); }
.o-pair__col--want{ background: var(--o-color-accent); color: var(--o-white); }
.o-pair__col--want .o-pair__h{ color: var(--o-white); }
.o-pair__h{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: var(--o-size-h4); color: var(--o-color-heading); }
.o-pair__h:lang(en){ font-family: var(--o-font-body); font-weight: 500; }
.o-pair__list{ display: flex; flex-direction: column; gap: var(--o-space-3); }
.o-pair__list li{ display: flex; gap: var(--o-space-3); align-items: flex-start; font-size: var(--o-size-body); line-height: var(--o-lh-body); }
.o-pair__list .o-icon{ width: 22px; height: 22px; margin-top: .15em; color: var(--o-color-muted); }
.o-pair__col--want .o-pair__list .o-icon{ color: var(--o-mint); }

/* --------------------------------------------------------------------------
   12. TRUST BAR
   -------------------------------------------------------------------------- */
.o-trust{ display: flex; flex-direction: column; gap: var(--o-space-4); padding-block: var(--o-space-6); border-block: 1px solid var(--o-color-line); }
.o-trust__line{ display: flex; align-items: center; gap: var(--o-space-3); font-size: var(--o-size-body); color: var(--o-color-heading); font-weight: var(--o-weight-body-strong); }
.o-trust__line .o-icon{ color: var(--o-color-accent); }
.o-trust__names{ display: flex; flex-wrap: wrap; gap: var(--o-space-2) var(--o-space-6); font-size: var(--o-size-small); color: var(--o-color-muted); }

/* --------------------------------------------------------------------------
   13. FIT · for you / not for you
   -------------------------------------------------------------------------- */
.o-fit{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--o-gutter); }
.o-fit__card{ display: flex; gap: var(--o-space-4); padding: var(--o-space-5); border-radius: var(--o-radius-lg); border: 1px solid var(--o-color-line); background: var(--o-color-surface); align-items: flex-start; }
.o-fit__card--yes{ border-color: transparent; background: var(--o-color-success-soft); }
.o-fit__card--yes .o-icon-badge{ background: var(--o-color-success); color: var(--o-ink); }
.o-fit__card--no .o-icon-badge{ background: var(--o-surface-box); color: var(--o-color-muted); }
.o-fit__k{ font-size: var(--o-size-caption); color: var(--o-color-muted); margin-bottom: 4px; }
.o-fit__t{ font-size: var(--o-size-body); line-height: var(--o-lh-body); color: var(--o-color-heading); }

/* --------------------------------------------------------------------------
   14. PACKAGE CARDS
   -------------------------------------------------------------------------- */
.o-pkgs{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--o-gutter); align-items: stretch; }
.o-pkg{ position: relative; display: flex; flex-direction: column; gap: var(--o-space-5); padding: var(--o-space-6); background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-radius: var(--o-radius-lg); transition: box-shadow var(--o-duration-base) var(--o-ease), transform var(--o-duration-base) var(--o-ease); }
.o-pkg:hover{ box-shadow: var(--o-shadow-md); transform: translateY(-2px); }
.o-pkg--recommended{ border-color: var(--o-color-accent); box-shadow: 0 0 0 1px var(--o-color-accent), var(--o-shadow-md); }
.o-pkg__badge{ position: absolute; top: -14px; inset-inline-start: var(--o-space-6); }
.o-pkg__head{ display: flex; flex-direction: column; gap: var(--o-space-1); }
.o-pkg__name{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: var(--o-size-h3); line-height: var(--o-lh-h3); color: var(--o-color-heading); }
.o-pkg__line{ font-size: var(--o-size-small); color: var(--o-color-muted); line-height: var(--o-lh-small); }
.o-pkg__pricing{ display: flex; flex-direction: column; gap: 2px; padding-block: var(--o-space-4); border-block: 1px solid var(--o-color-line); }
.o-pkg__starts{ font-size: var(--o-size-caption); color: var(--o-color-muted); }
.o-pkg__k{ font-size: var(--o-size-caption); font-weight: var(--o-weight-body-strong); color: var(--o-color-heading); margin-bottom: var(--o-space-2); }
.o-pkg__list{ display: flex; flex-direction: column; gap: var(--o-space-2); }
.o-pkg__list li{ display: flex; gap: var(--o-space-2); align-items: flex-start; font-size: var(--o-size-small); line-height: var(--o-lh-small); }
.o-pkg__list .o-icon{ width: 18px; height: 18px; margin-top: .2em; color: var(--o-color-accent); }
.o-pkg__list--added .o-icon{ color: var(--o-color-muted); }
.o-pkg__list--added li{ color: var(--o-color-muted); }
.o-pkg__total{ display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--o-space-3); border-top: 1px solid var(--o-color-line); font-size: var(--o-size-small); color: var(--o-color-muted); }
.o-pkg__total strong{ font-family: var(--o-font-numbers); font-size: var(--o-size-body); color: var(--o-color-heading); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-pkg__cta{ margin-top: auto; }
.o-pkg--award{ background: var(--o-color-surface-alt); border-style: dashed; }
.o-pkg--award .o-pkg__badge .o-badge{ background: var(--o-color-notice); color: var(--o-ink); }

/* --------------------------------------------------------------------------
   15. COMPARISON MATRIX
   -------------------------------------------------------------------------- */
.o-matrix-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--o-color-line); border-radius: var(--o-radius-lg); background: var(--o-color-surface); }
.o-matrix{ width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--o-size-small); min-width: 560px; }
.o-matrix th, .o-matrix td{ padding: var(--o-space-4) var(--o-space-5); border-bottom: 1px solid var(--o-color-line); text-align: start; vertical-align: middle; }
.o-matrix thead th{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: var(--o-size-body); color: var(--o-color-heading); background: var(--o-color-surface-alt); }
.o-matrix thead th:lang(en){ font-family: var(--o-font-body); font-weight: 500; }
.o-matrix thead th:first-child{ border-start-start-radius: var(--o-radius-lg); }
.o-matrix thead th:last-child{ border-start-end-radius: var(--o-radius-lg); }
.o-matrix th.is-recommended{ color: var(--o-color-accent); box-shadow: inset 0 -2px 0 var(--o-color-accent); }
.o-matrix tbody tr:last-child td{ border-bottom: 0; }
.o-matrix tbody th{ font-weight: var(--o-weight-body); color: var(--o-color-text); position: sticky; inset-inline-start: 0; background: var(--o-color-surface); z-index: 1; min-width: 200px; box-shadow: 1px 0 0 var(--o-color-line); }
[dir="rtl"] .o-matrix tbody th{ box-shadow: -1px 0 0 var(--o-color-line); }
.o-matrix td{ text-align: center; }
.o-matrix__group th{ background: var(--o-color-accent-wash); color: var(--o-color-accent); font-size: var(--o-size-caption); font-weight: var(--o-weight-body-strong); }
.o-box{ display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: var(--o-radius-xs); border: 1.5px solid var(--o-color-line-strong); background: transparent; vertical-align: middle; }
.o-box--on{ background: var(--o-color-accent); border-color: var(--o-color-accent); color: var(--o-white); }
.o-box--on .o-icon{ width: 14px; height: 14px; stroke-width: 2.5; }
.o-box--part{ border-color: var(--o-color-accent); background: var(--o-color-accent-soft); }
.o-box--part::after{ content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--o-color-accent); }
.o-matrix__key{ display: flex; flex-wrap: wrap; gap: var(--o-space-5); margin-top: var(--o-space-3); font-size: var(--o-size-caption); color: var(--o-color-muted); }
.o-matrix__key span{ display: inline-flex; align-items: center; gap: 8px; }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.o-faq{ border-top: 1px solid var(--o-color-line); }
.o-faq__item{ border-bottom: 1px solid var(--o-color-line); }
.o-faq__q{ display: flex; align-items: center; justify-content: space-between; gap: var(--o-space-4); width: 100%; padding: var(--o-space-5) 0; background: none; border: 0; cursor: pointer; text-align: start; font-family: var(--o-font-body); font-size: var(--o-size-lead); font-weight: var(--o-weight-body-strong); color: var(--o-color-heading); line-height: var(--o-lh-lead); list-style: none; }
.o-faq__q::-webkit-details-marker{ display: none; }
.o-faq__q .o-icon{ color: var(--o-color-accent); transition: transform var(--o-duration-base) var(--o-ease); }
.o-faq__item[open] .o-faq__q .o-icon{ transform: rotate(45deg); }
.o-faq__a{ padding: 0 0 var(--o-space-5); color: var(--o-color-muted); max-width: 70ch; font-size: var(--o-size-body); line-height: var(--o-lh-body); }

/* --------------------------------------------------------------------------
   17. REQUEST FORM · three steps
   -------------------------------------------------------------------------- */
.o-form{ background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-radius: var(--o-radius-xl); padding: var(--o-space-7); display: flex; flex-direction: column; gap: var(--o-space-6); max-width: 760px; }
.o-form__head{ display: flex; flex-direction: column; gap: var(--o-space-2); }
.o-form__title{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: var(--o-size-h3); line-height: var(--o-lh-h3); color: var(--o-color-heading); }
.o-form__intro{ color: var(--o-color-muted); font-size: var(--o-size-body); }
.o-progress{ display: flex; align-items: center; gap: var(--o-space-3); }
.o-progress__label{ font-size: var(--o-size-caption); font-weight: var(--o-weight-body-strong); color: var(--o-color-accent); white-space: nowrap; }
.o-progress__bar{ flex: 1; height: 4px; border-radius: 2px; background: var(--o-color-line); overflow: hidden; }
.o-progress__fill{ height: 100%; background: var(--o-color-accent); border-radius: 2px; transition: width var(--o-duration-slow) var(--o-ease); }
.o-fields{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--o-space-5) var(--o-space-4); }
.o-field{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.o-field--full{ grid-column: 1 / -1; }
.o-field__label{ font-size: var(--o-size-small); font-weight: var(--o-weight-body-strong); color: var(--o-color-heading); }
.o-field__label .o-req{ color: var(--o-color-emphasis); margin-inline-start: 2px; }
.o-field__help{ font-size: var(--o-size-caption); color: var(--o-color-muted); line-height: var(--o-lh-caption); }
.o-field__error{ display: none; font-size: var(--o-size-caption); color: var(--o-color-error); align-items: center; gap: 6px; }
.o-field.is-error .o-field__error{ display: inline-flex; }
.o-field.is-error .o-input, .o-field.is-error .o-select{ border-color: var(--o-color-error); background: var(--o-color-error-soft); }
.o-input, .o-select, .o-textarea{ width: 100%; min-height: 48px; padding: 0 var(--o-space-4); font: inherit; font-size: var(--o-size-body); color: var(--o-color-text); background: var(--o-color-surface); border: 1.5px solid var(--o-color-line-strong); border-radius: var(--o-radius-sm); transition: border-color var(--o-duration-fast) var(--o-ease), box-shadow var(--o-duration-fast) var(--o-ease); }
.o-textarea{ min-height: 96px; padding-block: var(--o-space-3); resize: vertical; }
.o-input::placeholder{ color: var(--o-color-faint); }
/* URLs, emails and numbers stay left-to-right inside an Arabic form; the label above still reads right-to-left */
.o-input[type="url"], .o-input[type="email"], .o-input[type="tel"], .o-input--ltr{ direction: ltr; text-align: start; }
[dir="rtl"] .o-input[type="url"], [dir="rtl"] .o-input[type="email"], [dir="rtl"] .o-input--ltr{ text-align: right; }
[dir="rtl"] .o-input[type="url"]::placeholder, [dir="rtl"] .o-input[type="email"]::placeholder, [dir="rtl"] .o-input--ltr::placeholder{ direction: ltr; }
.o-input:hover, .o-select:hover{ border-color: var(--o-text-muted); }
.o-input:focus, .o-select:focus, .o-textarea:focus{ outline: none; border-color: var(--o-color-accent); box-shadow: var(--o-shadow-focus); }
.o-input:disabled{ background: var(--o-color-surface-alt); color: var(--o-color-faint); }
.o-select{ appearance: none; padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235C11D1' stroke-width='1.75' 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 14px center; background-size: 20px; }
[dir="rtl"] .o-select{ background-position: left 14px center; }
.o-tel{ display: flex; align-items: stretch; direction: ltr; }
.o-tel__prefix{ display: inline-flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--o-color-line-strong); border-inline-end: 0; border-radius: var(--o-radius-sm) 0 0 var(--o-radius-sm); background: var(--o-color-surface-alt); color: var(--o-color-muted); font-family: var(--o-font-numbers); font-size: var(--o-size-body); white-space: nowrap; }
.o-tel .o-input{ border-radius: 0 var(--o-radius-sm) var(--o-radius-sm) 0; font-family: var(--o-font-numbers); }
.o-check{ display: flex; gap: var(--o-space-3); align-items: flex-start; cursor: pointer; font-size: var(--o-size-small); line-height: var(--o-lh-small); color: var(--o-color-text); }
.o-check input{ appearance: none; flex: none; width: 22px; height: 22px; margin: .1em 0 0; border: 1.5px solid var(--o-color-line-strong); border-radius: var(--o-radius-xs); background: var(--o-color-surface); display: grid; place-items: center; cursor: pointer; transition: all var(--o-duration-fast) var(--o-ease); }
.o-check input:checked{ background: var(--o-color-accent); border-color: var(--o-color-accent); }
.o-check input:checked::after{ content: ""; width: 11px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.o-check input:focus-visible{ box-shadow: var(--o-shadow-focus); outline: none; }
.o-check-group{ display: flex; flex-direction: column; gap: var(--o-space-3); }
.o-form__actions{ display: flex; justify-content: space-between; align-items: center; gap: var(--o-space-3); padding-top: var(--o-space-2); }
.o-form__note{ font-size: var(--o-size-caption); color: var(--o-color-muted); }
.o-form__state{ display: flex; gap: var(--o-space-4); align-items: flex-start; padding: var(--o-space-5); border-radius: var(--o-radius-lg); }
.o-form__state--thanks{ background: var(--o-color-success-soft); color: var(--o-ink); }
.o-form__state--error{ background: var(--o-color-error-soft); color: var(--o-ink); }
.o-form__state .o-icon-badge{ flex: none; }
.o-form__state--thanks .o-icon-badge{ background: var(--o-color-success); color: var(--o-ink); }
.o-form__state--error .o-icon-badge{ background: var(--o-color-error); color: #fff; }

/* --------------------------------------------------------------------------
   18. CHAT SKIN · ASALA
   -------------------------------------------------------------------------- */
.o-chat-launcher{ display: inline-flex; align-items: center; gap: var(--o-space-3); min-height: 56px; padding: 0 var(--o-space-5) 0 var(--o-space-2); border-radius: var(--o-radius-pill); background: var(--o-black); color: var(--o-white); border: 0; cursor: pointer; box-shadow: var(--o-shadow-lg); font-family: var(--o-font-body); font-size: 15px; font-weight: var(--o-weight-button); transition: transform var(--o-duration-base) var(--o-ease), box-shadow var(--o-duration-base) var(--o-ease); }
[dir="rtl"] .o-chat-launcher{ padding: 0 var(--o-space-2) 0 var(--o-space-5); }
.o-chat-launcher:hover{ transform: translateY(-2px); }
.o-chat-launcher__av{ width: 40px; height: 40px; border-radius: 50%; background: var(--o-band-purple); display: grid; place-items: center; position: relative; }
.o-chat-launcher__av::after, .o-chat__av::after{ content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--o-color-live); border: 2px solid var(--o-black); inset-inline-end: -1px; bottom: -1px; }
.o-chat{ width: 380px; max-width: 100%; background: var(--o-color-surface); border-radius: var(--o-radius-lg); box-shadow: var(--o-shadow-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--o-color-line); }
.o-chat__head{ display: flex; align-items: center; gap: var(--o-space-3); padding: var(--o-space-4) var(--o-space-5); background: var(--o-black); color: var(--o-white); position: relative; overflow: hidden; }
.o-chat__head::before{ content: ""; position: absolute; inset: 0; background: var(--o-glow-purple); pointer-events: none; }
.o-chat__head > *{ position: relative; }
.o-chat__av{ width: 40px; height: 40px; border-radius: 50%; background: var(--o-white); color: var(--o-purple); display: grid; place-items: center; position: relative; flex: none; }
.o-chat__av::after{ border-color: var(--o-black); }
.o-chat__title{ font-family: var(--o-font-display); font-weight: var(--o-weight-display); font-size: 17px; line-height: 1.2; }
.o-chat__title:lang(en){ font-family: var(--o-font-body); font-weight: 500; }
.o-chat__id{ font-size: 12px; color: rgba(255,255,255,.72); }
.o-chat__close{ margin-inline-start: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.o-chat__body{ display: flex; flex-direction: column; gap: var(--o-space-3); padding: var(--o-space-5); background: var(--o-color-surface-alt); min-height: 220px; }
.o-msg{ max-width: 85%; padding: 12px 16px; border-radius: var(--o-radius-md); font-size: 15px; line-height: 1.5; }
.o-msg--bot{ align-self: flex-start; background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-start-start-radius: 4px; color: var(--o-color-text); }
.o-msg--user{ align-self: flex-end; background: var(--o-color-accent); color: var(--o-white); border-start-end-radius: 4px; }
.o-msg__time{ display: block; font-size: 11px; color: var(--o-color-faint); margin-top: 4px; font-family: var(--o-font-numbers); }
.o-chat__quick{ display: flex; flex-wrap: wrap; gap: var(--o-space-2); }
.o-chat__quick .o-chip{ min-height: 34px; font-size: 13px; }
.o-chat__lead{ background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-radius: var(--o-radius-md); padding: var(--o-space-4); display: flex; flex-direction: column; gap: var(--o-space-3); }
.o-chat__lead .o-input{ min-height: 42px; font-size: 14px; }
.o-chat__lead-h{ font-size: 14px; font-weight: var(--o-weight-body-strong); color: var(--o-color-heading); }
.o-chat__input{ display: flex; align-items: center; gap: var(--o-space-2); padding: var(--o-space-3) var(--o-space-4); border-top: 1px solid var(--o-color-line); background: var(--o-color-surface); }
.o-chat__input .o-input{ border: 0; background: transparent; min-height: 40px; padding-inline: 6px; }
.o-chat__input .o-input:focus{ box-shadow: none; }
.o-chat__send{ width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--o-color-accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.o-chat__foot{ padding: 6px var(--o-space-4) 10px; font-size: 11px; color: var(--o-color-faint); text-align: center; background: var(--o-color-surface); }

/* --------------------------------------------------------------------------
   19. TOOL PANEL · calculator and health check share one shell
   -------------------------------------------------------------------------- */
.o-tool{ background: var(--o-color-surface); border: 1px solid var(--o-color-line); border-radius: var(--o-radius-xl); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.o-tool__q{ padding: var(--o-space-7); display: flex; flex-direction: column; gap: var(--o-space-5); }
.o-tool__opts{ display: flex; flex-direction: column; gap: var(--o-space-2); }
.o-opt{ display: flex; align-items: center; justify-content: space-between; gap: var(--o-space-3); padding: 14px var(--o-space-4); border: 1.5px solid var(--o-color-line-strong); border-radius: var(--o-radius-sm); background: var(--o-color-surface); cursor: pointer; font-size: var(--o-size-small); color: var(--o-color-text); transition: all var(--o-duration-fast) var(--o-ease); }
.o-opt:hover{ border-color: var(--o-color-accent); background: var(--o-color-accent-wash); }
.o-opt.is-active{ border-color: var(--o-color-accent); background: var(--o-color-accent-soft); color: var(--o-color-accent); font-weight: var(--o-weight-body-strong); }
.o-tool__r{ padding: var(--o-space-7); background: var(--o-black); color: var(--o-white); position: relative; display: flex; flex-direction: column; gap: var(--o-space-5); justify-content: center; overflow: hidden; }
.o-tool__r::before{ content: ""; position: absolute; inset: 0; background: var(--o-glow-purple-edge); pointer-events: none; }
.o-tool__r > *{ position: relative; }
.o-tool__r .o-stat__value{ color: var(--o-white); }
.o-tool__r .o-stat__label{ color: rgba(255,255,255,.7); }
.o-bands{ display: flex; gap: 4px; height: 8px; border-radius: 4px; overflow: hidden; }
.o-bands span{ flex: 1; background: rgba(255,255,255,.16); }
.o-bands span.is-on{ background: var(--o-mint); }
.o-bands span.is-mid{ background: var(--o-yellow); }
.o-bands span.is-low{ background: var(--o-pink); }
.o-ring{ --v: 72; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--o-mint) calc(var(--v) * 1%), rgba(255,255,255,.14) 0); position: relative; }
.o-ring::before{ content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--o-black); }
.o-ring span{ position: relative; font-family: var(--o-font-numbers); font-size: 32px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: proportional-nums; }

/* --------------------------------------------------------------------------
   20. SECTION CLOSER · every section ends here
   -------------------------------------------------------------------------- */
.o-closer{ display: flex; align-items: center; justify-content: space-between; gap: var(--o-space-5); margin-top: var(--o-section-gap); padding-top: var(--o-space-5); border-top: 1px solid var(--o-color-line); }
.o-closer__t{ font-size: var(--o-size-body); color: var(--o-color-muted); max-width: 56ch; }

/* --------------------------------------------------------------------------
   21. FOOTER · Space Black
   -------------------------------------------------------------------------- */
.o-footer{ background: var(--o-black); color: var(--o-white); padding-block: var(--o-space-9) var(--o-space-6); position: relative; overflow: hidden; }
.o-footer::before{ content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 100%, rgba(92,17,209,.45), rgba(0,0,0,0) 70%); pointer-events: none; }
.o-footer > .o-art{ opacity: .45; } /* a light-family art can sit under the whole footer; the page adds it */
/* --------------------------------------------------------------------------
   24. DOT SCREEN · a photo through the brand grid, in CSS. Greyscale, purple
   duotone, a dot screen on top: purple dots on white. No canvas, works anywhere.
   -------------------------------------------------------------------------- */
.o-dotted{ position: relative; overflow: hidden; background: #fff; isolation: isolate; }
.o-dotted img{ display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.6) brightness(1.08); }
.o-dotted::before{ content: ""; position: absolute; inset: 0; z-index: 1; background: var(--o-purple); mix-blend-mode: lighten; }
.o-dotted::after{ content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at center, transparent 0 1.35px, #fff 1.6px) 0 0 / 5px 5px; }
.o-dotted--dark{ background: #000; }
.o-dotted--dark img{ filter: grayscale(1) contrast(1.35) brightness(1.05); mix-blend-mode: screen; }
.o-dotted--dark::before{ background: #C9A9FF; mix-blend-mode: multiply; }
.o-dotted--dark::after{ background: radial-gradient(circle at center, transparent 0 1.35px, #000 1.6px) 0 0 / 5px 5px; }
.o-dotted--blue{ background: var(--o-blue); }
.o-dotted--blue img{ filter: grayscale(1) contrast(1.35) brightness(1.1); mix-blend-mode: screen; }
.o-dotted--blue::before{ display: none; }
.o-dotted--blue::after{ background: radial-gradient(circle at center, transparent 0 1.35px, var(--o-blue) 1.6px) 0 0 / 5px 5px; }

/* the globe under the footer: a box on the end side, larger than the footer so the globe is cropped at the bottom */
.o-footer__globe{ position: absolute; top: -8%; bottom: -34%; inset-inline-end: -12%; width: 54%; pointer-events: none; opacity: .55; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%); mask-image: linear-gradient(to bottom, #000 55%, transparent 96%); }
.o-footer__globe .o-art{ background: transparent; }
.o-footer > .o-container{ position: relative; }
.o-footer__top{ display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--o-space-8) var(--o-gutter); padding-bottom: var(--o-space-7); border-bottom: 1px solid rgba(255,255,255,.14); }
.o-footer__brand{ display: flex; flex-direction: column; gap: var(--o-space-4); }
.o-footer__brand img{ height: 28px; width: auto; }
.o-footer__tag{ color: rgba(255,255,255,.72); font-size: var(--o-size-small); max-width: 36ch; }
.o-footer__h{ font-size: var(--o-size-caption); font-weight: var(--o-weight-body-strong); color: rgba(255,255,255,.55); margin-bottom: var(--o-space-3); }
.o-footer__col ul{ display: flex; flex-direction: column; gap: 10px; }
.o-footer__col a{ font-size: var(--o-size-small); color: var(--o-white); opacity: .88; }
.o-footer__col a:hover{ opacity: 1; color: #C9A9FF; }
.o-footer__bottom{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--o-space-3) var(--o-space-6); padding-top: var(--o-space-5); font-size: var(--o-size-caption); color: rgba(255,255,255,.6); }
.o-footer__legal{ display: flex; flex-wrap: wrap; gap: var(--o-space-4); }
.o-disclaimer{ font-size: var(--o-size-caption); color: rgba(255,255,255,.6); max-width: 80ch; line-height: 1.6; padding-top: var(--o-space-4); }
.o-social{ display: flex; gap: var(--o-space-2); }
.o-social a{ width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.o-social a:hover{ background: rgba(255,255,255,.1); }


/* --------------------------------------------------------------------------
   23. BRAND ART · generative canvases (origin-art.js)
   Light family (particles, globe, beam, matrix, horizon, portrait): heroes,
   bands, footer, posts. Texture family (ring, ribbons, mesh, dots, arcs,
   spheres): only inside cards, tiles and work frames, behind glass or a scrim.
   -------------------------------------------------------------------------- */
.o-art{ position: absolute; inset: 0; width: 100%; height: 100%; background: var(--o-night); overflow: hidden; }
.o-art canvas{ width: 100%; height: 100%; display: block; }
.o-art-box{ position: relative; overflow: hidden; border-radius: var(--o-radius-lg); aspect-ratio: 4/3; isolation: isolate; }
.o-art-box--wide{ aspect-ratio: 16/9; } .o-art-box--tall{ aspect-ratio: 3/4; } .o-art-box--square{ aspect-ratio: 1; }
:where(.o-art-box > :not(.o-art)){ position: relative; z-index: 1; }
.o-art-box--scrim::after{ content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.5)); pointer-events: none; }
.o-art-box:hover .o-art{ transform: scale(1.04); }
.o-art{ transition: transform 1.2s var(--o-ease); }

/* Glass panel: white at 86% with blur, sits over art */
.o-glass-panel{ background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-radius: var(--o-radius-lg); padding: var(--o-space-4); color: var(--o-ink); }
.o-glass-panel--dark{ background: rgba(16,0,26,.42); backdrop-filter: blur(10px); color: var(--o-white); }
.o-glass-chip{ display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(16,0,26,.42); backdrop-filter: blur(10px); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.o-glass-chip:lang(ar){ letter-spacing: 0; font-size: 12px; }
.o-meta{ display: flex; gap: 8px; align-items: center; font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.o-meta b{ font-weight: 700; } .o-meta span{ color: var(--o-color-muted); }
.o-meta:lang(ar){ text-transform: none; letter-spacing: 0; font-size: 12px; }

/* Work card: art, chip top-start, glass panel bottom */
.o-work{ position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 3/4; color: var(--o-ink); isolation: isolate; }
.o-work .o-art{ z-index: 0; }
.o-work__chip{ position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; }
.o-work__panel{ position: absolute; inset-inline: 16px; bottom: 16px; z-index: 1; }
.o-work__title{ font-family: var(--o-font-display); font-size: 22px; line-height: 1.18; font-weight: 400; letter-spacing: -0.01em; }

/* Stat chip over art */
.o-stat-chip{ position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; min-width: 96px; padding: 12px 14px; text-align: center; border-radius: 14px; background: rgba(255,255,255,.8); backdrop-filter: blur(12px); color: var(--o-ink); }
.o-stat-chip b{ display: block; font-family: var(--o-font-numbers); font-size: 26px; line-height: 1; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 6px; font-variant-numeric: proportional-nums; direction: ltr; }
.o-stat-chip > span{ display: block; font-size: 10px; line-height: 1.2; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; max-width: 110px; margin: 0 auto; }
.o-stat-chip > span:lang(ar){ letter-spacing: 0; font-size: 11px; }

/* Tiles: art behind, scrim, eyebrow + headline, button at the end */
.o-tiles{ display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: var(--o-space-4); }
.o-tile{ position: relative; overflow: hidden; border-radius: var(--o-radius-lg); min-height: 300px; color: var(--o-white); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--o-space-7); text-decoration: none; isolation: isolate; }
.o-tile .o-art{ z-index: -1; transition: transform 1.4s var(--o-ease); }
.o-tile:hover .o-art{ transform: scale(1.045); }
.o-tile .o-art::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,0,26,.05) 20%, rgba(16,0,26,.55) 55%, rgba(16,0,26,.85)); }
.o-tile--top{ justify-content: flex-start; }
.o-tile--top .o-art::after{ background: linear-gradient(180deg, rgba(16,0,26,.45), rgba(16,0,26,.05) 75%); }
.o-tile--big{ grid-row: span 2; min-height: 620px; }
.o-tile .o-eyebrow{ color: var(--o-white); margin-bottom: 12px; }
.o-tile__h{ font-family: var(--o-font-display); font-size: var(--o-size-h2); line-height: var(--o-lh-h2); font-weight: var(--o-weight-display); letter-spacing: var(--o-tracking-heading); max-width: 560px; }
.o-tile__sub{ margin-top: 12px; font-size: var(--o-size-body); color: rgba(255,255,255,.86); }
.o-tile .o-btn{ align-self: flex-end; margin-top: var(--o-space-6); }
.o-tile--top .o-btn{ margin-top: auto; }

/* Band: a dark card with art and a scrim, headline at the start, copy and button at the end */
.o-band{ position: relative; overflow: hidden; min-height: 328px; border-radius: var(--o-radius-lg); color: var(--o-white); display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--o-space-7); padding: 36px 32px 32px; isolation: isolate; }
.o-band .o-art{ z-index: -1; }
.o-band .o-art::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,0,26,.72), rgba(16,0,26,.15) 60%, rgba(16,0,26,.35)); }
[dir="rtl"] .o-band .o-art::after{ background: linear-gradient(270deg, rgba(16,0,26,.72), rgba(16,0,26,.15) 60%, rgba(16,0,26,.35)); }
.o-band__h{ font-family: var(--o-font-display); font-size: var(--o-size-h2); line-height: var(--o-lh-h2); font-weight: var(--o-weight-display); letter-spacing: var(--o-tracking-heading); }
.o-band__side{ display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: var(--o-space-5); }
.o-band__side p{ font-size: var(--o-size-body); color: rgba(255,255,255,.9); max-width: 420px; }
.o-band__side .o-btn{ align-self: flex-end; }

/* Pill header: two floating glass pills */
.o-nav--pill{ position: sticky; top: 16px; z-index: var(--o-z-nav); background: transparent; border: 0; backdrop-filter: none; pointer-events: none; }
.o-nav--pill .o-nav__in{ justify-content: space-between; align-items: flex-start; min-height: 0; }
.o-pill{ pointer-events: auto; display: flex; align-items: center; height: 64px; padding: 0 8px; border-radius: 20px; background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 2px rgba(16,0,26,.12), 0 2px 6px rgba(16,0,26,.08); gap: 2px; }
.o-pill__btn{ display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 0; background: transparent; color: var(--o-ink); cursor: pointer; transition: background var(--o-duration-base); }
.o-pill__btn:hover{ background: var(--o-surface-box); }
.o-pill__btn--menu{ background: var(--o-surface-soft); }
.o-pill__logo{ display: flex; align-items: center; height: 48px; padding: 0 14px; }
.o-pill__logo img{ height: 22px; width: auto; }
.o-pill .o-link-u{ padding: 0 14px 0 8px; height: 48px; display: flex; align-items: center; border-radius: 14px; }
.o-pill .o-lang{ margin-inline: 4px; }

/* Offices row with local-time dot, for the footer */
.o-offices{ margin-top: var(--o-space-8); padding-top: var(--o-space-5); border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--o-space-4); }
.o-office b{ display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.o-office span{ display: block; font-size: 12.5px; color: rgba(255,255,255,.6); }
.o-office time{ display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-variant-numeric: tabular-nums; font-family: var(--o-font-numbers); color: var(--o-white); direction: ltr; }
.o-office time::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.o-office time.is-open::before{ background: var(--o-mint); box-shadow: 0 0 0 3px rgba(11,255,185,.18); }

/* Newsletter bar: glass bar over a dark art band */
.o-newsbar{ display: flex; align-items: center; gap: var(--o-space-5); justify-content: space-between; padding: 22px 24px 22px 32px; border-radius: var(--o-radius-lg); background: rgba(255,255,255,.93); backdrop-filter: blur(18px) saturate(1.3); color: var(--o-ink); box-shadow: var(--o-shadow-lg); }
.o-newsbar__t{ font-family: var(--o-font-display); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.o-newsbar__f{ display: flex; align-items: center; width: min(440px,100%); height: 50px; padding: 4px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--o-line); }
.o-newsbar__f .o-input{ border: 0; min-height: 40px; background: transparent; flex: 1; width: auto; min-width: 0; }
.o-newsbar__f .o-input:focus{ box-shadow: none; }
.o-newsbar__f .o-btn{ min-height: 42px; }

/* --------------------------------------------------------------------------
   22. PHONE · 640px and under, by container width
   -------------------------------------------------------------------------- */

@container o-frame (max-width: 640px){
  .o-grid, .o-grid--2, .o-grid--3, .o-grid--4, .o-pair, .o-fit, .o-pkgs, .o-tool, .o-steps:not(.o-steps--list){ grid-template-columns: 1fr; }
  .o-span-4, .o-span-5, .o-span-6, .o-span-7, .o-span-8{ grid-column: span 1; }
  .o-stats, .o-stats--3{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--o-space-5) var(--o-space-4); }
  .o-nav__in{ min-height: 64px; gap: var(--o-space-3); }
  .o-nav__links{ display: none; }
  .o-nav__menu{ display: grid; }
  .o-nav__cta{ display: none; }
  .o-hero__grid{ grid-template-columns: 1fr; gap: var(--o-space-6); }
  .o-hero{ padding-block: var(--o-space-8) var(--o-space-8); }
  .o-hero__ctas .o-btn{ width: 100%; }
  .o-sec-head--split{ flex-direction: column; align-items: flex-start; }
  .o-steps:not(.o-steps--list){ gap: var(--o-space-5); }
  .o-pkg__badge{ inset-inline-start: var(--o-space-5); }
  .o-pkg{ padding: var(--o-space-5); }
  .o-form{ padding: var(--o-space-5); border-radius: var(--o-radius-lg); }
  .o-fields{ grid-template-columns: 1fr; }
  .o-form__actions{ flex-direction: column-reverse; align-items: stretch; }
  .o-form__actions .o-btn{ width: 100%; }
  .o-closer{ flex-direction: column; align-items: stretch; }
  .o-closer .o-btn{ width: 100%; }
  .o-chat{ width: 100%; border-radius: var(--o-radius-lg) var(--o-radius-lg) 0 0; }
  .o-footer__top{ grid-template-columns: 1fr 1fr; }
  .o-tiles{ grid-template-columns: 1fr; }
  .o-tile--big{ grid-row: auto; min-height: 460px; }
  .o-tile{ padding: var(--o-space-5); }
  .o-band{ grid-template-columns: 1fr; gap: var(--o-space-4); padding: 28px 24px; }
  .o-offices{ grid-template-columns: 1fr 1fr; }
  .o-newsbar{ flex-direction: column; align-items: stretch; padding: 22px; }
  .o-newsbar__f{ width: 100%; }
  .o-pill{ height: 56px; border-radius: 16px; }
  .o-pill .o-link-u{ display: none; }
  .o-footer__brand{ grid-column: 1 / -1; }
  .o-footer__bottom{ flex-direction: column; }
  .o-tool__q, .o-tool__r{ padding: var(--o-space-5); }
  .o-pair__col, .o-card{ padding: var(--o-space-5); }
  .o-trust__names{ gap: var(--o-space-2) var(--o-space-4); }
}
