:root.lang-boot body { visibility: hidden; }
/* silvrmap.com: clean white page, Almarai type, one teal accent, flat surfaces. */
:root {
  /* Same tokens as the dashboard, so the marketing site and the app read as one product. */
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --alt: #f8fafc;
  --surface: #ffffff;
  --accent: #0e7490;
  --accent-hover: #155e75;
  --accent-soft: #ecfeff;
  --accent-ink: #155e75;
  /* shadcn radii: 6px controls, 8px cards and panels, 12px for the framed previews. */
  --radius: 12px;

  /* Design tokens. Four systems only: spacing on a 4px grid, a 1.25 type scale, three
     leading steps, three elevation levels. Every size below is a step in one of them. */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-20: 20px; --sp-24: 24px;
  --sp-28: 28px; --sp-32: 32px; --sp-36: 36px; --sp-40: 40px; --sp-44: 44px; --sp-48: 48px;
  --sp-56: 56px; --sp-64: 64px;
  --fs-12: 12px; --fs-15: 15px; --fs-19: 19px; --fs-23: 23px;
  --fs-29: 29px; --fs-37: 37px; --fs-46: 46px; --fs-57: 57px;
  --lh-1: 1; --lh-1-15: 1.15; --lh-1-4: 1.4; --lh-1-7: 1.7;
  --e1: 0 1px 2px rgba(15, 23, 42, 0.05);
  --e2: 0 4px 12px -8px rgba(15, 23, 42, 0.14);
  --e3: 0 24px 48px -28px rgba(15, 23, 42, 0.28);
  --control: 48px;      /* primary control height */
  --control-sm: 44px;   /* minimum tap target */
  --r-sm: 6px;          /* control corner (shadcn rounded-md) */
  --panel: 8px;         /* card corner (shadcn rounded-lg) */
}

* { box-sizing: border-box; }
/* Language menu: Arabic, English, Urdu */
.lang-wrap { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 70; display: grid; gap: 2px; min-width: 150px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--panel); box-shadow: var(--e3); }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 0 var(--sp-12); border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.lang-menu button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.lang-menu button[aria-checked="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
/* Urdu: a Naskh face that has every Urdu letter, with a little more line height than Arabic */
:root[lang="ur"] body, :root[lang="ur"] button, :root[lang="ur"] input, :root[lang="ur"] textarea, .lang-menu button[lang="ur"] {
  font-family: "Noto Naskh Arabic", "Almarai", system-ui, sans-serif;
}
:root[lang="ur"] body { line-height: 1.8; }
/* "Coming soon" next to a feature that is announced but not switched on yet (WhatsApp through Meta). */
.soon { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-12); font-weight: 700; line-height: 1.6; vertical-align: middle; white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Almarai", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: var(--fs-15);
  color: var(--ink);
  background: var(--bg);
  line-height: var(--lh-1-7);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[lang="en"] body { font-family: "Inter", "Almarai", system-ui, sans-serif; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
/* Arrows point left (forward in Arabic); mirror them in English */
[dir="ltr"] .flip { transform: scaleX(-1); }

/* ---------- Buttons (shadcn/ui: 6px radius, hairline border, whisper of elevation) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8);
  height: var(--control); padding: 0 var(--sp-20); border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: var(--fs-15); font-weight: 600; line-height: var(--lh-1); cursor: pointer; white-space: nowrap;
  box-shadow: var(--e1);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:focus-visible, .lang:focus-visible, .menu-btn:focus-visible, summary:focus-visible, .links a:focus-visible, .theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-line { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--alt); border-color: var(--line-2); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); box-shadow: none; }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { height: var(--control-sm); padding: 0 var(--sp-16); font-size: var(--fs-15); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: var(--sp-36); height: 68px; }
.brand { display: flex; align-items: center; gap: var(--sp-8); min-height: var(--control-sm); flex: 0 0 auto; }
/* The lockup ships as four files (Arabic/English x light/dark); exactly one is shown. */
.brand-logo { display: none; height: 32px; width: auto; flex: 0 0 auto; }
:root[lang="ar"] .brand-logo[data-lang="ar"][data-tone="light"],
:root[lang="en"] .brand-logo[data-lang="en"][data-tone="light"] { display: block; }
:root[data-theme="dark"][lang="ar"] .brand-logo[data-lang="ar"][data-tone="light"],
:root[data-theme="dark"][lang="en"] .brand-logo[data-lang="en"][data-tone="light"] { display: none; }
:root[data-theme="dark"][lang="ar"] .brand-logo[data-lang="ar"][data-tone="dark"],
:root[data-theme="dark"][lang="en"] .brand-logo[data-lang="en"][data-tone="dark"] { display: block; }
@media (max-width: 420px) { .brand-logo { height: 26px; } .nav .brand { min-width: 0; } }
.brand-name { font-size: var(--fs-23); font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
[lang="en"] .brand-name { font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -0.03em; }
.brand-accent { color: var(--accent); }
.links { display: flex; gap: var(--sp-4); }
/* shadcn nav links: quiet ghost rows that pick up the sunk surface on hover. */
.links a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: var(--control-sm); padding-inline: var(--sp-12); border-radius: var(--r-sm); font-size: var(--fs-15); font-weight: 500; color: var(--ink-2); transition: background-color 0.15s, color 0.15s; }
.links a:hover { background: var(--alt); color: var(--ink); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: var(--sp-16); }
.lang { display: inline-flex; align-items: center; gap: var(--sp-8); height: var(--control-sm); padding: 0 var(--sp-12); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); box-shadow: var(--e1); font-size: var(--fs-12); font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.lang:hover { background: var(--alt); }
.lang .icon { width: 17px; height: 17px; }
.menu-btn { display: none; width: var(--control-sm); height: var(--control-sm); border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); box-shadow: var(--e1); color: var(--ink); place-items: center; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: var(--sp-8) var(--sp-20) var(--sp-16); }
.mobile-menu a { display: block; padding: var(--sp-12) 0; font-weight: 700; border-bottom: 1px solid var(--alt); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu.open { display: block; }

/* ---------- Shared type ---------- */
/* shadcn badge: 6px radius, hairline accent border, no pill. */
.tag { display: inline-flex; align-items: center; gap: var(--sp-4); padding: 2px var(--sp-8); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-ink); font-size: var(--fs-12); font-weight: 600; line-height: 20px; }
.h2 { font-size: clamp(var(--fs-23), 3.2vw, var(--fs-37)); line-height: var(--lh-1-15); font-weight: 800; letter-spacing: -0.01em; margin-top: var(--sp-16); }
.sub { margin-top: var(--sp-16); font-size: var(--fs-19); color: var(--muted); max-width: 640px; }
.head { text-align: center; margin-bottom: var(--sp-36); }
.head .sub { margin-inline: auto; }
.head.start { text-align: start; margin-bottom: 0; }
.head.start .sub { margin-inline: 0; }
.section { padding: var(--sp-32) 0; }
.alt { background: var(--alt); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding: var(--sp-32) 0; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-56); align-items: center; }
h1 { font-size: clamp(var(--fs-29), 5vw, var(--fs-57)); line-height: var(--lh-1-15); font-weight: 800; letter-spacing: -0.015em; margin-top: var(--sp-16); }
.hl { color: var(--accent); }
.lead { margin-top: var(--sp-20); font-size: clamp(var(--fs-15), 1.4vw, var(--fs-19)); color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-12); margin-top: var(--sp-32); }
.ticks { list-style: none; padding: 0; margin: var(--sp-28) 0 0; display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-24); font-size: var(--fs-15); color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: var(--sp-8); }
.ticks .icon { width: 17px; height: 17px; color: var(--accent); stroke-width: 2.4; }

