/* Main Street Media: site styles
   Concept: a shopfront. The header is the sign, a striped awning hangs over the
   top of each page and over the final call to action. Light pages, deep navy
   bands for weight, one teal accent, phone mockups doing the showing.
   Works in English (ltr) and Arabic (rtl): logical properties throughout. */

/* ---------- Fonts (self-hosted Readex Pro, variable weight; HEXP axis on Latin) ---------- */
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/readex-pro-latin.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/readex-pro-arabic.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ---------- Tokens ----------
   Light is the default for everyone. Dark applies only when the visitor
   presses the moon button (data-theme="dark" on <html>). */
:root {
  /* brand */
  --navy: #14213D;
  --navy-deep: #0F1A30;
  --teal: #0E8C80;
  --teal-light: #5CC8BB;
  --mist: #EEF2F5;
  --mint: #CFEAE6;

  /* roles, light */
  --bg: #FFFFFF;
  --surface: #EEF2F5;
  --card: #FFFFFF;
  --ink: #0F1A30;
  --ink-soft: #46526A;
  --line: #D8DFE6;
  --line-strong: #A3B1BE;
  --accent: #0A6E66;
  --accent-hover: #075A53;
  --accent-deco: #0E8C80;
  --accent-soft: #D4ECE8;
  --btn: #14213D;
  --btn-hover: #0A1326;
  --btn-fg: #FFFFFF;
  --band: #111C34;
  --band-2: #18264A;
  --on-band: #FFFFFF;
  --on-band-soft: #B9C4D6;
  --on-band-accent: #5CC8BB;
  --on-band-line: rgba(255, 255, 255, .14);
  --awn-a: #0E8C80;
  --awn-b: #FFFFFF;
  --awn-rail: #14213D;
  --awn-line: #14213D;
  --phone-frame: #0C1529;
  --phone-edge: #2B3B60;
  --header-bg: rgba(255, 255, 255, .96);
  --shadow: 0 22px 44px -22px rgba(15, 26, 48, .45);
  --shadow-soft: 0 10px 30px -18px rgba(15, 26, 48, .35);
  --focus: #0A6E66;
  --ok: #0A6E66;
  --error: #B42318;
  --overlay: rgba(9, 15, 30, .86);

  /* type */
  --font: "Readex Pro", system-ui, "Segoe UI", Tahoma, sans-serif;
  --wide: "HEXP" 34;
  --step--1: .875rem;
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.22rem + .8vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.35rem, 1.6rem + 3.4vw, 4.4rem);

  /* space */
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --band-pad: clamp(56px, 7vw, 104px);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
}

:root[data-theme="dark"] {
  --bg: #111C34; --surface: #16233F; --card: #1D2C4E; --ink: #EEF2F5; --ink-soft: #AEBAD0;
  --line: #2C3D66; --line-strong: #4A5E8E; --accent: #5CC8BB; --accent-hover: #86D9CF; --accent-deco: #5CC8BB;
  --accent-soft: #1F4E5F; --btn: #5CC8BB; --btn-hover: #86D9CF; --btn-fg: #0F1A30;
  --band: #0A1326; --band-2: #12203F; --on-band: #FFFFFF; --on-band-soft: #AEBAD0; --on-band-accent: #5CC8BB;
  --awn-a: #5CC8BB; --awn-b: #1D2C4E; --awn-rail: #EEF2F5; --awn-line: #0A1326;
  --phone-frame: #070D1C; --phone-edge: #3A4F80; --header-bg: rgba(17, 28, 52, .96);
  --shadow: 0 22px 44px -22px rgba(0, 0, 0, .7); --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, .6);
  --focus: #5CC8BB; --ok: #5CC8BB; --error: #FF8A80; --overlay: rgba(3, 7, 16, .9);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
html.i18n-wait body { visibility: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; text-wrap: balance; letter-spacing: -0.015em; }
h1, h2 { font-variation-settings: var(--wide); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent-hover); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
bdi { unicode-bidi: isolate; }

