/* OrchestraRx website — the app's own system: neutral black/white, the light grey canvas, and the app's accent
   colours (green = selling, orange = stock, purple = credit & AI, blue = reports). Font: PP Neue Montreal Arabic. */

@font-face { font-family: "PP Neue Montreal Arabic"; src: url("assets/fonts/PPNeueMontrealArabic-Light.otf") format("opentype"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "PP Neue Montreal Arabic"; src: url("assets/fonts/PPNeueMontrealArabic-Regular.otf") format("opentype"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "PP Neue Montreal Arabic"; src: url("assets/fonts/PPNeueMontrealArabic-Medium.otf") format("opentype"); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #ffffff;
  --canvas: oklch(0.962 0.002 264);          /* the app's background */
  --card: #ffffff;
  --ink: oklch(0.145 0 0);                   /* text */
  --hover: oklch(0.34 0 0);                  /* buttons under the mouse: dark grey */
  --mute: oklch(0.556 0 0);                  /* secondary text */
  --mute-2: oklch(0.7 0 0);
  --line: oklch(0.922 0 0);
  --green: oklch(0.68 0.16 152);             /* selling */
  --green-ink: oklch(0.527 0.154 150.069);
  --orange: oklch(0.705 0.213 47.604);
  --orange-ink: oklch(0.553 0.195 38.402);
  --purple: oklch(0.627 0.265 303.9);
  --purple-ink: oklch(0.496 0.265 301.924);
  --blue: oklch(0.623 0.214 259.815);
  --blue-ink: oklch(0.546 0.245 262.881);
  --red: oklch(0.577 0.245 27.325);
  --radius: 7px;
  --radius-lg: 15px;
  --shadow-window: 0 1px 0 oklch(0 0 0 / 4%), 0 24px 60px -24px oklch(0 0 0 / 28%), 0 0 0 1px oklch(0 0 0 / 6%);
  --font: "PP Neue Montreal Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 400; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
b, strong { font-weight: 600; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.mute { color: var(--mute); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; border: 0; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 16px; border-radius: 7px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--canvas); }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: oklch(1 0 0 / 82%); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; position: relative; }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); } /* always in the exact middle of the page */
.nav__links a { white-space: nowrap; padding: 6px 12px; border-radius: 4px; font-size: 15px; color: var(--mute); transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--ink); background: var(--canvas); }
.nav__cta { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; } /* always at the far side, also when the links are hidden on phones */
.nav__burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 6px; background: var(--canvas); cursor: pointer; padding: 0; position: relative; }
.nav__burger span { position: absolute; inset-inline: 12px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s; }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.nav__sheet { display: none; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 0; }
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding-block: 5px; padding-inline: 6px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--mute); transition: color .15s, box-shadow .15s; }
.pill:hover { color: var(--ink); box-shadow: inset 0 0 0 1px oklch(0.85 0 0); }
.pill__new { background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 10px; font-size: 12.5px; font-weight: 500; }
h1 { margin-top: 26px; font-size: clamp(38px, 6.2vw, 72px); line-height: 1.18; font-weight: 400; }
.lead { margin-top: 22px; max-width: 640px; font-size: 19px; color: var(--mute); }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--mute); }

/* the app shown on a soft striped backdrop in the app's accent colours */
.stage { position: relative; border-radius: var(--radius-lg); padding: clamp(18px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--stage-bg); }
.stage--hero { margin-top: 56px; padding-bottom: 0; --stage-bg: radial-gradient(80% 90% at 85% 0%, oklch(0.88 0.09 152 / 90%), transparent 60%), radial-gradient(70% 80% at 10% 10%, oklch(0.86 0.1 300 / 85%), transparent 60%), radial-gradient(90% 90% at 50% 100%, oklch(0.9 0.07 260), transparent 70%), var(--canvas); }
.stage--green { --stage-bg: linear-gradient(160deg, oklch(0.93 0.06 152), oklch(0.97 0.02 152)); }
.stage--orange { --stage-bg: linear-gradient(160deg, oklch(0.94 0.06 60), oklch(0.975 0.02 70)); }
.stage--purple { --stage-bg: linear-gradient(160deg, oklch(0.93 0.06 300), oklch(0.975 0.02 300)); }
.stage--blue { --stage-bg: linear-gradient(160deg, oklch(0.93 0.05 255), oklch(0.975 0.015 255)); }
.stage--flat::after { opacity: .35; }
.window { border-radius: 8px 8px 0 0; overflow: hidden; box-shadow: var(--shadow-window); background: #fff; }
.feature .window, .stage:not(.stage--hero) .window { border-radius: 7px; }
.card-shot { border-radius: 9px; overflow: hidden; background: #fff; box-shadow: var(--shadow-window); padding: 14px; }

/* hero screenshot tilt (driven by --p from script.js: 0 = tilted back, 1 = flat) */
.stage[data-tilt] { perspective: 1400px; }
.stage[data-tilt] .window {
  --p: inherit;
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p, 0)) * 24deg)) scale(calc(0.92 + var(--p, 0) * 0.08));
  will-change: transform;
}

/* hero intro sequence (script.js adds .hero-anim, --i per line, and splits the h1 into words) */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }
@keyframes wordUp { from { transform: translateY(105%) rotate(4deg); opacity: 0; } }
@keyframes stageIn { from { opacity: 0; transform: translateY(70px) scale(.96); } }
.hero-anim > *:not(h1) { animation: heroIn .9s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.1s + var(--i, 0) * .12s); }
.hero-anim .hm { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em .02em .14em; margin: -.08em -.02em -.14em; }
.hero-anim .hw { display: inline-block; transform-origin: 0 100%; animation: wordUp 1s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--wd, 0s); }
html[dir="rtl"] .hero-anim .hw { transform-origin: 100% 100%; }
.hero-stage { animation: stageIn 1.3s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.1s + var(--i, 0) * .12s); }
@media (prefers-reduced-motion: reduce) { .hero-anim > *, .hero-anim .hw, .hero-stage { animation: none !important; } }

/* CTA band: words + button on one side, a screenshot on striped colour on the other */
.cta-band { padding: 70px 0 110px; }
.cta-band__card { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 32px; background: var(--canvas); border-radius: 15px; padding: 14px; box-shadow: inset 0 0 0 1px oklch(0 0 0 / 6%); overflow: hidden; }
.cta-band__copy { padding: 36px 0; padding-inline-start: clamp(20px, 4vw, 52px); }
.cta-band__copy .h2 { font-size: clamp(32px, 4vw, 52px); }
.cta-band__copy .lead { margin-top: 16px; max-width: 460px; text-align: start; }
.cta-band__copy .hero__ctas { justify-content: flex-start; margin-top: 30px; }
/* the screenshot sits on a light panel with a coloured stroke (no colour fill) */
/* the screenshot sits on a soft gradient of our colours, with thin light stripes and a coloured outline */
.cta-band__art { --c: var(--purple); position: relative; aspect-ratio: 16 / 10.5; border-radius: 11px; overflow: hidden;
  background: linear-gradient(125deg, color-mix(in oklch, var(--c) 55%, white), color-mix(in oklch, var(--blue) 30%, white) 55%, color-mix(in oklch, var(--green) 30%, white)); }
.cta-band__art--purple { --c: var(--purple); }
.cta-band__art--green { --c: var(--green); }
.cta-band__art--orange { --c: var(--orange); }
.cta-band__art img { position: absolute; top: 13%; inset-inline-start: 8%; width: 118%; max-width: none; border-radius: 7px; box-shadow: 0 30px 60px -20px oklch(0 0 0 / 40%), 0 0 0 1px oklch(0 0 0 / 8%); transition: transform .9s cubic-bezier(.22,1,.36,1); }
.cta-band__card:hover .cta-band__art img { transform: translateY(-6px); }
@media (max-width: 860px) {
  .cta-band__card { grid-template-columns: 1fr; }
  .cta-band__copy { padding: 26px 14px 6px; }
}

/* sub-pages: a smaller hero */
.page-hero { padding: 72px 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { margin-top: 10px; font-size: clamp(34px, 5vw, 56px); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--canvas); }

/* home: three pillars + the main features as cards */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 40px 0 10px; }
.pillars > div { background: var(--canvas); border-radius: 11px; padding: 26px; }
.pillars b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.pillars span { color: var(--mute); font-size: 15.5px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 11px; padding: 26px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 0 0 1px oklch(0.85 0 0), 0 18px 40px -22px oklch(0 0 0 / 30%); transform: translateY(-2px); }
.card .ai__icon { margin-bottom: 10px; }
.card h4 { font-size: 18px; font-weight: 600; }
.card p { color: var(--mute); font-size: 15px; }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: oklch(0.627 0.265 303.9 / 11%); color: var(--purple-ink); }
.ic--green { background: oklch(0.68 0.16 152 / 13%); color: var(--green-ink); }
.ic--orange { background: oklch(0.705 0.213 47.6 / 13%); color: var(--orange-ink); }
.ic--blue { background: oklch(0.546 0.245 262.9 / 10%); color: var(--blue-ink); }

/* contact */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; padding: 30px 0 90px; align-items: start; }
.form { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid oklch(0.145 0 0 / 15%); border-color: oklch(0.7 0 0); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.side { display: grid; gap: 14px; }
.side > div { background: var(--canvas); border-radius: 11px; padding: 24px; display: grid; gap: 8px; }
.side b { font-size: 17px; font-weight: 600; }
.side p { color: var(--mute); font-size: 15px; }
a.link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* language switch in the menu */
.lang { font-size: 14.5px; color: var(--mute); }
.lang:hover { color: var(--ink); }
.window--soft { border-radius: 7px; }

/* ---------- supplier invoice reading (the highlight) ---------- */
.invoice { padding: 110px 0 30px; }
.invoice__head { max-width: 880px; }
.invoice__flow { position: relative; isolation: isolate; overflow: hidden; margin-top: 44px; display: grid; grid-template-columns: 5fr auto 8fr; gap: clamp(14px, 2.4vw, 32px); align-items: center; border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 52px);
  background: radial-gradient(70% 90% at 0% 0%, oklch(0.9 0.08 300 / 85%), transparent 60%), radial-gradient(60% 80% at 100% 100%, oklch(0.9 0.07 152 / 75%), transparent 60%), var(--canvas); }
.invoice__flow figure { margin: 0; }
.invoice__photo img { border-radius: 3px; transform: rotate(-2.2deg); box-shadow: 0 30px 50px -24px oklch(0 0 0 / 40%), 0 0 0 1px oklch(0 0 0 / 6%); }
.invoice__flow figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: oklch(0.4 0 0); }
.invoice__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple-ink); box-shadow: 0 10px 24px -10px oklch(0 0 0 / 30%); }
[dir="rtl"] .invoice__arrow svg { transform: scaleX(-1); }
.steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--canvas); border-radius: 11px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.steps b { font-size: 17px; font-weight: 600; }
.steps span { color: var(--mute); font-size: 15px; line-height: 1.6; }