.service-preview { padding: var(--sp-24); display: grid; gap: var(--sp-16); }
.service-preview h2 { font-size: var(--fs-23); line-height: var(--lh-1-4); }
.service-preview > p { color: var(--muted); font-size: var(--fs-12); }
.service-preview > .tag { justify-self: start; }
.service-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-8); }
.service-metrics > div { padding: var(--sp-12); border: 1px solid var(--line); border-radius: var(--panel); background: var(--alt); }
.service-metrics strong { display: block; font-size: var(--fs-23); direction: ltr; text-align: start; }
.service-metrics span { color: var(--muted); font-size: var(--fs-12); }
.service-review { padding: var(--sp-16); border: 1px solid var(--line); border-radius: var(--panel); }
.service-review b { display: block; margin-block: var(--sp-8); }
.service-review p { min-height: 4.2em; font-size: var(--fs-12); color: var(--muted); }
.review-demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8); margin-top: var(--sp-12); font-size: var(--fs-12); color: var(--muted); }
.review-demo-controls [hidden] { display: none; }
/* Maps-inspired review anatomy; this is an illustrative Silvrmap demo, not a live Google embed. */
.maps-review { border-radius: 12px; background: var(--surface); }
.maps-reviewer { display: flex; align-items: center; gap: 12px; }
.maps-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #7e57c2; color: #fff; font-weight: 700; }
.maps-reviewer > div { flex: 1; min-width: 0; }
.maps-reviewer strong, .maps-owner-reply > strong { display: block; font-size: 14px; font-weight: 700; }
.maps-reviewer small, .maps-rating small, .maps-owner-reply > small { display: block; color: var(--muted); font-size: 12px; }
.maps-more { color: var(--muted); font-size: 23px; }
.maps-rating { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.maps-rating .stars { color: #fbbc04; letter-spacing: 1px; }
.service-review .maps-review-text { margin-block: 8px 16px; font-size: 14px; font-weight: 400; }
.maps-owner-reply { margin-inline-start: 20px; padding-inline-start: 16px; border-inline-start: 3px solid var(--line); }
.maps-owner-reply p { margin-top: 8px; color: var(--ink-2); line-height: 1.7; }
.maps-owner-reply.is-draft { border-color: var(--accent); background: var(--alt); border-radius: 6px; padding-block: 8px; padding-inline-end: 8px; }
.maps-review .review-demo-controls { border-top: 1px solid var(--line); padding-top: 12px; }
.maps-review .review-demo-controls .btn { background: #1a73e8; border-color: #1a73e8; border-radius: 999px; }
.maps-review .review-demo-controls .btn:hover { background: #1558b0; border-color: #1558b0; }
.service-summary { display: flex; flex-wrap: wrap; gap: var(--sp-8); font-size: var(--fs-12); color: var(--accent-ink); }
.service-summary span { background: var(--accent-soft); padding: var(--sp-4) var(--sp-8); border-radius: var(--r-sm); }
@media (max-width: 640px) {
  .service-preview { padding: var(--sp-16); }
  .service-metrics strong { font-size: var(--fs-19); }
  .service-metrics > div { padding: var(--sp-8); }
}

/* Product preview */
.mock { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--e3); }
.mock-top { display: flex; align-items: center; gap: var(--sp-12); height: 38px; padding: 0 var(--sp-16); border-bottom: 1px solid var(--line); background: var(--alt); }
.dots { display: flex; gap: var(--sp-8); direction: ltr; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6dae1; }
.mock-url { margin-inline: auto; font-size: var(--fs-12); color: var(--muted); direction: ltr; font-family: "Inter", sans-serif; }
.mock-body { display: flex; height: 420px; }
.mock-list { width: 38%; flex-shrink: 0; border-inline-end: 1px solid var(--line); padding: var(--sp-12); display: flex; flex-direction: column; gap: var(--sp-4); }
.m-tabs { display: flex; gap: var(--sp-8); margin-bottom: var(--sp-8); font-size: var(--fs-12); font-weight: 700; }
.m-tabs b, .m-tabs span { padding: var(--sp-4) var(--sp-8); border-radius: 999px; color: var(--muted); background: var(--alt); }
.m-tabs b { background: var(--ink); color: #fff; }
.m-item { display: flex; align-items: center; gap: var(--sp-8); padding: var(--sp-8) var(--sp-8); border-radius: 10px; }
.m-item.active { background: var(--accent-soft); }
.m-item div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: var(--lh-1-4); }
.m-item b { font-size: var(--fs-12); }
.m-item small { font-size: var(--fs-12); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-size: var(--fs-12); }
.ch { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ch.wa { background: #25d366; } .ch.ig { background: #e1306c; } .ch.tg { background: #229ed9; } .ch.web { background: var(--ink); }
.mock-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--alt); }
.c-head { display: flex; align-items: center; gap: var(--sp-8); padding: var(--sp-12) var(--sp-16); background: #fff; border-bottom: 1px solid var(--line); }
.c-head div { display: flex; flex-direction: column; flex: 1; line-height: var(--lh-1-4); }
.c-head b { font-size: var(--fs-15); }
.c-head small { font-size: var(--fs-12); color: var(--muted); font-family: "Inter", sans-serif; }
.c-status { font-size: var(--fs-12); font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: var(--sp-4) var(--sp-8); border-radius: 999px; white-space: nowrap; }
.c-body { flex: 1; overflow: hidden; padding: var(--sp-16) var(--sp-16); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-8); }
.msg { max-width: 82%; padding: var(--sp-8) var(--sp-12); border-radius: 12px; font-size: var(--fs-12); line-height: var(--lh-1-4); animation: pop 0.3s ease both; }
.msg.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; }
.msg.out, .msg.ai { align-self: flex-end; background: var(--ink); color: #fff; border-start-end-radius: 4px; }
.msg.ai { background: var(--accent); }
.msg .tag-ai { display: block; font-size: var(--fs-12); font-weight: 700; opacity: 0.8; }
.sys { align-self: center; font-size: var(--fs-12); color: var(--muted); background: #fff; border: 1px solid var(--line); padding: var(--sp-4) var(--sp-12); border-radius: 999px; animation: pop 0.3s ease both; }
.typing { align-self: flex-end; display: flex; gap: var(--sp-4); padding: var(--sp-12) var(--sp-12); border-radius: 12px; background: var(--line); animation: pop 0.25s ease both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0.35; } }
.c-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); margin: 0 var(--sp-12) var(--sp-12); height: 42px; padding-inline: var(--sp-16) var(--sp-4); border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: var(--fs-12); color: var(--muted); }
.c-foot i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.c-foot .icon { width: 16px; height: 16px; }

/* ---------- Channels ---------- */
.channels { padding: var(--sp-24) 0; border-top: 1px solid var(--line); }
.eyebrow { text-align: center; font-size: var(--fs-15); font-weight: 700; color: var(--muted); margin-bottom: var(--sp-20); }
/* Show each available service once, wrapping naturally on smaller screens. */
.marquee { padding-inline: var(--sp-20); }
.track { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-12); width: 100%; padding-block: 8px; }
.track > .chip { animation: service-float 2s ease-in-out infinite; }
.track > .chip:nth-child(2) { animation-delay: -0.65s; }
.track > .chip:nth-child(3) { animation-delay: -1.3s; }
.track:hover > .chip { animation-play-state: paused; }
@keyframes service-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .track > .chip { animation: none; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes slide-rtl { to { transform: translateX(50%); } }
.chip { display: inline-flex; align-items: center; gap: var(--sp-8); height: 44px; padding-inline: var(--sp-8) var(--sp-16); border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--e1); font-size: var(--fs-15); font-weight: 600; white-space: nowrap; }
.chip .logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.chip .logo .icon { width: 17px; height: 17px; }
.chip em { font-style: normal; font-size: var(--fs-12); color: var(--muted); }
.chip.muted { color: var(--muted); }

