@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400.8909904ab6.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600.f9a06e79cd.woff2") format("woff2"); 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: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/inter-latin-800.a7d0a50f15.woff2") format("woff2"); 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: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic-400.6010e7fd0d.woff2") format("woff2"); 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; }

@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-arabic-500.90aef64fea.woff2") format("woff2"); 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; }

@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/plex-arabic-700.04c730b429.woff2") format("woff2"); 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; }

:root {
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, "Segoe UI", Tahoma, sans-serif;
  --text-en: 17px;
  --text-ar: 18px;
  --text-card: 16px;
  --text-small: 14px;
  --text-button: 16px;
  --lead-size: 1.25rem;
  --h1: clamp(2.1rem, 1.3rem + 3vw, 3.5rem);
  --h2: clamp(1.75rem, 1.25rem + 1.9vw, 2.6rem);
  --h3: 1.25rem;
  --lh-en: 1.65;
  --lh-ar: 1.8;
  --lh-head-en: 1.15;
  --lh-head-ar: 1.4;
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-btn: 12px;
}

:root, :root[data-theme="day"] {
  color-scheme: light;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --ink: #0f172a;
  --ink-strong: #0f172a;
  --ink-soft: #475569;
  --fine: #5b6a80;
  --line: #e2e8f0;
  --line-strong: #7c8ba1;
  --link: #1d4ed8;
  --focus: #1d4ed8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --on-primary: #ffffff;
  --accent: #7c3aed;
  --em-gradient: linear-gradient(90deg, #2563eb, #7c3aed);
  --field-bg: #ffffff;
  --header-bg: rgba(247, 248, 252, 0.94);
  --callout-bg: #eef3ff;
  --callout-line: #c7d7fe;
  --chip-bg: #ffffff;
  --chip-line: #cdd8ea;
  --chip-ad-line: #d9cdf7;
  --const-line: rgba(37, 99, 235, 0.45);
  --hub-bg: #ffffff;
  --hub-glow: 0 0 0 6px rgba(37, 99, 235, 0.07), 0 0 46px rgba(37, 99, 235, 0.34), 0 12px 30px rgba(37, 99, 235, 0.20);
  --hero-wash: linear-gradient(180deg, #e9effc 0%, #f4f1fb 45%, #f7f8fc 100%);
  --frame-bar: #f1f4fa;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px -16px rgba(15, 23, 42, 0.16);
  --shadow-frame: 0 30px 70px -28px rgba(15, 23, 42, 0.32);
  --shadow-btn: 0 6px 18px rgba(37, 99, 235, 0.25);
  --shadow-pop: 0 14px 34px rgba(15, 23, 42, 0.16);
  --footer-bg: #0f172a;
  --footer-ink: #cbd5e1;
  --footer-ink-strong: #ffffff;
  --footer-line: #1e293b;
  --star: #ffffff;
  --only-day: inline-block;
  --only-night: none;
  --show-day: block;
  --show-night: none;
  --hero-mesh: radial-gradient(42% 60% at 12% 18%, rgba(37, 99, 235, 0.20), transparent 70%), radial-gradient(38% 55% at 88% 8%, rgba(124, 58, 237, 0.18), transparent 70%), radial-gradient(45% 50% at 70% 95%, rgba(16, 185, 129, 0.12), transparent 70%), linear-gradient(180deg, #eef3fd 0%, #f7f8fc 100%);
  --band-a: #eef3fd;
  --band-b: #f3f0fb;
  --glass-bg: rgba(255, 255, 255, 0.84);
  --glass-line: rgba(15, 23, 42, 0.08);
  --tile-a-bg: #e0eaff;
  --tile-a-fg: #1d4ed8;
  --tile-b-bg: #ede5ff;
  --tile-b-fg: #6d28d9;
  --tile-c-bg: #d9f5ea;
  --tile-c-fg: #047857;
  --tile-d-bg: #fdf0d5;
  --tile-d-fg: #b45309;
  --tile-e-bg: #fde3ea;
  --tile-e-fg: #be123c;
  --hl-bg: #e3ecff;
  --hl-ink: #1e3a8a;
  --cta-a: #1d4ed8;
  --cta-b: #6d28d9;
  --cta-ink: #ffffff;
  --cta-ink-soft: #e0e7ff;
  --cta-btn-bg: #ffffff;
  --cta-btn-ink: #1d4ed8;
  --device: #0f172a;
  --before-bg: #fff5f6;
  --before-line: #fecdd3;
  --before-ink: #9f1239;
  --after-bg: #effcf6;
  --after-line: #a7f3d0;
  --after-ink: #065f46;
  --shadow-lift: 0 22px 44px -20px rgba(15, 23, 42, 0.30);
  --logo-bg: #ffffff;
  --logo-line: #d6dfec;
  --ambient: radial-gradient(900px 620px at 0% 0%, rgba(37, 99, 235, 0.10), transparent 70%), radial-gradient(820px 600px at 100% 45%, rgba(124, 58, 237, 0.08), transparent 70%), radial-gradient(900px 620px at 25% 100%, rgba(16, 185, 129, 0.06), transparent 70%);
  --ambient-peak: #e2e9fa;
  --grid-line: rgba(15, 23, 42, 0.05);
  --card-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  --card-edge: inset 0 1px 0 rgba(255, 255, 255, 0);
  --line-hover: #b9cbf5;
  --hub-halo: rgba(37, 99, 235, 0.42);
  --hub-ring: #bfd3fb;
  --footer-card: #16213a;
  --gold-bg: #fdf3d7;
  --gold-ink: #8a5a00;
  --gold-line: #e2b84f;
  --gold-glow: rgba(217, 160, 30, 0.38);
}

:root[data-theme="night"] {
  color-scheme: dark;
  --bg: #070e1c;
  --surface: #0e1a2e;
  --surface-2: #0b1526;
  --ink: #e6eefa;
  --ink-strong: #e6eefa;
  --ink-soft: #a3b4cc;
  --fine: #7d90ad;
  --line: #1c2a42;
  --line-strong: #5f7392;
  --link: #7cb4f5;
  --focus: #7cb4f5;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --on-primary: #ffffff;
  --accent: #b9a6ff;
  --em-gradient: linear-gradient(90deg, #7cb4f5, #b9a6ff);
  --field-bg: #0b1526;
  --header-bg: rgba(7, 14, 28, 0.94);
  --callout-bg: #102342;
  --callout-line: #24406e;
  --chip-bg: #0e1a2e;
  --chip-line: #2a4166;
  --chip-ad-line: #4a3f7a;
  --const-line: rgba(130, 180, 232, 0.55);
  --hub-bg: #0b1730;
  --hub-glow: 0 0 0 6px rgba(130, 180, 232, 0.06), 0 0 46px rgba(130, 180, 232, 0.35);
  --hero-wash: radial-gradient(1100px 520px at 50% -10%, #13284a 0%, #070e1c 70%);
  --frame-bar: #13213a;
  --shadow-card: none;
  --shadow-frame: 0 30px 70px -28px rgba(0, 0, 0, 0.7);
  --shadow-btn: none;
  --shadow-pop: 0 14px 34px rgba(0, 0, 0, 0.55);
  --footer-bg: #050b17;
  --footer-ink: #a3b4cc;
  --footer-ink-strong: #ffffff;
  --footer-line: #16233a;
  --star: #dbe7ff;
  --only-day: none;
  --only-night: inline-block;
  --show-day: none;
  --show-night: block;
  --hero-mesh: radial-gradient(1100px 520px at 50% -10%, #13284a 0%, #070e1c 70%);
  --band-a: #0a1426;
  --band-b: #0c1226;
  --glass-bg: rgba(14, 26, 46, 0.80);
  --glass-line: rgba(130, 180, 232, 0.16);
  --tile-a-bg: #132b52;
  --tile-a-fg: #8ab8ff;
  --tile-b-bg: #251c4d;
  --tile-b-fg: #c4b5fd;
  --tile-c-bg: #0d3328;
  --tile-c-fg: #6ee7b7;
  --tile-d-bg: #3a2a0c;
  --tile-d-fg: #fcd34d;
  --tile-e-bg: #3d1424;
  --tile-e-fg: #fda4af;
  --hl-bg: #13284a;
  --hl-ink: #bcd4ff;
  --cta-a: #1d4ed8;
  --cta-b: #5b21b6;
  --cta-ink: #ffffff;
  --cta-ink-soft: #e0e7ff;
  --cta-btn-bg: #ffffff;
  --cta-btn-ink: #1d4ed8;
  --device: #1e293b;
  --before-bg: #0e1a2e;
  --before-line: #1c2a42;
  --before-ink: #fda4af;
  --after-bg: #0e1a2e;
  --after-line: #1c2a42;
  --after-ink: #6ee7b7;
  --shadow-lift: 0 22px 44px -20px rgba(0, 0, 0, 0.75);
  --logo-bg: #ffffff;
  --logo-line: transparent;
  --ambient: radial-gradient(900px 620px at 0% 0%, rgba(59, 130, 246, 0.18), transparent 70%), radial-gradient(820px 600px at 100% 45%, rgba(139, 92, 246, 0.13), transparent 70%), radial-gradient(900px 620px at 25% 100%, rgba(16, 185, 129, 0.07), transparent 70%);
  --ambient-peak: #10233f;
  --grid-line: rgba(148, 180, 230, 0.06);
  --card-sheen: linear-gradient(180deg, rgba(130, 180, 232, 0.07), rgba(130, 180, 232, 0) 46%);
  --card-edge: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --line-hover: #2f4a78;
  --hub-halo: rgba(130, 180, 232, 0.40);
  --hub-ring: #2a4166;
  --footer-card: #0a1222;
  --gold-bg: #3a2a0c;
  --gold-ink: #fcd34d;
  --gold-line: #a07a24;
  --gold-glow: rgba(252, 211, 77, 0.24);
}

/* Structure only: layout, spacing, type sizes, components. Every colour comes from the theme layer
   (src/themes/<name>/), so day and night share this one layout and can never differ in it.
   Logical properties throughout (inline-start/end), so Arabic (rtl) mirrors English (ltr).
   Type: nothing below 14 px (--text-small); body 17 px EN / 18 px AR; buttons 16 px. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-en); font-size: var(--text-en); line-height: var(--lh-en); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:root { --fw-medium: 600; --fw-bold: 800; }
:lang(ar) { --fw-medium: 500; --fw-bold: 700; font-family: var(--font-ar); }
body:lang(ar) { font-size: var(--text-ar); line-height: var(--lh-ar); }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink-strong); line-height: var(--lh-head-en); font-weight: var(--fw-bold); letter-spacing: -0.015em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { line-height: var(--lh-head-ar); letter-spacing: 0; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: var(--fw-medium); letter-spacing: 0; }
h4 { font-size: 1.1rem; font-weight: var(--fw-medium); letter-spacing: 0; }
p { margin: 0 0 1em; }
strong { font-weight: var(--fw-medium); }
bdi { unicode-bidi: isolate; }
.num, .price { font-variant-numeric: tabular-nums; }
[id] { scroll-margin-top: 96px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--surface); border-radius: var(--radius-sm); font-size: var(--text-button); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: 72px 0; }
@media (max-width: 719px) { .section { padding: 52px 0; } }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: var(--lead-size); margin: 0; }
.lead { font-size: var(--lead-size); color: var(--ink-soft); }
.fine { font-size: var(--text-small); color: var(--fine); }

/* day / night: elements shown in one theme only. Tokens --only-day / --only-night: none | inline-block. */
.only-day { display: var(--only-day); }
.only-night { display: var(--only-night); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn); border: 1px solid transparent; font: inherit; font-size: var(--text-button); font-weight: var(--fw-medium); line-height: 1.3; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--ink-strong); border-color: var(--line-strong); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-size: var(--text-small); color: var(--link); text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: var(--fw-medium); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* header: brand · links · [language + day/night] · log in + trial. On phones: brand · language +
   day/night · menu; the links and the two buttons open under the bar. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; }
.wordmark b { display: block; font-size: 1.3rem; line-height: 1.1; font-weight: var(--fw-bold); color: var(--ink-strong); letter-spacing: -0.01em; }
.wordmark small { display: block; font-size: var(--text-small); line-height: 1.3; color: var(--fine); }
.site-footer .wordmark b { color: var(--footer-ink-strong); }
.site-footer .wordmark small { color: var(--footer-ink); }
.site-nav { flex: 1; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: var(--fw-medium); font-size: 1rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink-strong); }
.header-quick { display: flex; align-items: center; gap: 12px; }
.lang-switch { color: var(--ink-strong); text-decoration: none; font-weight: var(--fw-medium); font-size: 1rem; padding: 8px 4px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-strong); cursor: pointer; }
.theme-toggle .icon { width: 22px; height: 22px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .login { color: var(--ink-strong); text-decoration: none; font-weight: var(--fw-medium); font-size: 1rem; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: var(--text-button); color: var(--ink-strong); cursor: pointer; }
.site-nav-both ul { gap: 18px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
@media (max-width: 1023px) {
  .header-row { gap: 10px; }
  .brand { order: 1; flex: 1; }
  .brand .mark { width: 36px; height: 36px; }
  .wordmark b { font-size: 1.15rem; }
  .header-quick { order: 2; }
  .nav-toggle { display: inline-flex; order: 3; }
  .site-nav:not(.site-nav-both), .header-actions { order: 10; flex-basis: 100%; display: none; }
  .menu-open .site-nav:not(.site-nav-both), .menu-open .header-actions { display: block; }
  .site-nav:not(.site-nav-both) ul { flex-direction: column; gap: 0; padding: 4px 0 8px; }
  .site-nav:not(.site-nav-both) ul a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .menu-open .header-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; }
  .site-nav-both { order: 10; flex-basis: 100%; padding-bottom: 12px; }
  .site-nav-both ul { justify-content: flex-start; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: var(--hero-wash); padding: 64px 0 40px; }
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stars circle { fill: var(--star); }
@media (prefers-reduced-motion: no-preference) {
  .stars .tw { animation: twinkle 5s ease-in-out infinite; }
  .stars .tw:nth-of-type(2n) { animation-delay: 1.7s; }
  .stars .tw:nth-of-type(3n) { animation-delay: 3.1s; }
  @keyframes twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }
}
.hero-text { position: relative; max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-small); font-weight: var(--fw-medium); color: var(--ink-strong); background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.hero h1 { margin-bottom: 18px; text-wrap: balance; }
.hero h1 em { white-space: nowrap; font-style: normal; background: var(--em-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 680px; }
.hero .actions { margin: 28px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: var(--text-small); color: var(--fine); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }

/* product frame (a screenshot in a browser window) */
.frame { position: relative; margin: 44px auto 0; max-width: 1136px; }
.frame-window { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-frame); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: var(--frame-bar); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); opacity: .5; display: block; }
.frame-bar span { margin-inline-start: 12px; font-size: var(--text-small); color: var(--fine); direction: ltr; }
.frame picture, .frame img { display: block; width: 100%; height: auto; }
.frame figcaption { margin-top: 12px; text-align: center; font-size: var(--text-small); color: var(--fine); }
.toast { position: absolute; display: flex; gap: 12px; align-items: center; max-width: 320px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-size: var(--text-card); }
.toast strong { display: block; color: var(--ink-strong); }
.toast span { display: block; font-size: var(--text-small); color: var(--fine); }
.toast .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--callout-bg); color: var(--link); flex: none; font-size: 1.1rem; }
.toast-a { inset-inline-start: -18px; bottom: 60px; }
.toast-b { inset-inline-end: -18px; top: 90px; }
@media (max-width: 899px) { .toast { display: none; } }