/* ---------- facts strip ---------- */
.facts { padding: 44px 0 8px; text-align: center; }
.facts__title { font-size: 14px; color: var(--mute); }
.facts__row { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; color: var(--mute); font-size: 15px; }
.facts__row b { color: var(--ink); font-weight: 600; margin-inline-end: 6px; }

/* ---------- headings / sections ---------- */
.eyebrow { font-size: 14px; font-weight: 500; color: var(--mute); margin-bottom: 14px; }
.eyebrow--green { color: var(--green-ink); } .eyebrow--orange { color: var(--orange-ink); } .eyebrow--purple { color: var(--purple-ink); } .eyebrow--blue { color: var(--blue-ink); }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; font-weight: 400; max-width: 900px; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; font-weight: 400; }
.intro { padding: 110px 0 40px; }

.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; color: oklch(0.32 0 0); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 18px; height: 18px; border-radius: 3px; background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks--sm { gap: 8px; margin-top: 22px; font-size: 15px; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 56px 0; }
.feature--flip .feature__text { order: 2; }
.feature .stage { padding: clamp(16px, 3vw, 40px); }
.wide { padding: 56px 0; }
.wide__head { max-width: 760px; margin-bottom: 30px; }

/* ---------- numbers (big figures on soft cards) ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 72px 0; }
.num { background: var(--canvas); border-radius: 11px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; }
.num b { font-size: clamp(40px, 4.4vw, 58px); line-height: 1; font-weight: 400; }
.num b small { font-size: .45em; margin-inline-start: 4px; color: var(--mute); }
.num span { color: var(--mute); font-size: 15px; line-height: 1.6; margin-top: auto; }

/* ---------- AI ---------- */
.ai { background: var(--canvas); padding: 110px 0; margin-top: 30px; }
.ai__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 14px; }
.ai__card { background: #fff; border-radius: 11px; padding: 26px; box-shadow: 0 0 0 1px oklch(0 0 0 / 4%); }
.ai__icon { width: 44px; height: 44px; border-radius: 7px; display: grid; place-items: center; background: oklch(0.627 0.265 303.9 / 11%); color: var(--purple-ink); margin-bottom: 18px; }
.ai__card h4 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.ai__card p { color: var(--mute); font-size: 15.5px; }
.ai .stage { margin-top: 0; }
.ai__note { margin-top: 18px; font-size: 14px; color: var(--mute); }

/* ---------- phone ---------- */
.phone { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 110px 0 60px; }
.phone__device { display: grid; place-items: center; padding: 30px; border-radius: var(--radius-lg); background: radial-gradient(70% 70% at 50% 30%, oklch(0.92 0.07 152), transparent 70%), var(--canvas); }
.device { position: relative; width: min(300px, 80%); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--canvas); box-shadow: 0 0 0 10px #111, 0 0 0 11px #2a2a2a, 0 40px 80px -30px oklch(0 0 0 / 45%); overflow: hidden; padding-top: 38px; }
.device__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 99px; background: #111; }
.device img { width: 100%; }

/* ---------- safe exit ---------- */
.exit { padding: 50px 0; }
.exit__card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); background: var(--ink); color: #fff; }
.exit__card .mute { color: oklch(0.72 0 0); }
.exit__card .eyebrow { color: oklch(0.72 0 0); }
.exit__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; color: oklch(0.86 0 0); font-size: 15.5px; }
.exit__list li { display: flex; gap: 12px; align-items: baseline; }
.chip { flex: none; display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 4px; background: oklch(1 0 0 / 12%); color: #fff; }
.chip--green { background: oklch(0.68 0.16 152 / 28%); color: oklch(0.88 0.12 152); }
.chip--red { background: oklch(0.577 0.245 27 / 28%); color: oklch(0.85 0.1 27); }

/* ---------- more ---------- */
.more { padding: 70px 0; }
.more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 11px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.more__grid > div { background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.more__grid b { font-weight: 600; font-size: 16px; }
.more__grid span { color: var(--mute); font-size: 14.5px; line-height: 1.6; }

/* ---------- pricing ---------- */
/* ---------- pricing (cards in the style of the reference: warm panels, big price, the main one with soft stripes) ---------- */
.pricing { padding: 0 0 20px; }
body[data-page="pricing"] .page-hero { padding-bottom: 8px; }
body[data-page="pricing"] .faq { padding-top: 90px; }
.billing { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; font-size: 16px; }
.billing__opt { color: var(--mute); transition: color .2s; cursor: pointer; background: none; border: 0; font: inherit; padding: 0; }
.billing__opt.is-on { color: var(--ink); }
.switch { position: relative; width: 56px; height: 32px; border-radius: 99px; background: oklch(0.82 0 0); border: 0; cursor: pointer; padding: 0; transition: background .25s; }
.switch[aria-checked="true"] { background: var(--ink); }
.switch::after { content: ""; position: absolute; top: 4px; inset-inline-start: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.switch[aria-checked="true"]::after { transform: translateX(24px); }
html[dir="rtl"] .switch[aria-checked="true"]::after { transform: translateX(-24px); }
.save { font-size: 13.5px; font-weight: 500; padding: 4px 10px; border-radius: 4px; background: oklch(0.68 0.16 152 / 13%); color: var(--green-ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 13px; padding: 36px 34px 34px; background: var(--canvas); box-shadow: inset 0 0 0 1px oklch(0 0 0 / 6%);
}
.plan > * { position: relative; }
/* the recommended plan: a soft top-to-bottom gradient of our colours (no outline) */
.plan--main { background: linear-gradient(to bottom, color-mix(in oklch, var(--purple) 20%, white), color-mix(in oklch, var(--blue) 14%, white) 55%, color-mix(in oklch, var(--green) 16%, white)); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h4 { font-size: 22px; font-weight: 500; }
.plan__badge { background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 4px; }
.plan__price { margin: 26px 0 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price b { font-size: clamp(46px, 5vw, 64px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.plan__price .cur { font-size: 20px; color: var(--ink); }
.plan__price .per { color: var(--mute); font-size: 16px; }
.plan__price--custom b { font-size: clamp(46px, 5vw, 64px); }
.plan__sub { color: var(--mute); font-size: 13.5px; margin-top: -6px; min-height: 20px; }
.plan__for { color: var(--mute); font-size: 16px; margin-top: 10px; min-height: 48px; }
.plan .ticks--sm { margin-top: 26px; padding-top: 26px; border-top: 1px solid oklch(0 0 0 / 10%); gap: 14px; font-size: 15.5px; flex: 1; }
.plan .btn { margin-top: 32px; height: 52px; border-radius: 7px; font-size: 16px; }
.plan .btn--light { box-shadow: inset 0 0 0 1px oklch(0 0 0 / 7%); }
.pricing .fine.center { margin-top: 34px; }

/* ---------- FAQ ---------- */
.faq { padding: 100px 0 40px; display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 9px; background: var(--canvas); padding: 0 22px; transition: background .15s; }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--mute); font-size: 15.5px; }

/* ---------- final CTA ---------- */
.final { padding: 80px 0 110px; }
.final__card { text-align: center; display: flex; flex-direction: column; align-items: center; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px) 24px; background: radial-gradient(60% 90% at 80% 0%, oklch(0.9 0.08 152 / 80%), transparent 60%), radial-gradient(60% 90% at 15% 100%, oklch(0.88 0.09 300 / 75%), transparent 60%), var(--canvas); }
.final__mark { width: 44px; height: 44px; margin-bottom: 24px; }
.final .h2 { max-width: 640px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 52px 0 30px; }
.foot__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__brand img { height: 20px; width: auto; }
.foot__brand p { margin-top: 12px; color: var(--mute); font-size: 15px; }
.foot__cols { display: flex; gap: 64px; }
.foot__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot__cols a { color: var(--mute); transition: color .15s; } .foot__cols a:hover { color: var(--ink); }
.foot__h { font-weight: 600; margin-bottom: 4px; }
.foot__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13.5px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
/* a light blur only on headings, not on every card */
.hero__copy.reveal, .page-hero.reveal, .reveal:has(> .h2) { filter: blur(6px); transition-property: opacity, transform, filter; }
.hero__copy.reveal.is-in, .page-hero.reveal.is-in, .reveal.is-in:has(> .h2) { filter: none; }
@media (prefers-reduced-motion: reduce) { .reveal { filter: none !important; } }
/* buttons: a smooth colour fade on hover (to dark grey), a small press */
.btn { transition: transform .2s cubic-bezier(.22,1,.36,1), background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.btn--dark:hover { background: var(--hover); }
.btn--light:hover { background: var(--hover); color: #fff; box-shadow: inset 0 0 0 1px var(--hover); }
.btn:active { transform: scale(.97); }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .more__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1120px) { /* six menu links: the menu button takes over before they reach the logo */
  .nav__links { display: none; }
  .nav__burger { display: inline-block; }
  .nav__sheet { display: none; flex-direction: column; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; }
  .nav__sheet.is-open { display: flex; }
  .nav__sheet a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__sheet a:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  .hide-sm { display: none; }
  .feature, .phone, .exit__card { grid-template-columns: 1fr; }
  .invoice__flow { grid-template-columns: 1fr; justify-items: center; }
  .invoice__arrow { transform: rotate(90deg); }
  [dir="rtl"] .invoice__arrow svg { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .pillars, .cards, .contact, .form .row { grid-template-columns: 1fr; }
  .lang { display: none; }
  .feature--flip .feature__text { order: 0; }
  .ai__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .intro, .ai, .pricing, .phone { padding-top: 80px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav__in { height: 60px; gap: 10px; }
  .nav__logo img { height: 24px; }
  .nav__cta .btn--dark { height: 38px; padding: 0 12px; font-size: 14px; }
  .lead { font-size: 17px; }
  .hero__ctas { align-self: stretch; width: 100%; } /* the buttons span the whole screen width (minus the side margin) */
  .hero__ctas .btn { width: 100%; }
  .numbers { grid-template-columns: 1fr; padding: 48px 0; }
  .num { min-height: 0; }
  .more__grid { grid-template-columns: 1fr; }
  .foot__cols { gap: 40px; }
  .stage--hero { border-radius: 10px; }
}

/* ---- solutions page: one block per solution ---- */
.sol-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.sol-nav a { padding: 6px 12px; border-radius: 6px; background: var(--canvas); font-size: 14.5px; color: var(--mute); transition: color .15s, background .15s; }
.sol-nav a:hover { color: #fff; background: var(--hover); }
.feature { scroll-margin-top: 90px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }

/* =====================================================================================================
   Look of 2026-12-02 (a mix with deepgram.com, in our own font): a very light grey page with white cards on a
   thin line, a light-green-to-white hero, calm headline sizes outside the hero, grey icons, real app screens
   with no coloured box behind them, the photo card and the "one system" panel.
   ===================================================================================================== */
:root {
  --bg: #f7f7f7;
  --canvas: #efefef;
  --ink: #1d1d1d;
  --line: oklch(0.915 0 0);
  --mint: oklch(0.925 0.06 152);           /* light green from the selling colour */
}
body { background: var(--bg); }
.nav { background: color-mix(in oklch, var(--bg) 84%, transparent); }

/* headlines: big only in the hero */
h1, .h2, .h3 { font-weight: 700; }
h1 { font-size: clamp(34px, 5.2vw, 64px); }
:lang(en) h1 { letter-spacing: -.03em; line-height: 1.06; }
:lang(ar) h1 { line-height: 1.4; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); }
.h2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.28; }
.h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.32; }
:lang(en) .h2, :lang(en) .h3 { letter-spacing: -.02em; }
:lang(ar) .h2, :lang(ar) .h3 { line-height: 1.55; }
.cta-band__copy .h2 { font-size: clamp(26px, 2.8vw, 38px); }
.num b { font-size: clamp(30px, 3vw, 40px); }
.center .h2 { margin-inline: auto; }

/* the hero: light green fading to the page */
.hero { background: linear-gradient(180deg, var(--mint) 0%, color-mix(in oklch, var(--mint) 35%, var(--bg)) 45%, var(--bg) 100%); }
.stage--hero { --stage-bg: transparent; }

/* white cards on the light grey page */
.card, .pillars > div, .num, .steps li, .ai__card, .side > div, .form, .faq details, .cta-band__card { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.faq details[open] { background: #fff; }
.more__grid { background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.ai { background: transparent; }

/* one grey for every icon */
.ai__icon, .ic--green, .ic--orange, .ic--blue { background: var(--canvas); color: oklch(0.38 0 0); }

/* old programs vs OrchestraRx: grey box, black text */
.exit__card { background: var(--canvas); color: var(--ink); }
.exit__card .mute, .exit__card .eyebrow { color: var(--mute); }
.exit__list { color: var(--ink); }
.chip, .chip--green, .chip--red { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

/* screenshots: the real program, whole, no coloured box behind it */
.cta-band__art { aspect-ratio: auto; background: none; border-radius: 9px; overflow: visible; }
.cta-band__art img { position: static; width: 100%; border-radius: 9px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -28px oklch(0 0 0 / 30%); }
.stage:not(.stage--hero) { --stage-bg: none; padding: 0; overflow: visible; }
.stage:not(.stage--hero) .window { box-shadow: 0 0 0 1px var(--line), 0 24px 50px -28px oklch(0 0 0 / 30%); }

/* ---- photo card: words on white, a photo on a green panel that fades to white ---- */
.spot { padding: 40px 0; }
.spot__card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); overflow: hidden; min-height: 420px; }
.spot__copy { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 32px; gap: 14px; }
.spot__copy .h2 { max-width: 460px; }
.spot__copy .lead { margin-top: 0; font-size: 17px; max-width: 420px; }
.spot__copy .btn { margin-top: 10px; }
.spot__art { display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); }
.spot__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; }
@media (max-width: 860px) { .spot__card { grid-template-columns: 1fr; } }

/* ---- "one system": a white card with the names, a panel with the real screen of the one picked ---- */
.stack { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; padding: 90px 0 40px; align-items: stretch; }
.stack__card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.stack__list { list-style: none; margin: 18px 0 30px; padding: 0; }
.stack__list button { all: unset; cursor: pointer; display: block; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.3; font-weight: 700; color: oklch(0.78 0 0); transition: color .25s; }
:lang(en) .stack__list button { letter-spacing: -.025em; }
:lang(ar) .stack__list button { line-height: 1.6; }
.stack__list button:hover { color: var(--mute); }
.stack__list button.is-on { color: var(--ink); }
.stack__list button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 3px; }
.stack__card .hero__ctas { margin-top: auto; justify-content: flex-start; }
.stack__panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--mint), color-mix(in oklch, var(--mint) 30%, #fff)); min-height: 560px; }
.stack__panel figure { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(20px, 3vw, 40px); opacity: 0; transition: opacity .45s; }
.stack__panel figure.is-on { opacity: 1; }
.stack__panel .window { border-radius: 8px; box-shadow: 0 0 0 1px oklch(0 0 0 / 6%), 0 30px 60px -30px oklch(0 0 0 / 40%); }
.stack__panel figcaption { text-align: center; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; color: var(--ink); max-width: 460px; margin-inline: auto; }
@media (max-width: 860px) {
  .stack { grid-template-columns: 1fr; padding-top: 64px; }
  .stack__panel { min-height: 0; aspect-ratio: 4 / 3.6; }
}

/* ---- Solutions list in the menu: opens on hover or keyboard focus ---- */
.nav__drop { position: relative; display: flex; }
.nav__drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__drop > a svg { transition: transform .2s; }
.nav__menu { position: absolute; top: 100%; inset-inline-start: 50%; transform: translate(-50%, 6px); padding-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(190px, auto)); gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
:lang(ar) .nav__menu { transform: translate(50%, 6px); }
.nav__menu::before { content: ""; position: absolute; inset: 10px 0 0; z-index: -1; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px oklch(0 0 0 / 22%); }
.nav__menu a { margin: 0 6px; padding: 10px 12px; border-radius: 5px; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.nav__menu a:nth-child(-n+3) { margin-top: 6px; }
.nav__menu a:nth-last-child(-n+3) { margin-bottom: 6px; }
.nav__menu a:hover { background: var(--canvas); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
:lang(ar) .nav__drop:hover .nav__menu, :lang(ar) .nav__drop:focus-within .nav__menu { transform: translate(50%, 0); }
.nav__drop:hover > a svg, .nav__drop:focus-within > a svg { transform: rotate(180deg); }
.nav__sheet a.nav__sub { padding-inline-start: 16px; font-size: 15px; color: var(--mute); }

/* ---- two phones side by side (the mobile app) ---- */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 28px); padding: 24px 0; }
.phones .device { width: min(250px, 44%); padding-top: 0; }
.phones .device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones .device:nth-child(2) { transform: translateY(-28px); }

/* ---- About: two photos side by side ---- */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px 0; }
.photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 700px) { .photos { grid-template-columns: 1fr; } }

/* =====================================================================================================
   Round 3 (2026-12-02, from the user's notes): white page; the hero is the rounded panel again, in light
   green fading to white; every label one grey; outside the hero, a picture shows only the part of the
   screen its feature is about (.crop); the "one system" list has no frame and follows the scroll; phone
   screens without a drawn phone around them.
   ===================================================================================================== */
:root { --bg: #ffffff; --canvas: #f4f4f4; }
.hero { margin: 10px clamp(8px, 1.4vw, 16px) 0; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); }
.eyebrow, .eyebrow--green, .eyebrow--orange, .eyebrow--purple, .eyebrow--blue { color: var(--mute); }

/* a part of a real screen: --z how far in, --x/--y where (share of the screenshot, from its top-left) */
.crop { position: relative; direction: ltr; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 11px; background: #f4f4f6; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px oklch(0 0 0 / 28%); }
.crop img { position: absolute; left: 0; top: 0; width: var(--z, 160%); max-width: none; height: auto; transform: translate(calc(var(--x, 0%) * -1), calc(var(--y, 0%) * -1)); }
.stage .crop, .cta-band__art .crop { width: 100%; }

/* "one system": no frame; scrolling the page moves through the names, the panel stays */
.stack { display: block; padding: 90px 0 0; height: calc(var(--n, 7) * 42vh + 100vh); }
.stack__sticky { position: sticky; top: 84px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(20px, 4vw, 56px); align-items: center; height: calc(100vh - 120px); min-height: 520px; }
.stack__card { background: none; box-shadow: none; padding: 0; border-radius: 0; height: auto; }
.stack__card .hero__ctas { margin-top: 10px; }
.stack__panel { min-height: 0; height: 100%; max-height: 620px; background: linear-gradient(180deg, var(--mint), #fff); }
.stack__panel figure { padding: clamp(20px, 3vw, 44px); }
@media (max-width: 860px) {
  .stack { height: auto; }
  .stack__sticky { position: static; grid-template-columns: 1fr; height: auto; min-height: 0; }
  .stack__panel { height: auto; aspect-ratio: 4 / 3.4; }
}

/* phone screens: the screen itself, rounded, no drawn phone */
.phones .shot { width: min(230px, 44%); aspect-ratio: 39 / 80; overflow: hidden; border-radius: 26px; background: #f4f4f6; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px oklch(0 0 0 / 35%); }
.phones .shot img { width: 100%; height: auto; display: block; }
.phones .shot:nth-child(2) { transform: translateY(-32px); }

/* ---- About ---- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 64px 0 24px; }
.about-hero h1 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 42px); }
.about-hero .lead { margin-top: 18px; }
.about-hero .hero__ctas { justify-content: flex-start; }
.about-hero img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); padding: 90px 0 30px; align-items: start; }
.story p { color: var(--mute); font-size: 17px; margin-bottom: 16px; }
.story p b { color: var(--ink); font-weight: 600; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; padding: 30px 0; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.values > div { background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 11px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.values .ai__icon { margin-bottom: 10px; }
.values b { font-size: 17px; font-weight: 600; }
.values span { color: var(--mute); font-size: 15px; line-height: 1.6; }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .about-hero, .story, .mosaic { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } }

/* rebuilt screens (ui.js): the box takes the screen's height */
.crop.mock, .shot.mock { aspect-ratio: auto; }
.crop.mock { background: oklch(0.962 0.002 264); }
.window.mock { background: oklch(0.962 0.002 264); }
.stack__panel figure .mock { border-radius: 9px; box-shadow: 0 0 0 1px oklch(0 0 0 / 6%), 0 30px 60px -30px oklch(0 0 0 / 40%); }

/* =====================================================================================================
   Showcase (as framer.com shows its product): a large rounded box with a hairline is the screen's background;
   the rebuilt screen sits high in it and runs off the bottom, fading out; the words sit under the box.
   ===================================================================================================== */
.showcase { padding: 56px 0; scroll-margin-top: 80px; }
.showcase__stage { position: relative; height: clamp(300px, 38vw, 500px); border-radius: var(--radius-lg); background: #f4f4f6; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.showcase__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, #f4f4f6); pointer-events: none; }
.showcase__stage > .mock { position: absolute; top: clamp(24px, 4vw, 48px); left: 50%; transform: translateX(-50%); width: min(88%, 1000px); }
.showcase__stage > .phones { position: absolute; inset: clamp(24px, 4vw, 48px) 0 auto; padding: 0; }
.showcase__cap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); padding: 26px 4px 0; align-items: start; }
.showcase__cap .h3 { margin-top: 2px; }
.showcase__cap .ticks { margin-top: 0; }
.showcase__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; font-weight: 500; }
.showcase__more:hover { color: var(--mute); }
@media (max-width: 860px) { .showcase__cap { grid-template-columns: 1fr; } }

/* a ruled strip of three under a showcase or the hero */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.strip > div { padding: 22px 24px; border-inline-end: 1px solid var(--line); }
.strip > div:last-child { border-inline-end: 0; }
.strip .ai__icon { width: 34px; height: 34px; margin-bottom: 12px; }
.strip b { display: block; font-size: 16px; font-weight: 600; }
.strip span { color: var(--mute); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } .strip > div { border-inline-end: 0; border-bottom: 1px solid var(--line); } .strip > div:last-child { border-bottom: 0; } }

/* =====================================================================================================
   Round 5: the hero's app straight and cut by the panel (no tilt, no gap); the call-to-action card light grey,
   no border; a strip of four; one rhythm of spacing and calmer line heights everywhere.
   ===================================================================================================== */
.hero { padding-top: clamp(56px, 7vw, 92px); }
.hero h1 { margin-top: 20px; }
.hero .lead { margin-top: 16px; }
.hero__ctas { margin-top: 26px; }
.stage--hero { margin-top: clamp(36px, 5vw, 56px); padding: 0 clamp(14px, 5vw, 64px); height: clamp(230px, 37vw, 520px); overflow: hidden; border-radius: 0; }
.stage--hero .window { border-radius: 12px 12px 0 0; transform: none; box-shadow: 0 0 0 1px oklch(0 0 0 / 7%), 0 -6px 40px -18px oklch(0 0 0 / 22%); }

.cta-band__card { background: #f4f4f6; box-shadow: none; }

.strip--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .strip--4 { grid-template-columns: repeat(2, 1fr); } .strip--4 > div:nth-child(2) { border-inline-end: 0; } .strip--4 > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* line heights */
body { line-height: 1.6; }
.lead { font-size: 18px; line-height: 1.55; }
:lang(en) .h2 { line-height: 1.2; }
:lang(en) .h3 { line-height: 1.28; }
:lang(ar) .h2 { line-height: 1.45; }
:lang(ar) .h3 { line-height: 1.5; }
.card p, .pillars span, .steps span, .more__grid span, .strip span, .values span, .faq details p, .ai__card p { line-height: 1.55; }
.ticks li { line-height: 1.5; }
.ticks { gap: 10px; }
.eyebrow { margin-bottom: 10px; }

/* one rhythm of spacing between sections */
.intro { padding: 88px 0 16px; }
.intro .pillars, .intro .steps, .intro .values { margin-top: 28px; padding-top: 0; }
.showcase { padding: 48px 0; }
.cta-band { padding: 48px 0 88px; }
.cta-band__copy { padding-block: 32px; }
.cta-band__copy .lead { margin-top: 12px; }
.cta-band__copy .hero__ctas { margin-top: 24px; }
.faq { padding: 88px 0 24px; }
.more { padding: 56px 0; }
.numbers { padding: 56px 0; }
.spot { padding: 48px 0; }
.page-hero { padding: 72px 0 16px; }
.page-hero .lead { margin-top: 14px; }
.cards { margin-top: 28px; }

/* =====================================================================================================
   Hero, option 2 (picked 2026-12-02): no panel; a white page with a soft green glow behind a wide app that can be
   used (ui.js data-live). The app starts tilted back and rises flat as it scrolls in (script.js --p), its box has
   the app's own hairline and a radius that wraps the app's side menu, and it fades into the page at the bottom.
   ===================================================================================================== */
.hero { position: relative; margin: 0; border-radius: 0; overflow: hidden; isolation: isolate; background: none; padding-top: clamp(56px, 7vw, 88px); }
.hero::before { content: ""; position: absolute; left: -10%; right: -10%; top: clamp(300px, 34vw, 420px); height: 760px; z-index: -1; background: radial-gradient(50% 50% at 50% 45%, oklch(0.9 0.09 152 / 70%), transparent 70%); }
.stage--hero { --stage-bg: none; margin-top: clamp(40px, 5vw, 56px); padding: 0; height: clamp(300px, 47vw, 640px); overflow: hidden; border-radius: 0; }
.stage--hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, #fff); pointer-events: none; z-index: 2; }
.stage--hero .window, .stage[data-tilt].stage--hero .window { border-radius: 20px; box-shadow: 0 0 0 1px oklch(0 0 0 / 7%), 0 1px 2px oklch(0 0 0 / 3%), 0 40px 80px -40px oklch(0 0 0 / 35%);
  transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p, 0)) * 24deg)) scale(calc(0.92 + var(--p, 0) * 0.08)); }
@media (prefers-reduced-motion: reduce) { .stage--hero .window { transform: none !important; } }

/* the hero's app: no grey margin of its own around the side menu, so the box's edge is the menu's edge (one container,
   not two, while it rises); the box keeps the menu's radius and the app's hairline */
.stage--hero .x-app { padding: 0; gap: 10px; }
.stage--hero .x-side { border-radius: 0; box-shadow: none; border-inline-end: 1px solid oklch(0 0 0 / 7%); }
.stage--hero .x-main { padding: 8px 8px 0 0; }
[dir="rtl"] .stage--hero .x-main { padding: 8px 0 0 8px; }
.stage--hero .window, .stage[data-tilt].stage--hero .window { border-radius: 14px; }
/* between scroll steps the rise glides instead of stepping */
.stage--hero[data-tilt] .window { will-change: transform; } /* the rise is eased frame by frame in script.js */

/* the screen in a call-to-action card: even space around it, centred in its half */
.cta-band__art { display: flex; align-items: center; justify-content: center; padding: clamp(14px, 2.6vw, 32px); }
.cta-band__art > .mock { width: 100%; }
/* the hero app's outline: the app's own border grey, visible where its white menu meets the white page */
.stage--hero .window, .stage[data-tilt].stage--hero .window { box-shadow: 0 0 0 1px oklch(0.88 0 0), 0 1px 2px oklch(0 0 0 / 4%), 0 40px 80px -40px oklch(0 0 0 / 35%); }

/* more room between sections (the user found round 5 too tight): one generous rhythm, smaller on phones */
:root { --gap: clamp(64px, 8vw, 120px); }
.intro { padding: var(--gap) 0 8px; }
.showcase { padding: calc(var(--gap) * .6) 0; }
.cta-band { padding: calc(var(--gap) * .7) 0 var(--gap); }
.faq { padding: var(--gap) 0 24px; }
.more, .numbers, .spot, .exit { padding: calc(var(--gap) * .6) 0; }
.stack { padding-top: var(--gap); }
.story { padding: var(--gap) 0 24px; }
.mosaic { padding: calc(var(--gap) * .5) 0; }
main > section.wrap:not([class*=" "]) { padding-top: calc(var(--gap) * .6); }
/* the hero app's outline is a border inside its edge: a shadow ring sat just outside and the stage (overflow hidden,
   for the fade) cut it off once the app was flat and as wide as the stage */
.stage--hero .window, .stage[data-tilt].stage--hero .window { border: 1px solid oklch(0.88 0 0); box-shadow: 0 1px 2px oklch(0 0 0 / 4%), 0 40px 80px -40px oklch(0 0 0 / 35%); }

/* showcase: the words above the screen box */
.showcase { display: flex; flex-direction: column; }
.showcase__cap { order: -1; padding: 0 4px 28px; }
/* the words in reading order, one column: label, heading, list, link; then the screen */
.showcase__cap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 760px; }
.showcase__cap > div { display: contents; }
.showcase__cap .eyebrow { margin-bottom: -6px; }
.showcase__cap .h3 { margin: 0; }
.showcase__cap .ticks { order: 2; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 8px 32px; }
.showcase__more { order: 3; margin-top: 0; }
@media (max-width: 700px) { .showcase__cap .ticks { grid-template-columns: 1fr; } }