/* Arabic mode */
html[lang="ar"] body { line-height: 1.75; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .ar-dup { display: none !important; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-fg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * 40px); margin-inline: auto; padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px)); }

/* ---------- Bands ---------- */
.band { padding-block: var(--band-pad); background: var(--bg); }
.band--mist { background: var(--surface); }
.band--navy { background: var(--band); color: var(--on-band); }
.band--tight { padding-block: clamp(40px, 5vw, 64px); }
.band-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.band-head h2 { font-size: var(--step-3); }
.band-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.band--navy .band-head p { color: var(--on-band-soft); }

/* ---------- Arabic lines inside English pages ---------- */
.ar { font-size: 1.12em; line-height: 1.7; text-align: left; direction: rtl; font-weight: 500; }
html[dir="rtl"] .ar { text-align: right; }
.ar-inline { font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); color: var(--btn-fg); }
.btn--primary .wa-glyph { color: var(--on-band-accent); }
:root[data-theme="dark"] .btn--primary .wa-glyph { color: currentColor; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn--sm { min-height: 44px; padding: .5em 1.05em; font-size: .95rem; }
.band--navy .btn--primary, .channel--main .btn--primary, .vform-actions .btn--primary { background: var(--on-band-accent); color: #0F1A30; }
.band--navy .btn--primary .wa-glyph, .channel--main .btn--primary .wa-glyph { color: #0F1A30; }
.band--navy .btn--primary:hover, .channel--main .btn--primary:hover, .vform-actions .btn--primary:hover { background: #86D9CF; color: #0F1A30; }
.band--navy .btn--secondary, .vform-actions .btn--secondary { color: var(--on-band); border-color: rgba(255, 255, 255, .55); }
.band--navy .btn--secondary:hover, .vform-actions .btn--secondary:hover { background: rgba(255, 255, 255, .08); border-color: #FFFFFF; color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.phone figcaption .text-link { white-space: nowrap; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-deco); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--header-bg); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-inline-end: auto; padding-block: 8px; direction: ltr; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none;
  --lm-s: #14213D; --lm-bg: #FFFFFF; --lm-win: #CFEAE6; --lm-glint: #FFFFFF; --lm-a: #0E8C80; --lm-b: #FFFFFF; --lm-bar: #14213D; }
:root[data-theme="dark"] .brand-mark, .site-footer .brand-mark {
  --lm-s: #FFFFFF; --lm-bg: #14213D; --lm-win: #1F4E5F; --lm-glint: #5CC8BB; --lm-a: #5CC8BB; --lm-b: #14213D; --lm-bar: #FFFFFF; }
.brand-mark .lm-s { stroke: var(--lm-s); }
.brand-mark .lm-bg { fill: var(--lm-bg); }
.brand-mark .lm-win { fill: var(--lm-win); }
.brand-mark .lm-glint { stroke: var(--lm-glint); }
.brand-mark .lm-a { fill: var(--lm-a); }
.brand-mark .lm-b { fill: var(--lm-b); }
.brand-mark .lm-bar, .brand-mark .lm-knob { fill: var(--lm-bar); }
.brand-word { display: grid; line-height: 1; text-align: left; }
.brand-name { font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand-sub { font-weight: 600; font-size: .62rem; letter-spacing: .42em; color: var(--accent); margin-top: 4px; padding-left: 1px; }

.site-nav ul { list-style: none; display: flex; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 999px;
}
.site-nav a:hover { background: var(--surface); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent-deco); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px;
  border-radius: 12px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  cursor: pointer; font-weight: 600; font-size: .95rem;
}
.tool-btn:hover { border-color: var(--ink); background: var(--surface); }
.tool-btn svg { width: 20px; height: 20px; }
.no-js .tool-btn { display: none; }
.lang-btn { min-width: 56px; }
.lang-btn .lang-to-ar { font-size: 1.05rem; line-height: 1; padding-bottom: 2px; }
.lang-btn .lang-to-en { display: none; letter-spacing: .04em; }
html[lang="ar"] .lang-btn .lang-to-ar { display: none; }
html[lang="ar"] .lang-btn .lang-to-en { display: inline; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter-r) 16px var(--gutter); display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 2px; }
  .js .site-nav a { min-height: 52px; padding: 0 12px; font-size: 1.1rem; border-radius: 12px; width: 100%; }
  .js .site-nav a[aria-current="page"] { box-shadow: none; background: var(--surface); }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .site-nav { order: 3; width: 100%; padding-bottom: 8px; }
  .no-js .site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 1023px) and (min-width: 600px) { .header-wa { order: -1; } }
@media (max-width: 599px) {
  .header-wa { display: none; }
  .header-actions { gap: 6px; }
  .tool-btn { min-width: 42px; height: 42px; padding: 0 8px; }
  .menu-btn { width: 42px; height: 42px; }
  .lang-btn { min-width: 50px; }
}
@media (max-width: 359px) { .brand-word { display: none; } }

/* ---------- Awning (signature) ---------- */
.awning { display: block; width: 100%; height: 34px; color: var(--awn-line); }
.awning .awn-a { fill: var(--awn-a); }
.awning .awn-b { fill: var(--awn-b); }
.awning .awn-rail { fill: var(--awn-rail); }
.awning .awn-s { stroke: var(--awn-line); stroke-width: 1.5; }

/* ---------- Hero ---------- */
.hero { background: var(--surface); position: relative; overflow: hidden; }
.hero-inner { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.025em; line-height: 1.02; }
html[lang="ar"] .hero h1 { line-height: 1.25; letter-spacing: 0; }
.hero h1 .line { display: block; }
.hero-sub { font-size: var(--step-2); font-weight: 500; line-height: 1.25; color: var(--ink); font-variation-settings: "HEXP" 10; }
.hero-ar { color: var(--accent); font-size: var(--step-1); max-width: 34rem; }
.hero-lead { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; max-width: 36rem; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: var(--step--1); }
.hero-note svg { width: 18px; height: 18px; color: var(--accent-deco); flex: none; }
.hero-art { display: grid; justify-items: center; min-width: 0; }

/* ---------- Phone mockup ----------
   Drawn at real size (390 x 844: status bar 44 + page 746 + browser bar 54) and
   scaled as one piece, so the parts always line up. Dark screen behind the page,
   so sub-pixel seams never show white. Not clickable unless .phone--click. */
.phone { --s: .74; --fp: 11px; margin: 0; display: grid; justify-items: center; gap: 14px; direction: ltr; }
.phone-frame {
  position: relative; display: block; padding: var(--fp);
  border-radius: calc(54px * var(--s) + var(--fp));
  background: var(--phone-frame);
  box-shadow: var(--shadow), inset 0 0 0 1.5px var(--phone-edge);
}
.phone-screen {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  width: calc(390px * var(--s)); height: calc(844px * var(--s));
  border-radius: calc(54px * var(--s)); background: #14213D;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.phone-device {
  position: absolute; top: 0; left: 0; width: 390px; height: 844px;
  display: flex; flex-direction: column; background: #14213D;
  transform: scale(var(--s)); transform-origin: 0 0;
}
.phone-status, .vw-status {
  position: relative; flex: 0 0 44px; display: flex; align-items: center; justify-content: space-between;
  padding: 4px 30px 0 40px; color: #FFFFFF; background: #14213D;
  font: 600 16px/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .01em;
}
.phone-status svg, .vw-status svg { height: 13px; width: auto; display: block; }
.ps-island { position: absolute; left: 50%; top: 8px; width: 116px; height: 32px; margin-left: -58px; border-radius: 18px; background: #000000; }
.ps-icons { display: flex; align-items: center; gap: 6px; }
.phone-view { position: relative; z-index: 1; display: block; flex: 0 0 746px; height: 746px; overflow: hidden; background: #FFFFFF; }
.phone-shot, .phone-tall {
  position: absolute; top: 0; left: 0; display: block; width: 390px; max-width: none;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.phone-shot { height: 746px; object-fit: cover; object-position: top; }
/* the long picture of the whole page, scrolled slowly on hover (or once on phones) */
.phone-tall { height: auto; opacity: 0; will-change: transform; transition: transform var(--dur, 1s) cubic-bezier(.45, .05, .4, 1); }
.phone-view.is-tall .phone-tall { opacity: 1; }
.phone-view.is-tall .phone-shot { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone-bar, .vw-bottom {
  position: relative; flex: 0 0 54px; display: flex; justify-content: center; padding-top: 7px;
  background: #F3F5F7; border-top: 1px solid #E1E5EA;
}
.pb-url {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 18px; border-radius: 10px;
  background: #E3E7EC; color: #1E293B; font: 500 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif; white-space: nowrap;
}
.pb-url svg { width: 11px; height: 13px; flex: none; }
.phone-home { position: absolute; left: 50%; bottom: 5px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: #1E293B; }
.phone-frame, .phone-frame * { cursor: default; }
.phone-hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; cursor: pointer; }
.phone-hit:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.phone--click .phone-frame { transition: transform .25s ease, box-shadow .25s ease; }
.phone--click:hover .phone-frame { transform: translateY(-4px); box-shadow: 0 30px 50px -24px rgba(15, 26, 48, .55), inset 0 0 0 1.5px var(--phone-edge); }
.phone figcaption { font-size: var(--step--1); color: var(--ink-soft); text-align: center; max-width: 38ch; line-height: 1.5; direction: inherit; }
html[dir="rtl"] .phone figcaption { direction: rtl; }
.phone--sm { --s: .58; --fp: 9px; }
@media (max-width: 899px) { .hero .phone { --s: .66; --fp: 10px; } }
@media (max-width: 380px) { .hero .phone { --s: .6; --fp: 9px; } .phone--sm { --s: .54; --fp: 8px; } }

/* ---------- Instagram section ---------- */
.search-demo { margin-bottom: clamp(32px, 4vw, 48px); max-width: 32rem; user-select: none; }
.search-label { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; }
.search-line {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  color: var(--ink); font-size: var(--step-1); margin-bottom: 10px; cursor: default;
}
.search-line svg { width: 22px; height: 22px; color: var(--ink-soft); flex: none; }
.search-line .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); margin-inline-start: 2px; vertical-align: -0.15em; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.search-caption { color: var(--ink-soft); font-size: var(--step--1); }
.reasons { display: grid; gap: clamp(28px, 4vw, 40px); list-style: none; }
@media (min-width: 820px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reason { display: grid; gap: 12px; align-content: start; }
.reason h3 { font-size: var(--step-1); }
.reason p { color: var(--ink-soft); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Check list ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.split > * { min-width: 0; }
.check-list { list-style: none; display: grid; gap: 4px; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.check-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.check-list .check { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-deco); color: #FFFFFF; display: grid; place-items: center; margin-top: 1px; }
.check-list .check svg { width: 16px; height: 16px; }
.check-list strong { display: block; font-weight: 600; }
.check-list .sub { display: block; color: var(--ink-soft); font-size: .95em; }
.band--navy .check-list li { border-top-color: var(--on-band-line); }
.band--navy .check-list .check { background: var(--on-band-accent); color: #0F1A30; }
.band--navy .check-list .sub { color: var(--on-band-soft); }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; display: grid; gap: 24px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.step { display: grid; gap: 12px; align-content: start; position: relative; padding-top: 4px; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--accent-deco); color: var(--accent); font-weight: 700; font-size: 1.1rem; background: var(--bg);
  position: relative; z-index: 1;
}
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 27px; inset-inline-start: 58px; inset-inline-end: -20px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
  }
}
.step h3 { font-size: var(--step-1); }
.step p { color: var(--ink-soft); }
.steps-foot { margin-top: clamp(32px, 4vw, 48px); padding: 20px 22px; border-radius: var(--radius); background: var(--surface); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.steps-foot > div { display: grid; gap: 4px; }
.steps-foot strong { font-size: var(--step-1); font-variation-settings: var(--wide); }
.steps-foot p { color: var(--ink-soft); }

/* ---------- Example cards (home) ---------- */
.swipe-hint { display: none; align-items: center; gap: 8px; color: var(--ink-soft); font-size: var(--step--1); margin: -12px 0 14px; }
.swipe-hint svg { width: 18px; height: 18px; }
.examples { display: grid; gap: 32px; }
@media (min-width: 640px) { .examples { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 640px) and (max-width: 899px) { .examples .phone--sm { --s: .42; --fp: 7px; } }
@media (max-width: 639px) {
  .examples {
    grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .examples::-webkit-scrollbar { display: none; }
  .example-card { scroll-snap-align: center; }
  .swipe-hint { display: flex; }
}
.example-card { display: grid; justify-items: center; gap: 18px; text-align: center; }
.example-card h3 { font-size: var(--step-1); }
.example-card .meta { color: var(--ink-soft); font-size: var(--step--1); }
.example-card .body { display: grid; gap: 4px; justify-items: center; }
.ex-label { font-size: .8rem; font-weight: 600; color: var(--accent); letter-spacing: .02em; }
.ex-label::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deco); margin-inline-end: 7px; vertical-align: .1em; }
.ex-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.ex-actions .btn--sm { min-height: 40px; padding: .4em .95em; font-size: .9rem; }
.ex-actions .btn--sm svg { width: 1.1em; height: 1.1em; }

/* ---------- About band (home) ---------- */
.about-band { display: grid; gap: 20px; max-width: 46rem; }
.about-band h2 { font-size: var(--step-3); }
.about-band p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; }

/* ---------- Final CTA ---------- */
.cta-band { padding-block: 0 var(--band-pad); }
.cta-band .awning { margin-bottom: clamp(36px, 5vw, 64px); }
.cta { display: grid; gap: 20px; max-width: 44rem; }
.cta h2 { font-size: var(--step-3); }
.cta p { color: var(--on-band-soft); font-size: var(--step-1); }
.cta .ar { color: var(--on-band-accent); }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--surface); }
.page-head-inner { display: grid; gap: 16px; padding-block: clamp(28px, 5vw, 56px) clamp(44px, 6vw, 80px); max-width: 52rem; }
.page-head h1 { font-size: var(--step-4); letter-spacing: -0.025em; line-height: 1.03; }
html[lang="ar"] .page-head h1 { line-height: 1.25; letter-spacing: 0; }
.page-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; max-width: 40rem; }

/* ---------- Services ---------- */
.services { display: grid; gap: 20px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.service { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service-top { display: flex; align-items: center; gap: 14px; }
.service h2 { font-size: var(--step-2); font-variation-settings: "HEXP" 20; }
.service > p { color: var(--ink-soft); }
.service .check-list li { padding: 10px 0; }
.service .btn { justify-self: start; margin-top: 4px; }
.fine { font-size: .92rem; color: var(--ink-soft); }
.scope-note { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; max-width: 46rem; }
.scope-note h2 { font-size: var(--step-2); margin-bottom: 8px; font-variation-settings: "HEXP" 20; }
.scope-note p { color: var(--ink-soft); }

/* ---------- Work page ---------- */
.work-list { display: grid; gap: clamp(56px, 8vw, 104px); }
.work-item { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 860px) {
  .work-item { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .work-item:nth-child(even) .phone { order: 2; }
}
.work-copy { display: grid; gap: 14px; min-width: 0; max-width: 34rem; }
.work-copy h2 { font-size: var(--step-3); }
.work-copy .meta { color: var(--ink-soft); }
.work-copy dl { margin: 0; display: grid; gap: 14px; }
.work-copy dt { font-weight: 600; }
.work-copy dd { margin: 2px 0 0; color: var(--ink-soft); }
.work-copy .ex-actions { justify-content: flex-start; margin-top: 6px; }
.honest-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); max-width: 40rem; }
.honest-note svg { width: 22px; height: 22px; flex: none; color: var(--accent-deco); margin-top: 2px; }

/* ---------- About page ---------- */
.prose { display: grid; gap: 18px; max-width: 40rem; }
.prose h2 { font-size: var(--step-3); }
.prose p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.6; }
.prose p strong { color: var(--ink); font-weight: 600; }
.about-steps { list-style: none; display: grid; counter-reset: s; max-width: 44rem; }
.about-steps li { counter-increment: s; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--on-band-line); }
.about-steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--on-band-accent); color: var(--on-band-accent); display: grid; place-items: center; font-weight: 700; }
.about-steps strong { display: block; font-weight: 600; font-size: var(--step-1); }
.about-steps p { color: var(--on-band-soft); }
.who { display: grid; gap: 10px; list-style: none; max-width: 52rem; }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .who { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.who-btn {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: border-color .15s ease, background-color .15s ease;
}
.who-btn svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.who-btn svg:last-child { margin-inline-start: auto; color: var(--ink-soft); width: 18px; height: 18px; }
.who-btn:hover { border-color: var(--accent-deco); background: var(--surface); color: var(--ink); }
.who-btn:hover svg:last-child { color: var(--accent); }
.signoff { display: grid; gap: 10px; padding-top: 24px; border-top: 2px solid var(--ink); max-width: 40rem; }
.signoff .line { color: var(--ink); font-size: var(--step-2); font-weight: 700; font-variation-settings: var(--wide); line-height: 1.25; }
.signoff .who-signs { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.channels { display: grid; gap: 16px; }
@media (min-width: 760px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .channel--main { grid-row: span 2; align-content: center; } }
.channel { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.channel--main { background: var(--band); color: var(--on-band); border-color: transparent; }
.channel h2 { font-size: var(--step-1); font-variation-settings: "HEXP" 20; }
.channel p { color: var(--ink-soft); }
.channel--main p { color: var(--on-band-soft); }
.channel .value { font-size: var(--step-1); font-weight: 600; color: var(--ink); user-select: all; overflow-wrap: anywhere; }
html[dir="rtl"] .channel .value { text-align: right; }
.channel--main .value { color: var(--on-band); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; }
.copy-btn svg { width: 18px; height: 18px; }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn.is-done { border-color: var(--ok); color: var(--ok); }
.copy-btn--dark { color: var(--on-band); border-color: rgba(255, 255, 255, .45); }
.copy-btn--dark:hover { border-color: #FFFFFF; }
.copy-btn--dark.is-done { color: var(--on-band-accent); border-color: var(--on-band-accent); }

/* ---------- Vision form ---------- */
.vision { display: grid; gap: clamp(28px, 4vw, 40px); }
.vision-head { display: grid; gap: 12px; max-width: 44rem; }
.vision-head h2 { font-size: var(--step-3); }
.vision-head p { color: var(--ink-soft); font-size: var(--step-1); }
.vision-head .ar { color: var(--accent); }
.vision-layout { display: grid; gap: 24px; align-items: start; }
.vision-main { min-width: 0; }
@media (min-width: 1000px) {
  .vision-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .next-box { grid-column: 2; grid-row: 1; position: sticky; top: 96px; }
  .vision-main { grid-column: 1; grid-row: 1; }
}
.next-box { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong); }
.next-box h3 { font-size: var(--step-1); }
.next-steps { list-style: none; display: grid; gap: 14px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.next-steps strong { font-weight: 600; }
.next-steps span { color: var(--ink-soft); font-size: .95rem; }
.vform { display: grid; gap: 18px; }
.vform fieldset { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); background: var(--card); display: grid; gap: 18px; min-width: 0; }
.band--mist .vform fieldset { border-color: transparent; }
.vform legend { padding: 0; float: left; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-weight: 700; font-size: var(--step-1); margin-bottom: 2px; }
html[dir="rtl"] .vform legend { float: right; }
.vform legend + * { clear: both; }
.vform legend .n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .95rem; flex: none; }
.vform legend .lg-en { flex: 1 1 13rem; }
.vform legend .ar-inline { margin-inline-start: auto; text-align: right; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 680px) { .field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lbl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-weight: 600; }
.lbl .ar-inline { color: var(--ink-soft); font-weight: 500; margin-inline-start: auto; }
.lbl .opt { color: var(--ink-soft); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: none; padding-inline-end: 42px; }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; inset-inline-end: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; pointer-events: none; color: var(--ink-soft); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input::placeholder, .textarea::placeholder { color: var(--ink-soft); opacity: .75; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-grid; min-height: 48px; align-content: center; padding: 6px 16px;
  border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--bg); cursor: pointer;
  line-height: 1.3; transition: background-color .12s ease, border-color .12s ease;
}
.chip b { font-weight: 500; }
.chip span small { font-size: .8rem; color: var(--ink-soft); }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--btn); border-color: var(--btn); color: var(--btn-fg); }
.chip input:checked + span small { color: inherit; opacity: .85; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip--radio span { border-radius: 999px; }
.field-error { color: var(--error); font-size: .92rem; font-weight: 500; }
.vform-actions { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--band); color: var(--on-band); }
.vform-actions p { color: var(--on-band-soft); font-size: .95rem; }
.vform-status { font-size: .95rem; color: var(--on-band); }
.vform-status:empty { display: none; }
.vform-status[data-kind="error"] { color: #FFD3CE; font-weight: 500; }
.vform-note { color: var(--on-band-soft); font-size: .88rem; }
.link-btn { background: none; border: 0; padding: 0; margin-inline-start: 4px; color: var(--on-band-accent); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; min-height: 32px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.thanks { display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--card); border: 2px solid var(--accent-deco); }
.thanks h3 { font-size: var(--step-2); font-variation-settings: var(--wide); }
.thanks p { color: var(--ink-soft); font-size: var(--step-1); }
.thanks .ar { color: var(--accent); }
.thanks .preview-note { font-size: .92rem; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--ink-soft); }
.hp { position: absolute !important; inset-inline-start: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); color: var(--on-band); padding-block: clamp(44px, 6vw, 72px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.cta-band + .site-footer, .band--navy + .site-footer { padding-top: 0; }
.footer-grid { display: grid; gap: 32px; padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--on-band-line); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer-brand .brand { margin: 0; color: #FFFFFF; }
.footer-brand .brand-sub { color: var(--on-band-accent); }
.footer-brand p { color: var(--on-band-soft); }
.footer-tag { color: var(--on-band-accent) !important; font-size: 1.05rem; }
.site-footer h2 { font-size: .95rem; font-weight: 600; color: var(--on-band-soft); margin-bottom: 10px; font-variation-settings: normal; letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: #FFFFFF; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--on-band-accent); }
.footer-links svg { width: 18px; height: 18px; color: var(--on-band-accent); flex: none; }
.footer-base { margin-top: 32px; color: var(--on-band-soft); font-size: .88rem; }
.site-footer :focus-visible { outline-color: var(--on-band-accent); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 45;
  inset-inline-end: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-deco); color: #FFFFFF; box-shadow: 0 10px 24px -6px rgba(15, 26, 48, .5);
}
.wa-float:hover { background: var(--accent); color: #FFFFFF; }
.wa-float svg { width: 28px; height: 28px; }
:root[data-theme="dark"] .wa-float { color: #0F1A30; }
@media (max-width: 759px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
html.viewer-open .wa-float { display: none; }

/* ---------- Example viewer (full screen, mobile or desktop) ---------- */
html.viewer-open, html.viewer-open body { overflow: hidden; }
.viewer {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  background: var(--overlay); color: #FFFFFF;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 64px; flex-wrap: wrap; }
.viewer-id { display: grid; line-height: 1.2; margin-inline-end: auto; min-width: 0; }
.viewer-kicker { font-size: .78rem; color: #B9C4D6; font-weight: 500; }
.viewer-id strong { font-size: 1.1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.seg-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: #FFFFFF; font-weight: 600; font-size: .95rem; cursor: pointer; }
.seg-btn svg { width: 18px; height: 18px; }
.seg-btn[aria-pressed="true"] { background: #FFFFFF; color: #0F1A30; }
.seg-btn:focus-visible { outline: 3px solid #5CC8BB; outline-offset: 2px; }
.viewer-actions { display: flex; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #FFFFFF; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .16); color: #FFFFFF; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--close { background: #FFFFFF; color: #0F1A30; border-color: #FFFFFF; }
.icon-btn--close:hover { background: #E3E9EE; color: #0F1A30; }
.icon-btn:focus-visible { outline: 3px solid #5CC8BB; outline-offset: 2px; }
.viewer-stage { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; padding: 4px 12px 8px; direction: ltr; }
.vw { display: grid; place-items: center; width: 100%; height: 100%; }
.vw-box { position: relative; }
.vw-device { position: absolute; top: 0; left: 0; transform-origin: 0 0; display: flex; flex-direction: column; overflow: hidden; background: #14213D; }
.vw-device iframe { display: block; flex: 1 1 auto; width: 100%; max-width: none; border: 0; background: #FFFFFF; }
.vw-top { flex: none; }
.vw[data-mode="mobile"] .vw-device { border-radius: 54px; box-shadow: 0 0 0 12px #070D1C, 0 0 0 13.5px #3A4F80, 0 40px 80px -30px rgba(0, 0, 0, .8); }
.vw[data-mode="mobile"] .vw-chrome { display: none; }
.vw[data-mode="mobile"] .vw-status { display: flex; }
.vw[data-mode="desktop"] .vw-device { border-radius: 12px; background: #DDE3E9; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.vw[data-mode="desktop"] .vw-status, .vw[data-mode="desktop"] .vw-bottom { display: none; }
.vw-chrome { display: flex; align-items: center; gap: 18px; height: 40px; padding: 0 16px; background: #E9EDF1; border-bottom: 1px solid #D3D9E0; }
.vw-dots { display: flex; gap: 8px; }
.vw-dots i { width: 12px; height: 12px; border-radius: 50%; background: #C7CED6; display: block; }
.vw-dots i:first-child { background: #F26B5E; } .vw-dots i:nth-child(2) { background: #F6BE4F; } .vw-dots i:nth-child(3) { background: #61C554; }
.vw-chrome .pb-url { flex: 1 1 auto; max-width: 560px; margin-inline: auto; justify-content: center; background: #FFFFFF; height: 26px; font-size: 13px; }
.viewer-hint { text-align: center; font-size: .85rem; color: #B9C4D6; padding: 0 16px 12px; }
@media (max-width: 599px) {
  .viewer-bar { padding: 8px 12px; gap: 8px; }
  .viewer-id { order: 1; flex: 1 1 auto; }
  .viewer-actions { order: 2; }
  .seg { order: 3; width: 100%; justify-content: center; }
  .seg-btn { flex: 1 1 0; justify-content: center; }
  .viewer-actions [data-viewer-step], .viewer-actions #viewer-newtab { display: none; }
  .viewer-hint { display: none; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