/* constellation: the stores and the ad platforms, joined to one hub. Desktop: two columns of chips
   with curved lines (one SVG, mirrored in Arabic). Phones: a row of chips above and below the hub. */
.constellation { padding: 28px 0 64px; }
.constellation .section-head { margin-bottom: 18px; }
.const { position: relative; max-width: 980px; margin: 0 auto; }
.const-lines { display: none; }
.const-col h3, .const-row h3 { font-size: var(--text-small); text-transform: uppercase; letter-spacing: .08em; color: var(--fine); font-weight: var(--fw-medium); margin: 0 0 10px; }
:lang(ar) .const-col h3, :lang(ar) .const-row h3 { text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--chip-bg); border: 1.5px solid var(--chip-line); color: var(--ink-strong); font-weight: var(--fw-medium); font-size: var(--text-card); white-space: nowrap; }
.chip-ad { border-style: dashed; border-color: var(--chip-ad-line); }
.hub { display: grid; place-items: center; width: 104px; height: 104px; margin: 18px auto; border-radius: 28px; background: var(--hub-bg); border: 1px solid var(--chip-line); box-shadow: var(--hub-glow); }
.hub img { width: 64px; height: 64px; }
.const-row { text-align: center; }
.const-row .chips { justify-content: center; }
.const-col { display: none; }
.const-caption { text-align: center; margin: 22px auto 0; max-width: 620px; font-size: var(--text-card); color: var(--ink-soft); }
@media (min-width: 1024px) {
  .const { display: grid; grid-template-columns: 400px 180px 400px; height: 330px; }
  .const-row { display: none; }
  .const-col { display: block; position: relative; z-index: 1; padding-top: 4px; }
  .const-col .chips { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .const-col li { height: 52px; display: flex; align-items: center; }
  .const-stores { text-align: end; }
  .const-stores .chips { align-items: flex-end; }
  .const-ads .chips { align-items: flex-start; }
  .const-col .rows-6 li { height: 46px; }   /* 6 rows of 46 px fit the same 330 px box as 5 of 52 */
  .const-stores li.pad-1 { padding-inline-end: 40px; }
  .const-stores li.pad-2 { padding-inline-end: 64px; }
  .const-ads li.pad-1 { padding-inline-start: 40px; }
  .const-ads li.pad-2 { padding-inline-start: 64px; }
  .const > .hub { align-self: center; margin: 0 auto; position: relative; z-index: 1; grid-column: 2; grid-row: 1; }
  .const-stores { grid-column: 1; grid-row: 1; }
  .const-ads { grid-column: 3; grid-row: 1; }
  .const-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .const-lines path { fill: none; stroke: var(--const-line); stroke-width: 1.6; }
  [dir="rtl"] .const-lines { transform: scaleX(-1); }
}

/* the problem, in two lines */
.problem { text-align: center; }
.problem h2 { max-width: 760px; margin-inline: auto; }
.problem p { max-width: 720px; margin: 0 auto; font-size: var(--lead-size); color: var(--ink-soft); }

/* cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); font-size: var(--text-card); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--callout-bg); color: var(--link); margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card a.more { display: inline-block; margin-top: 12px; }

/* stats strip */
.stats { display: grid; gap: 14px; margin-top: 22px; list-style: none; padding: 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.stat b { display: block; font-size: 2.2rem; line-height: 1.1; font-weight: var(--fw-bold); color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: var(--text-card); }

/* steps */
.steps { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; font-size: var(--text-card); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: var(--fw-bold); margin-bottom: 14px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* trust / built for Saudi sellers */
.trust-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 34px; font-size: var(--text-card); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--callout-bg); border: 2px solid var(--link); }
.callout { padding: 22px 24px; border-radius: var(--radius); background: var(--callout-bg); border: 1px solid var(--callout-line); font-size: var(--text-card); }
.callout p:last-child { margin-bottom: 0; }

/* plans */
.plans { display: grid; gap: 18px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; font-size: var(--text-card); }
.plan-rec { border: 2px solid var(--primary); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 20px; background: var(--primary); color: var(--on-primary); font-size: var(--text-small); font-weight: var(--fw-medium); padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin-bottom: 4px; }
.plan .tagline { color: var(--ink-soft); margin: 0 0 14px; min-height: 2.8em; }
.plan .amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 4px; }
.plan .amount b { font-size: 2.4rem; line-height: 1; font-weight: var(--fw-bold); color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.plan .amount span { color: var(--ink-soft); }
.plan .total { font-size: var(--text-small); color: var(--fine); margin: 0 0 16px; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-inline-start: 24px; color: var(--ink); }
.plan li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 10px; height: 6px; border-inline-start: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg); }
:dir(rtl) .plan li::before { transform: rotate(45deg); }
.plan .btn { margin-top: auto; }
.plan-body { flex: 1; }
.plan-cta { margin-top: 18px; }
.agency { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 20px 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: var(--surface); font-size: var(--text-card); }
.agency p { margin: 0; color: var(--ink-soft); }
.agency strong { color: var(--ink-strong); }
.plans-agency { margin: 18px auto 0; max-width: 560px; grid-template-columns: 1fr !important; }
.agency-price { font-size: 1.6rem !important; }
.plan-notes { margin-top: 22px; display: grid; gap: 8px; font-size: var(--text-small); color: var(--fine); text-align: center; }
.plan-notes p { margin: 0; }

/* the period switch on the pricing page: four radio buttons (visually hidden, still focusable and
   arrow-key operable) placed before .periods and .plans, so CSS alone shows the chosen period. */
.period-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.periods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 32px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.periods label { padding: 10px 18px; border-radius: 999px; cursor: pointer; font-size: var(--text-card); font-weight: var(--fw-medium); color: var(--ink-soft); }
.periods label small { font-size: var(--text-small); color: var(--link); font-weight: var(--fw-medium); margin-inline-start: 6px; }
#period-1:checked ~ .periods label[for="period-1"], #period-3:checked ~ .periods label[for="period-3"],
#period-6:checked ~ .periods label[for="period-6"], #period-12:checked ~ .periods label[for="period-12"] { background: var(--primary); color: var(--on-primary); }
#period-1:checked ~ .periods label[for="period-1"] small, #period-3:checked ~ .periods label[for="period-3"] small,
#period-6:checked ~ .periods label[for="period-6"] small, #period-12:checked ~ .periods label[for="period-12"] small { color: var(--on-primary); }
#period-1:focus-visible ~ .periods label[for="period-1"], #period-3:focus-visible ~ .periods label[for="period-3"],
#period-6:focus-visible ~ .periods label[for="period-6"], #period-12:focus-visible ~ .periods label[for="period-12"] { outline: 3px solid var(--focus); outline-offset: 2px; }
.pricing .p-1, .pricing .p-3, .pricing .p-6, .pricing .p-12 { display: none; }
#period-1:checked ~ .plans .p-1, #period-3:checked ~ .plans .p-3, #period-6:checked ~ .plans .p-6, #period-12:checked ~ .plans .p-12 { display: block; }
#period-1:checked ~ .plans .amount.p-1, #period-3:checked ~ .plans .amount.p-3, #period-6:checked ~ .plans .amount.p-6, #period-12:checked ~ .plans .amount.p-12 { display: flex; }
.company-line { margin: 0 0 6px; }

/* FAQ (no script: <details>) */
.faq { max-width: 860px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 36px; }
.faq h2.group { font-size: var(--h3); margin-bottom: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: var(--fw-medium); color: var(--ink-strong); list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: var(--fw-bold); color: var(--link); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 22px 18px; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { text-align: center; padding: 72px 0; background: var(--hero-wash); border-top: 1px solid var(--line); }
.cta-band .actions { justify-content: center; margin-top: 24px; }
.cta-band .secondary { margin-top: 20px; font-size: var(--text-card); color: var(--ink-soft); }

/* coming soon: a clearly labelled block, never mixed with what is live */
.coming-soon { margin-top: 28px; padding: 26px; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: var(--surface); }
.coming-soon h2, .coming-soon h3.soon-title { font-size: var(--h3); margin-bottom: 14px; }
.soon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .soon-list { grid-template-columns: repeat(2, 1fr); } }
.soon-list li { font-size: var(--text-card); }
.soon-list strong { display: block; color: var(--ink-strong); }
.soon-list span { color: var(--ink-soft); }
.badge-soon { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: var(--callout-bg); color: var(--link); font-size: var(--text-small); font-weight: var(--fw-medium); vertical-align: middle; }

