/* BIMPoint — styles */
:root {
  --paper: #F5F3EE;
  --paper-2: #ECE9E2;
  --ink: #0F1B2D;
  --text: #2F3A49;
  --muted: #697281;
  --rule: #D3D0C8;
  --accent: #1F48B8;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}
html[lang="ar"] { --serif: "Noto Naskh Arabic", "Times New Roman", serif; --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html[lang="zh"] { --serif: "Source Serif 4", "Songti SC", "SimSun", serif; --sans: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 0; line-height: 1.15; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.45; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { inset-inline-start: 1rem; top: 1rem; }
.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }
[dir="rtl"] .arr { transform: scaleX(-1); }

/* ---------- links & buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 2px; font-weight: 500; font-size: .95rem; cursor: pointer; transition: background .18s, border-color .18s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: progress; }
.more { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); font-weight: 500; background: none; border: 0; padding: 0; cursor: pointer; }
.more span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .2s; }
.more:hover { color: var(--accent); }
.more.sm { font-size: .88rem; margin-top: .35rem; }
.arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
.more:hover .arr, .start a:hover .arr { transform: translateX(3px); }
[dir="rtl"] .more:hover .arr, [dir="rtl"] .start a:hover .arr { transform: scaleX(-1) translateX(3px); }
.wa-ic { width: 17px; height: 17px; fill: #1D9E54; }
.btn .wa-ic { fill: currentColor; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .96); border-bottom: 1px solid transparent; transition: border-color .2s; }
body.scrolled .site-header { border-color: var(--rule); }
.bar { display: flex; align-items: center; gap: 2rem; height: 80px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 1.6rem; }
.nav ul a { font-size: .95rem; color: var(--text); padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav ul a:hover { color: var(--ink); border-color: var(--rule); }
.nav ul a.on { color: var(--ink); border-color: var(--ink); }
.nav-extra { display: none; }
.tools { display: flex; align-items: center; gap: 1rem; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: .35rem; background: none; border: 0; padding: .4rem 0; cursor: pointer; font-size: .92rem; color: var(--text); }
.lang-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); background: var(--paper); border: 1px solid var(--rule); min-width: 160px; padding: .35rem 0; display: none; box-shadow: 0 12px 30px rgba(15, 27, 45, .08); }
.lang.open .lang-menu { display: block; }
.lang-menu button { display: block; width: 100%; text-align: start; background: none; border: 0; padding: .5rem 1rem; cursor: pointer; font-size: .95rem; }
.lang-menu button:hover { background: var(--paper-2); }
.lang-menu button[aria-current] { color: var(--accent); }
.hdr-cta .btn { padding: .65rem 1.1rem; font-size: .9rem; }
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s; }
body.menu-open .menu-btn i:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-btn i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; padding: 5.5rem 0 4.5rem; align-items: end; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); letter-spacing: -.02em; line-height: 1.05; max-width: 14em; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.35; font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
html[lang="ru"] .hero h1, html[lang="fr"] .hero h1, html[lang="it"] .hero h1, html[lang="tr"] .hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.lead { font-size: 1.2rem; color: var(--text); max-width: 34em; margin-top: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.4rem; }
.hero-facts { border-top: 1px solid var(--ink); }
.sector-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.6rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); font-size: .95rem; }
.sector-line span { color: var(--muted); margin-inline-end: .4rem; }
.sector-line a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.sector-line a:hover { border-color: var(--ink); }

/* facts */
.facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--rule); font-size: .94rem; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.facts small { color: var(--muted); font-size: .84rem; }
.facts .tel a:hover, .foot .tel a:hover { color: var(--accent); }
[dir="rtl"] .facts .tel a, [dir="rtl"] .foot .tel a { direction: ltr; unicode-bidi: isolate; }
.facts .langs { flex-direction: row; flex-wrap: wrap; gap: .15rem .7rem; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; margin-top: .3rem; color: var(--muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #A3A9B2; }
.status.on { color: #1F7A4D; }
.status.on i { background: #22A365; }

/* ---------- sections ---------- */
.sec { border-bottom: 1px solid var(--rule); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; padding: 5rem 0; }
.sec-label h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.01em; }
.sec-label p { color: var(--muted); margin-top: .8rem; max-width: 22em; }
.sec-label .more { margin-top: 1.6rem; }
.sec-label { align-self: start; position: sticky; top: 110px; }

.start { border-top: 1px solid var(--ink); }
.start li { border-bottom: 1px solid var(--rule); }
.start a { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--ink); transition: color .15s, padding .2s; }
html[lang="ar"] .start a { font-weight: 500; }
.start a:hover { color: var(--accent); padding-inline-start: .4rem; }
.start .arr { width: 18px; height: 18px; flex: none; }

.index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--rule); }
.index .row { display: grid; grid-template-columns: 2.6rem 1fr; padding: 1.6rem 0; height: 100%; }
.index .no, .svc .no, .toc .no { font-family: "Source Serif 4", Georgia, serif; color: var(--accent); font-size: .95rem; }
.index h3 { font-size: 1.2rem; grid-column: 2; }
.index p { grid-column: 2; color: var(--muted); font-size: .95rem; margin-top: .5rem; }
.index a.row:hover h3 { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--ink); }
.steps li { padding-top: 1.4rem; }
.steps .no { display: block; font-family: "Source Serif 4", Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--ink); margin-bottom: 1.1rem; font-weight: 400; }
.steps h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.steps p { color: var(--muted); font-size: .94rem; }

