/* Maal Technology — shared layout for every design direction.
   Themes (theme-a/b/c.css) set the tokens below and style the hero visual; the page
   structure, grids and components live here so all three directions show the same content.
   Brand values from the company profile 2026: ink #111214, gold #B8935A, Public Sans. */
:root {
  --ink: #111214;
  --gold: #b8935a;
  --gold-2: #d4b07a;
  --gold-deep: #8c6b38;

  /* theme tokens (defaults = light) */
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --fg: #111214;
  --fg-2: #4b515a;
  --fg-3: #7b818b;
  --line: #e5e7eb;
  --line-strong: #111214;
  --accent: #b8935a;
  --accent-text: #8c6b38;
  --btn-bg: #111214;
  --btn-fg: #ffffff;
  --btn2-fg: #111214;
  --btn2-line: #c9ccd2;
  --header-bg: rgba(255,255,255,.86);
  --radius: 14px;
  --radius-lg: 20px;
  --h-weight: 800;
  --h-track: -.025em;
  --lens: #b8935a;
  --gap: var(--bg);

  --ok-bg: #e3f4ec; --ok-fg: #17663f;
  --soon-bg: #fdeee3; --soon-fg: #a2461a;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(80px, 10vw, 128px);
  --font-en: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Public Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font-en); color: var(--fg); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Logo ---------- */
.mark { width: 1.556em; height: 1em; flex: none; color: currentColor; }
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.lockup .mark { height: 32px; width: 50px; }
.lockup .words { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.lockup .ar { font-family: var(--font-ar); font-size: 20px; white-space: nowrap; }
.lockup .ar b { font-weight: 700; }
.lockup .ar span { font-weight: 400; }
.lockup .en { font-family: var(--font-en); font-size: 8px; font-weight: 700; letter-spacing: .32em; white-space: nowrap; color: var(--accent-text); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--fg-2); white-space: nowrap; padding-block: 6px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--fg-2); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); white-space: nowrap; }
.lang:hover { color: var(--fg); border-color: var(--fg-3); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: inherit; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; inset-inline: 0; top: 74px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 16px; }
  body.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent-text); }
}
@media (max-width: 560px) { .nav-end .btn { display: none; } }