/* features page */
.feature-group { padding: 56px 0; border-top: 1px solid var(--line); }
.feature-group:first-of-type { border-top: 0; }
.feature { display: grid; gap: 8px 40px; padding: 26px 0; border-top: 1px dashed var(--line); font-size: var(--text-card); }
.feature:first-of-type { border-top: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.2fr; } }
.feature .hook { color: var(--link); font-weight: var(--fw-medium); margin-bottom: 4px; }
.feature h3 { font-size: 1.35rem; }
.feature .what { color: var(--ink); }
.feature .why { color: var(--ink-soft); }
.feature .meta { font-size: var(--text-small); color: var(--fine); }
.feature ul { margin: 0 0 12px; padding-inline-start: 22px; }
.plan-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.plan-badge { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--text-small); color: var(--ink-strong); }

/* platforms page */
.platform-card h3 { display: flex; align-items: center; gap: 10px; }
.caps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.caps li { padding: 4px 12px; border-radius: 999px; background: var(--callout-bg); color: var(--ink-strong); font-size: var(--text-small); font-weight: var(--fw-medium); }
.platform-card .note { color: var(--ink-soft); }

/* page heads, blog, contact */
.page { padding: 56px 0 80px; }
.page-head { max-width: 760px; margin-bottom: 36px; }
.page-head.center { text-align: center; margin-inline: auto; }
.crumbs { font-size: var(--text-small); color: var(--fine); margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--fine); }
.crumbs a { color: var(--fine); }
.post-card { display: flex; flex-direction: column; }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { color: var(--ink-strong); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--text-small); color: var(--fine); margin-bottom: 10px; }
.post-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--callout-bg); color: var(--link); font-size: var(--text-small); font-weight: var(--fw-medium); }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.5rem; margin-top: 36px; }
.article ul { padding-inline-start: 22px; }
.article .summary { padding: 20px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin: 20px 0 8px; }
.article .summary strong { display: block; margin-bottom: 4px; }
.tip { padding: 14px 18px; border-inline-start: 4px solid var(--link); background: var(--callout-bg); border-radius: var(--radius-sm); }
.article-cta { margin-top: 44px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.article-cta h2 { margin-top: 0; }
.article-cta .actions { justify-content: center; }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.contact-ways, .form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-ways h2, .form-card h2 { font-size: var(--h3); }
.way { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-strong); }
.way-label { font-size: var(--text-small); color: var(--fine); }
.way-value { font-weight: var(--fw-medium); font-size: 1.05rem; }
.look-first { margin-top: 20px; }
.look-first p { margin: 0 0 10px; }
.company-card { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--text-small); color: var(--ink-soft); }
.company-card p { margin: 0 0 6px; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-weight: var(--fw-medium); color: var(--ink-strong); padding: 0; font-size: var(--text-card); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--ink); font: inherit; font-size: var(--text-card); }
.field input[dir="ltr"] { text-align: start; }
:lang(ar) .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: var(--text-card); }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
.form-note { font-size: var(--text-small); color: var(--fine); margin: 0; }

/* policies */
.legal-langs { display: flex; gap: 16px; margin-bottom: 24px; }
.legal-doc { padding-top: 16px; font-size: var(--text-card); }
.legal-doc + .legal-doc { margin-top: 48px; padding-top: 48px; border-top: 2px solid var(--line); }
.legal-head h2 { font-size: var(--h1); }
.legal-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 10px 14px; margin: 16px 0 24px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-soft); font-size: var(--text-small); }
.legal-section { padding: 18px 22px; margin-bottom: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-section h3 { font-size: 1.1rem; }
.legal-section ul { margin: 8px 0; padding-inline-start: 22px; }
.legal-section li { margin-bottom: 4px; }
.legal-section p:last-child { margin-bottom: 0; }
.nf + .nf { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }

/* footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 52px 0 32px; font-size: 15px; }
.site-footer h2 { font-size: 1rem; color: var(--footer-ink-strong); margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: var(--footer-ink-strong); text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-grid-both { grid-template-columns: 1fr 1fr 1fr; } }
.footer-about img { height: 34px; width: auto; }
.footer-about p { margin-top: 12px; }
.footer-company { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--footer-line); font-size: var(--text-small); }
.footer-company p { margin: 0 0 6px; }
.footer-company + .footer-company { margin-top: 10px; border-top: 0; padding-top: 0; }

/* consent */
.consent { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-size: var(--text-card); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@media print {
  .site-header, .site-footer, .legal-langs, .legal-meta button, .consent, .skip, .stars { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-section { border: 0; padding: 0 0 8px; }
}

/* ═══ Redesign 2026-11-14: rhythm, depth, motion (Amer: a modern SaaS site, not a PDF) ═════════════
   Every colour is a theme token. Motion only under html.motion, which site.js adds only for visitors
   who haven't asked for reduced motion, and only after marking what is already on screen as shown:
   without the script nothing is ever hidden. html.js (theme.js, before the first paint) gives the
   tour its tabs and the FAQ its search box from the first paint. */

/* icons: one size by default, overridden where a component needs another */
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }
.btn .ic { width: 18px; height: 18px; }
.btn:has(.ic) { display: inline-flex; align-items: center; gap: 8px; }

/* screenshots: the light and dark files of one shot; only the visible theme's is fetched */
.frame img.only-day, .device img.only-day { display: var(--show-day); }
.frame img.only-night, .device img.only-night { display: var(--show-night); }

/* section rhythm: soft tinted bands and one full-bleed gradient band */
.band-a { background: var(--band-a); }
.band-b { background: var(--band-b); }
.section-head h2 { letter-spacing: -0.02em; }
:lang(ar) .section-head h2 { letter-spacing: 0; }
.section-head .sub, .sub { font-size: var(--lead-size); color: var(--ink-soft); margin: 0; }
.eyebrow-line { display: inline-flex; align-items: center; gap: 10px; font-size: var(--text-small); font-weight: var(--fw-medium); color: var(--link); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
:lang(ar) .eyebrow-line { text-transform: none; letter-spacing: 0; }

/* icon tiles */
.tile { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex: none; }
.tile .ic { width: 23px; height: 23px; }
.tile-a { background: var(--tile-a-bg); color: var(--tile-a-fg); }
.tile-b { background: var(--tile-b-bg); color: var(--tile-b-fg); }
.tile-c { background: var(--tile-c-bg); color: var(--tile-c-fg); }
.tile-d { background: var(--tile-d-bg); color: var(--tile-d-fg); }
.tile-e { background: var(--tile-e-bg); color: var(--tile-e-fg); }
.tile-sm { width: 34px; height: 34px; border-radius: 10px; }
.tile-sm .ic { width: 18px; height: 18px; }
.card .tile { margin-bottom: 16px; }

/* highlighted keywords inside bullets and the after-list */
.bullets strong, .ba-after strong, .hl { background: var(--hl-bg); color: var(--hl-ink); padding: 0 .18em; border-radius: 5px; font-weight: var(--fw-medium); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bullets { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-card); }
.bullets li > .ic { flex: none; width: 22px; height: 22px; color: var(--after-ink); margin-top: .15em; }

/* hero: layered composition */
.hero { background: var(--hero-mesh); padding: 64px 0 0; }
.hero-text { max-width: 900px; margin-inline: auto; text-align: center; }
.hero-text .lead { margin-inline: auto; }
.hero-text .actions, .hero-text .trust { justify-content: center; }
.hero-art-wrap { position: relative; padding-bottom: 72px; }
.hero-art { position: relative; max-width: 1080px; margin: 48px auto 0; }
.hero-art .frame { margin: 0; }
.device { position: absolute; inset-inline-end: -26px; bottom: -44px; width: 214px; margin: 0; border: 9px solid var(--device); border-radius: 34px; overflow: hidden; background: var(--device); box-shadow: var(--shadow-frame); z-index: 1; }
.device img { display: block; width: 100%; height: auto; }
.glass { background: var(--surface); border: 1px solid var(--glass-line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-bg); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
.hero .toast { border-radius: 16px; box-shadow: var(--shadow-pop); z-index: 2; }
.hero .toast .tile { width: 38px; height: 38px; border-radius: 11px; }
.hero .toast .tile .ic { width: 19px; height: 19px; }
.toast-1 { inset-inline-start: -34px; top: 16%; bottom: auto; }
.toast-2 { inset-inline-end: 150px; top: -26px; bottom: auto; }
.toast-3 { inset-inline-start: 8%; bottom: -30px; top: auto; }
.hero-caption { text-align: center; margin: 56px 0 0; font-size: var(--text-small); color: var(--fine); }
@media (max-width: 1023px) { .device { width: 170px; inset-inline-end: -8px; } .toast-2 { inset-inline-end: 110px; } }
@media (max-width: 719px) {
  .hero-art .frame { display: none; }
  .device { position: relative; inset: auto; margin: 0 auto; width: min(250px, 72vw); display: block; }
  .hero-art-wrap { padding-bottom: 32px; }
  .hero-caption { margin-top: 18px; }
}

/* before / after */
.ba { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 860px) { .ba { grid-template-columns: 1fr auto 1fr; } }
.ba-card { border-radius: var(--radius); padding: 28px; border: 1px solid; }
.ba-before { background: var(--before-bg); border-color: var(--before-line); }
.ba-after { background: var(--after-bg); border-color: var(--after-line); }
.ba-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ba-before h3 { color: var(--before-ink); }
.ba-after h3 { color: var(--after-ink); }
.ba-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ba-card li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-card); color: var(--ink); }
.ba-card li > .ic { flex: none; width: 22px; height: 22px; margin-top: .15em; }
.ba-before li > .ic { color: var(--before-ink); }
.ba-after li > .ic { color: var(--after-ink); }
.ba-arrow { display: grid; place-items: center; color: var(--link); }
.ba-arrow .ic { width: 34px; height: 34px; }
[dir="rtl"] .ba-arrow .ic { transform: scaleX(-1); }
@media (max-width: 859px) { .ba-arrow .ic, [dir="rtl"] .ba-arrow .ic { transform: rotate(90deg); } }

/* feature showcase: alternating image / text rows with large crops */
.show-rows { display: grid; gap: 72px; }
.show-row { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .show-row { grid-template-columns: 1.3fr 1fr; gap: 56px; } .show-row:nth-child(even) .show-media { order: 2; } }
.show-row .frame { margin: 0; }
.show-text h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.2; margin-bottom: 10px; }
:lang(ar) .show-text h3 { line-height: 1.45; }
.show-text .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; }
.more .ic { width: 18px; height: 18px; }
[dir="rtl"] .more .ic { transform: scaleX(-1); }

/* product tour: tabs that swap the screenshot (no script: every screen shows, stacked) */
.tour-tabs { display: none; gap: 8px; justify-content: center; margin: 0 auto 26px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.js .tour-tabs { display: flex; }
.tour-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: inherit; font-size: var(--text-card); font-weight: var(--fw-medium); cursor: pointer; white-space: nowrap; }
.tour-tab .ic { width: 18px; height: 18px; }
.tour-tab[aria-selected="true"] { background: var(--primary); color: var(--on-primary); }
.tour-panel + .tour-panel { margin-top: 40px; }
.js .tour-panel + .tour-panel { margin-top: 0; }
.js .tour-panel[hidden] { display: none; }
.tour-panel .frame { margin: 0 auto; }
.tour-panel figcaption { font-size: var(--text-card); color: var(--ink-soft); }

/* stats */
.stat b span { display: inline; margin: 0; font-size: inherit; color: inherit; }
.stat b .unit { font-size: 1.1rem; font-weight: var(--fw-medium); color: var(--ink-soft); margin-inline-start: 6px; }
.card a.more { display: inline-flex; }

/* trust tiles */
.trust-tiles { display: grid; gap: 18px; }
@media (min-width: 720px) { .trust-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust-tiles { grid-template-columns: repeat(4, 1fr); } }
.trust-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: var(--text-card); box-shadow: var(--shadow-card); }
.trust-tile h3 { font-size: 1.12rem; margin: 14px 0 6px; }
.trust-tile p { margin: 0; color: var(--ink-soft); }
.trust-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 28px 0 0; font-size: var(--text-card); color: var(--ink-soft); }
.trust-points li { display: inline-flex; align-items: center; gap: 8px; }
.trust-points .ic { width: 18px; height: 18px; color: var(--after-ink); }

