/* AMAADOR SELFSERVICE — homepage V3 "Editorial" (2026-10-23). Loaded on /, /fr/, /ar/ only.
   Markup is injected by home-v3-20261023.js; everything is scoped to .hv3-* so app/horizon styles are untouched.
   Theme follows html[data-theme] (set by the existing #theme toggle / amaador:ss:theme). */
:root{--hv3-bg:#FFFCF7;--hv3-card:#FFFFFF;--hv3-ink:#1D1D1F;--hv3-ink2:#424245;--hv3-muted:#6E6A63;--hv3-hair:#E9E0D2;
 --hv3-accent:#00777A;--hv3-teal:#00A6A6;--hv3-btn-a:#00777A;--hv3-btn-b:#007F8C;--hv3-on-btn:#FFFFFF;--hv3-heart:#9A3412;
 --hv3-tint1:#EEF7F6;--hv3-tint2:#EEF3FB;--hv3-tint3:#EFF8F1;--hv3-navy:#0F1E2B;--hv3-go:#0F1E2B;--hv3-on-go:#FFFFFF;
 --hv3-shadow:0 1px 2px rgba(15,18,21,.05),0 16px 40px -12px rgba(15,18,21,.12);
 --hv3-wash:linear-gradient(180deg,color-mix(in srgb,#00A6A6 7%,#FFFCF7),#FFFCF7 70%);
 --hv3-fd:"Inter Tight","Inter","IBM Plex Sans Arabic",system-ui,sans-serif;--hv3-fb:"Inter","IBM Plex Sans Arabic",system-ui,sans-serif;--hv3-far:"IBM Plex Sans Arabic",system-ui,sans-serif}
:root[data-theme=dark]{--hv3-bg:#0F1215;--hv3-card:#181C20;--hv3-ink:#F5F5F7;--hv3-ink2:#C9CDD1;--hv3-muted:#9AA3AB;--hv3-hair:#2A3036;
 --hv3-accent:#2DD4C8;--hv3-teal:#2DD4C8;--hv3-btn-a:#2DD4C8;--hv3-btn-b:#22E1D6;--hv3-on-btn:#0F1215;--hv3-heart:#FFC933;
 --hv3-tint1:#14282A;--hv3-tint2:#161F2B;--hv3-tint3:#15241B;--hv3-navy:#0A0D10;--hv3-go:#2DD4C8;--hv3-on-go:#0F1215;
 --hv3-shadow:0 24px 60px -20px rgba(0,0,0,.7);--hv3-wash:linear-gradient(180deg,color-mix(in srgb,#2DD4C8 9%,#0F1215),#0F1215 70%)}

/* hide the replaced heroes (kept in the DOM so existing bindings keep working) */
html.hv3-home .document-studio-home > .prism-hero,html.hv3-home section.page-head.hv3-replaced{display:none!important}
.hv3-hero[hidden],.hv3-steps[hidden]{display:none!important}

.hv3-hero,.hv3-steps{box-sizing:border-box;color:var(--hv3-ink);font-family:var(--hv3-fb);-webkit-font-smoothing:antialiased;text-align:start}
.hv3-hero *,.hv3-steps *{box-sizing:border-box}
html[dir=rtl] .hv3-hero,html[dir=rtl] .hv3-steps{font-family:var(--hv3-far);line-height:1.8}
.hv3-hero{background:var(--hv3-wash);border-bottom:1px solid var(--hv3-hair);overflow:hidden;width:100%}
.hv3-hero-in{max-width:1240px;margin:auto;padding:48px 24px 56px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:56px;align-items:center}
.hv3-copy{min-width:0;border-inline-start:3px solid var(--hv3-accent);padding-inline-start:28px}
.hv3-eyebrow{font:700 12px/1.4 var(--hv3-fb);letter-spacing:.24em;text-transform:uppercase;color:var(--hv3-accent);margin:0 0 18px}
html[dir=rtl] .hv3-eyebrow{letter-spacing:.08em}
.hv3-hero h1,.hv3-display{font:800 clamp(2.6rem,5vw,4.6rem)/1.0 var(--hv3-fd);letter-spacing:-.045em;margin:0 0 22px;color:var(--hv3-ink);max-width:none;text-align:start}
html[lang=fr] .hv3-hero h1,.hv3-display{font-size:clamp(2.4rem,4.4vw,4.1rem)}
html[dir=rtl] .hv3-hero h1,.hv3-display{font-family:var(--hv3-far);letter-spacing:0;line-height:1.3;font-weight:700}
.hv3-acc{color:var(--hv3-accent)}
.hv3-sub{font-size:1.2rem;line-height:1.6;color:var(--hv3-ink2);max-width:40ch;margin:0 0 30px}
.hv3-search{display:flex;align-items:center;gap:8px;background:var(--hv3-card);border:1px solid var(--hv3-hair);border-radius:20px;padding:8px;padding-inline-start:20px;box-shadow:var(--hv3-shadow);max-width:560px;margin:0}
.hv3-search svg{color:var(--hv3-muted);flex:none}
.hv3-search input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:1rem;color:var(--hv3-ink);padding:12px 4px;outline:none;box-shadow:none;margin:0;min-height:0}
.hv3-search input::placeholder{color:var(--hv3-muted);opacity:1}
.hv3-search:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--hv3-accent) 35%,transparent),var(--hv3-shadow)}
.hv3-search button{flex:none;border:0;border-radius:14px;padding:15px 22px;font:700 .98rem var(--hv3-fb);color:var(--hv3-on-btn)!important;background:linear-gradient(135deg,var(--hv3-btn-a),var(--hv3-btn-b))!important;cursor:pointer;min-height:44px;margin:0}
.hv3-search button:focus-visible,.hv3-step:focus-visible,.hv3-more:focus-visible{outline:2px solid var(--hv3-accent);outline-offset:3px}
.hv3-fact{display:flex;align-items:center;gap:10px;color:var(--hv3-ink2);font-size:.92rem;margin:16px 0 26px}
.hv3-dot{width:8px;height:8px;flex:none;border-radius:50%;background:var(--hv3-teal);box-shadow:0 0 0 4px color-mix(in srgb,var(--hv3-teal) 20%,transparent)}
.hv3-vals{display:grid;grid-template-columns:repeat(3,1fr);gap:0;max-width:600px;margin:0;padding:0;list-style:none}
.hv3-val{padding-inline:14px;border-inline-start:1px solid var(--hv3-hair);display:flex;flex-direction:column;gap:4px;margin:0}
.hv3-val b{font-size:.92rem;color:var(--hv3-ink)}.hv3-val span{font-size:.8rem;line-height:1.45;color:var(--hv3-muted)}
html[dir=rtl] .hv3-val span{line-height:1.6}
.hv3-bento{min-width:0;display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:118px;gap:12px}
.hv3-tile{position:relative;margin:0;min-width:0;border:1px solid var(--hv3-hair);border-radius:18px;overflow:hidden;background:var(--hv3-card);box-shadow:var(--hv3-shadow)}
.hv3-tile img{width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.hv3-t1{grid-column:1/4;grid-row:1/3}.hv3-t1 img,.hv3-t3 img,.hv3-t5 img{object-position:left top}
.hv3-t2{grid-column:4/5;grid-row:1/3}.hv3-t3{grid-column:1/3;grid-row:3/5}.hv3-t4{grid-column:3/4;grid-row:3/4}
.hv3-t5{grid-column:4/5;grid-row:3/5}.hv3-t6{grid-column:3/4;grid-row:4/5}
/* steps */
.hv3-steps{background:var(--hv3-bg);width:100%}
.hv3-wrap{max-width:1240px;margin:auto;padding:72px 24px 80px}
.hv3-steps h2{font:800 clamp(2rem,3.4vw,3rem)/1.1 var(--hv3-fd);letter-spacing:-.03em;margin:0 0 32px;color:var(--hv3-ink);text-align:start}
html[dir=rtl] .hv3-steps h2{font-family:var(--hv3-far);letter-spacing:0;font-weight:700;line-height:1.4}
.hv3-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hv3-step{position:relative;display:block;text-decoration:none!important;color:var(--hv3-ink)!important;border:1px solid var(--hv3-hair);border-radius:22px;padding:24px 24px 28px;padding-inline-end:84px;min-height:168px}
.hv3-s1{background:linear-gradient(135deg,var(--hv3-tint1),var(--hv3-card))}.hv3-s2{background:linear-gradient(135deg,var(--hv3-tint2),var(--hv3-card))}.hv3-s3{background:linear-gradient(135deg,var(--hv3-tint3),var(--hv3-card))}
.hv3-step:hover{border-color:var(--hv3-accent)}
.hv3-num{font:700 12px var(--hv3-fb);letter-spacing:.16em;color:var(--hv3-accent)}
.hv3-step h3{font:700 1.25rem/1.25 var(--hv3-fd);margin:14px 0 8px;color:var(--hv3-ink)}html[dir=rtl] .hv3-step h3{font-family:var(--hv3-far);line-height:1.5}
.hv3-step p{margin:0;color:var(--hv3-ink2);font-size:.95rem}
.hv3-go{position:absolute;inset-inline-end:22px;bottom:26px;width:44px;height:44px;border-radius:50%;background:var(--hv3-go);color:var(--hv3-on-go);display:grid;place-items:center}
html[dir=rtl] .hv3-go svg{transform:scaleX(-1)}
.hv3-more{display:inline-block;margin-top:28px;font-weight:700;color:var(--hv3-accent)!important;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}

/* slim navy footer (existing footers restyled, links/content unchanged) */
html:root:root:root:root:root.hv3-page body > footer,html:root:root:root:root:root.hv3-page footer.site-foot{background:#0F1E2B!important;color:#E6EBEF!important;border-top:1px solid #1d2a36!important;font-size:.82rem}
html:root:root:root:root:root.hv3-page[data-theme=dark] body > footer,html:root:root:root:root:root.hv3-page[data-theme=dark] footer.site-foot{background:#0A0D10!important}
html:root:root:root:root:root.hv3-page body > footer *,html:root:root:root:root:root.hv3-page footer.site-foot *{color:inherit!important;background-color:transparent!important;border-color:#24384a!important}
html:root:root:root:root:root.hv3-page body > footer a,html:root:root:root:root:root.hv3-page footer.site-foot a{color:#FFFFFF!important}
html:root:root:root:root:root.hv3-page body > footer :is(h2,h3,h4,strong),html:root:root:root:root:root.hv3-page footer.site-foot :is(h2,h3,h4,strong){color:#FFFFFF!important}
html:root:root:root:root:root.hv3-page body > footer :is(p,small,span),html:root:root:root:root:root.hv3-page footer.site-foot :is(p,small,span){color:#C4CDD5!important}
html:root:root:root:root:root.hv3-page body > footer a :is(span,small,strong),html:root:root:root:root:root.hv3-page footer.site-foot a :is(span,small,strong){color:#FFFFFF!important}

/* Donate pill: existing donation control restyled; inline-start bottom = bottom-left LTR / bottom-right RTL */
html:root:root:root:root:root.hv3-page .amaador-support-controls{left:auto!important;right:auto!important;inset-inline-start:max(18px,env(safe-area-inset-left))!important;bottom:calc(18px + env(safe-area-inset-bottom))!important}
html:root:root:root:root:root.hv3-page .amaador-support-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 16px!important;border-radius:999px!important;background:var(--hv3-card)!important;color:var(--hv3-ink)!important;border:1px solid var(--hv3-hair)!important;box-shadow:var(--hv3-shadow)!important;font:600 .85rem var(--hv3-fb)!important;min-height:44px}
html:root:root:root:root:root.hv3-page .amaador-support-pill svg{color:var(--hv3-heart)!important}

@media (max-width:960px){.hv3-hero-in{grid-template-columns:minmax(0,1fr);gap:32px}.hv3-grid{grid-template-columns:1fr}
 html:root:root:root:root:root.hv3-page body > footer,html:root:root:root:root:root.hv3-page footer.site-foot{padding-bottom:76px!important}}
@media (max-width:520px){.hv3-hero-in{padding:28px 18px 40px}.hv3-copy{padding-inline-start:16px}.hv3-sub{font-size:1.05rem}
 .hv3-search{border-radius:16px;padding:6px;padding-inline-start:14px}.hv3-search button{padding:12px 14px;font-size:.88rem}.hv3-search input{font-size:.9rem}
 .hv3-vals{grid-template-columns:1fr;gap:12px}.hv3-val{padding-inline:12px}.hv3-bento{grid-auto-rows:72px;gap:8px}
 .hv3-wrap{padding:48px 18px 90px}.hv3-step{min-height:0}}
@media (prefers-reduced-motion:reduce){.hv3-hero *,.hv3-steps *{transition:none!important}}
/* slim footer spacing (overrides the skin's large paddings) */
html:root:root:root:root:root.hv3-page :is(body > footer,footer.site-foot){margin-top:0!important;padding-top:28px!important;padding-bottom:28px!important;border-image:none!important}
@media (max-width:960px){html:root:root:root:root:root.hv3-page :is(body > footer,footer.site-foot){padding-bottom:84px!important}}
/* beat the site skin's generic button[type=submit] rule */
html:root:root:root:root:root .hv3-search button[type=submit]{color:var(--hv3-on-btn)!important;background:linear-gradient(135deg,var(--hv3-btn-a),var(--hv3-btn-b))!important;border:0!important;font:700 .98rem var(--hv3-fb)!important;border-radius:14px!important;padding:15px 22px!important;letter-spacing:0!important}
@media (max-width:520px){html:root:root:root:root:root .hv3-search button[type=submit]{padding:12px 14px!important;font-size:.88rem!important}}

.hv3-display{text-wrap:balance}
html:root:root:root:root:root.hv3-page .hv3-hero h1.hv3-h1sub{font:700 clamp(1.15rem,1.6vw,1.45rem)/1.35 var(--hv3-fb);letter-spacing:0;color:var(--hv3-ink);margin:0 0 14px;text-wrap:balance}
html:root:root:root:root:root.hv3-page[dir=rtl] .hv3-hero h1.hv3-h1sub{font-family:var(--hv3-far)}
@media(max-width:600px){.hv3-display{font-size:clamp(2rem,9vw,2.6rem)!important}html[dir=rtl] .hv3-display{line-height:1.4}}
.hv3-line{display:block}.hv3-acc{white-space:nowrap}
html[lang=fr] .hv3-hero h1:not(.hv3-h1sub),html[lang=fr] .hv3-display{font-size:clamp(2rem,2.9vw,2.6rem)!important;line-height:1.08}
@media(max-width:600px){html[lang=fr] .hv3-hero h1:not(.hv3-h1sub),html[lang=fr] .hv3-display{font-size:clamp(1.5rem,7.2vw,1.8rem)!important}}
html[lang=en] .hv3-hero h1{font-size:clamp(2.2rem,3.4vw,3rem)!important;line-height:1.04}
@media(max-width:600px){html[lang=en] .hv3-hero h1{font-size:clamp(1.6rem,7.6vw,1.85rem)!important}}
