/* EngageOps AI — official website styles. Dark navy with cyan/teal accents; the logo keeps its approved violet dot.
   Fonts: Inter (Latin) and IBM Plex Sans Arabic (Arabic), self-hosted (OFL). Logical properties everywhere: one
   stylesheet serves LTR and RTL. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/Inter-Variable-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/IBMPlexSansArabic-Regular.woff") format("woff"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/IBMPlexSansArabic-Medium.woff") format("woff"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/IBMPlexSansArabic-SemiBold.woff") format("woff"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/IBMPlexSansArabic-Bold.woff") format("woff"); }

:root {
  --navy-950: #050816;
  --navy-900: #0a1024;
  --navy-850: #0d1530;
  --navy-800: #121b3c;
  --navy-700: #1b2650;
  --line: rgba(160, 182, 255, 0.14);
  --line-strong: rgba(160, 182, 255, 0.28);
  --ink: #eef1fb;
  --ink-soft: #c3cbe6;
  --ink-muted: #98a3c7;
  --cyan: #38e1ff;
  --cyan-soft: #8eefff;
  --teal: #2dd4bf;
  --teal-deep: #0f9f8f;
  --violet: #8b7dff;
  --on-accent: #06122c;
  --bg: var(--navy-900);
  --surface: rgba(18, 27, 60, 0.72);
  --surface-solid: #121b3c;
  --link: var(--cyan-soft);
  --focus: #9ff1ff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(2, 6, 23, 0.9);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Inter", ui-sans-serif, system-ui, "Segoe UI", Tahoma, sans-serif;
  --max: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}

/* Legal and utility pages read better on paper; the header and footer stay navy. */
body.legal {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --ink: #0f1535;
  --ink-soft: #2a3358;
  --ink-muted: #56618a;
  --line: #dde3f1;
  --line-strong: #c4cce1;
  --link: #0b6f86;
  --focus: #0b6f86;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-arabic); font-feature-settings: normal; letter-spacing: 0; line-height: 1.8; }
body.home { background: radial-gradient(1200px 600px at 80% -10%, rgba(56, 225, 255, 0.14), transparent 60%), radial-gradient(900px 500px at -10% 20%, rgba(45, 212, 191, 0.12), transparent 60%), var(--navy-900); }

img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 0.9rem; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--cyan); color: var(--on-accent); border-radius: 0 0 10px 10px; font-weight: 600; }
.skip-link:focus { top: 0; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.625rem 1.125rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.button.large { min-height: 3.25rem; padding: 0.8rem 1.5rem; font-size: 1.0625rem; }
.button.primary { background: linear-gradient(135deg, var(--cyan), var(--teal)); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgba(56, 225, 255, 0.6); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(56, 225, 255, 0.75); }
.button.ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--line-strong); }
.button.ghost:hover { border-color: var(--cyan-soft); background: rgba(56, 225, 255, 0.08); }
body.legal .button.ghost { background: transparent; }
body.legal .site-header .button.ghost, body.legal .site-footer a { color: #eef1fb; }
body.legal .site-header .button.ghost { border-color: rgba(160, 182, 255, 0.28); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 16, 36, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(160, 182, 255, 0.14); color: #eef1fb; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #e8ebff; text-decoration: none; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; }
.brand-mark { color: #c9cdf5; flex: none; }
.brand-dot { fill: var(--violet); }
.brand-word span { color: #9d92ff; }
.menu-button { display: inline-flex; align-items: center; gap: 0.6rem; background: transparent; border: 1px solid rgba(160, 182, 255, 0.28); color: #eef1fb; border-radius: 999px; padding: 0.5rem 0.9rem; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.menu-bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; border-radius: 2px; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; gap: 1.1rem; }
.nav-list a { color: #d8ddf5; text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav-list a:hover { color: var(--cyan-soft); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-switch { color: #eef1fb; text-decoration: none; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid transparent; }
.lang-switch:hover { border-color: rgba(160, 182, 255, 0.28); }
@media (min-width: 64em) { .menu-button { display: none; } }
@media (max-width: 63.98em) {
  .site-nav { position: fixed; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem var(--gutter) 1.75rem; background: rgba(10, 16, 36, 0.98); border-bottom: 1px solid var(--line-strong); transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform 220ms ease, opacity 180ms ease; max-height: calc(100vh - 4.5rem); overflow: auto; }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  html:not(.js) .site-nav { position: static; transform: none; opacity: 1; pointer-events: auto; padding-inline: 0; }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-list a { display: block; padding: 0.7rem 0.25rem; font-size: 1.05rem; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .button { flex: 1 1 10rem; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2rem, 5vw, 4rem); position: relative; overflow: clip; }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 64em) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero-copy .lead { margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; color: var(--ink-muted); font-size: 0.9375rem; }
.hero-facts li { position: relative; padding-inline-start: 1.1rem; }
.hero-facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--teal); }

.hero-visual { position: relative; margin: 0; }
.hero-glow { position: absolute; inset: -12% -8%; background: radial-gradient(closest-side, rgba(56, 225, 255, 0.22), transparent 70%); filter: blur(10px); z-index: -1; }
.window { border-radius: var(--radius); border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(27, 38, 80, 0.85), rgba(13, 21, 48, 0.95)); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.window-bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-strong); }
.window-title { width: auto !important; height: auto !important; border-radius: 0 !important; background: none !important; margin-inline-start: auto; font-size: 0.75rem; color: var(--ink-muted); }
.window-body { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); min-height: 22rem; }
@media (max-width: 36em) { .window-body { grid-template-columns: 1fr; min-height: 0; } .inbox-list li:nth-child(n+3) { display: none; } }
.inbox-list { border-inline-end: 1px solid var(--line); padding: 0.6rem; display: grid; align-content: start; gap: 0.35rem; }
.inbox-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; padding: 0.6rem; border-radius: var(--radius-sm); }
.inbox-row.is-active { background: rgba(56, 225, 255, 0.1); outline: 1px solid rgba(56, 225, 255, 0.25); }
.avatar { width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--cyan)); opacity: 0.85; }
.inbox-row:nth-child(2) .avatar { background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.inbox-row:nth-child(3) .avatar { background: linear-gradient(135deg, var(--teal-deep), var(--violet)); }
.row-text { display: grid; gap: 0.1rem; min-width: 0; }
.row-title { font-size: 0.8125rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-meta { font-size: 0.72rem; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-badge { font-size: 0.66rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 999px; background: rgba(45, 212, 191, 0.16); color: var(--teal); white-space: nowrap; }
.thread { padding: 0.9rem; display: grid; align-content: start; gap: 0.7rem; }
.thread-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.thread-title { font-size: 0.8125rem; font-weight: 600; }
.thread-tag { font-size: 0.68rem; color: var(--on-accent); background: var(--cyan); padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 700; }
.bubble { display: grid; gap: 0.45rem; padding: 0.7rem 0.8rem; border-radius: 14px; width: 78%; }
.bubble.in { background: rgba(255, 255, 255, 0.06); justify-self: start; border-start-start-radius: 4px; }
.bubble.out { background: linear-gradient(135deg, rgba(56, 225, 255, 0.35), rgba(45, 212, 191, 0.35)); justify-self: end; border-start-end-radius: 4px; }
.line { display: block; height: 0.5rem; border-radius: 999px; background: rgba(238, 241, 251, 0.55); }
.bubble.in .line { background: rgba(238, 241, 251, 0.35); }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w55 { width: 55%; } .w40 { width: 40%; }
.note-chip { justify-self: center; font-size: 0.7rem; color: #ffe3a3; background: rgba(255, 196, 77, 0.12); border: 1px dashed rgba(255, 196, 77, 0.4); padding: 0.3rem 0.7rem; border-radius: 999px; }

/* Legend */
.legend { border-block: 1px solid var(--line); background: rgba(13, 21, 48, 0.5); }
.legend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; padding-block: 1rem; }
.legend-row h2 { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.legend-list { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; font-size: 0.9rem; color: var(--ink-muted); }
.legend-list li { display: inline-flex; align-items: center; gap: 0.5rem; }
.pill { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.pill::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.pill-available { background: rgba(45, 212, 191, 0.16); color: #7ff0e0; }
.pill-pilot { background: rgba(56, 225, 255, 0.16); color: #9ff1ff; }
.pill-planned { background: rgba(255, 196, 77, 0.14); color: #ffd98a; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 48rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.section-head .lead { margin-top: 0.9rem; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card { position: relative; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: border-color 200ms ease, transform 200ms ease; }
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-head { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.975rem; }
.section-note { margin-top: 1.5rem; color: var(--ink-muted); font-size: 0.95rem; max-width: 60ch; }

.security-grid { display: grid; gap: 1.5rem; }
@media (min-width: 56em) { .security-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.control-list { display: grid; gap: 0.75rem; }
.control-list li { padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(13, 21, 48, 0.55); display: grid; gap: 0.35rem; }
.control-list h3 { font-size: 1.05rem; }
.control-list p { color: var(--ink-soft); font-size: 0.95rem; }
.claims-box { position: sticky; top: 6rem; padding: 1.4rem; border-radius: var(--radius); border: 1px solid rgba(255, 196, 77, 0.35); background: rgba(255, 196, 77, 0.07); }
.claims-box h3 { color: #ffd98a; margin-bottom: 0.75rem; }
.claims-box ul { display: grid; gap: 0.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.claims-box li { padding-inline-start: 1.1rem; position: relative; }
.claims-box li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.65em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #ffd98a; }

.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 56em) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps li { display: grid; gap: 0.75rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step-no { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--teal)); color: var(--on-accent); font-weight: 800; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; }

.section-contact { background: linear-gradient(180deg, transparent, rgba(56, 225, 255, 0.05)); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 56em) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.contact-points { display: grid; gap: 0.6rem; margin-top: 1.5rem; color: var(--ink-soft); }
.contact-points li { padding-inline-start: 1.25rem; position: relative; }
.contact-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.7em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cyan); }
.contact-card { display: grid; gap: 0.75rem; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface-solid); box-shadow: var(--shadow); }
.contact-card p { color: var(--ink-soft); }
.contact-card .button { justify-self: start; }
.legal-name { font-weight: 600; color: var(--ink); }
.contact-signin { font-size: 0.95rem; }

/* Decision / note callouts */
.decision, .note, .banner { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.95rem; }
.decision { background: rgba(255, 196, 77, 0.12); border: 1px dashed rgba(201, 134, 0, 0.7); color: inherit; }
body.legal .decision { background: #fff6dd; border-color: #d99a00; }
.decision-label { display: inline-block; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: #d99a00; color: #1b1300; margin-inline-end: 0.4rem; vertical-align: middle; }
html[lang="ar"] .decision-label { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.note { background: rgba(56, 225, 255, 0.08); border: 1px solid rgba(56, 225, 255, 0.3); }
body.legal .note { background: #e9f8fb; border-color: #9ad7e3; }
.banner { background: #fff6dd; border: 1px solid #d99a00; color: #1b1300; margin-top: 1.25rem; max-width: 70ch; }
.draft-pill { display: inline-block; margin-top: 0.75rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(255, 196, 77, 0.18); color: #ffd98a; font-size: 0.78rem; font-weight: 700; }

/* Legal pages */
.legal-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-850)); color: #eef1fb; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(160, 182, 255, 0.14); }
.legal-hero .kicker { color: var(--teal); }
.legal-meta { margin-top: 1rem; color: #b8c1e0; font-size: 0.95rem; }
.legal-grid { display: grid; gap: 2rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 60em) { .legal-grid { grid-template-columns: 17rem minmax(0, 1fr); align-items: start; } .toc { position: sticky; top: 5.5rem; } }
.toc { padding: 1.2rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.toc h2 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.75rem; }
html[lang="ar"] .toc h2 { letter-spacing: 0; text-transform: none; }
.toc ol { display: grid; gap: 0.35rem; list-style: decimal; padding-inline-start: 1.3rem; font-size: 0.92rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
.toc-links { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.legal-article { max-width: 72ch; font-size: 1.03rem; }
.legal-intro { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 2rem; }
.legal-article section { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: 0.9rem; }
.legal-article section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-article h2 { font-size: 1.5rem; }
.legal-article ul, .legal-article ol { padding-inline-start: 1.4rem; display: grid; gap: 0.4rem; }
.legal-article ul { list-style: disc; } .legal-article ol { list-style: decimal; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: start; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
thead th { border-bottom: 2px solid var(--line-strong); }
.not-found { padding-block: 5rem; display: grid; gap: 1rem; justify-items: start; }

/* Footer */
.site-footer { background: var(--navy-950); color: #d2d8ee; border-top: 1px solid rgba(160, 182, 255, 0.14); padding-block: 3rem 2rem; margin-top: auto; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 56em) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1.4fr; } }
.footer-tagline { margin-top: 1rem; color: #a7b0d1; max-width: 32ch; font-size: 0.95rem; }
.footer-col h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8e98bd; margin-bottom: 0.9rem; }
html[lang="ar"] .footer-col h2 { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { color: #d2d8ee; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--cyan-soft); text-decoration: underline; }
.footer-company p { font-size: 0.92rem; color: #b5bddb; margin-bottom: 0.35rem; }
.footer-company .legal-name { color: #eef1fb; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(160, 182, 255, 0.14); font-size: 0.85rem; color: #8e98bd; }

/* Motion-safe reveal (JS adds .reveal; without JS everything is visible) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .toc, .skip-link { display: none; } body { background: #fff; color: #000; } a { color: #000; } }