/* the full-bleed gradient call to action */
.cta-band { background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); color: var(--cta-ink); border-top: 0; }
.cta-band h2 { color: var(--cta-ink); }
.cta-band .lead, .cta-band .secondary { color: var(--cta-ink-soft); }
.cta-band .secondary a { color: var(--cta-ink); }
.cta-band .btn-primary { background: var(--cta-btn-bg); color: var(--cta-btn-ink); box-shadow: none; }
.cta-band .btn-ghost { background: transparent; color: var(--cta-ink); border-color: var(--cta-ink-soft); }

/* recommended plan: lifted and tinted */
.plan-rec { box-shadow: var(--shadow-lift); background: linear-gradient(180deg, var(--hl-bg), var(--surface) 42%); }
.periods label small { background: var(--hl-bg); color: var(--hl-ink); padding: 1px 8px; border-radius: 999px; }

/* sticky "Start free trial" bar on phones */
.mobile-cta { display: none; }
@media (max-width: 719px) {
  .mobile-cta { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--header-bg); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .25s ease; }
  .mobile-cta .btn { width: 100%; }
  .js .mobile-cta.is-hidden { transform: translateY(115%); }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* FAQ: topics, search, grouped questions */
.faq-tools { display: grid; gap: 14px; margin: 0 auto 30px; max-width: 860px; }
.faq-search { display: none; }
.js .faq-search { display: block; }
.faq-search input { width: 100%; min-height: 52px; padding: 12px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--field-bg); color: var(--ink); font: inherit; font-size: var(--text-card); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.faq-topics a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-strong); text-decoration: none; font-size: var(--text-small); font-weight: var(--fw-medium); }
.faq-topics a:hover { border-color: var(--link); }
.faq-topics .ic { width: 16px; height: 16px; color: var(--link); }
.faq-group h2.group { display: flex; align-items: center; gap: 12px; }
.faq-none { text-align: center; color: var(--ink-soft); }
.faq-none[hidden], .faq-group[hidden], .faq details[hidden] { display: none; }

/* features page: cards per feature, details on demand */
.fcards { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 900px) { .fcards { grid-template-columns: repeat(3, 1fr); } }
.fcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: var(--text-card); box-shadow: var(--shadow-card); }
.fcard h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.fcard > p { color: var(--ink-soft); margin: 0; }
.fcard .bullets { margin-top: 14px; }
.fcard details { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.fcard summary { cursor: pointer; color: var(--link); font-weight: var(--fw-medium); }
.fcard details p { margin: 10px 0 0; color: var(--ink); }
.fcard .plan-badges { margin-top: auto; padding-top: 14px; }
.group-head { display: flex; align-items: center; gap: 14px; }
.group-head h2 { margin: 0; }
.group-sub { max-width: 760px; margin: 12px 0 26px; } /* a short line under a group heading (platforms page, ad platforms; 2026-11-15) */
.group-shot { margin-top: 28px; }
.group-shot .frame { margin: 0; }

/* motion: reveal on scroll, lines that draw in, hover lift (all off under reduced motion) */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .const-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease; }
.motion .const.in .const-lines path { stroke-dashoffset: 0; }
.motion .const.in .const-lines path:nth-child(3n) { transition-delay: .15s; }
.motion .const.in .const-lines path:nth-child(3n+1) { transition-delay: .3s; }
.motion .lift { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.motion .lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* the tour without a script: no tab row (hidden above), every screen shown one under the other */
html:not(.js) .tour-panel[hidden] { display: block; }

/* small pieces of the redesign */
.section-foot { text-align: center; margin: 32px 0 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-medium); }
.page-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.eyebrow-line .tile { width: 34px; height: 34px; border-radius: 10px; }
.eyebrow-line .tile .ic { width: 18px; height: 18px; }
.faq-group h2.group .tile { width: 38px; height: 38px; border-radius: 11px; }
.faq-group h2.group .tile .ic { width: 20px; height: 20px; }
.faq-group { scroll-margin-top: 90px; }
.faq-group .coming-soon { margin-top: 16px; }
.stat .num { font-variant-numeric: tabular-nums; }
.fcard .hook { color: var(--link); font-weight: var(--fw-medium); margin: 0 0 2px; font-size: var(--text-small); }
.fcard .tile { margin-bottom: 4px; }
.feature-group { border-top: 0; padding: 72px 0; }
.feature-group .group-head { margin-bottom: 4px; }
.pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pc-head h3 { margin: 0; }
.caps li { display: inline-flex; align-items: center; gap: 6px; }
.caps .ic { width: 16px; height: 16px; color: var(--link); }
.cards-gap { margin-top: 26px; }
.group-head + .cards-gap { margin-top: 26px; }
.connect-box { display: flex; gap: 20px; align-items: flex-start; max-width: 900px; margin: 0 auto; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); font-size: var(--text-card); }
.connect-box h2 { font-size: var(--h3); margin-bottom: 10px; }
.connect-box p { color: var(--ink-soft); }
.connect-box p.page-links { margin-bottom: 0; }
@media (max-width: 599px) { .connect-box { flex-direction: column; padding: 24px; } }
.page > .wrap > .coming-soon, .page > .wrap:last-of-type > .coming-soon { margin: 56px 0 72px; }
body:has(.consent:not([hidden])) .mobile-cta { display: none; }
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ═══ Round 3 (2026-11-14): the design judges' fixes ═══════════════════════════════════════════════ */

/* headings never leave one word alone on the last line */
h1, h2, h3 { text-wrap: balance; }
.section-head { max-width: 760px; }

/* hero: the stars stay behind the text; two notices pinned to the frame's top and bottom edges, over its
   empty bar / below its last row, never on the app's chips; the trust list as 2 + 2; the VAT line */
.hero > .wrap { position: relative; z-index: 1; }
.hero .stars { z-index: 0; height: 700px; bottom: auto; }
.hero .trust { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 8px 28px; }
.vat-line { max-width: 760px; margin: 16px auto 0; text-align: center; font-size: var(--text-small); color: var(--ink-soft); }
.vat-line a { font-weight: var(--fw-medium); }
.toast-1 { inset-inline-start: 44px; top: auto; bottom: -58px; }
.toast-2 { inset-inline-end: 44px; top: -34px; bottom: auto; }
.hero-art-wrap { padding-bottom: 92px; }
.device { width: 196px; inset-inline-end: -30px; bottom: -40px; }
@media (max-width: 719px) {
  .hero .trust { grid-template-columns: 1fr; justify-items: start; width: fit-content; margin-inline: auto; }
  .hero-art-wrap { padding-bottom: 28px; }
}

/* three numbers in one row, on every screen size */
.stats-strip { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.stats-strip .stats { grid-template-columns: repeat(3, 1fr); margin: 0; gap: 12px; }
.stats-strip .stat { background: none; border: 0; padding: 0; text-align: center; }
.stats-strip .stat b { font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.3rem); }
.stats-strip .stat b .unit { font-size: 1rem; }
.stats-strip .stat > span { font-size: var(--text-small); margin-top: 4px; }

/* highlighted phrases never break across lines */
.bullets strong, .ba-after strong, .hl { white-space: nowrap; }

/* before / after: by night a plain surface with a tinted top edge (no heavy fills) */
.ba-before { border-top: 3px solid var(--before-ink); }
.ba-after { border-top: 3px solid var(--after-ink); }

/* inner pages: a centred hero band with a small visual, like Home */
main.page:has(> .page-hero) { padding: 0; }
main.page:has(> .page-hero) > .wrap { padding-top: 44px; padding-bottom: 72px; }
.page-hero { background: var(--hero-mesh); padding: 36px 0 56px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .crumbs { margin-bottom: 22px; }
.page-hero .crumbs ol { justify-content: center; }
.page-hero h1 { margin: 0 auto 14px; max-width: 900px; }
.page-hero .lead { margin: 0 auto; max-width: 720px; }
.page-hero .page-links { justify-content: center; margin: 22px 0 0; }
.page-hero .faq-tools { margin: 28px auto 0; }
.hero-tiles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin: 0 auto 22px; }
.hero-tiles-sep { width: 1px; height: 34px; background: var(--line-strong); margin: 0 6px; opacity: .5; }
.feature-group:first-of-type { border-top: 0; }

/* platform cards: a centred row, so the last row of 3 + 2 is centred */
.card-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.card-row > * { flex: 0 1 calc((100% - 36px) / 3); min-width: 260px; }
@media (max-width: 719px) { .card-row > * { flex-basis: 100%; } }

/* pricing: who it's for, Lucide ticks (never a rotated border, which turns into ⌄ in Arabic), the table */
.plan .who { font-size: var(--text-small); color: var(--ink-soft); margin: 2px 0 14px; }
.plan li::before { content: none; }
.plan-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.plan .plan-list li { display: flex; gap: 10px; align-items: flex-start; padding-inline-start: 0; }
.plan-list .ic { width: 18px; height: 18px; color: var(--link); margin-top: .22em; }
.compare { margin: 36px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: var(--fw-medium); color: var(--ink-strong); display: flex; justify-content: space-between; gap: 16px; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-size: 18px; font-weight: var(--fw-bold); color: var(--link); }
.compare[open] summary::after { content: "−"; }
.compare-scroll { overflow-x: auto; padding: 0 22px; }
.compare table { width: 100%; border-collapse: collapse; font-size: var(--text-card); min-width: 560px; }
.compare th, .compare td { padding: 12px 10px; border-top: 1px solid var(--line); text-align: center; }
.compare thead th { border-top: 0; color: var(--ink-strong); font-weight: var(--fw-bold); }
.compare tbody th { text-align: start; font-weight: var(--fw-medium); color: var(--ink); }
.compare td.yes .ic { width: 20px; height: 20px; color: var(--after-ink); }
.compare td.no { color: var(--fine); }
.compare .fine { padding: 12px 22px 18px; margin: 0; }
.pricing .vat-line { margin: 0 auto 22px; }

/* FAQ: the + sign at 18 px; a magnifier in the search box */
.faq summary::after { font-size: 18px; line-height: 1.3; }
.faq-search { position: relative; }
.faq-search .faq-search-ic { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--fine); pointer-events: none; }
.faq-search input { padding-inline-start: 50px; }

/* coming soon: ONE label per box (the heading is the label) */
.coming-soon .soon-title { margin-bottom: 8px; }
.coming-soon .soon-title .badge-soon, .soon-label .badge-soon { margin: 0; font-size: var(--text-card); padding: 4px 14px; }
.soon-label { margin: 14px 0 12px; }

/* footer: the registered office on its own line */
.company-addr { display: block; margin-top: 4px; }

/* the tour's tab row: centred when it fits, scrollable from the first tab when it doesn't */
.tour-tabs { justify-content: safe center; }