/* Industries strip: cards in a continuous row that scrolls on its own, like a feed. */
.inds { direction: ltr; overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.inds-row { display: flex; width: max-content; animation: inds-scroll 20s linear infinite; will-change: transform; }
#industries { scroll-margin-top: 92px; }

/* Features strip: the platform tools in the same flowing row as the sectors, with room for a description. */
.feat { direction: ltr; overflow: hidden; margin-top: var(--sp-40, 40px); padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.feat-row { display: flex; width: max-content; animation: inds-scroll 52s linear infinite; will-change: transform; }
.feat-set { display: flex; gap: var(--sp-16); padding-inline-end: var(--sp-16); }
.feat:hover .feat-row, .feat:focus-within .feat-row { animation-play-state: paused; }
.fcard { direction: rtl; display: flex; flex-direction: column; width: 300px; padding: var(--sp-24); border: 1px solid var(--line); border-radius: var(--panel); background: var(--surface); box-shadow: var(--e1); transition: border-color 0.18s, transform 0.18s; }
.fcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.fcard h3 { font-size: var(--fs-17, 17px); font-weight: 800; margin: var(--sp-16) 0 var(--sp-8); line-height: var(--lh-1-4, 1.4); }
.fcard p { font-size: var(--fs-15); color: var(--muted); line-height: var(--lh-1-5, 1.6); }
@media (prefers-reduced-motion: reduce) { .feat-row { animation: none; flex-wrap: wrap; width: auto; } .feat-set:last-child { display: none; } }
@media (max-width: 560px) { .fcard { width: 264px; padding: var(--sp-16); } .feat-row { animation-duration: 40s; } .fcard .ic { width: 38px; height: 38px; border-radius: 10px; } .fcard .ic .icon { width: 20px; height: 20px; } .fcard h3 { margin-top: var(--sp-12); } }
.inds-set { display: flex; gap: var(--sp-12); padding-inline-end: var(--sp-12); }
.inds:hover .inds-row, .inds:focus-within .inds-row { animation-play-state: paused; }
.ind { direction: rtl; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 138px; min-height: 106px; padding: var(--sp-16) var(--sp-12); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--e1); text-align: center; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.ind:hover { border-color: var(--line-2); box-shadow: var(--e2, var(--e1)); transform: translateY(-3px); }
.ind-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, currentColor 15%, transparent); color: var(--accent); }
.ind-ic svg { width: 23px; height: 23px; }
/* Each sector keeps its own hue; the disc is a soft tint of that same colour, so it works in both themes. */

