/* BRAND-PAGE-R2 2026-11-30: /brand.html EN/FR/AR. Builds on teams-r1.css (tm-head, cards, tm-steps, reveal). */
html.bp2 .lx-legacy .bp-hero{padding-bottom:0}
html.bp2 .lx-legacy .bp-hero .tm-head{position:relative;isolation:isolate}
html.bp2 .lx-legacy .bp-hero .tm-head::before{content:"";position:absolute;inset:-60% -20%;z-index:-1;background:radial-gradient(40% 50% at 50% 45%,color-mix(in srgb,var(--champ) 22%,transparent),transparent 70%)}
html.bp2 .lx-legacy .bp-hero h1{font-family:var(--serif)!important;font-weight:400!important;font-size:clamp(44px,6.6vw,92px)!important;line-height:1;letter-spacing:-.015em;margin:16px 0 18px;color:var(--ink)}
html.bp2 .lx-legacy .bp-hero h1 em{font-style:italic;background:linear-gradient(100deg,#E9D3A2,var(--champ) 40%,var(--gold) 85%);-webkit-background-clip:text;background-clip:text;color:transparent}
:root:not([data-theme=dark]).bp2 .lx-legacy .bp-hero h1 em{background-image:linear-gradient(100deg,#8a7244,var(--gold) 50%,#6F5E3A)}
html.bp2 .lx-legacy .bp-toc{position:sticky;top:76px;z-index:5;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:0 auto;padding:6px;width:fit-content;max-width:100%;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
html.bp2 .lx-legacy .bp-toc a{padding:8px 14px;border-radius:999px;font:500 13.5px/1 var(--sans);color:var(--mut);text-decoration:none}
html.bp2 .lx-legacy .bp-toc a:hover,html.bp2 .lx-legacy .bp-toc a.on{color:var(--ink);background:color-mix(in srgb,var(--champ) 18%,transparent)}
@media (max-width:700px){html.bp2 .lx-legacy .bp-toc{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;border-radius:16px;scrollbar-width:none}html.bp2 .lx-legacy .bp-toc a{white-space:nowrap}}
/* logo */
html.bp2 .lx-legacy .bp-marks{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,2vw,22px)}
html.bp2 .lx-legacy .bp-tile{margin:0;aspect-ratio:16/10;border-radius:24px;display:grid;place-items:center;align-content:center;gap:16px;border:1px solid var(--line)}
html.bp2 .lx-legacy .bp-night{background:radial-gradient(60% 70% at 50% 40%,rgba(205,187,148,.14),transparent 70%),#0B0C10;color:#A6A9B1}
html.bp2 .lx-legacy .bp-paper{background:#FAF9F6;color:#575A63}
html.bp2 .lx-legacy .bp-tile figcaption{font:600 11.5px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase}
html.bp2 .lx-legacy .bp-lock{margin:clamp(14px,2vw,22px) 0 0;padding:clamp(28px,4vw,48px);border-radius:24px;border:1px solid var(--line);background:var(--tm-card);text-align:center}
html.bp2 .lx-legacy .bp-lockup{display:inline-flex;align-items:center;gap:14px;font-size:clamp(22px,3vw,34px)}
html.bp2 .lx-legacy .bp-lockup strong{font:600 1em/1 var(--sans);letter-spacing:.2em;color:var(--ink)}
html.bp2 .lx-legacy .bp-lockup span{width:1px;height:1.2em;background:var(--gold);opacity:.6}
html.bp2 .lx-legacy .bp-lockup em{font:italic 400 1.15em/1 'Instrument Serif',Georgia,serif;color:var(--gold-t,var(--gold))}
html.bp2 .lx-legacy .bp-lock figcaption{margin-top:16px;color:var(--mut);font-size:14px}
html.bp2 .lx-legacy .bp-rules{grid-template-columns:1fr 1fr!important;margin-top:clamp(14px,2vw,22px)}
html.bp2 .lx-legacy .bp-rules ul{margin:0;padding-inline-start:18px;color:var(--mut);line-height:1.7;font-size:15px}
html.bp2 .lx-legacy .bp-yes h2{color:#2a9d57!important}
html.bp2 .lx-legacy .bp-no h2{color:#c9645b!important}
/* colour */
html.bp2 .lx-legacy .bp-sw{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.6vw,18px)}
@media (max-width:760px){html.bp2 .lx-legacy .bp-sw{grid-template-columns:1fr 1fr}html.bp2 .lx-legacy .bp-marks,html.bp2 .lx-legacy .bp-rules{grid-template-columns:1fr!important}}
html.bp2 .lx-legacy .bp-c{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 10px 14px;border-radius:20px;border:1px solid var(--line);background:var(--tm-card);cursor:pointer;text-align:start;font:inherit;color:var(--ink);transition:transform .2s,border-color .2s}
html.bp2 .lx-legacy .bp-c:hover{transform:translateY(-2px);border-color:var(--gold)}
html.bp2 .lx-legacy .bp-c:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
html.bp2 .lx-legacy .bp-c i{display:block;width:100%;aspect-ratio:16/10;border-radius:12px;border:1px solid rgba(128,128,128,.25);margin-bottom:8px}
html.bp2 .lx-legacy .bp-c b{font-weight:600;font-size:15px;padding:0 4px}
html.bp2 .lx-legacy .bp-c code{font:500 13px/1 ui-monospace,Menlo,monospace;color:var(--gold-t,var(--gold));padding:0 4px}
html.bp2 .lx-legacy .bp-c small{color:var(--mut);font-size:12px;padding:0 4px}
html.bp2 .lx-legacy .bp-c.ok code::after{content:" ✓"}
html.bp2 .lx-legacy .bp-hint{text-align:center;color:var(--mut);font-size:13.5px;margin:18px 0 0}
html.bp2 .lx-legacy .bp-hint a{color:var(--gold-t,var(--gold))}
/* type */
html.bp2 .lx-legacy .bp-type{display:grid;gap:clamp(14px,2vw,22px)}
html.bp2 .lx-legacy .bp-type .card p{margin:14px 0 0!important;color:var(--ink)!important}
html.bp2 .lx-legacy .bp-s1{font:400 clamp(36px,5vw,68px)/1.05 'Instrument Serif',Georgia,serif!important}
html.bp2 .lx-legacy .bp-s1 em{color:var(--gold-t,var(--gold))}
html.bp2 .lx-legacy .bp-s2{font:400 clamp(17px,1.6vw,21px)/1.6 Inter,system-ui,sans-serif!important}
html.bp2 .lx-legacy .bp-s3{font:500 clamp(26px,3.2vw,40px)/1.5 'Noto Kufi Arabic',Tajawal,sans-serif!important}
/* components */
html.bp2 .lx-legacy .bp-parts{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(14px,2vw,22px)}
@media (max-width:760px){html.bp2 .lx-legacy .bp-parts{grid-template-columns:1fr}}
html.bp2 .lx-legacy .bp-btns{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
html.bp2 .lx-legacy .bp-b1,html.bp2 .lx-legacy .bp-b2{display:inline-flex;padding:12px 22px;border-radius:999px;font:600 15px/1 var(--sans);text-decoration:none!important}
html.bp2 .lx-legacy .bp-b1{color:#1a1408!important;background:linear-gradient(135deg,#F1DFB3,#C9A962);box-shadow:0 12px 26px -14px rgba(176,138,62,.8)}
html.bp2 .lx-legacy .bp-b2{color:var(--ink)!important;border:1px solid var(--line)}
html.bp2 .lx-legacy .bp-fact{grid-template-columns:1fr!important;margin:0!important;max-width:220px}
/* cpd */
html.bp2 .lx-legacy .bp-cpd{margin:0 auto;width:fit-content;padding:22px 28px;border-radius:22px;background:#fff;border:1px solid var(--line)}
html.bp2 .lx-legacy .bp-cpd img{display:block;max-width:min(320px,70vw);height:auto}
/* downloads */
html.bp2 .lx-legacy .bp-dl{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--tm-card)}
html.bp2 .lx-legacy .bp-r{display:grid;grid-template-columns:1.3fr 1fr auto;gap:12px;align-items:center;padding:12px 18px}
html.bp2 .lx-legacy .bp-r+.bp-r{border-top:1px solid var(--line)}
html.bp2 .lx-legacy .bp-th{font:600 11.5px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--mut);padding:14px 18px}
html.bp2[dir=rtl] .lx-legacy .bp-th{letter-spacing:0}
html.bp2 .lx-legacy .bp-r>span:first-child{display:flex;align-items:center;gap:12px;font-weight:500;color:var(--ink)}
html.bp2 .lx-legacy .bp-r img{width:40px;height:40px;object-fit:contain;border-radius:10px;background:#0B0C10;border:1px solid var(--line)}
html.bp2 .lx-legacy .bp-r>span:nth-child(2){color:var(--mut);font-size:14px}
html.bp2 .lx-legacy .bp-r>a{padding:8px 14px;border-radius:999px;border:1px solid color-mix(in srgb,var(--gold) 45%,var(--line));color:var(--gold-t,var(--gold));font:600 13px/1 var(--sans);text-decoration:none;white-space:nowrap}
html.bp2 .lx-legacy .bp-r>a:hover{background:color-mix(in srgb,var(--champ) 16%,transparent)}
@media (max-width:620px){html.bp2 .lx-legacy .bp-r{grid-template-columns:1fr auto}html.bp2 .lx-legacy .bp-r>span:nth-child(2){display:none}}
html.bp2 .lx-legacy #logo,html.bp2 .lx-legacy section.sec[id]{scroll-margin-top:130px}
html.bp2 .lx-legacy .cf-rule{display:none!important}

/* BRAND-PAGE-R3 */
html.bp2 .lx-legacy .bp-tokwrap{text-align:center;margin:14px 0 0}
html.bp2 .lx-legacy .bp-tok{padding:10px 18px;border-radius:999px;border:1px solid color-mix(in srgb,var(--gold) 45%,var(--line));background:transparent;color:var(--gold-t,var(--gold));font:600 13.5px/1 var(--sans);cursor:pointer}
html.bp2 .lx-legacy .bp-tok:hover{background:color-mix(in srgb,var(--champ) 16%,transparent)}
html.bp2 .lx-legacy .bp-modes{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,2vw,22px)}
html.bp2 .lx-legacy .bp-mode{margin:0;padding:clamp(24px,4vw,48px);border-radius:24px;border:1px solid var(--line);display:grid;gap:16px;justify-items:center}
html.bp2 .lx-legacy .bp-mode figcaption{font:600 11.5px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase}
html.bp2 .lx-legacy .bp-ml{background:#FAF9F6;color:#575A63}
html.bp2 .lx-legacy .bp-md{background:#0B0C10;color:#A6A9B1}
html.bp2 .lx-legacy .bp-mc{width:min(260px,100%);display:grid;gap:6px;padding:20px;border-radius:22px;text-align:start}
html.bp2 .lx-legacy .bp-ml .bp-mc{background:#fff;border:1px solid #E6E2D8;box-shadow:0 24px 50px -30px rgba(17,18,22,.3)}
html.bp2 .lx-legacy .bp-md .bp-mc{background:#14161B;border:1px solid #23262E;box-shadow:0 28px 60px -30px rgba(0,0,0,.9)}
html.bp2 .lx-legacy .bp-mi{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;margin-bottom:6px}
html.bp2 .lx-legacy .bp-ml .bp-mi{color:#A08A5C;background:#EFECE5}
html.bp2 .lx-legacy .bp-md .bp-mi{color:#CDBB94;background:#1C1F26}
html.bp2 .lx-legacy .bp-mc b{font:400 24px/1.1 'Instrument Serif',Georgia,serif}
html.bp2 .lx-legacy .bp-ml .bp-mc b{color:#111216}
html.bp2 .lx-legacy .bp-md .bp-mc b{color:#F4F2EC}
html.bp2 .lx-legacy .bp-mc small{font-size:13px}
html.bp2 .lx-legacy .bp-mb{justify-self:start;margin-top:10px;padding:9px 18px;border-radius:999px;font:600 13.5px/1 var(--sans);color:#1a1408;background:linear-gradient(135deg,#F1DFB3,#C9A962)}
html.bp2 .lx-legacy .bp-shape{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,22px)}
html.bp2 .lx-legacy .bp-sh{display:grid;gap:6px;justify-items:center;text-align:center}
html.bp2 .lx-legacy .bp-sh i{display:block;width:96px;height:64px;margin-bottom:10px;border:1px solid var(--gold);background:color-mix(in srgb,var(--champ) 12%,transparent)}
html.bp2 .lx-legacy .bp-sh0 i{border-radius:22px}
html.bp2 .lx-legacy .bp-sh1 i{height:40px;margin:12px 0 22px;border-radius:999px}
html.bp2 .lx-legacy .bp-sh2 i{border-radius:4px;background:none;border-color:var(--line)}
html.bp2 .lx-legacy .bp-sh b{font:400 26px/1 var(--serif);color:var(--ink)}
html.bp2 .lx-legacy .bp-sh span{color:var(--mut);font-size:14px}
html.bp2 .lx-legacy .bp-icons{margin-top:clamp(14px,2vw,22px);text-align:center}
html.bp2 .lx-legacy .bp-ic{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:14px}
html.bp2 .lx-legacy .bp-ic i{display:grid;place-items:center;width:56px;height:56px;border-radius:16px;border:1px solid var(--line);color:var(--gold-t,var(--gold))}
html.bp2 .lx-legacy .bp-motion{max-width:40em;margin-inline:auto}
@media (max-width:760px){html.bp2 .lx-legacy .bp-modes{grid-template-columns:1fr}html.bp2 .lx-legacy .bp-shape{grid-template-columns:1fr}}