/* ── phones (under 640 px) ── */
@media (max-width: 639px) {
  /* screenshots are the app's own phone layout here: no browser bar */
  .frame-bar { display: none; }
  .frame-window { border-radius: 22px; }
  /* feature rows: an inline icon, no card borders */
  .fcard, .trust-tile, .steps li { display: block; background: none; border: 0; box-shadow: none; padding: 0; }
  .fcard .tile, .trust-tile .tile { float: inline-start; width: 38px; height: 38px; border-radius: 11px; margin: 2px 0 0; margin-inline-end: 12px; }
  .fcard .tile .ic, .trust-tile .tile .ic { width: 19px; height: 19px; }
  .fcard h3, .trust-tile h3 { margin-top: 0; }
  .fcard .bullets, .fcard details, .fcard .plan-badges, .trust-tile p { clear: both; }
  .fcards, .trust-tiles { gap: 30px; }
  .steps li::before { float: inline-start; width: 34px; height: 34px; margin: 0; margin-inline-end: 12px; }
  .steps { gap: 24px; }
  /* FAQ topics: one row that scrolls sideways */
  .faq-topics { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .faq-topics::-webkit-scrollbar { display: none; }
  .faq-topics li { flex: none; }
  /* the period switch as a 2 × 2 grid */
  .periods { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 16px; }
  .periods label { border-radius: 12px; text-align: center; padding: 10px 8px; }
  /* the sticky trial bar's space sits on the footer, not as a strip under it */
  body.has-mobile-cta { padding-bottom: 0; }
  body.has-mobile-cta .site-footer { padding-bottom: calc(32px + 80px + env(safe-area-inset-bottom)); }
  .show-rows { gap: 56px; }
  .section { padding: 48px 0; }
}

/* round 3b: a shorter phone home (target ≲ 9,000 px) and the FAQ topic row kept inside the page */
.faq-tools > * { min-width: 0; }
.faq-topics { max-width: 100%; }
@media (max-width: 639px) {
  /* showcase: one swipe row; the next card peeks in, so it reads as swipeable */
  .show-rows { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .show-rows::-webkit-scrollbar { display: none; }
  .show-row { flex: 0 0 86%; scroll-snap-align: center; display: block; }
  .show-row .show-media { margin-bottom: 18px; }
  .show-media img, .tour-panel img { object-fit: cover; object-position: top; }
  .show-media img { max-height: 340px; }
  .tour-panel img { max-height: 560px; }
  .show-text .sub { display: none; }
  .show-text h3 { font-size: 1.3rem; }
  .motion .show-rows .reveal { opacity: 1; transform: none; }
  /* home plans: a compact 2 × 2 grid (the full cards are on the pricing page) */
  .home .plans { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home .plan { padding: 18px 14px 14px; }
  .home .plan .tagline, .home .plan .who { display: none; }
  .home .plan .amount b { font-size: 1.75rem; }
  .home .plan .amount span { font-size: var(--text-small); }
  .home .plan .btn { padding: 10px 8px; }
  .home .plan .tag { inset-inline-start: 10px; }
  .home .agency { padding: 16px 18px; }
  /* trust: the four points become two short columns */
  .trust-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; justify-content: start; }
  .trust-points li { align-items: flex-start; }
  /* hero phone slightly smaller */
  .device { width: min(220px, 62vw); }
  /* footer: two columns */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer-about { grid-column: 1 / -1; }
  .site-footer ul { margin-bottom: 14px; gap: 8px; }
  .ba-card { padding: 22px; }
  .before-after .ba { gap: 12px; }
}
@media (max-width: 639px) {
  .section { padding: 40px 0; }
  .hero { padding-top: 40px; }
  .device { width: min(180px, 52vw); }
  .tour-panel img { max-height: 480px; }
  .show-media img { max-height: 300px; }
  .cta-band { padding: 48px 0; }
  .constellation { padding-bottom: 40px; }
  .const-caption, .footer-about p { display: none; }
  .trust-tiles, .fcards { gap: 22px; }
  .section-head { margin-bottom: 26px; }
}
@media (max-width: 639px) {
  .home .faq details:nth-of-type(n+5) { display: none; }
  .hub { width: 84px; height: 84px; margin: 12px auto; border-radius: 22px; }
  .hub img { width: 52px; height: 52px; }
  .stats-strip { padding: 22px 0; }
  .steps { gap: 18px; }
}
@media (max-width: 639px) {
  .device { inset: auto; }
  .vat-line > span { display: block; }
  .vat-line .vat-sep { display: none; }
}
.pricing .section.faq { padding-bottom: 0; }

/* ═══ Round 4 (2026-11-14): the judges' blocker + polish ═══ */
/* pricing comparison: the table from 640 px up (scrolling in its own box), one block per plan below */
.compare, .compare-scroll { min-width: 0; max-width: 100%; }
.compare-stack { display: none; }
@media (max-width: 639px) {
  .compare-scroll { display: none; }
  .compare-stack { display: grid; gap: 16px; padding: 0 18px 6px; }
  .cs-plan { border-top: 1px solid var(--line); padding-top: 14px; }
  .cs-plan h3 { font-size: 1.1rem; margin: 0; }
  .cs-plan .plan-list { margin-top: 10px; }
  .cs-plan .plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-card); }
  .cs-users { margin: 10px 0 0; color: var(--ink-soft); font-size: var(--text-card); }
}
/* pricing cards: names, prices, lines and buttons aligned across the row (subgrid) */
@media (min-width: 1100px) {
  .pricing .plans:not(.plans-agency) { grid-template-rows: repeat(7, auto); row-gap: 0; }
  .pricing .plans:not(.plans-agency) > .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; }
  .home .plans { grid-template-rows: repeat(5, auto); row-gap: 0; }
  .home .plans > .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
}
/* "Save 5%" never wraps */
.periods label, .periods label small { white-space: nowrap; }
/* every zigzag frame the same width, whatever the screenshot inside */
@media (min-width: 960px) {
  .show-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .show-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }   /* the image side keeps 1.3fr */
}
/* phone constellation: chips in rows of three (stores 3 + 3, ads 3 + 2), no platform left alone on a line */
@media (max-width: 639px) {
  .const-row .chips { gap: 8px; }
  .const-row .chips li { flex: 0 0 calc((100% - 16px) / 3); display: flex; justify-content: center; }
  .const-row .chip { font-size: var(--text-small); padding: 7px 8px; }
}
@media (max-width: 639px) {
  /* the period switch on phones: the name, then its "Save n%" pill under it (the pill never wraps) */
  .periods label { white-space: normal; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
  .periods label small { margin-inline-start: 0; }
}

/* cookie notice (Riyadh time) and the "Cookie settings" footer button */
.consent-notice { max-width: 680px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; }
.consent-notice p { margin: 0; flex: 1 1 280px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-button[hidden] { display: none; }
.site-footer .link-button { color: var(--footer-ink); }
.site-footer .link-button:hover { color: var(--footer-ink-strong); }
.consent p a { white-space: nowrap; }
/* platform logos (2026-11-14, they replaced the letter tiles): each brand's mark on a white tile in both
   themes (noon, Snapchat and Zid are their own coloured square), never mirrored, its name beside it */
.logo { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--logo-bg); border: 1px solid var(--logo-line); overflow: hidden; }
.logo img { display: block; width: 70%; height: 70%; object-fit: contain; }
.logo-sm { width: 24px; height: 24px; border-radius: 7px; }
.logo-full { border: 0; background: none; }
.logo-full img { width: 100%; height: 100%; }
.chip { padding-inline-start: 8px; }
.soon-list strong.soon-name { display: flex; align-items: center; gap: 8px; }
.trademark-line { margin: 8px 0 0; }
@media (max-width: 639px) {
  .const-row .chip { gap: 6px; padding-inline-start: 6px; }
  /* a chip with its logo can be wider than a third (Amazon Ads): 4 px of slack per third keeps the
     rows 3 + 2 or 2 + 3 down to 360 px, never one chip alone */
  .const-row .chips li { flex-basis: calc((100% - 16px) / 3 - 4px); }
  .const-row .logo-sm { width: 22px; height: 22px; border-radius: 6px; }
}

/* ---- Articles ---- */
/* The blog index (page hero, topic chips, card figures) and the guidance articles (2026-11-15). Kept in
   this one block so it merges cleanly with the rest of base.css. Colours are theme tokens only. */

/* Topic chips: radio buttons (visually hidden, still focusable and arrow-key operable) placed before the
   chip row and the grid, so CSS alone filters the cards. One rule per topic below (pages/blog.mjs refuses
   a topic without one). Without :checked support every card simply shows. */
.topic-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 30px; max-width: 900px; }
.topics label { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-strong); font-size: var(--text-small); font-weight: var(--fw-medium); cursor: pointer; }
.topics label:hover { border-color: var(--link); }
#topic-all:checked ~ .topics label[for="topic-all"], #topic-start:checked ~ .topics label[for="topic-start"],
#topic-brand:checked ~ .topics label[for="topic-brand"], #topic-listings:checked ~ .topics label[for="topic-listings"],
#topic-money:checked ~ .topics label[for="topic-money"], #topic-operations:checked ~ .topics label[for="topic-operations"],
#topic-ads:checked ~ .topics label[for="topic-ads"], #topic-growth:checked ~ .topics label[for="topic-growth"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
#topic-all:focus-visible ~ .topics label[for="topic-all"], #topic-start:focus-visible ~ .topics label[for="topic-start"],
#topic-brand:focus-visible ~ .topics label[for="topic-brand"], #topic-listings:focus-visible ~ .topics label[for="topic-listings"],
#topic-money:focus-visible ~ .topics label[for="topic-money"], #topic-operations:focus-visible ~ .topics label[for="topic-operations"],
#topic-ads:focus-visible ~ .topics label[for="topic-ads"], #topic-growth:focus-visible ~ .topics label[for="topic-growth"] { outline: 3px solid var(--focus); outline-offset: 2px; }
#topic-start:checked ~ .post-grid .post-card:not(.t-start),
#topic-brand:checked ~ .post-grid .post-card:not(.t-brand),
#topic-listings:checked ~ .post-grid .post-card:not(.t-listings),
#topic-money:checked ~ .post-grid .post-card:not(.t-money),
#topic-operations:checked ~ .post-grid .post-card:not(.t-operations),
#topic-ads:checked ~ .post-grid .post-card:not(.t-ads),
#topic-growth:checked ~ .post-grid .post-card:not(.t-growth) { display: none; }

/* cards: the article's figure on top */
.post-fig { margin: 0 0 16px; }
.post-fig svg, .art-fig svg { display: block; width: 100%; height: auto; }

/* an article */
.article-page h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem); }
.article-page .article-lead { margin: 0 0 22px; }
.art-fig { margin: 0 0 28px; }
.key-points { margin: 0 0 8px; padding: 20px 24px; border-radius: var(--radius); background: var(--callout-bg); border: 1px solid var(--callout-line); }
.key-points h2 { margin: 0 0 8px; font-size: 1.25rem; }
.key-points ul { margin: 0; }
.key-points li + li { margin-top: 6px; }
.article .note { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); border-inline-start: 4px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.article .formula { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); background: var(--surface); color: var(--ink); font-weight: var(--fw-medium); }
.article .calc { padding: 10px 16px; border-radius: var(--radius-sm); background: var(--callout-bg); color: var(--ink); font-weight: var(--fw-bold); font-size: 1.1rem; text-align: center; font-variant-numeric: tabular-nums; }
.related { margin-top: 44px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.related li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.related a { font-weight: var(--fw-medium); }
.related .post-meta { margin: 0; }
.article-page .article-cta { margin-bottom: 28px; }
/* "How SellerLink helps": the article's problem, then up to three live features (links to /features cards) */
.helps-box { text-align: start; }
.helps-box h2 { margin-bottom: 8px; }
.helps-box .helps-lead { color: var(--ink-soft); }
.helps-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.helps-list li { display: flex; gap: 10px; align-items: flex-start; }
.helps-list li > .ic { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--link); }
.helps-list li > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.helps-list .helps-hook { flex-basis: 100%; color: var(--ink-soft); }
.helps-box .helps-all { margin: 0 0 18px; }
.helps-box .actions { justify-content: flex-start; }
/* "Guides" lines on the product pages (src/guides.mjs): small, quiet links to the related articles */
.guides-line { margin: 12px 0 0; font-size: var(--text-small); color: var(--fine); line-height: 1.6; }
.guides-line .guides-label { font-weight: var(--fw-medium); color: var(--ink-soft); margin-inline-end: 4px; }
.guides-line a { font-weight: var(--fw-medium); }
.pricing > .wrap > .guides-line { text-align: center; margin: 18px auto 0; }
.faq details > .guides-line { margin: 0 22px 18px; }