.statement { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.5; color: var(--ink); max-width: 30em; margin-bottom: 1.8rem; }
html[lang="ar"] .statement { line-height: 1.85; }
.prose { max-width: 36em; }
.quote { margin: 0 0 2.5rem; padding-inline-start: 1.6rem; border-inline-start: 2px solid var(--accent); font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.45; color: var(--ink); }
.sub { font-size: 1.15rem; margin-bottom: .5rem; }

.pairs { border-top: 1px solid var(--ink); }
.pairs > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.pairs dt { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.pairs dd { color: var(--text); }
.pairs.wide > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: 2rem 0; }
.pairs.wide dt { font-size: 1.45rem; }
.sec > .wrap > .pairs.wide { margin: 4rem 0; }

/* page head */
.page-head { border-bottom: 1px solid var(--rule); padding: 4rem 0 3.5rem; }
.crumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumb a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); letter-spacing: -.02em; }
html[lang="ar"] .page-head h1 { letter-spacing: 0; }

/* services page */
.toc { align-self: start; position: sticky; top: 110px; }
.toc ol { border-top: 1px solid var(--ink); }
.toc a { display: flex; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; color: var(--text); }
.toc a:hover { color: var(--ink); }
.svc { padding: 0 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--rule); }
.svc:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.svc h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: .4rem 0 1rem; }
.svc .prose { font-size: 1.08rem; margin-bottom: 1.4rem; }

/* contact */
.contact-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.contact-row .facts { border-top: 1px solid var(--ink); }
.contact-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; padding: 4.5rem 0 5rem; }
.contact-side h2 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.contact-side .facts { border-top: 1px solid var(--ink); margin-bottom: 1.6rem; }
.form { display: grid; gap: 1.4rem; }
.form label { display: grid; gap: .45rem; }
.form label span { font-size: .88rem; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: .75rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; outline: none; transition: border-color .15s; font-size: 1rem; color: var(--ink);
}
.form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23697281' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right center / 14px; cursor: pointer; }
[dir="rtl"] .form select { background-position: left center; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; margin-top: .6rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #9B1C1C; border-inline-start: 2px solid #9B1C1C; padding-inline-start: .8rem; font-size: .95rem; }
.form-ok { border-top: 1px solid var(--ink); padding-top: 1.6rem; }
.form-ok h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.form-ok p { margin-bottom: 1.4rem; max-width: 32em; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-2); font-size: .92rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr .8fr 1.1fr; gap: 3rem; padding: 4rem 0 3rem; }
.foot-brand img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 1.2rem; }
.foot-brand p { color: var(--muted); max-width: 26em; }
.foot h3 { font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: 1rem; }
.foot ul { display: grid; gap: .5rem; }
.foot a:hover { color: var(--accent); }
.foot .tel { display: flex; flex-direction: column; }
.foot .social { display: flex; gap: 1rem; margin-top: .3rem; }
.foot .social a { border-bottom: 1px solid var(--rule); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.3rem 0 1.6rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .85rem; }
.foot-langs { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.foot-langs button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font-size: .85rem; }
.foot-langs button:hover, .foot-langs button[aria-current] { color: var(--ink); }