/* features: the section stays while you scroll through it, and one more card comes in each step (script.js) */
[data-steps].is-steps { position: relative; }
[data-steps] .steps__sticky { position: sticky; top: 96px; }
[data-steps].is-steps .card { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .2s; }
[data-steps].is-steps .card.is-shown { opacity: 1; transform: none; }

/* =====================================================================================================
   FAQ, redesigned: one centred column, questions on hairlines (no boxes), a round toggle that turns into ×,
   the answer fading in, and a line to reach us at the end.
   ===================================================================================================== */
.faq { display: block; max-width: 860px; margin-inline: auto; }
.faq > div:first-child { text-align: center; margin-bottom: 40px; }
.faq > div:first-child .h2 { margin-inline: auto; }
.faq__list { display: block; border-top: 1px solid var(--line); }
.faq details, .faq details[open] { background: none; box-shadow: none; border-radius: 0; padding: 0; border-bottom: 1px solid var(--line); }
.faq summary { padding: 26px 4px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 500; align-items: center; gap: 24px; transition: color .15s; }
.faq summary:hover { color: var(--hover); }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--canvas); color: var(--ink); font-size: 20px; font-weight: 400; line-height: 1; transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { padding: 0 4px 26px; max-width: 680px; font-size: 16px; line-height: 1.65; color: var(--mute); animation: faqIn .4s cubic-bezier(.22, 1, .36, 1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq__more { margin-top: 32px; text-align: center; color: var(--mute); font-size: 16px; }
.faq__more .link { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
/* a little more room between a showcase's words and its screen */
.showcase__cap { padding-bottom: clamp(36px, 4vw, 52px); }

/* =====================================================================================================
   Pricing (Framer's layout with our UI): the head with the billing switch at the side; the plans in one ruled box;
   tabs that show the real screen each plan adds; a comparison table; the open FAQ.
   ===================================================================================================== */
.price-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(56px, 7vw, 88px) 0 32px; }
.price-head h1 { margin-top: 8px; font-size: clamp(28px, 3.4vw, 42px); max-width: 640px; }
.price-head .lead { margin-top: 12px; }
.price-head .billing { margin: 0; }
.price-head .save { margin-inline-start: 4px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); background: #fff; overflow: hidden; }
.tier { display: flex; flex-direction: column; padding: 28px 26px 26px; border-inline-end: 1px solid var(--line); cursor: pointer; transition: background .2s; }
.tier:last-child { border-inline-end: 0; }
.tier:hover { background: #fcfcfc; }
.tier.is-picked { background: #f8f8f8; }
.tier--main { background: linear-gradient(180deg, var(--mint), #fff 55%); }
.tier--main.is-picked, .tier--main:hover { background: linear-gradient(180deg, var(--mint), #fff 55%); }
.tier__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tier__head h3 { margin: 0; font-size: 20px; font-weight: 600; }
.tier__badge { height: 24px; }
.tier__sub { color: var(--mute); font-size: 15px; margin-top: 4px; }
.tier__price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.tier__price b { font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier__price span { color: var(--mute); font-size: 14px; }
.tier__note { color: var(--mute); font-size: 13px; margin-top: 8px; min-height: 20px; }
.tier__pill { margin-top: 16px; display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; }
.tier__list { list-style: none; margin: 18px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.tier__list svg { flex: none; margin-top: 2px; color: var(--green-ink); }
.tier .btn { margin-top: auto; }
.tiers__note { text-align: center; color: var(--mute); font-size: 14px; margin-top: 18px; }
.tiers__note .link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier { border-inline-end: 0; border-bottom: 1px solid var(--line); } .tier:last-child { border-bottom: 0; } }

.plan-tabs { order: 2; display: inline-flex; gap: 2px; padding: 4px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.plan-tabs button { all: unset; cursor: pointer; padding: 7px 16px; border-radius: 7px; font-size: 14.5px; color: var(--mute); transition: background .15s, color .15s; }
.plan-tabs button:hover { color: var(--ink); }
.plan-tabs button.is-on { background: var(--ink); color: #fff; }
.plan-cap { margin-top: 16px; text-align: center; color: var(--mute); font-size: 15px; }

.cmp { padding: var(--gap) 0 0; }
.cmp .h2 { margin-bottom: 28px; }
.cmp__scroll { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); }
.cmp__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.cmp__table th, .cmp__table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp__table th:first-child { text-align: start; width: 34%; font-weight: 400; }
.cmp__table tbody th b { display: block; font-weight: 600; }
.cmp__table tbody th span { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.cmp__table thead th { position: sticky; top: 0; background: #fff; font-size: 16px; font-weight: 600; }
.cmp__table thead small { display: block; font-weight: 400; color: var(--mute); font-size: 13px; margin-top: 2px; }
.cmp__table th + th, .cmp__table td { border-inline-start: 1px solid var(--line); } /* a line between the plans */
.cmp__group th { text-align: start !important; background: #f8f8f8; font-size: 13px; font-weight: 600; color: var(--mute); padding: 10px 20px; }
.cmp__yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--canvas); color: var(--ink); }
.cmp__no { color: var(--mute-2); }
.cmp__table tfoot td, .cmp__table tfoot th { border-bottom: 0; padding-block: 20px; }

/* FAQ, open (as on framer.com/pricing): every question and answer shown, two columns, no toggles */
.faq--open > div:first-child { text-align: center; margin-bottom: 44px; }
.faq--open .h2 { font-size: clamp(28px, 3vw, 40px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; max-width: 980px; margin-inline: auto; }
.qa h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.qa p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 760px) { .faq__grid { grid-template-columns: 1fr; gap: 28px; } }
.faq--open { max-width: none; }

/* footer: black */
.foot { background: #0b0b0b; color: oklch(1 0 0 / 70%); border-top: 0; }
.foot a { color: oklch(1 0 0 / 70%); }
.foot a:hover { color: #fff; }
.foot__h { color: #fff; }
.foot__brand img { filter: invert(1); }
.foot__brand p, .foot__bottom p { color: oklch(1 0 0 / 55%); }
.foot__bottom { border-top-color: oklch(1 0 0 / 12%); }
.showcase__cap > .plan-tabs { display: inline-flex; }

/* =====================================================================================================
   FAQ (option 2): topics on one side, the topic's questions on the other, opening one at a time. The toggle is a
   rounded square: an outline when closed, filled grey with the outline when open (the + turns into ×). No black.
   ===================================================================================================== */
.faq2 { padding: var(--gap) 0 24px; }
.faq2__head { text-align: center; margin-bottom: 36px; }
.faq2__head .h2 { margin-inline: auto; }
.faq2__box { display: grid; grid-template-columns: 250px 1fr; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.faq2__topics { background: #f7f7f8; padding: 14px; display: grid; align-content: start; gap: 4px; border-inline-end: 1px solid var(--line); }
.faq2__topics button { all: unset; box-sizing: border-box; cursor: pointer; padding: 11px 14px; border-radius: 9px; font-size: 15px; color: var(--mute); display: flex; justify-content: space-between; align-items: center; gap: 10px; transition: background .15s, color .15s; }
.faq2__topics button:hover { color: var(--ink); }
.faq2__topics button.is-on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
.faq2__topics small { font-size: 12px; color: var(--mute-2); font-variant-numeric: tabular-nums; }
.faq2__topics button:focus-visible, .faq2__q:focus-visible { outline: 2px solid var(--mute); outline-offset: 2px; }
.faq2__list { padding: 4px 28px; min-height: 360px; }
.faq2__item { border-bottom: 1px solid var(--line); }
.faq2__item.is-last { border-bottom: 0; }
.faq2__item[hidden] { display: none; }
.faq2__q { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 0; font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.faq2__icon { margin-inline-start: auto; flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); background: #fff; transition: transform .3s cubic-bezier(.22, 1, .36, 1), background .2s; }
.faq2__q:hover .faq2__icon { background: #f7f7f8; }
.faq2__item.is-open .faq2__icon { transform: rotate(45deg); background: var(--canvas); box-shadow: inset 0 0 0 1px oklch(0.86 0 0); }
.faq2__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22, 1, .36, 1); }
.faq2__a > div { overflow: hidden; }
.faq2__a p { margin: 0; padding: 0 0 20px; color: var(--mute); font-size: 15.5px; line-height: 1.65; max-width: 640px; }
.faq2__item.is-open .faq2__a { grid-template-rows: 1fr; }
@media (max-width: 860px) {
  .faq2__box { grid-template-columns: 1fr; }
  .faq2__topics { display: flex; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .faq2__topics button { flex: none; }
  .faq2__list { padding: 4px 18px; min-height: 0; }
}
/* the square stays square: only the + inside turns into × */
.faq2__item.is-open .faq2__icon { transform: none; }
.faq2__icon svg { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.faq2__item.is-open .faq2__icon svg { transform: rotate(45deg); }

/* numbered steps: the number in a rounded grey square, like the site's icons (not a black circle) */
.steps li::before { width: 32px; height: 32px; border-radius: 8px; background: var(--canvas); color: var(--ink); font-weight: 500; }

/* call-to-action cards and the photo cards: a smaller heading */
.cta-band__copy .h2, .spot__copy .h2 { font-size: clamp(24px, 2.3vw, 32px); }
.cta-band__copy .lead, .spot__copy .lead { font-size: 16.5px; }

/* About: the app beside the headline, on a light grey box (the box is its background) */
.about-hero__ui { display: flex; align-items: center; padding: clamp(18px, 2.6vw, 32px); border-radius: var(--radius-lg); background: #f4f4f6; }
.about-hero__ui > .mock { width: 100%; }
.about-hero__ui { overflow: hidden; align-items: flex-start; height: clamp(300px, 32vw, 440px); padding-inline-end: 0; }
.about-hero__ui > .mock { flex: none; width: 165%; }
@media (max-width: 860px) { .about-hero__ui > .mock { width: 220%; } }

/* pricing: each plan in its own box, same hairline stroke; lighter green on the main plan */
.tiers { gap: 16px; box-shadow: none; background: none; border-radius: 0; overflow: visible; }
.tier, .tier:last-child { border: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.tier--main, .tier--main.is-picked, .tier--main:hover { background: linear-gradient(180deg, color-mix(in oklab, var(--mint) 45%, #fff), #fff 55%); }
@media (max-width: 900px) { .tier, .tier:last-child { border-bottom: 0; } }

/* solution pages */
.crumb { color: var(--mute); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.sol-more { display: inline-flex; gap: 6px; margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.sol-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.related .card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.related .card p { flex: 1; }
.related__more { margin-top: 16px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.related .card:hover { box-shadow: inset 0 0 0 1px oklch(0.8 0 0); }
.sol-screen .plan-cap { text-align: center; margin-top: 14px; }

/* FAQ (option 2 of the simpler set, picked 2026-12-03): same box, all white, no counts, the picked topic filled grey */
.faq2__topics { background: #fff; }
.faq2__topics small { display: none; }
.faq2__topics button.is-on { background: #f1f1f2; box-shadow: none; }

/* "one system" stack: the screen only, no caption under it and no screen title above it */
.stack__panel figcaption { display: none; }
.stack__panel .x-h1, .stack__panel .x-h1 + .x-sub { display: none; }

/* more room between the FAQ's last line and the black footer */
.faq2 { padding-bottom: calc(var(--gap) * .9); }

/* call-to-action buttons a bit smaller (2026-12-03) */
.btn--lg { height: 44px; padding: 0 20px; font-size: 15px; }

/* a card band right before the FAQ already leaves a full gap under it; don't add a second one */
.cta-band + .faq2 { padding-top: 0; }

/* logo a bit bigger (2026-12-03) */
.nav__logo img { height: 26px; }
.foot__brand img { height: 24px; }
@media (max-width: 520px) { .nav__logo img { height: 24px; } }

/* FAQ heading to the side (start), like the other section headings */
.faq2__head { text-align: start; }
.faq2__head .h2 { margin-inline: 0; }
.faq__more { text-align: start; }
/* with the titles gone, each screen's content sits in the middle of its panel, top to bottom */
.stack__panel .mock__in > div { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }

/* the email address reads left to right but sits on the same side as the text around it */
a[data-email] { display: inline-block; align-self: flex-start; unicode-bidi: isolate; }

/* About: the reports screen in place of the first photo */
.mosaic__ui { display: flex; align-items: center; padding: clamp(16px, 2.4vw, 28px); border-radius: var(--radius-lg); background: #f4f4f6; }
.mosaic__ui > .mock { width: 100%; }

/* footer (option 2): columns, then the logotype large and faded along the bottom edge */
.foot { padding: 72px 0 0; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.foot__brand p { max-width: 250px; font-size: 14.5px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot__col a { width: fit-content; }
.foot__h { margin: 0 0 4px; }
.foot__h--gap { margin-top: 14px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 0; }
.foot__bottom p { margin: 0; }
.foot__mark { display: flex; justify-content: center; padding: 36px 16px 0; margin-bottom: -2.2vw; }
.foot__mark img { width: min(100%, 1240px); height: auto; filter: invert(1); opacity: .08; user-select: none; pointer-events: none; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* solution pages: two more live screens side by side, each in a grey frame that runs off the bottom */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.duo__stage { position: relative; height: clamp(240px, 26vw, 360px); border-radius: var(--radius-lg); background: #f4f4f6; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.duo__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, #f4f4f6); pointer-events: none; }
.duo__stage > .mock { position: absolute; top: clamp(18px, 2.4vw, 28px); left: 50%; transform: translateX(-50%); width: 90%; }
.duo__item h3 { margin: 18px 0 4px; font-size: 18px; font-weight: 600; }
.duo__item p { margin: 0; color: var(--mute); font-size: 15px; max-width: 460px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
/* the footer logotype alone, edge to edge with no padding; its bottom third sits below the page's end
   (axionrx-logotype.svg is 213.23 × 41.53, so a third of its height is 6.49% of its width) */
.foot__mark { display: block; padding: 36px 0 0; margin: 0; direction: ltr; line-height: 0; }
.foot__mark img { display: block; width: 100%; max-width: none; margin-bottom: -6.49%; }
/* the logotype filled with a top-to-bottom gradient: the same soft grey at the top, fading into the black footer */
.foot__mark span { display: block; width: 100%; aspect-ratio: 213.23 / 41.53; margin-bottom: -6.49%;
  background: linear-gradient(180deg, oklch(0.27 0 0), #0b0b0b);
  -webkit-mask: var(--mark) center / 100% 100% no-repeat; mask: var(--mark) center / 100% 100% no-repeat; }

/* About: the reports screen alone, full width, now that the photo beside it is gone */
.mosaic { grid-template-columns: 1fr; }
.mosaic__ui { justify-content: center; padding: clamp(20px, 3.4vw, 48px); }
.mosaic__ui > .mock { width: min(100%, 1000px); }

/* About hero: the whole screen, centred in its grey box with equal space on every side (no crop) */
.about-hero__ui { align-items: center; justify-content: center; height: auto; padding: clamp(18px, 2.6vw, 32px); }
.about-hero__ui > .mock { flex: none; width: 100%; }
@media (max-width: 860px) { .about-hero__ui > .mock { width: 100%; } }
/* About hero: the screen sits straight on the page, no grey box around it */
.about-hero__ui { background: none; padding: 0; border-radius: 0; }
/* ...with the app's hairline stroke around it, like the hero app */
.about-hero__ui > .mock { border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px oklch(0.88 0 0); }
.about-hero__ui > .mock::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid oklch(0.88 0 0); pointer-events: none; }
.about-hero__ui > .mock { position: relative; }

/* About hero (Deepgram-style): the text in the middle, small pieces of the app floating around it, some cut by the edges */
.about-hero2 { position: relative; overflow: hidden; min-height: clamp(560px, 52vw, 720px); display: grid; place-items: center; padding: 48px 0; }
.about-hero2__text { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.about-hero2__text h1 { margin: 10px auto 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; max-width: 680px; }
.about-hero2__text .lead { margin: 18px auto 0; max-width: 600px; }
.about-hero2__text .hero__ctas { justify-content: center; }
.float { position: absolute; z-index: 0; filter: drop-shadow(0 18px 30px oklch(0 0 0 / 10%)); }
.float .mock__in { background: transparent; }
.float > .mock { width: 100%; }
.float--a { width: clamp(200px, 19vw, 280px); top: 8%; inset-inline-start: 3%; transform: rotate(-3deg); }
.float--b { width: clamp(240px, 24vw, 340px); top: 46%; inset-inline-start: -4%; transform: rotate(2deg); }
.float--c { width: clamp(200px, 19vw, 270px); bottom: 6%; inset-inline-start: 7%; transform: rotate(-2deg); }
.float--d { width: clamp(230px, 22vw, 320px); top: 6%; inset-inline-end: -3%; transform: rotate(3deg); }
.float--e { width: clamp(200px, 19vw, 270px); top: 50%; inset-inline-end: 4%; transform: rotate(-2deg); }
.float--f { width: clamp(220px, 21vw, 300px); bottom: 4%; inset-inline-end: -5%; transform: rotate(2deg); }
@media (max-width: 1100px) { .float--b, .float--e { display: none; } }
@media (max-width: 760px) { .float { display: none; } .about-hero2 { min-height: 0; padding: 64px 0 24px; } }
.float { transform: none !important; } /* the floating pieces sit straight */
.float { transition: translate .25s cubic-bezier(.22, 1, .36, 1); will-change: translate; }

/* "one system": each item has its own light colour from the palette, fading to white; it cross-fades with the screen */
.stack__panel { background: #fff; }
.stack__panel figure { --tint: var(--mint); background: linear-gradient(180deg, var(--tint), #fff 92%); }
.stack__panel figure[data-i="1"] { --tint: color-mix(in oklch, var(--blue) 20%, #fff); }
.stack__panel figure[data-i="2"] { --tint: color-mix(in oklch, var(--purple) 17%, #fff); }
.stack__panel figure[data-i="3"] { --tint: color-mix(in oklch, var(--orange) 20%, #fff); }
.stack__panel figure[data-i="4"] { --tint: var(--mint); }
.stack__panel figure[data-i="5"] { --tint: color-mix(in oklch, var(--blue) 20%, #fff); }
.stack__panel figure[data-i="6"] { --tint: color-mix(in oklch, var(--purple) 17%, #fff); }

/* feature section labels with a small grey icon in front */
.eyebrow--icon { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow--icon svg { flex: none; color: var(--mute); }

/* ===================== PHONES ONLY (≤ 760px). Desktop is not touched by anything below. ===================== */
@media (max-width: 760px) {
  /* 1. App screens: shown bigger and cropped from the start side (menu and titles), instead of a whole tiny screen */
  .stage--hero { margin-top: 32px; padding: 18px 0 0 18px; }
  [dir="rtl"] .stage--hero { padding: 18px 18px 0 0; }
  .stage--hero .window { width: 230%; max-width: none; }
  .showcase__stage { height: 330px; }
  .showcase__stage > .mock, .duo__stage > .mock { left: auto; right: auto; inset-inline-start: 18px; transform: none; width: 175%; }
  .showcase__stage > .phones { inset: 24px 0 auto; }
  .duo__stage { height: 260px; }
  .stack__panel figure .mock, .cta-band__art > .mock, .cta-band__art .crop, .mosaic .showcase__stage > .mock { width: 175%; max-width: none; flex: none; }
  .stack__panel figure { justify-content: flex-start; align-items: flex-start; overflow: hidden; }
  .cta-band__art { overflow: hidden; justify-content: flex-start; }

  /* 2. Long stacks of boxes become a row you swipe sideways, one card and a bit of the next in view */
  .cards, .steps, .pillars, .more__grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none;
  }
  .cards::-webkit-scrollbar, .steps::-webkit-scrollbar, .pillars::-webkit-scrollbar, .more__grid::-webkit-scrollbar { display: none; }
  .cards > *, .steps > *, .pillars > *, .more__grid > * { scroll-snap-align: start; }
  .more__grid { background: none; box-shadow: none; border-radius: 0; }
  .more__grid > div { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
  .cards.related { grid-auto-columns: 70%; }

  /* 3. Pricing comparison: fits the screen (no hidden plan columns) */
  .cmp__table { min-width: 0; font-size: 13px; table-layout: fixed; }
  .cmp__table th, .cmp__table td { padding: 12px 6px; word-break: break-word; }
  .cmp__table th:first-child { width: 40%; padding-inline-start: 0; }
  .cmp__table tbody th span, .cmp__table thead small { display: none; }
  .cmp__table thead th { font-size: 13.5px; }

  /* 4. Calmer type and spacing */
  .showcase__cap .h3, .showcase .h3 { font-size: 21px; line-height: 1.35; }
  .ticks { gap: 8px; }
  .faq2__q { font-size: 15.5px; padding: 16px 0; }
}
@media (max-width: 760px) {
  /* the comparison's buttons row: the plan cards above already have them; on a phone they would crowd each other */
  .cmp__table tfoot { display: none; }
}
/* the email (left-to-right) sits on the same side as its heading also when the card is a grid (phones) */
a[data-email][dir] { display: inline-block; width: fit-content; justify-self: start; align-self: start; }
@media (max-width: 760px) {
  /* swipe rows: the card snaps 16px in from the edge, not against it */
  .cards, .steps, .pillars, .more__grid { scroll-padding-inline: 16px; }
}
@media (max-width: 760px) {
  /* the hero app stands flat on phones: the tilt-and-rise pushed it far below the buttons on a small screen */
  .stage[data-tilt] .window { transform: none !important; }
  .stage--hero { margin-top: 24px; }
  /* comparison table: a little room inside the box edge */
  .cmp__table th:first-child, .cmp__table td:first-child { padding-inline-start: 12px; }
}


/* ===================== PHONES, round 2 ===================== */
@media (max-width: 760px) {
  /* menu: the nine solutions as a compact two-column grid of soft chips instead of nine more lines */
  .nav__subs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 0 12px; }
  .nav__sheet .nav__subs a.nav__sub { padding: 9px 12px; border: 0; border-radius: 10px; background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.3; }

  /* Solutions: «اعرف المزيد» after the ticks, not between the heading and them */
  .showcase__cap .sol-more { order: 3; margin-top: 2px; }

  /* About hero: two of the floating app pieces stay, stacked under the text, one to each side */
  .about-hero2 { display: flex; flex-direction: column; align-items: stretch; padding: 56px 0 24px; overflow: visible; }
  .about-hero2__text { order: -1; }
  .about-hero2 .float--a, .about-hero2 .float--c { display: block; position: relative; inset: auto; width: 74%; margin-top: 28px; translate: none !important; }
  .about-hero2 .float--a { align-self: flex-start; margin-inline-start: 16px; }
  .about-hero2 .float--c { align-self: flex-end; margin-top: -18px; margin-inline-end: 16px; }
}

/* contact form: sent / not sent */
.form__done { padding: 40px 8px; text-align: center; font-size: 18px; }
.fine--error { color: var(--red); }

/* Home «التزامنا»: centred cards with a full-width «اعرف المزيد» to the related solution; they float on hover
   (.card) and come in one by one on scroll (data-steps, like the features) */
.pillars > .card.pillar { align-items: center; text-align: center; gap: 10px; padding: 30px 26px 26px; }
.pillar b { margin-bottom: 0; }
.pillar > span { flex: 1; max-width: 360px; }
.pillar__cta { align-self: stretch; margin-top: 14px; }
/* the same space under «التزامنا» as above it (184px wide screen / ~100px phone) */
.pillars-sec { padding-bottom: calc(var(--gap) * .9); }

/* Why: the four "for whom" reasons — the role in ink, the reason in grey */
.ticks--roles li { color: var(--mute); }
.ticks--roles b { color: var(--ink); font-weight: 600; }

/* About: six values in three columns; the vision as one large centred line */
.values--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .values--six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .values--six { grid-template-columns: 1fr; } }
.vision { padding: var(--gap) 0 8px; text-align: center; }
.vision .eyebrow { justify-content: center; }
.vision__line { margin: 14px auto 0; max-width: 860px; font-size: clamp(24px, 3vw, 38px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
@media (max-width: 760px) {
  .values, .values--six { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .values::-webkit-scrollbar { display: none; }
  .values > * { scroll-snap-align: start; }
}

/* Home «التزامنا»: taller black cards, white text, a light button */
.pillars > .card.pillar { background: #0b0b0b; box-shadow: none; min-height: 340px; padding: 40px 30px 30px; justify-content: center; }
.pillars > .card.pillar:hover { box-shadow: 0 24px 50px -24px oklch(0 0 0 / 55%); }
.pillar b { color: #fff; font-size: 22px; }
.pillar > span { color: oklch(1 0 0 / 65%); flex: 0 1 auto; }
.pillar__cta { margin-top: auto; }
.pillar .pillar__cta.btn--light { background: #fff; color: #0b0b0b; box-shadow: none; }
.pillar .pillar__cta.btn--light:hover { background: oklch(0.9 0 0); color: #0b0b0b; }
@media (max-width: 760px) { .pillars > .card.pillar { min-height: 300px; } }
.pillars > .card.pillar > b { margin-top: auto; } /* title and line sit in the middle, the button at the bottom */
/* «التزامنا» back to white cards (kept tall); title and line at the top, the button at the bottom */
.pillars > .card.pillar { background: #fff; box-shadow: 0 0 0 1px var(--line); justify-content: flex-start; }
.pillars > .card.pillar:hover { box-shadow: 0 0 0 1px oklch(0.85 0 0), 0 18px 40px -22px oklch(0 0 0 / 30%); }
.pillars > .card.pillar > b { margin-top: 0; color: var(--ink); }
.pillar > span { color: var(--mute); }
.pillar .pillar__cta.btn--light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pillar .pillar__cta.btn--light:hover { background: var(--hover); color: #fff; box-shadow: inset 0 0 0 1px var(--hover); }
/* «التزامنا»: grey cards (the site's soft grey, no outline), white button */
.pillars > .card.pillar { background: #f4f4f6; box-shadow: none; }
.pillars > .card.pillar:hover { box-shadow: 0 18px 40px -22px oklch(0 0 0 / 25%); }
.pillar .pillar__cta.btn--light { background: #fff; box-shadow: none; }

/* Home: "for everyone in the pharmacy" — four role cards in two rows, each a live screen, the role, its reason */
.roles__grid { row-gap: 40px; }
.role { color: inherit; text-decoration: none; }
.role .duo__stage { transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s; }
.role:hover .duo__stage { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -28px oklch(0 0 0 / 30%); }
.role h3 { font-size: 20px; }
.role__more { display: inline-flex; gap: 6px; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.role:hover .role__more { text-decoration: underline; text-underline-offset: 3px; }
.pillars-sec { padding-bottom: calc(var(--gap) * .6); } /* with the roles section after it: equal space above and below */
.pillars-sec { padding-bottom: calc(var(--gap) * .9); } /* followed by the Essential card again: equal space above and below */
/* «التزامنا»: back to the white fill with the thin outline */
.pillars > .card.pillar { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pillars > .card.pillar:hover { box-shadow: 0 0 0 1px oklch(0.85 0 0), 0 18px 40px -22px oklch(0 0 0 / 30%); }
.pillar .pillar__cta.btn--light { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.showcase__cap .sol-more { order: 3; margin-top: 2px; } /* «اعرف المزيد» after the list, on every screen size */

/* Why: free data move — the three steps and one button under them */
.move-sec__cta { margin-top: 28px; }
@media (max-width: 760px) { .move-sec__cta { width: 100%; } }

/* Why: the data-move steps as Home-style cards (white, centred, hover float, scroll-in), number on top, one button under them */
.move-sec .pillars > .card.pillar { min-height: 280px; }
.pillar__num { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--canvas); font-weight: 500; font-size: 15px; margin-bottom: 8px; flex: none; }
.move-sec .pillar > span:not(.pillar__num) { flex: 0 1 auto; }
.move-sec__foot { display: flex; justify-content: center; margin-top: 28px; }
.move-sec__foot .move-sec__cta { margin-top: 0; }
.intro__lead { margin-top: 18px; max-width: 760px; } /* Home intro: the line under the statement */
.pillars-sec + section[data-steps] { padding-top: clamp(6px, calc(7vw - 20px), 80px); } /* Features right after «التزامنا»: same space below it as above it */
/* Why data-move cards: text and button on the start side (right in Arabic) */
.move-sec .pillars > .card.pillar { align-items: flex-start; text-align: start; }
.move-sec__foot { justify-content: flex-start; }

/* Feature sections in three layouts, alternated per page (picked 2026-12-03). Wide screens only; phones stay stacked.
   .sc-side: text beside the screen · .sc-panel: text and screen inside one grey panel · .sc-flip: the other side */
@media (min-width: 900px) {
  .showcase.sc-side, .showcase.sc-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  .showcase.sc-side { gap: clamp(32px, 4vw, 64px); }
  .sc-side .showcase__cap, .sc-panel .showcase__cap { order: 0; padding: 0; max-width: none; }
  .sc-side .showcase__cap .ticks, .sc-panel .showcase__cap .ticks { grid-template-columns: 1fr; }
  .sc-side .showcase__stage { order: 1; height: clamp(360px, 34vw, 480px); }
  .sc-side .showcase__stage > .mock { width: 150%; left: auto; right: auto; inset-inline-start: 28px; transform: none; }
  .sc-flip .showcase__cap { order: 2; }
  .showcase.sc-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: #f4f4f6; border-radius: var(--radius-lg); padding: 0; margin-block: calc(var(--gap) * .4); overflow: hidden; }
  .sc-panel .showcase__cap { padding: 48px 44px; }
  .sc-panel .showcase__stage { order: 1; height: 460px; background: none; box-shadow: none; border-radius: 0; }
  .sc-panel .showcase__stage::after { background: linear-gradient(transparent, #f4f4f6); }
  .sc-panel .showcase__stage > .mock { width: 150%; left: auto; right: auto; inset-inline-start: 0; top: 56px; transform: none; }
}

/* The hero's soft glow, reused (picked 2026-12-03):
   Pricing — a mint glow behind the middle plan; the plans are white so it shows around them */
.tiers { position: relative; isolation: isolate; }
.tiers::before { content: ""; position: absolute; z-index: -1; inset: -110px 8% -110px; background: radial-gradient(42% 60% at 50% 50%, oklch(0.84 0.13 152 / 90%), transparent 78%); pointer-events: none; }
.tier, .tier--main, .tier--main:hover, .tier--main.is-picked { background: #fff; }
/* Home — a purple glow behind the Essential (AI) card */
body[data-page="home"] .cta-band__card { background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; isolation: isolate; overflow: hidden; }
body[data-page="home"] .cta-band__card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 90% at 25% 100%, oklch(0.84 0.12 300 / 70%), transparent 70%); }
[dir="rtl"] body[data-page="home"] .cta-band__card::before, html[dir="rtl"] body[data-page="home"] .cta-band__card::before { background: radial-gradient(60% 90% at 25% 100%, oklch(0.84 0.12 300 / 70%), transparent 70%); }

/* Home «التزامنا»: on hover a soft glow rises from the bottom of the card (green, blue, purple), fading in */
body[data-page="home"] .pillars-sec .card.pillar { position: relative; isolation: isolate; overflow: hidden; }
body[data-page="home"] .pillars-sec .card.pillar::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(85% 70% at 50% 110%, var(--pglow, oklch(0.86 0.11 152 / 75%)), transparent 70%); }
body[data-page="home"] .pillars-sec .card.pillar:nth-child(2) { --pglow: oklch(0.86 0.09 255 / 75%); }
body[data-page="home"] .pillars-sec .card.pillar:nth-child(3) { --pglow: oklch(0.84 0.12 300 / 70%); }
body[data-page="home"] .pillars-sec .card.pillar:hover::before, body[data-page="home"] .pillars-sec .card.pillar:focus-within::before { opacity: 1; }
body[data-page="home"] .pillars-sec .card.pillar::before { background: radial-gradient(120% 85% at 50% 115%, var(--pglow, oklch(0.86 0.11 152 / 75%)), transparent 72%); } /* a taller hover glow */

/* «التزامنا» hover: the glow is now a background behind the card (around it), not inside it, and no drop shadow */
body[data-page="home"] .pillars-sec .pillars { position: relative; isolation: isolate; }
body[data-page="home"] .pillars-sec .card.pillar { isolation: auto; overflow: visible; z-index: auto; }
body[data-page="home"] .pillars-sec .card.pillar::before { z-index: -1; inset: -46px -40px; border-radius: 40px; background: radial-gradient(50% 50% at 50% 55%, var(--pglow, oklch(0.86 0.11 152 / 75%)), transparent 72%); filter: blur(6px); }
body[data-page="home"] .pillars-sec .card.pillar:hover { box-shadow: 0 0 0 1px oklch(0.85 0 0); }

/* Every page's closing card: white with a thin outline and a soft purple glow from its lower corner (as on Home) */
.cta-band__card { background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; isolation: isolate; overflow: hidden; }
.cta-band__card::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(60% 90% at 25% 100%, oklch(0.84 0.12 300 / 70%), transparent 70%); }
/* the halo shows around the card: the lift on hover moves the card (top) instead of transforming it, so the glow stays behind it */
body[data-page="home"] .pillars-sec .card.pillar.is-shown, body[data-page="home"] .pillars-sec .card.pillar { transform: none; top: 0; transition: top .25s ease, box-shadow .2s, opacity .5s; }
body[data-page="home"] .pillars-sec .card.pillar:hover { transform: none; top: -3px; }
body[data-page="home"] .pillars-sec .card.pillar::before { inset: -36px -30px; border-radius: 48px; filter: none;
  background: radial-gradient(closest-side, var(--pglow, oklch(0.86 0.11 152 / 75%)) 62%, transparent 100%); }

/* The glow breathes: a slow, soft pulse and drift (Home hero, Pricing behind the middle plan, the closing cards).
   Off for people who ask for reduced motion. */
@keyframes glow-breathe {
  0%, 100% { opacity: .75; transform: translate(0, 0) scale(1); }
  50% { opacity: 1; transform: translate(-2%, -3%) scale(1.08); }
}
@keyframes glow-drift {
  0%, 100% { opacity: .8; transform: translateX(0) scale(1); }
  50% { opacity: 1; transform: translateX(4%) scale(1.06); }
}
.hero::before { animation: glow-breathe 9s ease-in-out infinite; will-change: transform, opacity; }
.tiers::before { animation: glow-breathe 8s ease-in-out infinite; will-change: transform, opacity; }
.cta-band__card::before { animation: glow-drift 10s ease-in-out infinite; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .hero::before, .tiers::before, .cta-band__card::before { animation: none; } }
/* the glow pulses clearly: from faint to its full strength and back */
@keyframes glow-breathe {
  0%, 100% { opacity: .2; transform: translate(0, 0) scale(.96); }
  50% { opacity: 1; transform: translate(-2%, -3%) scale(1.06); }
}
@keyframes glow-drift {
  0%, 100% { opacity: .2; transform: translateX(0) scale(.96); }
  50% { opacity: 1; transform: translateX(4%) scale(1.05); }
}
.hero::before { animation-duration: 6s; }
.tiers::before { animation-duration: 5.5s; }
.cta-band__card::before { animation-duration: 6.5s; }
/* «التزامنا»: no scroll effect any more (cards just show) and black buttons */
body[data-page="home"] .pillars-sec .card.pillar { opacity: 1; }
.pillar .pillar__cta.btn--dark { background: var(--ink); color: #fff; box-shadow: none; }
.pillar .pillar__cta.btn--dark:hover { background: var(--hover); color: #fff; }
/* «التزامنا» hover halo, softer: lighter colours, wider fade, a little blur */
body[data-page="home"] .pillars-sec .card.pillar { --pglow: oklch(0.9 0.08 152 / 45%); }
body[data-page="home"] .pillars-sec .card.pillar:nth-child(2) { --pglow: oklch(0.9 0.06 255 / 45%); }
body[data-page="home"] .pillars-sec .card.pillar:nth-child(3) { --pglow: oklch(0.88 0.08 300 / 40%); }
body[data-page="home"] .pillars-sec .card.pillar::before { inset: -44px -38px; background: radial-gradient(closest-side, var(--pglow) 50%, transparent 100%); filter: blur(10px); }

/* «التزامنا» moved to About: hover is the lift and drop shadow again, no glow halo */
.pillars-sec .card.pillar::before { display: none; }
.pillars-sec .card.pillar:hover { box-shadow: 0 0 0 1px oklch(0.85 0 0), 0 18px 40px -22px oklch(0 0 0 / 30%); transform: translateY(-2px); }

/* Closing cards: the glow stays still, and its colour changes with the page */
.cta-band__card::before { animation: none; transform: none; opacity: 1; background: radial-gradient(60% 90% at 25% 100%, var(--cta-glow, oklch(0.84 0.12 300 / 70%)), transparent 70%); }
body[data-page="home"], body[data-page="sol-ai-invoicing"], body[data-page="sol-ai"] { --cta-glow: oklch(0.84 0.12 300 / 70%); }
body[data-page="why"], body[data-page="sol-pos"], body[data-page="sol-erp"] { --cta-glow: oklch(0.86 0.11 152 / 75%); }
body[data-page="about"], body[data-page="sol-branches"], body[data-page="sol-crm"], body[data-page="sol-mobile"] { --cta-glow: oklch(0.86 0.09 255 / 75%); }
body[data-page="pricing"], body[data-page="sol-delivery"], body[data-page="sol-offers"] { --cta-glow: oklch(0.88 0.1 60 / 75%); }
body[data-page="solutions"], body[data-page="contact"] { --cta-glow: oklch(0.88 0.07 190 / 70%); }

/* Pricing (2026-12-03): all plans white; switch and middle button back to black (gradient removed) */
:root { --brand-grad: linear-gradient(120deg, oklch(0.64 0.16 152), oklch(0.56 0.17 220) 55%, oklch(0.55 0.2 275)); }
.tier, .tier:hover, .tier.is-picked, .tier--main, .tier--main:hover, .tier--main.is-picked { background: #fff; }
.tier__price b:only-child { font-size: 30px; letter-spacing: -.01em; } /* the Branches plan: «تواصل معنا» instead of a number, smaller than the prices */
body[data-page="pricing"] { --cta-glow: oklch(0.86 0.11 152 / 75%); } /* Pricing's closing card: green glow */
.cta-band [data-mock="pos"] .mock__in > div > .x-card:last-child { gap: 8px; padding: 12px 14px; } /* Pricing closing card: the payment panel ends level with the cart */
.cta-band [data-mock="pos"] .mock__in > div > .x-card:last-child { gap: 8px !important; padding: 12px 14px !important; }
.cta-band [data-mock="pos"] .mock__in > div { box-sizing: border-box; } /* the screen box includes its padding, so the panel stops level with the cart */
.cta-band [data-mock="pos"] .mock__in > div { height: auto !important; } /* the row follows the cart; the payment panel stretches to it */

/* About closing card: the dashboard without its last (far) stat and column, 2026-12-03 */
body[data-page="about"] .cta-band [data-mock="dash"] .x-stats { grid-template-columns: repeat(3, 1fr) !important; }
body[data-page="about"] .cta-band [data-mock="dash"] .x-stats > .x-stat:nth-child(4),
body[data-page="about"] .cta-band [data-mock="dash"] .x-brief > div:nth-child(4) { display: none; }
body[data-page="about"] .cta-band [data-mock="dash"] .x-brief { grid-template-columns: repeat(3, 1fr) !important; }

/* About hero, Arabic: more room between lines so the hamza (أ) doesn't touch the line above */
[dir="rtl"] .about-hero2__text h1 { line-height: 1.35; }

/* Phones: Home's "who it's for" row moves by itself in an endless loop (script.js builds the track, 2026-12-03).
   Arabic moves toward the left side's cards (content slides right); English the other way. Holding a finger pauses it. */
@media (max-width: 760px) {
  .more__grid.is-marquee { display: block; overflow: hidden; scroll-snap-type: none; padding: 4px 0 14px 0; padding-inline-start: 16px; margin-inline: -16px; }
  .marquee__track { display: flex; width: max-content; animation: marquee-ltr 36s linear infinite; }
  [dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
  .marquee__track > div { flex: 0 0 72vw; margin-inline-end: 12px; }
  .more__grid.is-marquee:active .marquee__track { animation-play-state: paused; }
}
@keyframes marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (max-width: 760px) {
  /* the track is a plain holder; the cards inside keep their card look */
  .more__grid.is-marquee > .marquee__track { display: flex; flex-direction: row; width: max-content; padding: 0; background: none; box-shadow: none; border-radius: 0; gap: 0; }
  .marquee__track > div { background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
}

/* Phones: the photo card's green runs the other way (white at the top, green at the bottom), 2026-12-03 */
@media (max-width: 760px) {
  .spot__art { background: linear-gradient(0deg, var(--mint) 0%, #fff 100%); }
}
@media (max-width: 760px) {
  /* every moving row (data-marquee): the Features cards too, 2026-12-03 */
  .cards.is-marquee { display: block; overflow: hidden; scroll-snap-type: none; padding: 4px 0 14px 0; padding-inline-start: 16px; margin-inline: -16px; }
  .cards.is-marquee > .marquee__track { display: flex; flex-direction: row; width: max-content; }
  .marquee__track > .card { flex: 0 0 72vw; margin-inline-end: 12px; }
  .cards.is-marquee:active .marquee__track { animation-play-state: paused; }
}
@media (max-width: 760px) {
  /* phones: the closing cards (and Home's Essential card) are text and buttons only, no screen (2026-12-03) */
  .cta-band__art { display: none; }
}

/* ===================== MENU (phones only), 2026-12-03 =====================
   Open: the bar and the menu turn black and cover the whole screen; the page under it can't scroll or be tapped. */
@media (max-width: 760px) {
  html.menu-open { overflow: hidden; overscroll-behavior: none; } /* html only: hiding body too would unstick the bar */
  html.menu-open main, html.menu-open footer { pointer-events: none; }
  html.menu-open .nav { background: #0b0b0b; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: oklch(1 0 0 / 10%); box-shadow: none; }
  html.menu-open .nav__logo img { filter: invert(1); }
  html.menu-open .nav__cta .btn--dark { background: #fff; color: #0b0b0b; }
  html.menu-open .nav__cta .btn--ghost { color: #fff; }
  html.menu-open .nav__burger { background: oklch(1 0 0 / 12%); }
  html.menu-open .nav__burger span { background: #fff; }
  .nav__sheet.is-open {
    position: fixed; inset: var(--nav-h, 60px) 0 0; z-index: 49; display: flex;
    background: #0b0b0b; border: 0; padding: 8px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; animation: menu-in .22s ease-out;
  }
  .nav__sheet.is-open a { color: #fff; border-bottom-color: oklch(1 0 0 / 12%); font-size: 18px; padding: 15px 0; }
  .nav__sheet.is-open a[aria-current] { color: #fff; font-weight: 600; }
  .nav__sheet.is-open .nav__subs a.nav__sub { background: oklch(1 0 0 / 9%); color: oklch(1 0 0 / 85%); font-size: 14px; padding: 10px 12px; }
}
@keyframes menu-in { from { transform: translateY(-8px); } to { transform: none; } } /* movement only: the menu is never see-through */

/* Phones only: on the nine solution pages the top text sits on the language's own side (right in Arabic, left in English), 2026-12-03 */
@media (max-width: 760px) {
body[data-page^="sol-"] .page-hero { text-align: start; align-items: flex-start; }
body[data-page^="sol-"] .page-hero .lead, body[data-page^="sol-"] .page-hero h1 { margin-inline: 0; }
body[data-page^="sol-"] .page-hero .hero__ctas { justify-content: flex-start; }
}
@media (max-width: 760px) {
  /* Home hero on phones: the app runs past the page margin to the screen edge on the far side
     (left in Arabic, right in English), 2026-12-03 */
  .stage--hero { margin-inline-end: calc(50% - 50vw); }
}
@media (max-width: 760px) {
  /* phones: the bar hides while the footer is on screen (script.js adds .is-away), 2026-12-03 */
  .nav { transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .2s; }
  .nav.is-away { transform: translateY(-100%); }
  html.menu-open .nav.is-away { transform: none; } /* never while the menu is open */
}
@media (max-width: 760px) {
  /* phones: the whole footer logotype, not cut, with the page margin at its sides and room below it for
     the phone browser's bottom bar, 2026-12-03 */
  .foot__mark { padding: 36px 16px 0; margin-bottom: 64px; }
  .foot__mark span { margin-bottom: 0; background: linear-gradient(180deg, oklch(0.42 0 0), oklch(0.2 0 0)); }
}
@media (max-width: 760px) {
  /* phones: Contact's top text on the language's own side too, like the solution pages (2026-12-03) */
  body[data-page="contact"] .page-hero { text-align: start; align-items: flex-start; }
  body[data-page="contact"] .page-hero h1, body[data-page="contact"] .page-hero .lead { margin-inline: 0; }
}
@media (min-width: 761px) {
  /* desktop: Solutions and Contact top text on the language's own side (right in Arabic, left in English), 2026-12-03 */
  body[data-page="solutions"] .page-hero, body[data-page="contact"] .page-hero { text-align: start; align-items: flex-start; }
  body[data-page="solutions"] .page-hero > *, body[data-page="contact"] .page-hero > * { margin-inline: 0; }
  body[data-page="solutions"] .sol-nav { justify-content: flex-start; }
}

/* The top bar is nearly solid white: dark things scrolling under it (the black buttons, the footer) no longer show
   through as grey smudges around the menu links and the active tab, 2026-12-03 */
.nav { background: oklch(1 0 0 / 96%); }
.nav__links a[aria-current="page"] { background: oklch(0.955 0 0); }

/* Why page: more space between the hero and the first section */
body[data-page="why"] .page-hero { padding-bottom: 56px; }

/* Why page: the stock screen starts at its numbers, without its title row */
body[data-page="why"] .showcase__stage [data-mock="stock"] .x-stock-head { display: none; }
/* footer text a bit smaller (2026-12-05) */
.foot__brand p { font-size: 13.5px; }
.foot__col { font-size: 14px; }
.foot__bottom { font-size: 13px; }