/* The illustrations (src/illustrations.mjs): every class is a token pair the build checks for contrast. */
[dir="rtl"] .flip > svg { transform: scaleX(-1); }
.af-canvas { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.af-card { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.af-skel { fill: var(--line); }
.af-link { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 6 6; }
.af-arrow { fill: none; stroke: var(--line-strong); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.af-ic { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.af-ring, .af-line { fill: none; }
.af-line { stroke-linecap: round; stroke-linejoin: round; }
.af-t-a { fill: var(--tile-a-bg); } .af-f-a { fill: var(--tile-a-fg); } .af-s-a, .af-ic-a { stroke: var(--tile-a-fg); } .af-rb-a { stroke: var(--tile-a-bg); }
.af-t-b { fill: var(--tile-b-bg); } .af-f-b { fill: var(--tile-b-fg); } .af-s-b, .af-ic-b { stroke: var(--tile-b-fg); } .af-rb-b { stroke: var(--tile-b-bg); }
.af-t-c { fill: var(--tile-c-bg); } .af-f-c { fill: var(--tile-c-fg); } .af-s-c, .af-ic-c { stroke: var(--tile-c-fg); } .af-rb-c { stroke: var(--tile-c-bg); }
.af-t-d { fill: var(--tile-d-bg); } .af-f-d { fill: var(--tile-d-fg); } .af-s-d, .af-ic-d { stroke: var(--tile-d-fg); } .af-rb-d { stroke: var(--tile-d-bg); }
.af-t-e { fill: var(--tile-e-bg); } .af-f-e { fill: var(--tile-e-fg); } .af-s-e, .af-ic-e { stroke: var(--tile-e-fg); } .af-rb-e { stroke: var(--tile-e-bg); }


/* ═══ Motion layer (Amer, 2026-11-14: "much more noticeable motion … sections, the data inside them,
   plots and curves") ═════════════════════════════════════════════════════════════════════════════
   Three switches, all set by script, so without a script or with reduced motion EVERYTHING is static
   and fully visible:
   - html.anim   (theme.js, first paint): the hero's entrance, CSS keyframes that always end visible;
   - html.motion (site.js): sections and data animate when they get .in (IntersectionObserver);
   - .in         (site.js / motion.js): the element is in view.
   Only transform and opacity animate (plus stroke-dashoffset for lines that draw). Directions use
   --flip (1 left-to-right, -1 in Arabic) so every slide is mirrored. Charts: charts.mjs (sample data). */

:root { --flip: 1; --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-pop: cubic-bezier(.34, 1.56, .64, 1); }
[dir="rtl"] { --flip: -1; }

/* ── charts (always drawn; the motion below only animates them) ── */
.chart-card { margin: 22px 0 6px; padding: 16px 18px; max-width: 460px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); font-size: var(--text-small); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.chart-head strong { color: var(--ink-strong); font-size: var(--text-card); }
.chart-sample { flex: none; color: var(--fine); font-size: var(--text-small); white-space: nowrap; }
.chart-kpi { margin: -4px 0 8px; font-size: 1.5rem; font-weight: var(--fw-bold); color: var(--ink-strong); line-height: 1.2; }
.num { font-variant-numeric: tabular-nums; }
.tone-a { --c: var(--tile-a-fg); } .tone-b { --c: var(--tile-b-fg); } .tone-c { --c: var(--tile-c-fg); }
.tone-d { --c: var(--tile-d-fg); } .tone-e { --c: var(--tile-e-fg); }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: minmax(0, 7.6em) minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.bar-label { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-label b { color: var(--fine); }
.bar-track { display: block; height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar-track svg { display: block; width: 100%; height: 100%; }
[dir="rtl"] .bar-track svg { transform: scaleX(-1); }
.bar-fill { fill: var(--c, var(--primary)); }
.bar-value { color: var(--ink-strong); font-weight: var(--fw-medium); white-space: nowrap; }
.flow .flow-sales .bar-fill { fill: var(--primary); }
.flow .flow-cost .bar-fill { fill: var(--before-ink); }
.flow .flow-left .bar-fill { fill: var(--after-ink); }
.flow .flow-left .bar-label, .flow .flow-left .bar-value { color: var(--ink-strong); font-weight: var(--fw-bold); }
.area-chart { display: block; width: 100%; height: 90px; }
[dir="rtl"] .area-chart { transform: scaleX(-1); }
.area-chart .grid { fill: none; stroke: var(--line); stroke-width: 1; }
.area-chart .area { fill: var(--hl-bg); }
.area-chart .line { fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; }
.spark { display: block; width: 72px; height: 26px; flex: none; color: var(--c, var(--primary)); }
[dir="rtl"] .spark { transform: scaleX(-1); }
.spark-area { fill: currentColor; opacity: .14; }
.spark-line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { width: 112px; height: 112px; flex: none; }
.donut-bg { fill: none; stroke: var(--surface-2); stroke-width: 16; }
.donut .seg { fill: none; stroke: var(--c); stroke-width: 16; }
.donut .sweep { fill: none; stroke: white; stroke-width: 20; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.legend li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.legend b { color: var(--ink-strong); margin-inline-start: auto; padding-inline-start: 10px; }
.tour-panel .chart-card { margin: 20px auto 0; }
.toast .spark { margin-inline-start: 6px; }

/* hero notices: two messages in the same place; without motion only the first shows */
.toast-msgs { display: grid; }
.toast-msgs > .msg { grid-area: 1 / 1; }
.toast-msgs > .msg-b { visibility: hidden; }

/* before / after: without motion, the arrow; with motion, five dashboards collapse into one */
.ba-mid { display: grid; place-items: center; color: var(--link); }
.ba-mid .ba-arrow .ic { width: 34px; height: 34px; }
[dir="rtl"] .ba-mid .ba-arrow .ic { transform: scaleX(-1); }
.ba-merge { display: none; }
@media (max-width: 859px) { .ba-mid .ba-arrow .ic, [dir="rtl"] .ba-mid .ba-arrow .ic { transform: rotate(90deg); } }

/* tour: the gliding indicator (placed by motion.js; without it the selected tab keeps its own colour) */
.tour-tabs { position: relative; }
.tour-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--primary); opacity: 0; pointer-events: none; }
.tour-tab { position: relative; z-index: 1; }

/* ═══ with motion ═══ */
/* sections: clearly visible entrances (fade + rise + slight scale) */
.motion .reveal { opacity: 0; transform: translateY(56px) scale(.95); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.motion .reveal.in { opacity: 1; transform: none; }
/* staggered children: cards, plans, steps, stats, tiles come in one after another */
.motion :is(.plans, .trust-tiles, .steps, .fcards, .card-row, .stats, .grid) > .reveal:nth-child(2) { transition-delay: .12s; }
.motion :is(.plans, .trust-tiles, .steps, .fcards, .card-row, .stats, .grid) > .reveal:nth-child(3) { transition-delay: .24s; }
.motion :is(.plans, .trust-tiles, .steps, .fcards, .card-row, .stats, .grid) > .reveal:nth-child(4) { transition-delay: .36s; }
.motion :is(.plans, .trust-tiles, .steps, .fcards, .card-row, .stats, .grid) > .reveal:nth-child(5) { transition-delay: .48s; }
.motion :is(.plans, .trust-tiles, .steps, .fcards, .card-row, .stats, .grid) > .reveal:nth-child(6) { transition-delay: .6s; }
.motion .section-head.reveal:not(.in) { transform: translateY(40px); }
/* the zigzag rows: the screenshot comes from its own side, the text from the other (mirrored in Arabic) */
.show-row { --side: 1; }
.show-row:nth-child(even) { --side: -1; }
.motion .show-row .show-media.reveal { transform: translateX(calc(-110px * var(--side) * var(--flip))) rotate(calc(-2deg * var(--side) * var(--flip))) scale(.94); }
.motion .show-row .show-text.reveal { transform: translateX(calc(80px * var(--side) * var(--flip))); transition-delay: .15s; }
.motion .show-row .reveal.in { transform: none; }
.motion .ba-before.reveal { transform: translateX(calc(-70px * var(--flip))) scale(.96); }
.motion .ba-after.reveal { transform: translateX(calc(70px * var(--flip))) scale(.96); transition-delay: 1.6s; }
.motion .ba .reveal.in { transform: none; }

/* data inside sections: chart cards rise in, then their data animates */
.motion .chart-card.reveal { transition-delay: .25s; }
.motion .chart-card.reveal:not(.in) { transform: translateY(36px) scale(.96); }
.motion .bars li { opacity: 0; transform: translateX(calc(-18px * var(--flip))); transition: opacity .5s ease, transform .6s var(--ease-out); }
.motion .bar-fill { transform: scaleX(0); transform-box: fill-box; transform-origin: 0 50%; transition: transform 1.1s var(--ease-out); }
.motion .chart-card.in .bars li, .motion .chart-card.in .bar-fill { opacity: 1; transform: none; }
.motion .chart-card.in .bars li:nth-child(1), .motion .chart-card.in .bars li:nth-child(1) .bar-fill { transition-delay: .45s; }
.motion .chart-card.in .bars li:nth-child(2), .motion .chart-card.in .bars li:nth-child(2) .bar-fill { transition-delay: .6s; }
.motion .chart-card.in .bars li:nth-child(3), .motion .chart-card.in .bars li:nth-child(3) .bar-fill { transition-delay: .75s; }
.motion .chart-card.in .bars li:nth-child(4), .motion .chart-card.in .bars li:nth-child(4) .bar-fill { transition-delay: .9s; }
.motion .chart-card.in .bars li:nth-child(5), .motion .chart-card.in .bars li:nth-child(5) .bar-fill { transition-delay: 1.05s; }
/* the money flow, step by step: sales → minus fees → minus ads → what's left */
.motion .flow .flow-cost .bar-fill { transform-origin: 100% 50%; }
.motion .chart-card.in .flow li:nth-child(1), .motion .chart-card.in .flow li:nth-child(1) .bar-fill { transition-delay: .4s; }
.motion .chart-card.in .flow li:nth-child(2), .motion .chart-card.in .flow li:nth-child(2) .bar-fill { transition-delay: 1.1s; }
.motion .chart-card.in .flow li:nth-child(3), .motion .chart-card.in .flow li:nth-child(3) .bar-fill { transition-delay: 1.8s; }
.motion .chart-card.in .flow li:nth-child(4), .motion .chart-card.in .flow li:nth-child(4) .bar-fill { transition-delay: 2.5s; }
.motion .flow .bar-fill { transition-duration: .9s; }
/* curves draw in, then their area fades in; the donut sweeps round */
.motion .area-chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s ease .4s; }
.motion .area-chart .area { opacity: 0; transition: opacity .9s ease 1.6s; }
.motion .chart-card.in .area-chart .line { stroke-dashoffset: 0; }
.motion .chart-card.in .area-chart .area { opacity: 1; }
.motion .donut .sweep { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.6, 0, .2, 1) .4s; }
.motion .chart-card.in .donut .sweep { stroke-dashoffset: 0; }
.motion .legend li { opacity: 0; transform: translateX(calc(14px * var(--flip))); transition: opacity .5s, transform .5s var(--ease-out); }
.motion .chart-card.in .legend li { opacity: 1; transform: none; }
.motion .chart-card.in .legend li:nth-child(2) { transition-delay: .15s; }
.motion .chart-card.in .legend li:nth-child(3) { transition-delay: .3s; }
.motion .chart-card.in .legend li:nth-child(4) { transition-delay: .45s; }
.motion .chart-card.in .legend li:nth-child(5) { transition-delay: .6s; }
/* replaying a chart (a tour tab shown again): reset without the reverse transition */
.motion .replay, .motion .replay * { transition: none !important; }

/* the constellation: the hub, then the platforms pop in; the lines draw; data pulses flow into the hub */
.motion .const .hub { opacity: 0; transform: scale(.5); transition: opacity .5s ease .1s, transform .7s var(--ease-pop) .1s; }
.motion .const .chip { display: inline-flex; opacity: 0; transform: scale(.4); transition: opacity .4s ease, transform .6s var(--ease-pop); }
.motion .const.in .hub, .motion .const.in .chip { opacity: 1; transform: none; }
.motion .const.in li:nth-child(1) .chip { transition-delay: .35s; }
.motion .const.in li:nth-child(2) .chip { transition-delay: .5s; }
.motion .const.in li:nth-child(3) .chip { transition-delay: .65s; }
.motion .const.in li:nth-child(4) .chip { transition-delay: .8s; }
.motion .const.in li:nth-child(5) .chip { transition-delay: .95s; }
.motion .const.in li:nth-child(6) .chip { transition-delay: 1.1s; }
.motion .const-lines path { transition-delay: .9s; }
.pulses { display: none; }
.motion .pulses { display: inline; opacity: 0; transition: opacity .8s ease 2.2s; }
.motion .const.in .pulses { opacity: 1; }
.pulse { fill: var(--primary); }
[data-theme="night"] .pulse { fill: var(--link); }

/* before / after: five dashboards scattered, then they collapse into one account */
.motion .ba-mid .ba-arrow { display: none; }
.motion .ba-merge { display: block; position: relative; width: 190px; height: 180px; }
.ba-mini { position: absolute; left: 50%; top: 50%; width: 82px; margin: -24px 0 0 -41px; padding: 18px 6px 5px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); color: var(--ink-soft); font-size: var(--text-small); line-height: 1.2; text-align: center; white-space: nowrap; transition: transform 1s cubic-bezier(.6, 0, .2, 1), opacity .45s ease; }
.ba-mini i { position: absolute; top: 6px; inset-inline: 8px; height: 6px; border-radius: 3px; background: var(--hl-bg); }
.ba-mini.m1 { transform: translate(-56px, -54px) rotate(-9deg); }
.ba-mini.m2 { transform: translate(54px, -58px) rotate(8deg); }
.ba-mini.m3 { transform: translate(-62px, 16px) rotate(6deg); }
.ba-mini.m4 { transform: translate(60px, 20px) rotate(-7deg); }
.ba-mini.m5 { transform: translate(0, 66px) rotate(3deg); }
.ba-mini.m6 { transform: translate(0, -84px) rotate(-3deg); }
.motion .ba-merge.in .ba-mini { transform: translate(0, 0) scale(.5); opacity: 0; }
.motion .ba-merge.in .m1 { transition-delay: .5s, .9s; }
.motion .ba-merge.in .m2 { transition-delay: .62s, 1.02s; }
.motion .ba-merge.in .m3 { transition-delay: .74s, 1.14s; }
.motion .ba-merge.in .m4 { transition-delay: .86s, 1.26s; }
.motion .ba-merge.in .m5 { transition-delay: .98s, 1.38s; }
.motion .ba-merge.in .m6 { transition-delay: 1.1s, 1.5s; }
.ba-one { position: absolute; inset: 52px 22px; display: grid; place-items: center; padding: 8px; border-radius: 16px; background: var(--primary); color: var(--on-primary); font-weight: var(--fw-bold); text-align: center; box-shadow: var(--shadow-lift); opacity: 0; transform: scale(.3); transition: opacity .4s ease 1.5s, transform .8s var(--ease-pop) 1.5s; }
.motion .ba-merge.in .ba-one { opacity: 1; transform: none; }
@media (min-width: 860px) { .motion .ba { grid-template-columns: 1fr 190px 1fr; } }

/* the tour: the indicator glides; a new screen slides in from the side it comes from */
.motion .tour-ind { opacity: 1; transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.motion .tour-tabs.has-ind .tour-tab[aria-selected="true"] { background: transparent; }
@keyframes tour-in { from { opacity: 0; transform: translateX(calc(60px * var(--dirx))) scale(.98); } to { opacity: 1; transform: none; } }
.motion .tour-panel.enter { animation: tour-in .55s var(--ease-out) both; }
.tour-panel { --dirx: 1; }
.tour-panel.from-start { --dirx: calc(-1 * var(--flip)); }
.tour-panel.from-end { --dirx: var(--flip); }

/* hover: cards lift, their icon tilts; buttons rise; "more" arrows nudge forward */
.motion .btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.motion .btn:hover { transform: translateY(-2px); }
.motion .btn:active { transform: translateY(0); }
.motion .tile { transition: transform .35s var(--ease-pop); }
.motion :is(.lift, .card, .fcard, .trust-tile):hover .tile { transform: rotate(calc(-8deg * var(--flip))) scale(1.1); }
.motion .lift.reveal.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.motion .more .ic-dir { transition: translate .25s ease; }
.motion .more:hover .ic-dir { translate: calc(5px * var(--flip)) 0; }
.motion .chip { transition-property: opacity, transform, border-color; }
.motion .const.in .chip:hover { transform: translateY(-3px); border-color: var(--link); transition-delay: 0s; }

/* ═══ the hero, from the first paint (html.anim, keyframes that always end visible) ═══ */
@keyframes rise { from { opacity: 0; transform: translateY(64px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes rise-small { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slide-in-start { from { opacity: 0; transform: translateX(calc(-70px * var(--flip))); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-34px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes msg-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes msg-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.anim .hero-text > * { animation: rise-small .8s var(--ease-out) both; }
.anim .hero-text > :nth-child(2) { animation-delay: .1s; }
.anim .hero-text > :nth-child(3) { animation-delay: .2s; }
.anim .hero-text > :nth-child(4) { animation-delay: .3s; }
.anim .hero-text > :nth-child(5) { animation-delay: .4s; }
.anim .hero-text > :nth-child(6) { animation-delay: .5s; }
.anim .hero-art .frame { animation: rise 1.3s var(--ease-out) .35s both; }
.anim .hero-art .device { animation: rise 1.2s var(--ease-out) .85s both; }
.anim .hero .toast-1 { animation: slide-in-start .8s var(--ease-out) 1.5s both; }
.anim .hero .toast-2 { animation: drop-in .8s var(--ease-pop) 2.1s both; }
.anim .hero .toast-1 .spark-line { stroke-dasharray: 1; animation: draw 1.4s ease 2s both; }
.anim .hero .toast-2 .spark-line { stroke-dasharray: 1; animation: draw 1.4s ease 2.6s both; }
.anim .hero .toast-msgs > .msg-b { visibility: visible; }
.anim .hero .toast-1 .msg-a { animation: msg-a 10s ease 5s infinite; }
.anim .hero .toast-1 .msg-b { animation: msg-b 10s ease 5s infinite both; }
.anim .hero .toast-2 .msg-a { animation: msg-a 10s ease 7.5s infinite; }
.anim .hero .toast-2 .msg-b { animation: msg-b 10s ease 7.5s infinite both; }

/* phones: the showcase is a swipe row; its cards rise rather than slide sideways */
@media (max-width: 639px) {
  .motion .show-row .show-media.reveal:not(.in), .motion .show-row .show-text.reveal:not(.in) { transform: translateY(30px); }
  /* 2026-11-15: the before/after cards rise too. Sliding in from the side made the page ~45 px wider than
     the phone until they arrived, and a phone then moves every fixed element (the chat button) off screen. */
  .motion .ba-before.reveal:not(.in), .motion .ba-after.reveal:not(.in) { transform: translateY(30px) scale(.96); }
  .chart-card { max-width: none; }
  .show-media img { max-height: 230px; }
  .tour-panel img { max-height: 400px; }
  .motion .ba-merge { width: 200px; height: 170px; }
}

/* phones: the motion layer adds no height (lead, 2026-11-14: the phone home stays ≲ 9,000 px) */
@media (max-width: 639px) {
  .tour-panel .chart-card { display: none; }                         /* the screen itself is shown */
  .show-text:has(.chart-card) .bullets { display: none; }             /* the chart carries the row */
  .show-text .chart-card { margin-top: 14px; padding: 12px 14px; }
  .area-chart { height: 64px; }
  .motion .ba-merge { width: 180px; height: 130px; }
  .ba-mini { padding-top: 14px; }
  .ba-mini.m1 { transform: translate(-50px, -40px) rotate(-9deg); }
  .ba-mini.m2 { transform: translate(48px, -42px) rotate(8deg); }
  .ba-mini.m3 { transform: translate(-56px, 12px) rotate(6deg); }
  .ba-mini.m4 { transform: translate(54px, 14px) rotate(-7deg); }
  .ba-mini.m5 { transform: translate(0, 46px) rotate(3deg); }
  .ba-one { inset: 36px 22px; }
  .device { width: min(160px, 46vw); }
  .home .faq details:nth-of-type(n+4) { display: none; }
  .home .trust-points { display: none; }
}


/* Amer's 2026-11-15 round. Structure only; every colour is a theme token (day.css / night.css).
   1. depth: soft light behind the page, a sheen on cards (the flat solid background read as "boring")
   2. the header links read as navigation, not loose text
   3. the glowing hub in the constellation, by day as well as by night
   4. "two ways to start" above the plans (replaces the one-line VAT note there)
   5. plan benefits that explain themselves on hover (computer) or tap (phone)
   6. the footer: the company as two labelled items, then a © line */

/* ── 1. depth ─────────────────────────────────────────────────────────────────────────────────────
   One fixed layer under everything: coloured light at the page's edges. Sections with their own
   background (bands, hero, footer) cover it; the plain parts of a page (blog, pricing, contact, legal)
   show it. A faint grid sits at the FAR edges only, never behind text (a dot near Arabic text reads as
   a letter's dot, so lines, not dots). Text contrast is checked against --ambient-peak (contrast.mjs). */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before { background: var(--ambient); }
body::after {
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, transparent calc(50% - 600px), transparent calc(50% + 600px), #000 100%);
  mask-image: linear-gradient(90deg, #000 0, transparent calc(50% - 600px), transparent calc(50% + 600px), #000 100%);
}
@media (max-width: 1279px) { body::after { display: none; } }
@media print { body::before, body::after { display: none; } }

/* cards: a soft sheen at the top and a hairline highlight (night); a deeper, softer shadow (day) */
.card, .plan, .stat, .steps li, .faq details, .compare, .coming-soon, .connect-box, .contact-ways, .form-card, .start-card, .article .summary, .article-cta {
  background-image: var(--card-sheen);
  box-shadow: var(--shadow-card), var(--card-edge);
}
.motion .lift:hover { border-color: var(--line-hover); }

/* ── 2. header navigation: a pill group, the current page highlighted ──────────────────────────── */
@media (min-width: 1024px) {
  .site-nav:not(.site-nav-both) { display: flex; justify-content: center; min-width: 0; }
  .site-nav:not(.site-nav-both) ul { gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .site-nav:not(.site-nav-both) a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-strong); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
  .site-nav:not(.site-nav-both) a:hover { background: var(--surface-2); color: var(--ink-strong); }
  .site-nav:not(.site-nav-both) a[aria-current="page"] { background: var(--hl-bg); color: var(--hl-ink); }
  .header-row { gap: 16px; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .site-nav:not(.site-nav-both) a { padding: 8px 10px; }
  .header-actions { gap: 12px; }
}
/* the phone menu: rows with a hover state, the current page marked */
@media (max-width: 1023px) {
  .site-nav:not(.site-nav-both) ul a { padding: 12px 12px; border-radius: var(--radius-sm); border-bottom: 0; color: var(--ink-strong); }
  .site-nav:not(.site-nav-both) ul li + li { border-top: 1px solid var(--line); }
  .site-nav:not(.site-nav-both) ul a[aria-current="page"] { background: var(--hl-bg); color: var(--hl-ink); }
}

/* ── 3. the hub glows and breathes, by day and by night ─────────────────────────────────────────── */
.hub { position: relative; border-color: var(--hub-ring); }
.hub::after { content: ""; position: absolute; inset: -10px; border-radius: 36px; box-shadow: 0 0 36px 12px var(--hub-halo); opacity: .55; pointer-events: none; }
.motion .const.in .hub::after { animation: hub-breathe 3.6s ease-in-out 1.2s infinite; }
@keyframes hub-breathe { 0%, 100% { opacity: .35; transform: scale(.97); } 50% { opacity: .95; transform: scale(1.05); } }
@media (max-width: 639px) { .hub::after { inset: -8px; border-radius: 28px; } }

/* ── 4. two ways to start ───────────────────────────────────────────────────────────────────────── */
.start-paths { max-width: 1000px; margin: 0 auto 30px; }
.start-title { text-align: center; font-size: var(--h3); font-weight: var(--fw-medium); margin: 0 0 14px; }
.start-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .start-grid { grid-template-columns: 1fr 1fr; } }
.start-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background-color: var(--surface); border: 1px solid var(--line); font-size: var(--text-card); }
.start-card .tile { flex: none; }
.start-card h3, .start-card h4 { font-size: 1.1rem; font-weight: var(--fw-bold); margin: 0 0 4px; }
.start-card p { margin: 0; color: var(--ink-soft); }
.start-card .start-link { margin-top: 8px; font-weight: var(--fw-medium); }


/* ── 5. plan benefits that explain themselves ──────────────────────────────────────────────────────
   The line is a button (dotted underline + an info icon). Touch screens: a tap opens the explanation
   under the line. Computers: hover, focus or a click shows it as a small card under the line. */
.plan-list .benefit { position: relative; }
.b-text { flex: 1; min-width: 0; }
.tip-btn { display: inline; margin: 0; padding: 0; border: 0; background: none; font: inherit; line-height: inherit; color: inherit; text-align: start; cursor: help;
  text-decoration: underline dotted var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tip-btn:hover, .benefit.open .tip-btn { color: var(--ink-strong); text-decoration-color: var(--link); }
.tip-btn .tip-ic { display: inline-block; width: 15px; height: 15px; margin-inline-start: 6px; vertical-align: -2px; color: var(--link); }
.tip { display: none; font-size: 15px; line-height: 1.6; color: var(--ink); }
.benefit.open .tip { display: block; margin-top: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--callout-bg); border: 1px solid var(--callout-line); }
@media (hover: hover) and (pointer: fine) {
  /* ABOVE the line (Amer 2026-11-15: a card below covered the next line, so the pointer couldn't move on) */
  .tip { position: absolute; z-index: 6; bottom: calc(100% + 9px); inset-inline: -14px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-pop); }
  .tip::before { content: ""; position: absolute; bottom: -7px; inset-inline-start: 26px; width: 12px; height: 12px; background: var(--surface); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transform: rotate(45deg); }
  .tip::after { content: ""; position: absolute; top: 100%; inset-inline: 0; height: 12px; }  /* a bridge: the pointer can move onto the card */
  .b-text:hover .tip, .tip-btn:focus-visible + .tip, .benefit.open .tip { display: block; margin: 0; background: var(--surface); border-color: var(--line-strong); }
  .plan:has(.b-text:hover), .plan:has(.benefit.open), .plan:has(.tip-btn:focus-visible) { z-index: 4; }
}

/* ── 6. footer ─────────────────────────────────────────────────────────────────────────────────────── */
.site-footer .footer-mail { display: inline-grid; gap: 2px; }
.site-footer .footer-mail span { font-size: var(--text-small); }
.site-footer .footer-mail bdi { color: var(--footer-ink-strong); }
.footer-company { margin-top: 34px; padding-top: 0; border-top: 0; font-size: var(--text-small); }
.footer-company-both { display: grid; gap: 12px; }
.company-line { display: grid; gap: 14px 36px; margin: 0; padding: 18px 22px; border-radius: var(--radius); background: var(--footer-card); border: 1px solid var(--footer-line); }
@media (min-width: 900px) { .company-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
.cl-item { display: flex; gap: 12px; align-items: flex-start; margin: 0; line-height: 1.6; }
.cl-item > .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--footer-ink); }
.cl-item b { display: block; color: var(--footer-ink-strong); font-weight: var(--fw-medium); }
.cl-sub, .cl-sub.company-addr { display: block; margin-top: 2px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--footer-line); font-size: var(--text-small); }
.footer-base p { margin: 0; }
.footer-base .trademark-line { max-width: 680px; margin: 0; }
/* the same company details on the contact page, on a light card */
.company-card .company-line { grid-template-columns: 1fr; padding: 0; background: none; border: 0; }
.company-card .cl-item > .ic { color: var(--link); }
.company-card .cl-item b { color: var(--ink-strong); }

/* ── 7. the golden feature (Amer 2026-11-15: listing) ──────────────────────────────────────────────
   A gold label; on the features page its own band with one wide card and a gold edge; on pricing the
   label sits above the benefit's line. Text colours: gold-ink on gold-bg (contrast.mjs). */
.gold-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 12px; border-radius: 999px; background: var(--gold-bg); color: var(--gold-ink); border: 1px solid var(--gold-line); font-size: var(--text-small); font-weight: var(--fw-medium); line-height: 1.5; white-space: nowrap; }
.gold-badge .ic { width: 15px; height: 15px; flex: none; }
.fcard-gold { position: relative; border-color: var(--gold-line); box-shadow: 0 0 0 1px var(--gold-line), 0 26px 60px -30px var(--gold-glow), var(--card-edge); }
.fcard-gold > .gold-badge { position: absolute; top: -15px; inset-inline-start: 24px; }
.feature-group-gold .fcards { grid-template-columns: 1fr; max-width: 940px; margin-inline: auto; }
.feature-group-gold .fcard { padding: 34px 32px 28px; }
.feature-group-gold .fcard h3 { font-size: 1.45rem; }
@media (min-width: 900px) { .feature-group-gold .bullets { columns: 2; column-gap: 36px; } .feature-group-gold .bullets li { break-inside: avoid; } }
.benefit-gold .b-text > .gold-badge { display: flex; margin: 0 0 6px; }

/* ── 8. the chat in the corner (Amer 2026-11-15) ───────────────────────────────────────────────────
   Bottom inline-end: right in English, left in Arabic. On phones it sits above the sticky trial bar,
   and the panel becomes a sheet across the screen. Hidden while a cookie box is open. */
.chat { position: fixed; z-index: 40; inset-inline-end: 20px; bottom: 20px; }
.chat[hidden] { display: none; }
body:has(.consent:not([hidden])) .chat { display: none; }
.chat-launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: inherit; font-size: var(--text-button); font-weight: var(--fw-medium); cursor: pointer; box-shadow: var(--shadow-pop); }
.chat-launcher:hover { background: var(--primary-hover); }
.chat-launcher .ic { width: 24px; height: 24px; flex: none; }
.chat.is-open .chat-launcher-label { display: none; }
.chat.is-open .chat-launcher { padding: 0; width: 56px; justify-content: center; }
.chat-panel { position: absolute; bottom: calc(100% + 12px); inset-inline-end: 0; width: min(390px, calc(100vw - 40px)); max-height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-pop); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(120deg, var(--cta-a), var(--cta-b)); color: var(--cta-ink); }
.chat-head h2 { margin: 0; font-size: 1.05rem; line-height: 1.3; color: var(--cta-ink); letter-spacing: 0; }
.chat-head p { margin: 2px 0 0; font-size: var(--text-small); line-height: 1.4; color: var(--cta-ink-soft); }
.chat-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--logo-bg); }
.chat-close { display: grid; place-items: center; flex: none; margin-inline-start: auto; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--cta-ink); cursor: pointer; }
.chat-close .ic { width: 22px; height: 22px; }
.chat-log { flex: 1 1 auto; min-height: 120px; overflow-y: auto; display: grid; align-content: start; gap: 10px; padding: 16px; font-size: 15px; line-height: 1.6; }
.msg { max-width: 90%; padding: 10px 14px; border-radius: 14px; }
.msg p { margin: 0 0 6px; }
.msg p:last-child { margin: 0; }
.msg-bot { justify-self: start; background: var(--surface-2); color: var(--ink); border-start-start-radius: 4px; }
.msg-user { justify-self: end; background: var(--primary); color: var(--on-primary); border-start-end-radius: 4px; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.chat-choices:empty { display: none; }
.chat-choice { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-strong); font: inherit; font-size: var(--text-small); line-height: 1.4; text-align: start; text-decoration: none; cursor: pointer; }
.chat-choice:hover { background: var(--hl-bg); color: var(--hl-ink); }
.chat-choice-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chat-choice-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.chat-choice-back { border-style: dashed; }
.chat-send { display: grid; gap: 6px; padding: 0 16px 16px; font-size: var(--text-small); }
.chat-send[hidden] { display: none; }
.chat-send label { color: var(--ink-strong); font-weight: var(--fw-medium); }
.chat-send input, .chat-send textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--field-bg); color: var(--ink); font: inherit; font-size: 16px; }
.chat-send textarea { resize: vertical; min-height: 84px; }
.chat-note { margin: 2px 0 4px; color: var(--fine); }
.chat-send .btn .ic { width: 18px; height: 18px; }
:dir(rtl) .chat-send .btn .ic { transform: scaleX(-1); }
@media (max-width: 719px) {
  .chat { inset-inline-end: 14px; bottom: 14px; }
  body.has-mobile-cta .chat { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .chat-launcher { width: 56px; padding: 0; justify-content: center; }
  .chat-launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-panel { position: fixed; inset-inline: 10px; bottom: 10px; width: auto; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); z-index: 41; }
}
@media print { .chat { display: none; } }