.wa-float { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hdr-cta { display: none; }
  .nav ul { gap: 1.2rem; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 80px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: .5rem 1.5rem 1.5rem; display: none; }
  body.menu-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
  .nav ul a.on { border-color: var(--rule); color: var(--accent); }
  .nav-extra { display: block; margin-top: 1.2rem; }
  .tools { margin-inline-start: auto; }
  .hero-grid, .sec-grid, .contact-grid, .contact-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-grid { padding: 3.5rem 0 3rem; }
  .sec-label, .toc { position: static; }
  .sec-grid { padding: 3.5rem 0; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 2.2rem); }
  .bar { height: 68px; gap: 1rem; }
  .nav { inset: 68px 0 auto 0; }
  .brand img { width: 44px; height: 44px; }
  .index, .steps, .row2 { grid-template-columns: 1fr; }
  .pairs > div, .pairs.wide > div { grid-template-columns: 1fr; gap: .4rem; }
  .facts > div { grid-template-columns: 6rem 1fr; }
  .foot { grid-template-columns: 1fr; gap: 2rem; }
  .lead { font-size: 1.08rem; }
  .wa-float {
    display: grid; place-items: center; position: fixed; bottom: 16px; inset-inline-end: 16px; width: 50px; height: 50px; border-radius: 50%;
    background: #1D9E54; color: #fff; box-shadow: 0 6px 18px rgba(15, 27, 45, .2); z-index: 40;
  }
  .wa-float svg { width: 26px; height: 26px; fill: currentColor; }
  .site-footer { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- v4: brand colour + Tolerance Fezzan type system ---------- */
:root {
  --paper: #F6F4EF; --paper-2: #E9EDF3; --ink: #0F1B33; --text: #2E3648; --muted: #5F6878; --rule: #D3D6DC;
  --navy: #0E2350; --blue: #2453C6; --blue-soft: #E8EEF8; --accent: #2453C6;
  --f-head: "Playfair Display", "Times New Roman", serif; --f-body: "EB Garamond", Georgia, serif;
  --f-ui: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --f-flourish: "Playfair Display", serif;
  --serif: var(--f-head); --sans: var(--f-ui);
}
html[lang="ar"] {
  --f-head: "Amiri", "Noto Naskh Arabic", serif; --f-body: "Noto Naskh Arabic", "Amiri", serif;
  --f-ui: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --f-flourish: "Aref Ruqaa", "Amiri", serif;
  --serif: var(--f-head); --sans: var(--f-ui);
}
html[lang="fr"] { --f-head: "Cormorant Garamond", "Playfair Display", Georgia, serif; --serif: var(--f-head); }
html[lang="zh"] {
  --f-head: "Playfair Display", "Songti SC", "SimSun", serif; --f-body: "Songti SC", "SimSun", "Noto Serif SC", serif;
  --f-ui: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: var(--f-head); --sans: var(--f-ui);
}
h1, h2, h3 { font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; }
html[lang="fr"] h1, html[lang="fr"] h2, html[lang="fr"] h3 { font-weight: 700; }
.hero h1 { font-family: var(--f-flourish); font-weight: 700; }
html[lang="ar"] .hero h1 { font-weight: 700; line-height: 1.5; }
.lead, .prose, .statement, .index p, .steps p, .pairs dd, .sec-label p, .form-ok p, .foot-brand p, .svc .prose { font-family: var(--f-body); }
.lead { font-size: 1.38rem; line-height: 1.55; }
.statement { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.index p, .steps p { font-size: 1.08rem; }
.pairs dd, .prose, .svc .prose { font-size: 1.15rem; }
.sec-label p { font-size: 1.12rem; }
.quote { font-family: var(--f-head); }
html[lang="ar"] .lead, html[lang="ar"] .index p, html[lang="ar"] .steps p, html[lang="ar"] .pairs dd, html[lang="ar"] .prose { font-size: 1.12rem; line-height: 1.95; }

/* buttons & links */
.btn { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.more:hover, .start a:hover, .index a.row:hover h3 { color: var(--blue); }
.nav ul a.on { color: var(--blue); border-color: var(--blue); }
.index .no, .svc .no, .toc .no, .steps .no { color: var(--blue); }
.start, .index, .steps, .pairs, .toc ol, .hero-facts, .contact-row .facts, .contact-side .facts, .form-ok { border-top: 2px solid var(--blue); }

/* hero & page heads: solid navy */
.hero { background: var(--navy); color: #D5DDEB; border-bottom: 4px solid var(--blue); }
.hero h1 { color: #fff; }
.hero .lead { color: #C9D3E6; }
.hero .more, .hero .facts dd, .hero .facts dd a { color: #fff; }
.hero .hero-facts { border-top-color: #fff; }
.hero .facts > div { border-color: rgba(255, 255, 255, .14); }
.hero .facts dt, .hero .facts small { color: #93A3C3; }
.hero .status { color: #93A3C3; }
.hero .status.on { color: #6EE0A6; }
.hero .status.on i { background: #6EE0A6; }
.hero .wa-ic { fill: #6EE0A6; }
.hero .sector-line { border-color: rgba(255, 255, 255, .14); }
.hero .sector-line span { color: #93A3C3; }
.hero .sector-line a { color: #fff; border-color: rgba(255, 255, 255, .28); }
.hero .sector-line a:hover { border-color: #fff; }
.hero .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.page-head { background: var(--navy); border-bottom: 4px solid var(--blue); }
.page-head h1 { color: #fff; }
.page-head .lead { color: #C9D3E6; }
.crumb { color: #93A3C3; }
.crumb a:hover { color: #fff; }

/* section colour bands */
.sec.tint { background: var(--blue-soft); }
.sec.dark { background: var(--navy); color: #D5DDEB; border-color: var(--navy); }
.sec.dark h2, .sec.dark h3, .sec.dark .statement, .sec.dark .more { color: #fff; }
.sec.dark .sec-label p { color: #93A3C3; }
.sec.blue { background: var(--blue); color: #E3EAFB; border-color: var(--blue); }
.sec.blue h2 { color: #fff; }
.sec.blue .sec-label p, .sec.blue .facts dt, .sec.blue .facts small, .sec.blue .status { color: #CBD8F7; }
.sec.blue .facts { border-top-color: #fff; }
.sec.blue .facts > div { border-color: rgba(255, 255, 255, .24); }
.sec.blue .facts dd, .sec.blue .facts dd a, .sec.blue .more { color: #fff; }
.sec.blue .status.on { color: #B9F6D6; }
.sec.blue .status.on i { background: #6EE7A8; }
.sec.blue .wa-ic { fill: #fff; }
.sec.blue .btn { background: #fff; color: var(--blue); border-color: #fff; }
.sec.blue .btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hero .more:hover, .sec.dark .more:hover, .sec.blue .more:hover, .sec.blue .facts dd a:hover, .hero .facts dd a:hover { color: #BFD0FF; }
.site-footer { background: var(--paper-2); border-top: 4px solid var(--navy); }

/* ---------- v5: Source Serif body text + night mode ---------- */
:root { --f-body: "Source Serif 4", Georgia, serif; }
html[lang="fr"] { --f-body: "Source Serif 4", Georgia, serif; }
.lead { font-size: 1.28rem; }
.index p, .steps p { font-size: 1.02rem; }
.pairs dd, .prose, .svc .prose { font-size: 1.1rem; }
.sec-label p { font-size: 1.06rem; }
.theme-btn { width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 1px solid var(--rule); border-radius: 50%; cursor: pointer; color: var(--ink); flex: none; }
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn:hover { border-color: var(--blue); color: var(--blue); }
html[data-theme="dark"] {
  --paper: #0E131E; --paper-2: #141A27; --ink: #E9EDF5; --text: #C3CBDA; --muted: #8C96AA; --rule: #283044;
  --navy: #0A1020; --blue: #5A84EE; --blue-soft: #121A2B; --accent: #7C9DF2; color-scheme: dark;
}
html[data-theme="dark"] .site-header { background: rgba(14, 19, 30, .96); }
html[data-theme="dark"] .hero, html[data-theme="dark"] .page-head { border-bottom-color: #2D55C2; }
html[data-theme="dark"] .sec.blue { background: #1D3E95; border-color: #1D3E95; }
html[data-theme="dark"] .sec.blue .btn { color: #1D3E95; }
html[data-theme="dark"] .btn:hover { background: #2D55C2; border-color: #2D55C2; }
html[data-theme="dark"] .site-footer { border-top-color: #2D55C2; }
html[data-theme="dark"] .form-error { color: #F3A3A3; border-color: #F3A3A3; }
html[data-theme="dark"] .status.on { color: #6EE0A6; }
html[data-theme="dark"] .status.on i { background: #6EE0A6; }
html[data-theme="dark"] .wa-ic { fill: #4ADE80; }
html[data-theme="dark"] .lang-menu { box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }

/* ---------- v6: formal Arabic hero + crisper small headings ---------- */
:root { --f-h3: "Source Serif 4", Georgia, serif; }
html[lang="ar"] { --f-flourish: "Amiri", "Noto Naskh Arabic", serif; --f-h3: "Noto Naskh Arabic", "Amiri", serif; }
html[lang="zh"] { --f-h3: "Source Serif 4", "Songti SC", "SimSun", serif; }
.index h3, .steps h3, .pairs dt, .start a, .sub, .toc a { font-family: var(--f-h3); }
.index h3, .steps h3, .pairs dt, .sub { font-weight: 600; letter-spacing: 0; }
.toc a { font-size: 1rem; }
.pairs.wide dt { font-family: var(--f-head); }
html[lang="ar"] .index h3, html[lang="ar"] .steps h3, html[lang="ar"] .pairs dt, html[lang="ar"] .sub { font-weight: 700; }
html[lang="ar"] .start a { font-weight: 500; }
html[lang="ar"] .hero h1 { line-height: 1.45; }
