:root{color-scheme:dark;--gold:#cba75e;--paper:#eee5d5;--muted:#c2b6a1;--line:#cba75e40}*{box-sizing:border-box}body{margin:0;background:#100d09;color:var(--paper);font-family:"Trebuchet MS",sans-serif;line-height:1.8}a{color:var(--gold);text-underline-offset:5px}a:hover{color:var(--paper)}a:focus-visible{outline:2px solid var(--gold);outline-offset:6px}header,footer{max-width:1180px;margin:auto;padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px}header{border-bottom:1px solid var(--line)}header>a:last-child{font-size:.85rem}.brand{display:flex;align-items:center;gap:14px;font-family:Georgia,serif;font-size:1.6rem;letter-spacing:.15em;text-decoration:none}main{max-width:1000px;margin:auto;padding:32px 30px 70px}.breadcrumb{font-size:.8rem;color:var(--muted);margin-bottom:64px}.eyebrow{font-size:.72rem;letter-spacing:.18em;color:var(--gold)}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.15}h1{font-size:clamp(2.7rem,6vw,5rem);max-width:16ch;margin:20px 0 30px}h1 em{color:var(--gold)}.lead{font-size:1.15rem;max-width:64ch;color:var(--muted)}.cta{display:inline-block;padding:13px 22px;border:1px solid var(--gold);text-decoration:none;margin:20px 0}.cta:hover{background:var(--gold);color:#100d09}.chapters{margin-top:60px}.chapters section{display:grid;grid-template-columns:90px 1fr;gap:20px;border-top:1px solid var(--line);padding:38px 0}.number{color:var(--gold);font-family:Georgia,serif;font-size:2rem}h2{font-size:clamp(1.6rem,3vw,2.2rem);margin:0 0 24px}.chapters p,li{color:var(--muted)}ol{padding-left:22px}li{padding-left:8px;margin-bottom:12px}aside{border:1px solid var(--line);padding:clamp(24px,5vw,48px);background:#1b160e}.secondary{display:inline-block;margin-inline-start:24px}footer{border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}@media(max-width:600px){header,footer{align-items:flex-start;padding-inline:22px}header{flex-direction:column;gap:12px}main{padding-inline:22px}.breadcrumb{margin-bottom:40px}.chapters section{grid-template-columns:1fr;gap:8px}.secondary{display:block;margin-inline-start:0}footer{flex-direction:column;gap:4px}}@media(prefers-reduced-motion:no-preference){a{transition:color .2s,background .2s}}

/* Keep the Arabic reading flow and type comfortable on all screens. */
html[lang="ar"] body{font-family:Tahoma,sans-serif;line-height:2}
html[lang="ar"] h1,html[lang="ar"] h2{font-family:Tahoma,sans-serif;line-height:1.6}
html[lang="ar"] h1{max-width:24ch;font-size:clamp(2.2rem,5vw,4rem)}
html[lang="ar"] .eyebrow{letter-spacing:normal}

/* Community paths on the French guide. */
.community-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 38px}
.community-path{min-width:0;border:1px solid var(--line);padding:24px;background:#1b160e}
.community-path h2{font-size:1.6rem;color:var(--gold);margin:0 0 18px}
.community-path p{margin:0}
@media(max-width:760px){.community-paths{grid-template-columns:1fr}}