/* ── 9. currency: US dollars first, a switch to riyals (Amer 2026-11-15) ────────────────────────────
   Two more radios before .plans (like the period switch): each card carries its price in both
   currencies (.c-usd / .c-sar) and only the chosen one shows. The "billed" line is always riyals. */
.pricing .periods { margin-bottom: 12px; }
.currency { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 8px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.currency label { padding: 6px 16px; border-radius: 999px; cursor: pointer; font-size: var(--text-small); font-weight: var(--fw-medium); color: var(--ink-soft); }
#cur-usd:checked ~ .currency label[for="cur-usd"], #cur-sar:checked ~ .currency label[for="cur-sar"] { background: var(--hl-bg); color: var(--hl-ink); }
#cur-usd:focus-visible ~ .currency label[for="cur-usd"], #cur-sar:focus-visible ~ .currency label[for="cur-sar"] { outline: 3px solid var(--focus); outline-offset: 2px; }
.cur-note { max-width: 640px; margin: 0 auto 30px; text-align: center; font-size: var(--text-small); color: var(--fine); }
#cur-usd:checked ~ .plans .amount.c-sar, #cur-sar:checked ~ .plans .amount.c-usd { display: none; }
/* the home cards: the dollar price, with the riyal amount that is charged on the same row */
.plan .amount .sar-inline { font-size: var(--text-small); color: var(--fine); font-weight: 400; }
/* the dollar number takes the price size and colour (not the "/ month" style) */
.plan .amount b .price span { font-size: inherit; color: inherit; }

/* ── 10. Amer's 4th notes (2026-11-15) ─────────────────────────────────────────────────────────────
   the hero's sign-up line on two lines, the Salla part with a small button (our own, with a store icon) */
.vat-line.vat-two { display: grid; gap: 8px; justify-items: center; }
.vat-line.vat-two .vat-salla { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; }
.vat-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--radius-btn); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-strong); font-size: var(--text-small); font-weight: var(--fw-medium); text-decoration: none; }
.vat-btn:hover { background: var(--hl-bg); color: var(--hl-ink); }
.vat-btn .ic { width: 18px; height: 18px; color: var(--link); flex: none; }
/* the chat button never covers the last lines of the footer: room under it on computers; on phones the
   button steps aside while the footer's last lines are on screen (chat.js .at-end; no extra page height) */
@media (min-width: 720px) { body:has(.chat:not([hidden])) .site-footer { padding-bottom: 104px; } }
@media (max-width: 719px) { .chat.at-end:not(.is-open) { opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .2s ease, transform .2s ease; } }
/* features bands with one or two cards fill their row (the grid is 3 columns from 900 px): one card is a
   centred wide card with its points in two columns (like the golden band), two cards share the row */
@media (min-width: 900px) {
  .fcards:has(> .fcard:only-child) { grid-template-columns: minmax(0, 940px); justify-content: center; }
  .fcards > .fcard:only-child .bullets { columns: 2; column-gap: 36px; }
  .fcards > .fcard:only-child .bullets li { break-inside: avoid; }
  .fcards:has(> .fcard:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── safety net (2026-11-15) ─────────────────────────────────────────────────────────────────────
   Nothing inside a page may make it wider than the screen: a phone widens its layout to fit any
   sideways overflow (even a card still waiting to slide in), and that carries the fixed chat button
   off the screen. clip, not hidden: it makes no scroll box, so nothing inside loses its behaviour. */
main { overflow-x: clip; }