/* ---------- Buttons and badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, opacity .2s; white-space: nowrap; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { opacity: .88; }
.btn-secondary { background: transparent; color: var(--btn2-fg); border-color: var(--btn2-line); }
.btn-secondary:hover { border-color: var(--btn2-fg); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--accent-text); }
.link .arrow { width: 17px; height: 17px; }
html[dir="rtl"] .link .arrow { transform: scaleX(-1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.badge { align-self: flex-start; width: fit-content; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
html[lang="ar"] .badge { font-size: 13.5px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.now { background: var(--ok-bg); color: var(--ok-fg); }
.badge.soon { background: var(--soon-bg); color: var(--soon-fg); }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14.5px; }
.display { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.05; font-weight: var(--h-weight); letter-spacing: var(--h-track); }
.title { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; font-weight: var(--h-weight); letter-spacing: var(--h-track); }
html[lang="ar"] .display, html[lang="ar"] .title { letter-spacing: 0; font-weight: 700; line-height: 1.4; }
.lead { font-size: clamp(17px, 1.55vw, 19.5px); color: var(--fg-2); max-width: 720px; }
.eyebrow + .title, .badge + .title, .eyebrow + .display, .badge + .display { margin-top: 16px; }
.title + .lead, .display + .lead { margin-top: 18px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.head-row .lead { max-width: 520px; }
h3.sub { font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; line-height: 1.3; }
h3.sub + p { color: var(--fg-2); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section.tone-alt { background: var(--bg-alt); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 44px; } .mt-l { margin-top: 72px; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3, .card h4 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.card p { color: var(--fg-2); margin-top: 8px; font-size: 15.5px; }
.ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-text); }
.ic svg { width: 21px; height: 21px; }
.ruled { border-top: 2px solid var(--line-strong); padding-top: 18px; }
.ruled h4 { font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.ruled p { color: var(--fg-2); margin-top: 8px; font-size: 15px; }
.dots { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.dots li { position: relative; padding-inline-start: 20px; color: var(--fg-2); font-size: 15.5px; }
.dots li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%238c6b38' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero-copy .lead { margin-top: 22px; }
.hero-copy .cta-row { margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--fg); background: var(--surface); transition: border-color .2s; }
html[dir="rtl"] .chip { padding: 8px 10px 8px 14px; }
.chip:hover { border-color: var(--fg-3); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-fg); }
.chip.soon i { background: var(--soon-fg); }
.hero-visual { position: relative; min-width: 0; }
.v-emblem, .v-cover, .v-match { display: none; }
.page-hero { padding-block: clamp(56px, 8vw, 100px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(36px, 4.8vw, 62px); max-width: 980px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Facts band (why Maal, in four points) ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid li { padding: clamp(28px, 3.4vw, 44px) clamp(18px, 2.2vw, 30px); }
.facts-grid li + li { border-inline-start: 1px solid var(--line); }
.facts-grid li:first-child { padding-inline-start: 0; }
.facts-grid li:last-child { padding-inline-end: 0; }
.facts-grid .ic { margin-bottom: 16px; }
.facts-grid b { display: block; font-size: 18px; font-weight: 700; line-height: 1.35; }
.facts-grid p { color: var(--fg-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid li { padding-inline: 0 24px; }
  html[dir="rtl"] .facts-grid li { padding-inline: 0 24px; }
  .facts-grid li:nth-child(odd) { border-inline-start: 0; }
  .facts-grid li:nth-child(even) { padding-inline-start: 24px; }
  .facts-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid li, .facts-grid li:nth-child(even) { padding: 18px 0; border-inline-start: 0; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; }
  .facts-grid .ic { grid-row: span 2; margin: 2px 0 0; }
  .facts-grid b { font-size: 16.5px; }
  .facts-grid p { margin-top: 2px; font-size: 14.5px; }
  .facts-grid li + li { border-top: 1px solid var(--line); }
}

/* ---------- Product blocks ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs > div { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.vs .today { border: 1px solid var(--line); background: var(--surface); }
.vs .with { background: var(--ink); color: #f3f1ec; }
.vs .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
html[lang="ar"] .vs .lbl { letter-spacing: 0; font-size: 14.5px; }
.vs .with .lbl { color: var(--gold-2); }
.vs ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.vs .today li { position: relative; padding-inline-start: 24px; color: var(--fg-2); }
.vs .today li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--fg-3); }
.vs .with p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat .n { font-size: clamp(34px, 3.8vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--accent-text); direction: ltr; unicode-bidi: isolate; display: block; }
html[lang="ar"] .stat .n.word { font-weight: 700; letter-spacing: 0; }
html[dir="rtl"] .stat .n { text-align: right; }
.stat b { display: block; margin-top: 10px; font-size: 16px; }
.stat span { display: block; color: var(--fg-3); font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stats, .stats.two { grid-template-columns: 1fr; } }

.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.path::before { content: ""; position: absolute; top: 23px; inset-inline: 10%; height: 2px; background: var(--line); }
.path li { position: relative; text-align: center; }
.path .dot { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); display: grid; place-items: center; font-weight: 800; color: var(--accent-text); }
.path b { display: block; margin-top: 14px; font-size: 17px; }
.path span { display: block; color: var(--fg-3); font-size: 14px; margin-top: 2px; }
@media (max-width: 760px) { .path { grid-template-columns: 1fr; gap: 0; } .path::before { display: none; } .path li { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; text-align: start; padding: 10px 0; } .path .dot { grid-row: span 2; margin: 0; } .path b { margin-top: 2px; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--line-strong); padding-top: 18px; }
.steps .k { font-size: 13px; font-weight: 700; color: var(--accent-text); letter-spacing: .1em; }
.steps b { display: block; font-size: 19px; margin-top: 8px; }
.steps p { color: var(--fg-2); margin-top: 8px; font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product .ticks { margin-top: 22px; }
.product .cta-row { margin-top: 30px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

.panel { border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px); background: var(--surface); border: 1px solid var(--line); }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.callout .mark { height: 52px; width: 81px; }
.callout h4 { font-size: 19px; font-weight: 700; }
.callout p { color: var(--fg-2); margin-top: 6px; }
@media (max-width: 600px) { .callout { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.quote { border-inline-start: 3px solid var(--accent); padding-inline-start: clamp(20px, 3vw, 36px); }
.quote .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
html[lang="ar"] .quote .lbl { letter-spacing: 0; font-size: 14.5px; }
.quote blockquote { font-size: clamp(23px, 2.8vw, 36px); line-height: 1.3; font-weight: 700; margin-top: 12px; }
html[lang="ar"] .quote blockquote { line-height: 1.65; }
.quote p { color: var(--fg-2); margin-top: 14px; max-width: 820px; }
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.client { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.client .logo { display: flex; align-items: center; justify-content: center; height: clamp(180px, 20vw, 240px); padding: 28px; background: #fff; }
.client .logo img { max-height: 100%; max-width: 78%; width: auto; object-fit: contain; }
.client .logo.sq { background: #2e6236; padding: 0; }
.client .logo.sq img { height: 100%; max-width: none; }
.client .meta { padding: 20px 24px; border-top: 1px solid var(--line); }
.client b { display: block; font-size: 17px; }
.client span { color: var(--fg-3); font-size: 14px; }
@media (max-width: 700px) { .clients { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-inline-end: 2px solid var(--fg-3); border-bottom: 2px solid var(--fg-3); transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { color: var(--fg-2); padding-bottom: 22px; max-width: 780px; }

/* ---------- Contact ---------- */
.cta-band { border-radius: 26px; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; background: var(--ink); color: #f3f1ec; --line: #2e3136; --fg-2: #b9bec7; --fg-3: #8a909a; --lens: var(--gold); --gap: var(--ink); }
.cta-band .title { color: #fff; }
.cta-band .lead { color: #b9bec7; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-secondary { color: #fff; border-color: #3b3f45; }
.cta-band .btn-secondary:hover { border-color: #fff; }
.cinfo div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cinfo div:first-child { border-top: 1px solid var(--line); }
.cinfo dt { color: var(--fg-3); font-size: 14.5px; }
.cinfo dd { font-weight: 600; }
.cinfo a { text-decoration: none; }
.cinfo a:hover { color: var(--accent); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } .cinfo div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: 14.5px; color: var(--fg-2); }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.f-brand p { margin-top: 14px; color: var(--fg-3); }
.f-col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.f-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin-bottom: 4px; }
html[lang="ar"] .f-col h4 { letter-spacing: 0; font-size: 14px; }
.f-col a { text-decoration: none; }
.f-col a:hover { color: var(--fg); }
.f-fine { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 12px; font-size: 13px; color: var(--fg-3); }
.f-fine a { color: var(--fg-2); }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* ---------- Review bar (remove before launch) ---------- */

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* Contact page: one list of details with copy actions, and topic shortcuts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.clist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.clist li { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.clbl { color: var(--fg-3); font-size: 14.5px; }
.cval { font-weight: 600; font-size: 16.5px; }
html[dir="rtl"] .cval.ltr { text-align: right; }
.cact { display: flex; gap: 8px; }
.cbtn { appearance: none; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--btn2-line); background: transparent; color: var(--fg); cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s, background-color .2s; }
.cbtn:hover { border-color: var(--accent); color: var(--accent-text); }
.cbtn.copied { border-color: var(--accent); background: var(--accent); color: #111214; }
.topics { display: grid; gap: 12px; }
.topic { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius, 14px); background: var(--surface); color: var(--fg); text-decoration: none; transition: border-color .2s, transform .2s; }
.topic:hover { border-color: var(--accent); transform: translateY(-1px); }
.topic b { display: block; font-size: 16.5px; }
.topic small { display: block; color: var(--fg-2); font-size: 14.5px; margin-top: 4px; line-height: 1.55; }
.topic .arrow { flex: none; width: 18px; height: 18px; color: var(--accent-text); }
html[dir="rtl"] .topic .arrow { transform: scaleX(-1); }
.note { color: var(--fg-3); font-size: 13.5px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .clist li { grid-template-columns: 1fr auto; } .clbl { grid-column: 1 / -1; } }

/* Performance figures: short words, one column per figure, ruled apart */
.stats .stat { position: relative; min-width: 0; }
.stats .stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.stat .n { font-size: clamp(30px, 3vw, 42px); direction: inherit; unicode-bidi: normal; text-align: start; white-space: nowrap; }
html[dir="rtl"] .stat .n { text-align: start; }
html[lang="ar"] .stat .n { letter-spacing: 0; font-weight: 700; }
.stat b { margin-top: 12px; }
.stat span:not(.n) { margin-top: 4px; line-height: 1.55; }
@media (max-width: 900px) { .stats .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; } .stats .stat:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); } }
@media (max-width: 460px) { .stats .stat + .stat { border-inline-start: 0; padding-inline-start: 0; padding-top: 18px; border-top: 1px solid var(--line); } }
