/* MagnaAI one-page sales sheets (2026-11-01). Page box 210 × 279 mm fits both A4 and US Letter; PDFs are
   exported in both sizes (render_pdfs.py). Light, print-friendly; brand from the website (magenta #B5309A,
   Syne + Inter; IBM Plex Sans Arabic for html[lang=ar], right-to-left via logical properties). */
@page { size: 210mm 279mm; margin: 0; }
:root {
  --primary: #B5309A; --primary-2: #8E1F78; --soft: #FBEFF8; --line: #EADCE6;
  --ink: #1B1320; --ink-2: #4A4152; --ink-3: #7A7182; --dark: #140B15;
  --head: 'Syne', 'Inter', sans-serif; --body: 'Inter', 'Segoe UI', sans-serif;
}
html[lang="ar"] { --head: 'IBM Plex Sans Arabic', sans-serif; --body: 'IBM Plex Sans Arabic', sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #e9e4ea; }
body { font-family: var(--body); color: var(--ink); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.page {
  width: 210mm; height: 279mm; margin: 10mm auto; background: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 6px 30px rgba(0,0,0,.15);
}
@media print { html, body { background: #fff; } .page { margin: 0 auto; box-shadow: none; } }

/* header band */
.top {
  background: radial-gradient(70% 140% at 90% 0%, rgba(181,48,154,.55), transparent 60%),
              linear-gradient(135deg, #140B15 0%, #2A0F27 100%);
  color: #fff; padding: 11mm 13mm 9mm;
}
.brand { display: flex; align-items: center; gap: 2.5mm; font: 700 13pt 'Syne', sans-serif; letter-spacing: .01em; }
.brand img { height: 6mm; width: auto; }
.brand .sep { opacity: .35; font-weight: 400; }
.brand .prod { font-family: var(--body); font-weight: 600; font-size: 10.5pt; color: #F2C5E6; }
.kicker { margin-top: 7mm; color: #F2C5E6; font: 700 8pt var(--body); letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 9.5pt; }
h1 { font: 700 22pt/1.12 var(--head); margin: 2.5mm 0 3mm; letter-spacing: -.01em; }
html[lang="ar"] h1 { font-size: 21pt; line-height: 1.4; letter-spacing: 0; }
h1 em { font-style: normal; color: #F08BD9; }
.lead { font-size: 10pt; line-height: 1.55; color: #E4DCE8; max-width: 165mm; margin: 0; }
html[lang="ar"] .lead { font-size: 10.5pt; line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 2mm; margin-top: 4.5mm; }
.tags span { border: 1px solid rgba(242,197,230,.45); color: #fff; border-radius: 99px; padding: 1mm 3mm; font-size: 7.6pt; font-weight: 600; }
html[lang="ar"] .tags span { font-size: 8.4pt; }

/* body */
.body { flex: 1; display: grid; grid-template-columns: 1fr 58mm; gap: 7mm; padding: 7mm 13mm 0; }
h2 { font: 700 11pt var(--head); margin: 0 0 3mm; color: var(--ink); }
html[lang="ar"] h2 { font-size: 12pt; }
h2 .bar { display: inline-block; width: 5mm; height: 1.4mm; background: var(--primary); border-radius: 2px; vertical-align: middle; margin-inline-end: 2mm; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2mm 5mm; }
.f { display: flex; gap: 2.5mm; align-items: flex-start; }
.f .ic {
  flex: none; width: 6.4mm; height: 6.4mm; border-radius: 1.8mm; background: var(--soft); color: var(--primary);
  display: grid; place-items: center; margin-top: .4mm;
}
.f .ic svg { width: 3.9mm; height: 3.9mm; }
.f b { display: block; font-size: 8.9pt; line-height: 1.3; margin-bottom: .6mm; }
.f p { margin: 0; font-size: 8pt; line-height: 1.42; color: var(--ink-2); }
html[lang="ar"] .features { gap: 2.4mm 5mm; }   /* Arabic sets taller: keeps every sheet on one page */
html[lang="ar"] .top { padding-bottom: 8mm; }
html[lang="ar"] .f b { font-size: 9.6pt; line-height: 1.45; }
html[lang="ar"] .f p { font-size: 8.6pt; line-height: 1.6; }

.side { display: flex; flex-direction: column; gap: 4.5mm; }
.box { border: 1px solid var(--line); border-radius: 3mm; padding: 4mm; }
.box--tint { background: var(--soft); border-color: #F1D6EA; }
.box h3 { font: 700 9.4pt var(--head); margin: 0 0 2mm; color: var(--primary-2); }
html[lang="ar"] .box h3 { font-size: 10pt; }
.box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.5mm; }
.box li { font-size: 7.9pt; line-height: 1.4; color: var(--ink-2); padding-inline-start: 3.2mm; position: relative; }
html[lang="ar"] .box li { font-size: 8.5pt; line-height: 1.55; }
.box li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 1.4mm; height: 1.4mm; border-radius: 50%; background: var(--primary); }
.box p { margin: 0; font-size: 7.9pt; line-height: 1.45; color: var(--ink-2); }
html[lang="ar"] .box p { font-size: 8.5pt; line-height: 1.6; }

.note { margin: 4mm 13mm 0; font-size: 7pt; line-height: 1.45; color: var(--ink-3); }
html[lang="ar"] .note { font-size: 7.6pt; }

/* contact footer */
.foot { margin-top: 5mm; background: var(--dark); color: #fff; padding: 6mm 13mm 6.5mm; display: grid; grid-template-columns: 1.15fr 1fr; gap: 6mm; align-items: center; }
.cta b { display: block; font: 700 12pt var(--head); margin-bottom: 1.2mm; }
.cta span { font-size: 8.2pt; color: #D9CFDD; line-height: 1.45; display: block; }
.person { border-inline-start: 1px solid rgba(255,255,255,.18); padding-inline-start: 6mm; font-size: 8.2pt; line-height: 1.6; }
.person .name { font-weight: 700; font-size: 10pt; }
.person .role { color: #F2C5E6; font-size: 8pt; margin-bottom: 1.2mm; }
.person a { color: #fff; text-decoration: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.offices { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 3mm; font-size: 7.6pt; color: #CFC4D3; display: flex; justify-content: space-between; gap: 4mm; flex-wrap: wrap; }
.offices i { font-style: normal; color: #F08BD9; }

/* ── Company overview sheet: all five services on one page (magnaai-services-*.html, 2026-11-07) ── */
.ov .top { padding: 7mm 13mm 5.5mm; }
.ov .kicker { margin-top: 3.5mm; }
.ov-row { display: flex; justify-content: space-between; align-items: center; gap: 4mm; }
.ov-row .web { font: 600 8.4pt var(--body); color: #F2C5E6; }
.ov h1 { font-size: 19pt; margin: 1.5mm 0 2.5mm; }
html[lang="ar"] .ov h1 { font-size: 17pt; line-height: 1.35; }
.ov .lead { font-size: 9.4pt; max-width: 178mm; }
html[lang="ar"] .ov .lead { font-size: 9.8pt; line-height: 1.7; }
.ov-list { flex: 1; padding: 1.5mm 13mm .5mm; display: flex; flex-direction: column; justify-content: space-between; }
.ov-s { display: grid; grid-template-columns: 13mm 1fr 36mm; gap: 4mm; padding: 1.8mm 0; border-bottom: 1px solid var(--line); align-items: start; }
.ov-s:last-child { border-bottom: 0; }
.ov-n { display: flex; flex-direction: column; align-items: center; gap: 1.6mm; }
.ov-n .num { font: 800 13pt/1 'Syne', sans-serif; color: var(--primary); }
.ov-n .ic { width: 7.5mm; height: 7.5mm; border-radius: 2.2mm; background: var(--soft); color: var(--primary); display: grid; place-items: center; }
.ov-n .ic svg { width: 4.4mm; height: 4.4mm; }
.ov-cat { font: 700 6.8pt var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--primary-2); }
html[lang="ar"] .ov-cat { letter-spacing: 0; font-size: 7.6pt; }
.ov-s h3 { font: 700 10.8pt/1.2 var(--head); margin: .6mm 0 .2mm; color: var(--ink); }
html[lang="ar"] .ov-s h3 { font-size: 10.8pt; line-height: 1.4; }
.ov-term { font-size: 7.6pt; color: var(--ink-3); font-style: italic; margin-bottom: .6mm; }
html[lang="ar"] .ov-term { font-style: normal; font-size: 8pt; }
.ov-s p { margin: 0; font-size: 8.1pt; line-height: 1.42; color: var(--ink-2); }
html[lang="ar"] .ov-s p { font-size: 8.2pt; line-height: 1.5; }
html[lang="ar"] .ov .top { padding-bottom: 5mm; }
html[lang="ar"] .ov-term { margin-bottom: .2mm; }
html[lang="ar"] .ov-s h3 { margin: 0; }
.ov-pts { display: flex; flex-wrap: wrap; gap: 1.4mm; margin-top: 1.8mm; }
.ov-pts span { font-size: 6.9pt; font-weight: 600; color: var(--primary-2); background: var(--soft); border-radius: 99px; padding: .5mm 2.4mm; }
html[lang="ar"] .ov-pts span { font-size: 7.4pt; }
.ov-url { border-inline-start: 1px solid var(--line); padding-inline-start: 3.5mm; font-size: 7.4pt; color: var(--ink-3); line-height: 1.45; }
.ov-url a { display: block; font: 700 8.6pt var(--body); color: var(--ink); text-decoration: none; margin: .4mm 0 1.6mm; }
.ov-url b { display: block; color: var(--ink-2); font-weight: 600; }
.ov-why { margin: 1mm 13mm 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3mm; background: var(--soft); border-radius: 3mm; padding: 2.5mm 4mm; }
.ov-why div { font-size: 7.3pt; line-height: 1.4; color: var(--ink-2); }
html[lang="ar"] .ov-why div { font-size: 7.8pt; line-height: 1.55; }
.ov-why b { display: block; font: 700 8.2pt var(--head); color: var(--primary-2); margin-bottom: .5mm; }
.ov .note { margin-top: 2mm; }
.ov .foot { margin-top: 2.5mm; grid-template-columns: 1.15fr 1fr 1fr; gap: 5mm; padding: 4.5mm 13mm 5mm; align-items: start; }
.ov .cta b { font-size: 11pt; }
.ov .person { font-size: 7.9pt; line-height: 1.5; padding-inline-start: 5mm; }
.ov .addr { font-size: 8pt; line-height: 1.55; color: #E4DCE8; border-inline-start: 1px solid rgba(255,255,255,.18); padding-inline-start: 5mm; }
.ov .addr b { display: block; color: #fff; font-size: 8.6pt; margin-bottom: .8mm; }
.ov .addr > span:last-child { display: block; color: #CFC4D3; font-size: 7.3pt; margin-top: 1.2mm; }
bdi { white-space: nowrap; }
.ov .ov-s { padding: 1.4mm 0; }