.inds-set > .ind:nth-child(1) .ind-ic { color: #6366f1; }
.inds-set > .ind:nth-child(2) .ind-ic { color: #db2777; }
.inds-set > .ind:nth-child(3) .ind-ic { color: #0891b2; }
.inds-set > .ind:nth-child(4) .ind-ic { color: #ea580c; }
.inds-set > .ind:nth-child(5) .ind-ic { color: #b45309; }
.inds-set > .ind:nth-child(6) .ind-ic { color: #0d9488; }
.inds-set > .ind:nth-child(7) .ind-ic { color: #dc2626; }
.inds-set > .ind:nth-child(8) .ind-ic { color: #c026d3; }
.inds-set > .ind:nth-child(9) .ind-ic { color: #2563eb; }
.inds-set > .ind:nth-child(10) .ind-ic { color: #16a34a; }
.inds-set > .ind:nth-child(11) .ind-ic { color: #0284c7; }
.inds-set > .ind:nth-child(12) .ind-ic { color: #7c3aed; }
.inds-set > .ind:nth-child(13) .ind-ic { color: #f59e0b; }
.inds-set > .ind:nth-child(14) .ind-ic { color: #059669; }
.inds-set > .ind:nth-child(15) .ind-ic { color: #64748b; }
.inds-set > .ind:nth-child(16) .ind-ic { color: #0ea5e9; }
.ind b { font-size: var(--fs-15); font-weight: 700; color: var(--ink); white-space: normal; line-height: 1.35; }
@keyframes inds-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .inds-row { animation: none; flex-wrap: wrap; width: auto; } .inds-set:last-child { display: none; } }
@media (max-width: 560px) { .ind { width: 115px; min-height: 0; padding: 12px 9px; gap: 7px; } .ind-ic { width: 36px; height: 36px; } .ind-ic svg { width: 18px; height: 18px; } .ind b { font-size: 13px; line-height: 1.3; } }

/* ---------- Pillars and cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
.pillar { padding: var(--sp-24); border: 1px solid var(--line); border-radius: var(--panel); background: var(--surface); box-shadow: var(--e1); }
.pillar h3 { font-size: var(--fs-19); font-weight: 800; margin: var(--sp-16) 0 var(--sp-8); line-height: var(--lh-1-4); }
.pillar p { color: var(--muted); }
.ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--panel); padding: var(--sp-24); box-shadow: var(--e1); transition: border-color 0.15s; }
.card:hover { border-color: var(--line-2); }
.card h3 { font-size: var(--fs-19); font-weight: 800; margin: var(--sp-16) 0 var(--sp-8); }
.card p { color: var(--muted); font-size: var(--fs-15); }

/* ---------- Industries ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-16); }
/* One accent for every sector keeps the palette calm; the icon carries the identity. */
.mini { position: relative; overflow: hidden; padding: var(--sp-24); background: var(--surface); border: 1px solid var(--line); border-radius: var(--panel); box-shadow: var(--e1); transition: border-color 0.2s; }
.mini:hover { border-color: var(--line-2); }
.mini .ic { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.mini .icon { width: 22px; height: 22px; }
.mini h3 { font-size: var(--fs-15); font-weight: 800; margin: var(--sp-16) 0 var(--sp-8); }
.mini p { font-size: var(--fs-15); color: var(--muted); }

/* ---------- Pricing: three plans, the recommended one framed in the accent ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--sp-28); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--e1); transition: border-color 0.15s, box-shadow 0.15s; }
.plan:hover { border-color: var(--line-2); }
.plan-head { display: flex; align-items: center; min-height: 24px; }
.plan-badge { display: inline-flex; align-items: center; padding: 2px var(--sp-8); border-radius: var(--r-sm); background: var(--accent); color: #fff; font-size: var(--fs-12); font-weight: 700; line-height: 20px; }
.plan h3 { font-size: var(--fs-19); font-weight: 800; line-height: var(--lh-1-4); margin-top: var(--sp-12); }
.plan-note { margin-top: var(--sp-8); font-size: var(--fs-15); color: var(--muted); line-height: var(--lh-1-4); }
.price { display: flex; align-items: baseline; gap: var(--sp-8); margin-top: var(--sp-20); padding-bottom: var(--sp-20); border-bottom: 1px solid var(--line); }
.price b { font-family: "Inter", sans-serif; font-size: clamp(var(--fs-29), 3.4vw, var(--fs-37)); font-weight: 700; line-height: var(--lh-1); letter-spacing: -0.02em; }
.price span { font-size: var(--fs-15); color: var(--muted); }
.plan-list { list-style: none; padding: 0; margin: var(--sp-20) 0 var(--sp-24); display: grid; gap: var(--sp-12); }
.plan-list li { display: flex; gap: var(--sp-8); font-size: var(--fs-15); color: var(--ink-2); line-height: var(--lh-1-4); }
.plan-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.4; }
.plan .btn { margin-top: auto; width: 100%; justify-content: center; }
.plan.featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--e3); }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }

/* ---------- Google reviews: two reply modes beside the inbox frame ---------- */
.gmb-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--sp-56); align-items: center; }
.gmb-modes { display: grid; gap: var(--sp-12); margin-top: var(--sp-24); }
.mode { display: flex; gap: var(--sp-16); padding: var(--sp-16); border: 1px solid var(--line); border-radius: var(--panel); background: var(--surface); box-shadow: var(--e1); }
.mode .ic { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
/* Semantic icon colours: brands keep their marks; other services use recognisable category colours. */
.ic:has(use[href="#i-megaphone"]), .ic:has(use[href="#i-cart"]), .ic:has(use[href="#i-chart"]) { background: #eff6ff; color: #1d4ed8; }
.ic:has(use[href="#i-bot"]), .ic:has(use[href="#i-cap"]), .ic:has(use[href="#i-users"]) { background: #f5f3ff; color: #6d28d9; }
.ic:has(use[href="#i-food"]), .ic:has(use[href="#i-wrench"]), .ic:has(use[href="#i-key"]) { background: #fff7ed; color: #c2410c; }
.ic:has(use[href="#i-health"]), .ic:has(use[href="#i-alert"]) { background: #fff1f2; color: #be123c; }
.ic:has(use[href="#i-home"]), .ic:has(use[href="#i-box"]), .ic:has(use[href="#i-plane"]) { background: #ecfdf5; color: #047857; }
.ic:has(use[href="#i-lock"]), .ic:has(use[href="#i-shield"]) { background: #ecfdf5; color: #047857; }
.ic:has(use[href="#i-building"]), .ic:has(use[href="#i-list"]) { background: #eff6ff; color: #1d4ed8; }
.ic.brand-google { background: #fff; border: 1px solid var(--line); }
.ic.brand-whatsapp { background: #dcfce7; color: #128c4a; }
.ic > svg { width: 26px; height: 26px; }
.mode b { display: block; font-size: var(--fs-15); font-weight: 800; line-height: var(--lh-1-4); }
.mode p { margin-top: var(--sp-4); font-size: var(--fs-15); color: var(--muted); line-height: var(--lh-1-4); }

/* Google review feed inside the preview window */
.gmb-body { display: flex; height: 420px; background: var(--alt); }
.gmb-side { width: 39%; flex-shrink: 0; padding: var(--sp-12); border-inline-end: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: var(--sp-8); }
.gmb-brand { display: flex; align-items: center; gap: var(--sp-8); }
.g-logo { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-family: "Inter", sans-serif; font-size: var(--fs-15); font-weight: 700; color: #4285f4; }
.gmb-brand div { display: flex; flex-direction: column; min-width: 0; line-height: var(--lh-1-4); }
.gmb-brand b { font-size: var(--fs-12); }
.gmb-brand small { font-size: var(--fs-12); color: var(--muted); }
.gmb-score { display: flex; align-items: center; gap: var(--sp-8); padding: var(--sp-8); border: 1px solid var(--line); border-radius: 10px; }
.gmb-score > b { font-family: "Inter", sans-serif; font-size: var(--fs-29); line-height: var(--lh-1); letter-spacing: -0.02em; }
.gmb-score div { display: flex; flex-direction: column; gap: var(--sp-4); }
.gmb-score small { font-size: var(--fs-12); color: var(--muted); }
.gmb-branch { display: flex; align-items: center; gap: var(--sp-8); padding: var(--sp-8); border-radius: 9px; }
.gmb-branch.on { background: var(--accent-soft); }
.gmb-branch div { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); }
.gmb-branch b { font-size: var(--fs-12); font-weight: 700; }
.gmb-branch small { font-family: "Inter", sans-serif; font-size: var(--fs-12); color: var(--muted); }
.ch.g { background: #4285f4; }
.gmb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--alt); }
.gmb-feed { flex: 1; overflow: hidden; padding: var(--sp-8); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-8); }
.gv { align-self: stretch; max-width: 96%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: var(--sp-8) var(--sp-8); animation: pop 0.32s ease both; }
.gv-top { display: flex; align-items: center; gap: var(--sp-8); }
.gv-top > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: var(--lh-1-4); }
.gv-top b { font-size: var(--fs-12); }
.gv-top small { font-size: var(--fs-12); color: var(--muted); }
.g-badge { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: var(--fs-12); font-weight: 700; color: #4285f4; }
.gv p { margin-top: var(--sp-4); font-size: var(--fs-12); line-height: var(--lh-1-4); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { display: inline-flex; gap: 0; direction: ltr; color: #f59e0b; }
.stars .icon { width: 10px; height: 10px; fill: currentColor; stroke: none; }
.stars .icon.off { opacity: 0.25; }
.gr { align-self: flex-end; max-width: 92%; padding: var(--sp-8) var(--sp-12); border-radius: 12px; border-start-end-radius: 4px; background: var(--accent); color: #fff; font-size: var(--fs-12); line-height: var(--lh-1-4); animation: pop 0.3s ease both; }
.gr.pending { background: #fff; color: var(--ink); border: 1px dashed var(--accent); }
.gr .tag-ai { display: block; font-size: var(--fs-12); font-weight: 700; opacity: 0.85; }
.gr-foot { display: flex; align-items: center; gap: var(--sp-8); margin-top: var(--sp-8); font-size: var(--fs-12); font-weight: 700; opacity: 0.9; }
.gr.pending .gr-foot { opacity: 1; color: var(--accent-ink); }
.gr-btn { font-style: normal; padding: var(--sp-4) var(--sp-8); border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.5); }
.gr.pending .gr-btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.gr.pending .gr-btn.ghost { background: #fff; color: var(--accent-ink); border-color: var(--line-2); }

/* ---------- FAQ: shadcn accordion — one hairline card per question ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: var(--panel); background: transparent; padding: 0 var(--sp-20); transition: background 0.15s, border-color 0.15s; }
.faq details:hover { background: var(--alt); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); padding: var(--sp-16) 0; font-size: var(--fs-15); font-weight: 700; line-height: var(--lh-1-4); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-2); stroke-width: 1.6; transition: transform 0.2s, color 0.2s; }
.faq details[open] { border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--surface); box-shadow: var(--e1); }
.faq details[open] .plus { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding-bottom: var(--sp-20); color: var(--muted); line-height: var(--lh-1-7); }

/* ---------- Final call to action ---------- */
/* ---------- Call band: start a call now, or scan the code on a phone ---------- */
.callband { padding: var(--sp-24) 0 var(--sp-8); }
.callcard {
  display: flex;
  flex-direction: column;
  max-width: 780px;
  margin-inline: auto;
  padding: var(--sp-16) var(--sp-24);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--e1);
}
.callcard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
}
.callcard-txt { display: flex; align-items: center; gap: var(--sp-12); min-width: 0; }
.callcard-txt > div { min-width: 0; }
.callcard-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.callcard-ic .icon { width: 21px; height: 21px; stroke-width: 2; }
.callcard h3 { margin: 0; font-size: var(--fs-19); font-weight: 800; line-height: var(--lh-1-4); color: var(--accent-ink); }
.callcard p { margin: var(--sp-4) 0 0; font-size: var(--fs-15); color: var(--muted); }
.callcard-qr { display: flex; flex-direction: column; align-items: center; gap: var(--sp-8); flex-shrink: 0; }
.callcard-qr img {
  width: 88px;
  height: 88px;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.callcard-qr span { font-size: var(--fs-12); color: var(--muted); text-align: center; max-width: 150px; }
.callcard-btn { height: var(--control); padding: 0 var(--sp-24); border-radius: var(--r-sm); font-size: var(--fs-15); gap: var(--sp-8); flex-shrink: 0; }
.callcard-btn .icon { width: 17px; height: 17px; }
.callcard-btn .cbtn-open,
.callcard-btn .cbtn-shut { display: inline-flex; align-items: center; gap: var(--sp-8); }
.callcard-btn .cbtn-shut { display: none; }
.callcard.open .callcard-btn .cbtn-open { display: none; }
.callcard.open .callcard-btn .cbtn-shut { display: inline-flex; }

/* The call form unfolds right under the banner, never in a separate window. It sits in its own
   narrower panel so the fields are not stretched across the whole card. */
.callpanel {
  display: none;
  width: 100%;
  max-width: 660px;
  margin: var(--sp-16) auto var(--sp-4);
  padding: var(--sp-16) var(--sp-16) var(--sp-16);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--e1);
}
.callcard.open .callpanel { display: block; }
.callpanel-saved { padding: var(--sp-12) var(--sp-16); margin-bottom: var(--sp-16); background: var(--alt); border-radius: 12px; }
.callpanel-saved b { display: block; font-size: var(--fs-15); color: var(--ink); }
.callpanel-saved p { margin: var(--sp-4) 0 var(--sp-8); font-size: var(--fs-12); line-height: var(--lh-1-7); color: var(--muted); }
.callpanel-link { display: inline-flex; align-items: center; min-height: var(--control-sm); padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--fs-12); font-weight: 700; text-decoration: underline; cursor: pointer; }
.cp-field { margin-bottom: var(--sp-12); }
.cp-field label { display: block; margin-bottom: var(--sp-8); font-size: var(--fs-12); font-weight: 700; color: var(--ink-2); }
.cp-field label i { color: #dc2626; font-style: normal; }
.cp-field label em { color: var(--muted); font-style: normal; font-weight: 500; }
.cp-field input,
.cp-field textarea { width: 100%; padding: var(--sp-12); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-15); box-shadow: var(--e1); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.cp-field input:focus,
.cp-field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.cp-field textarea { min-height: 58px; resize: vertical; }
.cp-err { display: none; margin-top: var(--sp-4); font-size: var(--fs-12); color: #dc2626; }
.cp-err.on { display: block; }
.cp-seg { display: flex; gap: var(--sp-8); }
.cp-seg label { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--sp-8); height: var(--control-sm); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; font-size: var(--fs-15); font-weight: 600; color: var(--ink-2); transition: border-color 0.15s, background 0.15s, color 0.15s; }
.cp-seg input { position: absolute; width: 0; height: 0; opacity: 0; }
.cp-seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.cp-seg label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.cp-start { width: 100%; height: var(--control); justify-content: center; gap: var(--sp-8); margin-top: 2px; border-radius: var(--r-sm); font-size: var(--fs-15); }
.cp-start .icon { width: 18px; height: 18px; }
.cp-note { margin: var(--sp-8) 0 0; text-align: center; font-size: var(--fs-12); color: var(--muted); }
.cp-rec { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin: var(--sp-8) 0 0; font-size: var(--fs-12); color: var(--muted); }
.cp-rec .icon { width: 13px; height: 13px; flex-shrink: 0; }
.cp-brand { margin: var(--sp-8) 0 2px; text-align: center; font-size: var(--fs-12); font-weight: 700; color: var(--muted); }

@media (max-width: 780px) {
  .callband { padding: var(--sp-24) 0 var(--sp-4); }
  .callcard { padding: var(--sp-16); }
  .callcard-row { flex-direction: column; text-align: center; gap: var(--sp-16); }
  .callcard-txt { flex-direction: column; gap: var(--sp-8); }
  .callcard h3 { font-size: var(--fs-19); }
  .callcard-btn { width: 100%; justify-content: center; }
  .callcard.open .callcard-btn { width: 100%; }
  .callpanel { max-width: none; margin: var(--sp-16) 0 2px; padding: var(--sp-16); }
  .cp-seg { gap: var(--sp-8); }
}

.final { background: var(--ink); color: #fff; padding: var(--sp-32) 0; }
.final-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-32); flex-wrap: wrap; }
.final h2 { font-size: clamp(var(--fs-23), 2.8vw, var(--fs-37)); font-weight: 800; line-height: var(--lh-1-15); }
.final p { margin-top: var(--sp-8); color: #cbd5e1; max-width: 560px; }
.final-cta { display: flex; gap: var(--sp-12); flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: var(--sp-56) 0 0; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-32); }
.foot-brand p { margin-top: var(--sp-16); max-width: 400px; color: var(--muted); font-size: var(--fs-15); }
/* The support address is written left to right inside the Arabic page, and it is the one link here worth a tap */
.foot-mail { display: inline-flex; align-items: center; gap: var(--sp-8); min-height: var(--control-sm); margin-top: var(--sp-16); font-size: var(--fs-15); font-weight: 700; color: var(--ink); direction: ltr; }
.foot-mail .icon { width: 17px; height: 17px; color: var(--accent); }
.foot-mail:hover { color: var(--accent); }
.foot-links { display: flex; flex-direction: column; }
.foot-links b { font-size: var(--fs-15); margin-bottom: var(--sp-4); }
.foot-links a { display: flex; align-items: center; min-height: var(--control-sm); color: var(--muted); font-size: var(--fs-15); }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { margin-top: var(--sp-44); padding: var(--sp-20) 0 var(--sp-28); border-top: 1px solid var(--line); font-size: var(--fs-15); color: var(--muted); }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .links { display: none; }
  .menu-btn { display: inline-grid; }
  .hero-in, .gmb-in { grid-template-columns: 1fr; gap: var(--sp-44); }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .ticks { justify-content: center; }
  .pillars, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .head.start { text-align: center; }
  .head.start .sub { margin-inline: auto; }
  .foot-in { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { width: min(1160px, 100% - 32px); }
  .nav-in { gap: var(--sp-12); height: 62px; }
  .nav-cta { display: none; }
  .hero { padding: var(--sp-28) 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .pillars, .grid3, .grid4 { grid-template-columns: 1fr; }
  .section { padding: var(--sp-24) 0; }
  .head { margin-bottom: var(--sp-28); }
  .mock-list { display: none; }
  .mock-body { height: 360px; }
  .gmb-side { display: none; }
  .gmb-body { height: 360px; }
  .final-in { text-align: center; justify-content: center; }
  .final p { margin-inline: auto; }
  .final-cta { width: 100%; }
  .final-cta .btn { flex: 1 1 100%; }

  /* Phone-sized cards: icon beside the title instead of above it, tighter padding and type */
  h1 { font-size: var(--fs-29); }
  .lead { font-size: var(--fs-15); }
  .h2 { font-size: var(--fs-23); margin-top: var(--sp-8); }
  .sub { font-size: var(--fs-15); margin-top: var(--sp-8); }
  .pillars, .grid3, .grid4 { gap: var(--sp-8); }
  .gmb-modes { gap: var(--sp-8); margin-top: var(--sp-20); }
  .mode { padding: var(--sp-16) var(--sp-16); gap: var(--sp-12); }
  .mode b { font-size: var(--fs-15); }
  .mode p { font-size: var(--fs-15); }
  .pillar, .card, .mini {
    display: grid; grid-template-columns: auto 1fr; column-gap: var(--sp-12); row-gap: 2px; align-items: start;
    padding: var(--sp-16) var(--sp-16); border-radius: 12px;
  }
  .pillar .ic, .card .ic, .mini .ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; }
  .pillar h3, .card h3, .mini h3 { margin: 0; font-size: var(--fs-15); line-height: var(--lh-1-4); }
  .pillar p, .card p, .mini p { font-size: var(--fs-15); line-height: var(--lh-1-4); }
  .mini .icon { width: 20px; height: 20px; }
  .mode { border-radius: 12px; }
  .plan { padding: var(--sp-16); }
  .plan h3 { font-size: var(--fs-15); }
  .faq details { padding: 0 var(--sp-16); border-radius: 12px; }
  .faq summary { padding: var(--sp-16) 0; font-size: var(--fs-15); }
  .faq details p { font-size: var(--fs-15); padding-bottom: var(--sp-16); }
  .final { padding: var(--sp-24) 0; }
  .final h2 { font-size: var(--fs-23); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-links:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .msg, .sys, .typing, .typing i, .gv, .gr { animation: none; }
  .track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: var(--sp-8); }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Dark mode toggle (local preview build) ---------- */
/* Same box as the language pill, so the header keeps its rhythm in both schemes. */
.theme-btn { display: inline-grid; place-items: center; width: var(--control-sm); height: var(--control-sm); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); box-shadow: var(--e1); color: var(--ink-2); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.theme-btn:hover { background: var(--alt); color: var(--ink); }
.theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-btn .icon { width: 18px; height: 18px; }
/* The icon shows the mode you will get, not the one you are in: moon on the light page,
   sun on the dark page. */
.theme-btn .icon-sun { display: none; }
:root[data-theme="dark"] .theme-btn .icon-moon { display: none; }
:root[data-theme="dark"] .theme-btn .icon-sun { display: block; }

/* Dark palette. Same token names as :root, so nearly every rule follows along without being
   touched; the block right after it repaints the handful of places that hard-code white. */
:root[data-theme="dark"] {
  /* Dark, but lifted one step from near-black: the page is a deep slate, the cards a clear step
     above it with a border you can see, and the small grey text bright enough to read at 12px. */
  --ink: #eef2f7;
  --ink-2: #d5dde8;
  --muted: #a7b4c6;
  --line: #3a4a63;
  --line-2: #4a5a74;
  --bg: #0f172a;
  /* In dark the alternating bands keep the page colour and rely on their hairlines; the cards
     are the surface step above it. */
  --alt: #0f172a;
  --surface: #1e293b;
  --solid: #334155;
  --accent: #22d3ee;
  --accent-hover: #67e8f9;
  --accent-soft: #164252;
  --accent-ink: #a5f3fc;
  --on-accent: #04222b;
  --e1: 0 1px 2px rgba(0, 0, 0, 0.45);
  --e2: 0 4px 12px -8px rgba(0, 0, 0, 0.6);
  --e3: 0 24px 56px -32px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* Surfaces that were painted #fff in the light page */
:root[data-theme="dark"] .nav { background: rgba(15, 23, 42, 0.92); }
:root[data-theme="dark"] .theme-btn,
:root[data-theme="dark"] .lang,
:root[data-theme="dark"] .menu-btn,
:root[data-theme="dark"] .btn-line,
:root[data-theme="dark"] .mobile-menu,
:root[data-theme="dark"] .mock,
:root[data-theme="dark"] .c-head,
:root[data-theme="dark"] .msg.in,
:root[data-theme="dark"] .sys,
:root[data-theme="dark"] .c-foot,
:root[data-theme="dark"] .chip,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .mini,
:root[data-theme="dark"] .mode,
:root[data-theme="dark"] .gmb-side,
:root[data-theme="dark"] .gv,
:root[data-theme="dark"] .gr.pending,
:root[data-theme="dark"] .gr.pending .gr-btn.ghost,
:root[data-theme="dark"] .callcard,
:root[data-theme="dark"] .callpanel,
:root[data-theme="dark"] .cp-field input,
:root[data-theme="dark"] .cp-field textarea { background: var(--surface); }

/* Small chrome that sat on the old light greys */
:root[data-theme="dark"] .dots i { background: #4a5a74; }
:root[data-theme="dark"] .typing { background: var(--solid); }
:root[data-theme="dark"] .mock { box-shadow: var(--e3); }

/* Filled pieces that used --ink or --accent as a background behind white text */
:root[data-theme="dark"] .m-tabs b,
:root[data-theme="dark"] .msg.out,
:root[data-theme="dark"] .callcard-ic { background: var(--solid); }
:root[data-theme="dark"] .ch.web { background: var(--muted); }
:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] .plan-badge,
:root[data-theme="dark"] .msg.ai,
:root[data-theme="dark"] .gr,
:root[data-theme="dark"] .gr.pending .gr-btn { color: var(--on-accent); }
:root[data-theme="dark"] .gr.pending .gr-btn.ghost { color: var(--accent-ink); }

/* The closing band used the darkest ink as a background; in dark mode it steps one shade deeper */
:root[data-theme="dark"] .final { background: #0a1020; }
:root[data-theme="dark"] .final p { color: #b8c3d2; }
/* Security has five cards: centre the trailing row instead of leaving a hole */
@media (min-width: 1001px) {
  #security .grid3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #security .grid3 > * { grid-column: span 2; }
  #security .grid3 > :nth-child(4) { grid-column: 2 / span 2; }
  #security .grid3 > :nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  #security .grid3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #security .grid3 > * { grid-column: span 2; }
  #security .grid3 > :nth-child(5) { grid-column: 2 / span 2; }
}

/* Phones only: a compact, app-like scale (Anas: boxes and text looked oversized on a phone). Laptop and
   tablet widths never reach this block, so the desktop page is untouched. */
@media (max-width: 640px) {
  .nav-in { height: 56px; }
  .brand-logo { height: 26px; width: auto; flex: 0 0 auto; }
  .theme-btn, .menu-btn { width: 38px; height: 38px; }
  .lang { height: 38px; padding: 0 var(--sp-8); font-size: 13px; }
  .btn { height: 44px; padding: 0 var(--sp-16); font-size: 14px; }
  .tag { font-size: 11px; }
  h1 { font-size: 26px; }
  .lead { font-size: 14px; line-height: 1.65; }
  .ticks { margin-top: var(--sp-20); gap: 6px var(--sp-16); font-size: 13px; }
  .ticks .icon { width: 15px; height: 15px; }
  .section { padding: var(--sp-20) 0; }
  .head { margin-bottom: var(--sp-20); }
  .h2 { font-size: 20px; }
  .sub, .eyebrow { font-size: 13.5px; }
  .pillar, .card, .mini { padding: 12px 14px; column-gap: 10px; border-radius: 10px; }
  .pillar .ic, .card .ic, .mini .ic { width: 32px; height: 32px; border-radius: 8px; }
  .pillar .ic > svg, .pillar .ic > img, .card .ic > svg, .card .ic > img, .mini .ic > svg { width: 18px; height: 18px; }
  .mini .icon { width: 18px; height: 18px; }
  .pillar h3, .card h3, .mini h3 { font-size: 14px; }
  .pillar p, .card p, .mini p { font-size: 13px; line-height: 1.55; }
  .chip { height: 36px; font-size: 13px; }
  .mode { padding: 12px 14px; }
  .mode b { font-size: 14px; }
  .mode p { font-size: 13px; }
  .plan { padding: 14px; }
  .plan h3 { font-size: 15px; }
  .plan-note { font-size: 13px; }
  .price { margin-top: var(--sp-12); padding-bottom: var(--sp-12); }
  .price b { font-size: 30px; }
  .plan-list { gap: var(--sp-8); margin: 14px 0 18px; }
  .plan-list li { font-size: 13px; }
  .faq summary { padding: 12px 0; font-size: 14px; }
  .faq details p { font-size: 13px; }
  .callcard { padding: 12px 14px; }
  .callcard h3 { font-size: 16px; }
  .callcard p { font-size: 13px; }
  .soon { padding: 0 6px; font-size: 10.5px; }
}

/* Phones only, app-like layout (Anas chose it 2026-11-07): sectors as two-column tiles, the long lists (features,
   services, security) as one grouped list with hairlines instead of separate boxes, and the recommended plan first. */
@media (max-width: 640px) {
  #industries .grid4 { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  #industries .mini { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  #industries .mini .ic { width: 30px; height: 30px; }
  #industries .mini h3 { margin: 2px 0 0; font-size: 13.5px; }
  #industries .mini p { font-size: 12px; line-height: 1.5; }

  #features .grid3, .pillars, #security .grid3 {
    gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--e1);
  }
  #features .grid3 > .card, .pillars > .pillar, #security .grid3 > .card {
    padding: 12px 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  }
  #features .grid3 > .card + .card, .pillars > .pillar + .pillar, #security .grid3 > .card + .card { border-top: 1px solid var(--line); }

  .pricing .plan.featured { order: -1; }
}
