/* Hallmark · shape: the transfer, from a request in Canada to the money arriving at home in Algeria, on the owner's reference (wise.com) · genre: modern-minimal · theme: custom · redesign: full · job: sign up · idea: "Clean and bright like Wise, in the blue of the hand logo: a huge all-caps promise, the transfer card on a blue band, the family receiving" · vibe: "white, bright blue, bold, plain, warm people"
 * paper: #FCFCFD · accent: #1452F0 · display: Archivo narrowed at 900 for the all-caps statements, Plus Jakarta Sans for heads · body: Plus Jakarta Sans (Tajawal in Arabic) · hero: centred all-caps statement, one sentence, one pill and a link, a wide rounded photo of Algiers, three reassurances · nav: white, the blue hand logo, two anchors, languages, blue pill · footer: light grey, the closing statement, the logo and its meaning, links · imagery: photographs 2 (the user's own), the request, the WhatsApp reply and BaridiMob's notice built · signature: the money arriving on the phone of the woman at home, over her photo
 * axes: light/grotesk-heavy/chromatic-blue · posture: white and grey pages, one blue band, one deep blue block · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the 3D voyage is generated art until the owner has a picture of their own */
/* Hallmark · dropped the Mouline look (sand, kraft, zellige, kabyle bands, the shop, the postcards, the tapes, the starfield, the giant name and the greeting in four scripts) · the owner chose a page like wise.com, clean and white with his blue */
/* Hallmark · waive 39b · input.calc__input stands 68px · the CAD amount is the transfer card's main field, set at display size with its currency chip inside, as on the reference */
/* Hallmark · waive 3 · ul.assure, three equal columns with an icon in a pale blue circle above each head · the reassurance row of the owner's reference (wise.com), which he asked the page to follow */
/* Hallmark · waive 37 · Archivo sets only the all-caps statements (hero, trust block, closing), Plus Jakarta Sans everything else, Tajawal the Arabic · the owner's reference sets its promises in a narrow heavy face no text face here can give */
@import url("./tokens.css?v=bc734283c2");
@import url("./base.css?v=bc734283c2");

/* Shared parts */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .i--flip { transform: scaleX(-1); }
.flag { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 1px var(--color-rule); }
.skip { position: absolute; inset-inline-start: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-inner); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.section { padding-block: var(--section-gap); }
.h-section { max-width: 20ch; font-size: var(--text-section); font-weight: var(--weight-display); line-height: 1.08; letter-spacing: -0.03em; }
:lang(ar) .h-section { line-height: 1.35; letter-spacing: 0; }
.lead { max-width: 46ch; margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.6; }
.sec-head { margin-bottom: var(--space-2xl); }
.sec-head--center { display: grid; justify-items: center; text-align: center; }
.sec-head--center .h-section { max-width: 22ch; }
figure { margin: 0; }
/* The all-caps promise: Archivo narrowed, at its heaviest, with air between the letters and the lines so each word reads on its own (Tajawal, without capitals, in Arabic). */
.statement { font-family: var(--font-statement); font-weight: var(--weight-statement); font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.015em; line-height: 0.98; word-spacing: 0.06em; }
:lang(ar) .statement { font-stretch: normal; text-transform: none; letter-spacing: 0; line-height: 1.2; }

/* Buttons: plain pills, the logo blue */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); min-height: var(--control); padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-brand); color: var(--color-on-brand); font-size: var(--text-md); font-weight: var(--weight-strong); line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-brand-2); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn--on-dark { background: var(--color-on-brand); color: var(--color-brand); }
.btn--on-dark:hover { background: var(--color-on-brand-2); }
.btn--on-dark:focus-visible { outline-color: var(--color-on-brand); }
.link-line { display: inline-block; padding-bottom: var(--space-3xs); border-bottom: 2px solid currentColor; font-weight: var(--weight-strong); text-decoration: none; border-radius: 0; transition: color var(--dur-short) var(--ease-out); }
.link-line:hover { color: var(--color-brand); }
.link-line--on-brand:hover { color: var(--color-on-brand-2); }

/* Nav: at the top of the page a full-width strip over the hero; once the visitor scrolls, a floating rounded bar (frosted
   white, a soft shadow, a smaller logo) that follows. On phones and tablets always the floating bar, the sections behind
   a menu button. The link of the section on screen is lit. */
html { scroll-padding-top: 104px; }
.nav { --nav-ease: cubic-bezier(0.16, 1, 0.3, 1); position: fixed; inset-inline: 0; top: 0; z-index: var(--z-sticky); pointer-events: none; }
.nav__bar { position: relative; width: 100%; margin-inline: auto; margin-top: 0; border: 1px solid transparent; border-radius: 0; background: transparent; pointer-events: auto; transition: width 700ms var(--nav-ease), margin-top 700ms var(--nav-ease), border-radius 700ms var(--nav-ease), background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 700ms var(--nav-ease); }
.nav__row { display: flex; align-items: center; gap: var(--space-lg); padding-block: var(--space-md); transition: padding 700ms var(--nav-ease), gap 700ms var(--nav-ease); }
.nav.is-floating .nav__bar { width: min(calc(100% - 24px), 1180px); margin-top: 12px; border-color: rgb(255 255 255 / 0.75); border-radius: 22px; background: color-mix(in srgb, var(--color-paper) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 16px 50px rgb(6 24 80 / 0.16); }
.nav.is-floating .nav__row { padding-block: 8px; padding-inline: 18px 10px; gap: var(--space-sm); }
.nav.is-floating .brand__logo { height: 40px; }
.nav__toggle { display: none; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav__toggle-close, .nav.is-open .nav__toggle-open { display: none; }
.nav.is-open .nav__toggle-close { display: block; }
.nav__panel { display: none; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); color: inherit; text-decoration: none; border-radius: var(--radius-inner); }
/* The logo: the owner's hand holding banknotes, « SASSAH » set in Bricolage Grotesque 800 (images/sassah-logo-blue.png on white). */
.brand__logo { display: block; width: auto; height: 56px; transition: height 700ms var(--nav-ease, ease); }
.nav__links { display: flex; gap: var(--space-2xs); margin-inline-start: auto; }
/* « Mon espace »'s header: each part shows with the page's state (signed in or out), sign-out is the quiet button. */
.nav [data-state][hidden] { display: none; }
.nav--space .langs { margin-inline-start: auto; }
.nav--space .nav__links:not([hidden]) + .langs { margin-inline-start: 0; }
.nav__out { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-rule); }
.nav__out:hover { background: var(--color-sky); }
.nav__out .i { width: 18px; height: 18px; }
.nav__links a { padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); font-weight: var(--weight-strong); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.nav__links a:hover { background: var(--color-sky); }
.nav__links a[aria-current="true"] { background: var(--color-brand); color: var(--color-on-brand); box-shadow: 0 5px 14px rgb(20 82 240 / 0.28); }
.langs { display: flex; gap: var(--space-2xs); }
.langs a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 var(--space-xs); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: var(--weight-strong); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.langs a:hover { background: var(--color-sky); color: var(--color-ink); }
.langs a:lang(ar) { font-family: var(--font-poster-ar); line-height: 1; }
.langs a[aria-current="page"] { background: var(--color-paper); color: var(--color-brand); }
/* On the white floating bar (and on phones) the current language needs its own light blue pill. */
.nav.is-floating .langs a[aria-current="page"] { background: var(--color-sky); }
@media (max-width: 60rem) { .nav .langs a[aria-current="page"] { background: var(--color-sky); } }

/* The hero's air: a light blue wash with two glows of the logo blue behind the headline and a faint grid that fades
   out, running down behind the photo into the reassurances. */
.hero-zone { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(55% 45% at 12% 8%, var(--color-glow), transparent 70%), radial-gradient(50% 40% at 92% 18%, var(--color-glow-2), transparent 70%), radial-gradient(70% 40% at 50% 100%, var(--color-sky), transparent 70%), linear-gradient(180deg, var(--color-wash) 0%, var(--color-sky) 45%, var(--color-page) 100%); }
.hero-zone::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(75% 55% at 50% 22%, var(--color-ink), transparent 80%); mask-image: radial-gradient(75% 55% at 50% 22%, var(--color-ink), transparent 80%); pointer-events: none; }
.hero-zone .assure { background: color-mix(in srgb, var(--color-paper) 72%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-card); }


/* « Mon espace »: its hero under the nav, the floating picture, the method chips of the beneficiary form. */
[data-page="espace"] .space__hero { padding-top: calc(88px + var(--space-2xl)); }
@keyframes float-bob { 50% { transform: translateY(-8px); } }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3xs); padding: var(--space-3xs); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.chips input, .seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-2xs); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-strong); text-align: center; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chips label:hover { background: var(--color-paper); }
.chips input:checked + label { background: var(--color-brand); color: var(--color-on-brand); }
.chips input:focus-visible + label, .seg input:focus-visible + label { outline: 3px solid var(--color-brand); outline-offset: 2px; }

/* The Google card « Mon espace » shows signed out */
.account__card { display: grid; justify-items: center; gap: var(--space-md); padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); text-align: center; }
.account__mark { width: 64px; height: 64px; border-radius: var(--radius-inner); }
.account__card-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-display); line-height: 1.2; }
.google-slot { display: flex; justify-content: center; width: 100%; min-height: 44px; }
.account__soon { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); }
.account__privacy { max-width: 36ch; color: var(--color-muted); font-size: var(--text-xs); }

/* Footer: white under a rule, four columns (the logo and what Amana is, the links, « Mon espace », contact), then the
   legal line and the languages. Shared with « Mon espace ». */
.foot { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-ink); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-xl); padding-bottom: var(--space-xl); }
.foot__brand .brand__logo { height: 48px; }
.foot__about p { max-width: 32ch; margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-sm); }
.foot__col { display: grid; align-content: start; gap: var(--space-xs); }
.foot__col h2 { margin-bottom: var(--space-2xs); font-size: var(--text-md); font-weight: 800; }
.foot__col a { justify-self: start; color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; border-radius: var(--space-2xs); }
.foot__col a:hover { color: var(--color-brand); text-decoration: underline; }
.foot__contact { display: flex; align-items: flex-start; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.foot__contact .i { flex: none; width: 20px; height: 20px; color: var(--color-brand); }
.fill { padding: 0 var(--space-2xs); border: 1px dashed var(--color-muted); border-radius: var(--space-2xs); color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.foot__legal { color: var(--color-muted); font-size: var(--text-sm); }
.foot__langs { display: flex; gap: var(--space-2xs); }
.foot__langs a { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: var(--weight-strong); text-decoration: none; }
.foot__langs a:hover { background: var(--color-sky); }
.foot__langs a[aria-current="page"] { background: var(--color-sky); color: var(--color-brand); }
@media (max-width: 60rem) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__about { grid-column: 1 / -1; } }

/* « Mon espace »: the request form */
.form { display: grid; gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.form__group { display: grid; gap: var(--space-sm); min-width: 0; margin: 0; padding: 0; border: 0; }
.form__group > legend { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); padding: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-display); }
.n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--color-brand); color: var(--color-on-brand); font-family: var(--font-body); font-size: var(--text-md); }
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field > label { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.req { color: var(--color-muted); font-weight: var(--weight-body); }
.field input, .field textarea { width: 100%; min-height: var(--control); padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-edge); border-radius: var(--radius-inner); background: var(--color-paper); color: var(--color-ink); line-height: 1.3; }
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--color-muted); }
.field input:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.field__help { min-height: 1lh; color: var(--color-muted); font-size: var(--text-sm); }
.field__help.is-error { color: var(--color-error); }
.field__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.field__unit { position: relative; }
.field__unit input { padding-inline-end: var(--space-3xl); }
.field__unit span { position: absolute; top: 50%; inset-inline-end: var(--space-md); translate: 0 -50%; color: var(--color-muted); font-weight: var(--weight-strong); }
[dir="rtl"] .field__unit input { padding-left: var(--space-3xl); }
.seg { min-width: 0; margin: 0; padding: 0; border: 0; }
.seg > legend { margin-bottom: var(--space-xs); padding: 0; font-size: var(--text-sm); font-weight: var(--weight-strong); }
.seg__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); }
.seg label { display: grid; justify-items: center; gap: var(--space-2xs); padding: var(--space-sm) var(--space-xs); border: 2px solid var(--color-rule); border-radius: var(--radius-inner); font-size: var(--text-sm); font-weight: var(--weight-strong); text-align: center; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.seg label:hover { background: var(--color-paper-2); }
.seg input:checked + label { border-color: var(--color-brand); background: var(--color-sky); color: var(--color-brand-2); }
.field--file input { padding: var(--space-sm); border-style: dashed; background: var(--color-paper-2); font-size: var(--text-sm); cursor: pointer; }
.field--file input::file-selector-button { margin-inline-end: var(--space-sm); padding: var(--space-xs) var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-weight: var(--weight-strong); cursor: pointer; }
.field--file .i { width: 20px; height: 20px; color: var(--color-brand); }
.check { display: flex; align-items: flex-start; gap: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: var(--space-3xs) 0 0; accent-color: var(--color-brand); }
.check input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.check + .field__help { margin-top: calc(-1 * var(--space-sm)); }
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__send { display: grid; gap: var(--space-sm); }
.form__status { font-size: var(--text-sm); }
.form__status.is-error, .form__status.is-sent { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); }
.form__status.is-error { background: var(--color-error-wash); color: var(--color-error); }
.form__status.is-sent { background: var(--color-success-wash); color: var(--color-success); }

/* « Mon espace » */
.space__hero { padding-block: var(--space-2xl) var(--space-xl); }
.space__hero-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.space__hero-art { width: clamp(130px, 18vw, 260px); height: auto; filter: drop-shadow(0 20px 30px rgb(10 36 99 / 0.25)); animation: float-bob 7s ease-in-out infinite; }
/* « Mon espace », signed in but not activated yet: one card, the clock, what happens next. */
.space__waiting { display: grid; justify-items: center; }
.waiting { display: grid; justify-items: center; gap: var(--space-md); width: 100%; max-width: 560px; padding: var(--space-2xl) var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); text-align: center; }
.waiting__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-sky); color: var(--color-brand); }
.waiting__icon .i { width: 32px; height: 32px; }
.waiting.is-suspended .waiting__icon { background: var(--color-error-wash); color: var(--color-error); }
.waiting__title { font-size: var(--text-xl); font-weight: 800; line-height: 1.2; }
.waiting__text { max-width: 44ch; color: var(--color-ink-2); }
.waiting__who { color: var(--color-muted); font-size: var(--text-sm); }
.waiting__steps { display: grid; gap: var(--space-xs); width: 100%; margin: var(--space-xs) 0; text-align: start; }
.waiting__steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--space-sm); align-items: center; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-2); color: var(--color-muted); }
.waiting__steps li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin-inline: auto; border: 2px solid currentColor; border-radius: 50%; }
.waiting__steps li.is-done { color: var(--color-success); }
.waiting__steps li.is-done::before { background: currentColor; }
.waiting__steps li.is-now { background: var(--color-sky); color: var(--color-brand); }
.waiting__steps li.is-now::before { border-style: dashed; animation: wait-spin 4s linear infinite; }
.waiting__steps b { color: var(--color-ink); font-weight: var(--weight-display); }
.waiting__steps span { grid-column: 2; font-size: var(--text-sm); }
@keyframes wait-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .waiting__steps li.is-now::before { animation: none; } }

/* « Mon espace » signed out: what the space gives, beside the Google card. */
.hub-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; gap: var(--space-3xl); }
.hub-perks ul { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
.hub-perks li { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.hub-perks img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 10px 14px rgb(10 36 99 / 0.2)); }
.hub-perks span { display: grid; gap: var(--space-3xs); color: var(--color-ink-2); }
.hub-perks b { color: var(--color-ink); font-size: var(--text-lg); }
/* Signed in: the blue welcome, the counters, the requests and the people, then the form. */
.hub-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-block); background: radial-gradient(60% 120% at 0% 0%, rgb(255 255 255 / 0.18), transparent 60%), var(--color-brand); color: var(--color-on-brand); }
.hub-top .space__avatar { width: 56px; height: 56px; box-shadow: 0 0 0 3px rgb(252 252 253 / 0.5); }
.hub-top__who { display: grid; flex: 1; min-width: 0; }
.hub-top__who b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; line-height: 1.2; }
.hub-top__who span { overflow: hidden; color: var(--color-on-brand-2); font-size: var(--text-sm); text-overflow: ellipsis; }
.hub-top__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hub-top__out { background: transparent; color: var(--color-on-brand); box-shadow: inset 0 0 0 2px rgb(252 252 253 / 0.5); }
.hub-top__out:hover { background: var(--color-brand-2); }
.hub-top :focus-visible { outline-color: var(--color-on-brand); }
.hub-top .i { width: 18px; height: 18px; }
.hub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-block: var(--space-lg); }
.hub-stats li { display: grid; gap: var(--space-2xs); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.hub-stats small { color: var(--color-muted); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.hub-stats b { justify-self: start; color: var(--color-brand); font-family: var(--font-display); font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.4rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hub-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; gap: var(--space-lg); margin-bottom: var(--space-3xl); }
/* The sidebar stays in view beside a long list of transfers. */
.hub-side { position: sticky; top: var(--space-lg); display: grid; gap: var(--space-lg); }
/* With transfers, each one shows its own steps: the sidebar keeps only the beneficiaries. */
.space__signed:not(.is-empty) .hub-steps { display: none; }
/* No transfer yet: the welcome block beside the steps, the same height, no zero counters, no empty box. */
.hub-first { display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-lg) var(--space-lg); text-align: center; }
.hub-first[hidden] { display: none; }
.hub-first img { width: clamp(120px, 14vw, 170px); height: auto; filter: drop-shadow(0 18px 24px rgb(10 36 99 / 0.2)); }
.hub-first__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; line-height: 1.2; }
.hub-first__text { max-width: 40ch; color: var(--color-ink-2); }
.hub-first .btn { margin-top: var(--space-xs); }
.is-empty .hub-stats, .is-empty #mine-title { display: none; }
.is-empty .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.is-empty .hub-grid > .hub-card { align-content: center; }
.is-empty .hub-side { position: static; }
.is-empty .hub-top { margin-bottom: var(--space-lg); }
.hub-more { justify-self: center; margin-top: var(--space-xs); padding: 0 0 var(--space-3xs); border: 0; border-bottom: 2px solid currentColor; background: none; color: var(--color-brand); font: inherit; font-weight: var(--weight-strong); cursor: pointer; }
/* « Comment ça se passe »: the four steps, numbered in the brand blue. */
.next { display: grid; gap: var(--space-sm); counter-reset: next; }
.next li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: var(--space-sm); color: var(--color-ink-2); counter-increment: next; }
.next li::before { content: counter(next); display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--color-brand); color: var(--color-on-brand); font-size: var(--text-sm); font-weight: 800; }
.next--small li { grid-template-columns: 26px minmax(0, 1fr); font-size: var(--text-sm); }
.next--small li::before { width: 26px; height: 26px; background: var(--color-sky); color: var(--color-brand); font-size: var(--text-xs); }
/* Beside the form: the request as it is being written. */
.summary { display: grid; gap: var(--space-md); padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.summary__title { font-size: var(--text-xl); font-weight: 800; }
.summary__rows { display: grid; gap: var(--space-sm); margin: 0; }
.summary__rows div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: baseline; gap: var(--space-sm); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.summary__rows dt { color: var(--color-muted); font-size: var(--text-sm); }
.summary__rows dd { margin: 0; font-weight: var(--weight-strong); text-align: end; overflow-wrap: anywhere; }
[dir="rtl"] .summary__rows dd { text-align: left; }
.summary__amount { color: var(--color-brand); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; }
.summary__note { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-success); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.summary__note .i { width: 16px; height: 16px; flex: none; }
.summary__next { color: var(--color-ink); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.hub-card { display: grid; gap: var(--space-md); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.hub-card .space__empty { margin: 0; }
.track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); margin-top: var(--space-sm); }
.track li { display: grid; gap: var(--space-2xs); padding-top: var(--space-xs); border-top: 4px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-xs); font-weight: var(--weight-strong); }
.track li.is-done { border-top-color: var(--color-brand); color: var(--color-brand); }
.request-card__again { justify-self: start; margin-top: var(--space-xs); padding: 0 0 var(--space-3xs); border: 0; border-bottom: 2px solid currentColor; border-radius: 0; background: none; color: var(--color-brand); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-strong); cursor: pointer; }
.request-card__again:hover { color: var(--color-brand-2); }
.people { display: grid; gap: var(--space-sm); }
.person { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: var(--space-xs) var(--space-md); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.person__avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--color-sky); color: var(--color-brand); font-weight: 800; }
.person p { display: grid; min-width: 0; }
.person p span { color: var(--color-muted); font-size: var(--text-sm); }
/* « Mes bénéficiaires »: a head with the count and « Ajouter », the add/edit form in place, one card per person. */
.hub-people__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.hub-count:not(:empty) { display: inline-grid; min-width: 1.6em; height: 1.6em; place-items: center; padding: 0 0.4em; border-radius: var(--radius-pill); background: var(--color-brand); color: var(--color-on-brand); font-size: var(--text-sm); vertical-align: 0.15em; }
.hub-people__add .i { width: 16px; height: 16px; }
.person-form { display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); animation: hub-in var(--dur-short) var(--ease-out); }
.person-form[hidden] { display: none; }
.person-form__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; }
.person-form__methods { display: grid; gap: var(--space-xs); min-width: 0; margin: 0; padding: 0; border: 0; }
.person-form__methods legend { margin-bottom: var(--space-xs); padding: 0; font-weight: var(--weight-strong); }
.person-form__status:empty { display: none; }
.person-form__status { color: var(--color-error); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.person-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.person { grid-template-columns: 44px minmax(0, 1fr); align-items: start; transition: box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.person:hover { box-shadow: var(--shadow-card), 0 0 0 2px var(--color-sky); }
.person.is-new { animation: hub-in 420ms var(--ease-out); box-shadow: var(--shadow-card), 0 0 0 2px var(--color-brand); }
.person__avatar[data-tone="1"], .pick__avatar[data-tone="1"] { background: var(--color-success-wash); color: var(--color-success); }
.person__avatar[data-tone="2"], .pick__avatar[data-tone="2"] { background: var(--color-kraft); color: var(--color-ink); }
.person__avatar[data-tone="3"], .pick__avatar[data-tone="3"] { background: var(--color-brand); color: var(--color-on-brand); }
.person__who { display: grid; gap: var(--space-3xs); min-width: 0; }
.person__who p { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-3xs) var(--space-xs); min-width: 0; }
.person__name b { overflow-wrap: anywhere; }
.person__tag { padding: 0.1em 0.6em; border-radius: var(--radius-pill); background: var(--color-sky); color: var(--color-brand); font-size: var(--text-xs); font-weight: var(--weight-strong); }
.person__how { color: var(--color-ink-2); font-size: var(--text-sm); }
.person__method { font-weight: var(--weight-strong); }
.person__account { overflow-wrap: anywhere; }
.person__where, .person__stats { color: var(--color-muted); font-size: var(--text-sm); }
.person__actions, .person__confirm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); }
.person__actions .request-card__again, .person__confirm .request-card__again { margin-top: 0; }
.person__remove { color: var(--color-error); }
.person__confirm { padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-inner); background: var(--color-error-wash); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.person__yes { background: var(--color-error); }
/* In the form: the saved people as chips, the one filled in pressed. */
.pick { display: grid; gap: var(--space-xs); }
.pick[hidden] { display: none; }
.pick__label { font-weight: var(--weight-strong); }
.pick__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.pick__chip { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 4px var(--space-md) 4px 4px; border: 2px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: inherit; font-weight: var(--weight-strong); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
[dir="rtl"] .pick__chip { padding: 4px 4px 4px var(--space-md); }
.pick__chip:hover { border-color: var(--color-brand); }
.pick__chip:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.pick__chip[aria-pressed="true"] { border-color: var(--color-brand); background: var(--color-sky); }
.pick__chip small { color: var(--color-muted); font-size: var(--text-xs); }
.pick__avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--color-sky); color: var(--color-brand); font-size: var(--text-sm); font-weight: 800; }
.check--save[hidden] { display: none; }
/* The filters over the transfers. */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.filters[hidden], .filters button[hidden] { display: none; }
.filters button { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-strong); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.filters button:hover { background: var(--color-sky); }
.filters button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.filters button[aria-pressed="true"] { background: var(--color-brand); color: var(--color-on-brand); }
.filters b { font-weight: 800; opacity: 0.75; }
/* A transfer the team just moved, and the short notice about it. */
.request-card.is-updated { animation: hub-glow 2.4s var(--ease-out) 2; }
.hub-toast { position: fixed; inset-inline: 0; bottom: var(--space-lg); z-index: var(--z-sticky); width: max-content; max-width: calc(100% - 32px); margin-inline: auto; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); font-weight: var(--weight-strong); box-shadow: 0 16px 40px rgb(6 24 80 / 0.3); opacity: 0; transform: translateY(12px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.hub-toast.is-shown { opacity: 1; transform: none; }
.hub-toast[hidden] { display: none; }
@keyframes hub-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hub-glow { 0%, 100% { box-shadow: var(--shadow-card); } 30% { box-shadow: var(--shadow-card), 0 0 0 4px var(--color-brand); } }
@media (prefers-reduced-motion: reduce) {
  .person-form, .person.is-new, .request-card.is-updated { animation: none; }
  .hub-toast { transition: none; }
}
.space__title { font-size: var(--text-section); line-height: 1.06; letter-spacing: -0.03em; }
.space__body { padding-block: var(--space-xl) var(--section-gap); }
.space__loading { color: var(--color-muted); }
.space__signin { max-width: 440px; }
.space__error { color: var(--color-error); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.space__who { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-bottom: var(--space-xl); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.space__who p { display: grid; flex: 1; min-width: 0; }
.space__who b { font-size: var(--text-lg); }
.space__who span { overflow: hidden; color: var(--color-muted); font-size: var(--text-sm); text-overflow: ellipsis; }
.space__avatar { width: 48px; height: 48px; border-radius: 50%; }
.btn--quiet { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-rule); }
.btn--quiet:hover { background: var(--color-paper-2); }
.btn--quiet .i { width: 18px; height: 18px; }
.space__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; gap: var(--space-lg); }
.space__h2 { font-size: var(--text-xl); line-height: 1.2; }
.space__hint { margin-block: var(--space-xs) var(--space-lg); color: var(--color-ink-2); }
.space__list { position: sticky; top: var(--space-lg); display: grid; gap: var(--space-md); align-self: start; margin-top: calc(var(--text-xl) * 1.2 + var(--space-2xl)); }
.space__empty { padding: var(--space-lg); border: 2px dashed var(--color-rule); border-radius: var(--radius-card); color: var(--color-muted); text-align: center; }
.requests { display: grid; gap: var(--space-sm); }
.request-card { display: grid; gap: var(--space-2xs); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.request-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.request-card__amount { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-display); }
.request-card__detail { color: var(--color-ink-2); }
.request-card time { color: var(--color-muted); font-size: var(--text-sm); }
.status { padding: var(--space-3xs) var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: var(--weight-strong); }
.status--rejected { background: var(--color-error-wash); color: var(--color-error); }
/* A transfer's card in « Mon espace »: the step it is at, the dinars, the Amana team's message, the receipts. */
.status--received { background: var(--color-paper-2); color: var(--color-ink); }
.status--confirmed, .status--payment_received { background: var(--color-sky); color: var(--color-brand-2); }
.status--paid { background: var(--color-success-wash); color: var(--color-success); }
.request-card { gap: var(--space-xs); }
.request-card__money { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); }
.request-card__get { display: inline-flex; align-items: baseline; gap: var(--space-sm); white-space: nowrap; }
.request-card__arrow { color: var(--color-muted); font-weight: var(--weight-strong); }
.track__count { display: none; }
.request-card__dzd { color: var(--color-brand); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; font-variant-numeric: tabular-nums; }
.request-card__meta { display: flex; flex-wrap: wrap; gap: var(--space-3xs) var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.request-card__meta span { color: var(--color-ink-2); font-weight: var(--weight-strong); }
.track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.track li.is-next { border-top-color: var(--color-kraft-3); color: var(--color-ink-2); }
.request-card__hint { color: var(--color-ink-2); font-size: var(--text-sm); }
.request-card--paid .request-card__hint { color: var(--color-success); font-weight: var(--weight-strong); }
.request-card__message { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); border-inline-start: 4px solid var(--color-brand); border-radius: var(--radius-inner); background: var(--color-sky); }
.request-card__message b { color: var(--color-brand-2); font-size: var(--text-sm); }
.request-card__message p { color: var(--color-ink); white-space: pre-line; overflow-wrap: anywhere; }
.receipts { display: grid; gap: var(--space-2xs); }
.receipts > b { font-size: var(--text-sm); }
.receipts__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.receipt { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 44px; padding: 0 var(--space-md); border: 2px solid var(--color-brand); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-brand); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-strong); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.receipt:hover { background: var(--color-brand); color: var(--color-on-brand); }
.receipt:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.receipt[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.receipt .i { width: 18px; height: 18px; }
.space .form { padding: var(--space-lg); }

/* The send bar, once the hero has gone by */

/* One reveal: rows rise once into view; visible without the script and under reduced motion. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; }
}

/* Tablet */
@media (max-width: 72rem) {
  .send__grid, .home__grid, .faq__grid, .account__grid { gap: var(--space-2xl); }
  .steps__cards { gap: var(--space-md); }
  .methods__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .send__art img { max-width: 240px; }
  .hero .calc { max-width: none; }
  .hero__voyage { width: min(100%, 340px); margin-block: 0; }
  .hero__inner { gap: var(--space-xl); }
  .trust__block { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--space-xl); padding: var(--space-2xl) var(--space-xl); text-align: center; }
  .trust__text { justify-items: center; }
  .home__grid--flip { grid-template-columns: minmax(0, 1fr); }
  .home__grid--flip .home__photo { order: 0; }
  .hub-welcome, .hub-grid, .is-empty .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-side { position: static; }
  /* Signed out on a phone or tablet: Google's button first, what the space gives under it. */
  .hub-welcome { gap: var(--space-xl); }
  .hub-welcome .space__signin { order: -1; }
  .nav__links { display: none; }
  .langs { margin-inline-start: auto; }
  .nav .nav__bar { width: min(calc(100% - 24px), 1180px); margin-top: 12px; border-color: rgb(255 255 255 / 0.75); border-radius: 22px; background: color-mix(in srgb, var(--color-paper) 88%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 16px 50px rgb(6 24 80 / 0.16); }
  .nav .nav__row { padding-block: 8px; padding-inline: 16px 8px; gap: var(--space-xs); }
  .nav .brand__logo { height: 40px; }
  .nav__toggle { display: inline-grid; }
  .nav__panel { display: block; position: absolute; inset-inline: 0; top: calc(100% + 8px); max-height: calc(100dvh - 104px); overflow-y: auto; padding: var(--space-sm); border: 1px solid rgb(255 255 255 / 0.75); border-radius: 22px; background: color-mix(in srgb, var(--color-paper) 96%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 60px rgb(6 24 80 / 0.2); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms; }
  .nav.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s; }
  .nav__panel nav { display: grid; gap: var(--space-3xs); }
  .nav__panel nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--space-md); border-radius: var(--radius-inner); color: var(--color-ink); font-size: var(--text-md); font-weight: var(--weight-display); text-decoration: none; }
  .nav__panel nav a:hover { background: var(--color-sky); }
  .nav__panel nav a span { color: var(--color-muted); font-size: var(--text-xs); font-weight: var(--weight-strong); }
  .nav__panel nav a[aria-current="true"] { background: var(--color-brand); color: var(--color-on-brand); }
  .nav__panel nav a[aria-current="true"] span { color: var(--color-on-brand-2); }
  .nav__panel-cta { display: flex; justify-content: center; width: 100%; margin-top: var(--space-sm); }
  .assure { grid-template-columns: minmax(0, 1fr); padding: var(--space-xs) var(--space-lg); }
  .assure li { padding: var(--space-lg) 0; }
  .assure li + li { border-inline-start: 0; border-top: 1px solid var(--color-rule); }
  .assure li { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-md); }
  .assure__icon { grid-row: span 2; margin-bottom: 0; }
  .send__grid, .home__grid, .faq__grid, .account__grid, .space__grid, .foot__close { grid-template-columns: minmax(0, 1fr); }
  .calc { max-width: 560px; }
  .steps__cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .home__photo { max-width: 520px; }
  .space__list { display: none; }
}
/* Phone */
@media (max-width: 40rem) {
  .hero, [data-page="home"] .hero { padding-top: var(--space-xl); }
  .send__art img { max-width: 170px; }
  .hero__inner { gap: var(--space-lg); }
  .hero__voyage { width: min(100%, 260px); margin-block: 0; }
  .hero__actions { margin-top: var(--space-md); }
  .float--interac { inset-inline: var(--space-sm); bottom: var(--space-sm); }
  [data-page="home"] .hero { padding-top: calc(76px + var(--space-xl)); }
  [data-page="espace"] .space__hero { padding-top: calc(76px + var(--space-xl)); }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  :lang(ar) .hero__title { font-size: 2.6rem; }
  .hero__lead { margin-top: var(--space-md); }
  .hero__actions { margin-top: var(--space-lg); }
  .float__text b { font-size: var(--text-lg); }
  .calc { gap: var(--space-xs); padding: var(--space-md); }
  .calc__value { min-height: 52px; }
  .chips label { font-size: 0.75rem; }
  .nav__cta { display: none; }
  .brand__logo { height: 44px; }
  .trust__block { padding: var(--space-2xl) var(--space-md); border-radius: var(--radius-card); }
  .home__photo { border-radius: var(--radius-card); }
  .home__photo .bm-notif { inset-inline: var(--space-sm); bottom: var(--space-sm); }
  .form { padding: var(--space-lg) var(--space-md); }
  .form__group > legend { font-size: var(--text-lg); }
  .field__pair { grid-template-columns: minmax(0, 1fr); }
  .methods__grid { grid-template-columns: minmax(0, 1fr); }
  /* « Mon espace » on a phone. */
  .space__hero { padding-bottom: var(--space-md); }
  .space__hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-xs) var(--space-md); }
  .space__hero-row > div { display: contents; }
  .space__title { grid-column: 1; grid-row: 1; font-size: clamp(2rem, 9vw, 2.6rem); }
  .space__hero-art { grid-column: 2; grid-row: 1; width: clamp(84px, 26vw, 120px); }
  .space__hero .lead { grid-column: 1 / -1; margin-top: 0; font-size: var(--text-md); }
  /* The form: an empty help line keeps no room on a phone (a message, when one comes, takes its place). */
  .space .field__help:empty { min-height: 0; }
  .space .form { padding: var(--space-lg) var(--space-md); }
  .hub-top { gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); }
  .hub-top .space__avatar { width: 48px; height: 48px; }
  .hub-top__who b { font-size: var(--text-lg); }
  .hub-top__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; }
  .hub-top__out { width: 48px; min-height: 48px; padding: 0; justify-content: center; }
  .hub-top__out-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hub-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); margin-block: var(--space-md); }
  .hub-stats li { gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); }
  .hub-stats li:last-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .hub-stats b { font-size: 1.5rem; }
  .hub-grid { gap: var(--space-xl); margin-bottom: var(--space-xl); }
  .hub-card { gap: var(--space-sm); padding: 0; background: none; }
  .hub-steps { display: none; }
  .request-card { padding: var(--space-md); }
  .request-card__amount, .request-card__dzd { font-size: var(--text-lg); }
  .track__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .track li { padding-top: 0; }
  .track__count { display: block; color: var(--color-brand); font-size: var(--text-xs); font-weight: var(--weight-strong); }
  .person { padding: var(--space-sm) var(--space-md); }
  .hub-perks li { grid-template-columns: 56px minmax(0, 1fr); padding: var(--space-md); }
  .hub-perks img { width: 56px; height: 56px; }
  .seg__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The Amana team's dashboard (/admin/): a plain white bar, the sign-in card, then the requests by status, each card with
   who sends, the amount and the rate, who receives, the documents, the step's actions, the receipts and the message. */
.admin { background: var(--color-page); }
.admin-top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--color-rule); background: var(--color-paper); }
.admin-top__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); min-height: 72px; padding-block: var(--space-xs); }
.admin-top .brand__logo { height: 40px; width: auto; }
.admin-top__title { color: var(--color-ink-2); font-weight: var(--weight-strong); }
.admin-top__who { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-inline-start: auto; color: var(--color-ink-2); font-size: var(--text-sm); }
.admin-top__out { background: var(--color-paper-2); color: var(--color-ink); }
.admin-top__out:hover { background: var(--color-kraft); }
.admin-top .i, .admin-main .btn .i { width: 18px; height: 18px; }
.admin-main { padding-block: var(--space-2xl) var(--section-gap-s); }
.admin-signin { display: grid; place-items: center; min-height: 60vh; }
.admin-signin__card { display: grid; justify-items: center; gap: var(--space-md); width: min(100%, 460px); padding: var(--space-2xl) var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); text-align: center; }
.admin-signin__mark { width: 48px; height: 48px; padding: var(--space-sm); border-radius: 50%; background: var(--color-sky); color: var(--color-brand); fill: none; stroke: currentColor; stroke-width: 2; }
.admin-signin__card h1 { font-size: var(--text-xl); font-weight: 800; }
.admin-signin__card p { color: var(--color-ink-2); }
.admin-signin__google { display: grid; justify-items: center; min-height: 44px; }
.admin-signin__error { color: var(--color-error); font-weight: var(--weight-strong); }
.admin-board { display: grid; gap: var(--space-lg); }
.admin-board__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md); }
.admin-board__head h1 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem); font-weight: 800; }
.admin-board__head p { color: var(--color-ink-2); }
.admin-board__refresh { background: var(--color-paper); color: var(--color-brand); box-shadow: inset 0 0 0 2px var(--color-brand); }
.admin-board__refresh:hover { background: var(--color-sky); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.admin-tabs button { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-strong); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.admin-tabs button:hover { background: var(--color-sky); }
.admin-tabs button[aria-pressed="true"] { background: var(--color-brand); color: var(--color-on-brand); box-shadow: none; }
.admin-tabs b { min-width: 24px; padding: 0 var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); text-align: center; }
.admin-tabs button[aria-pressed="true"] b { background: var(--color-on-brand); color: var(--color-brand); }
.admin-tabs button:focus-visible, .admin-main :focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.admin-status { min-height: 1lh; font-weight: var(--weight-strong); }
.admin-status[data-tone="ok"] { color: var(--color-success); }
.admin-status[data-tone="error"] { color: var(--color-error); }
.admin-empty { padding: var(--space-2xl); border: 2px dashed var(--color-rule); border-radius: var(--radius-card); color: var(--color-muted); text-align: center; }
/* The two views of the dashboard: the requests, the client accounts (the badge: accounts waiting for activation). */
.admin-views { display: flex; gap: var(--space-2xs); margin-bottom: var(--space-lg); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-2); width: max-content; max-width: 100%; }
.admin-views button { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font-weight: var(--weight-display); cursor: pointer; }
.admin-views button[aria-pressed="true"] { background: var(--color-paper); box-shadow: var(--shadow-card); }
.admin-views__badge { min-width: 24px; padding: 0 var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-error); color: var(--color-paper); font-size: var(--text-xs); text-align: center; line-height: 24px; }
.admin-board [data-view-panel] { display: grid; gap: var(--space-lg); }
.admin-board [data-view-panel][hidden] { display: none; }
.admin-board__h { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem); font-weight: 800; }
/* A client account: picture, name and status, Google e-mail, WhatsApp; the facts; the moves. */
.admin-account { gap: var(--space-sm); }
.admin-account--pending { border-inline-start-color: var(--color-brand); }
.admin-account--active { border-inline-start-color: var(--color-success); }
.admin-account--suspended { border-inline-start-color: var(--color-error); }
.admin-account__who { display: flex; align-items: flex-start; gap: var(--space-md); }
.admin-account__picture { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.admin-account__initial { display: grid; place-items: center; background: var(--color-sky); color: var(--color-brand); font-size: var(--text-lg); font-weight: 800; }
.admin-account__names { display: grid; gap: var(--space-3xs); min-width: 0; }
.admin-account__facts { color: var(--color-muted); }
.admin-list { display: grid; gap: var(--space-lg); }
.admin-card { display: grid; gap: var(--space-md); padding: var(--space-lg) var(--space-xl); border-inline-start: 6px solid var(--color-kraft-3); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.admin-card--new { border-inline-start-color: var(--color-brand); }
.admin-card--accepted, .admin-card--payment_received { border-inline-start-color: var(--color-brand-2); }
.admin-card--paid { border-inline-start-color: var(--color-success); }
.admin-card--rejected { border-inline-start-color: var(--color-error); }
.admin-card__head { display: grid; gap: var(--space-3xs); }
.admin-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.admin-card__title b { font-size: var(--text-lg); }
.admin-card__head small { color: var(--color-muted); }
.admin-card__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1.1fr); gap: var(--space-lg); }
.admin-card__grid section { display: grid; align-content: start; gap: var(--space-2xs); min-width: 0; }
.admin-card h3 { color: var(--color-muted); font-size: var(--text-xs); font-weight: var(--weight-strong); }
.admin-name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); font-size: var(--text-lg); font-weight: 800; overflow-wrap: anywhere; }
.admin-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-xs); overflow-wrap: anywhere; }
.admin-line > span:first-child { color: var(--color-muted); font-size: var(--text-sm); }
.admin-mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.admin-whatsapp { color: var(--color-success); font-weight: var(--weight-strong); }
.admin-amount { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; }
.admin-rate { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.admin-dzd { color: var(--color-brand); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; }
.admin-copy { min-height: 32px; padding: 0 var(--space-xs); border: 1px solid var(--color-rule); border-radius: var(--radius-inner); background: var(--color-paper); color: var(--color-ink-2); font: inherit; font-size: var(--text-xs); font-weight: var(--weight-strong); cursor: pointer; }
.admin-copy:hover { border-color: var(--color-brand); color: var(--color-brand); }
.admin-note { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-inner); background: var(--color-paper-2); }
.admin-note b { color: var(--color-muted); font-size: var(--text-xs); }
.admin-note p { white-space: pre-line; overflow-wrap: anywhere; }
.admin-platform { background: var(--color-sky); }
.admin-platform strong { color: var(--color-brand); }
.admin-platform__hint { color: var(--color-ink-2); font-size: var(--text-sm); }
.admin-files, .admin-actions__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.admin-actions { display: grid; gap: var(--space-sm); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.admin-btn-quiet { background: var(--color-paper-2); color: var(--color-ink); }
.admin-btn-quiet:hover { background: var(--color-kraft); }
.admin-btn-danger { background: var(--color-error-wash); color: var(--color-error); }
.admin-btn-danger:hover { background: var(--color-error); color: var(--color-paper); }
.admin-main .btn[aria-busy="true"], .admin-upload[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.admin-rate-form { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-sm); }
.admin-field { display: grid; flex: 1 1 200px; gap: var(--space-2xs); }
.admin-field > span { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: var(--weight-strong); }
.admin-field input, .admin-field textarea { width: 100%; min-height: 44px; padding: var(--space-xs) var(--space-sm); border: 2px solid var(--color-edge); border-radius: var(--radius-inner); background: var(--color-paper); color: var(--color-ink); font: inherit; }
.admin-field textarea { resize: vertical; }
.admin-field input:hover, .admin-field textarea:hover { border-color: var(--color-ink-2); }
.admin-change summary, .admin-history summary { width: fit-content; color: var(--color-brand); font-size: var(--text-sm); font-weight: var(--weight-strong); cursor: pointer; }
.admin-change[open] summary { margin-bottom: var(--space-sm); }
.admin-receipts { display: grid; gap: var(--space-xs); }
.admin-receipt { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }
.admin-receipt > span { flex: 1 1 180px; }
.admin-muted { color: var(--color-muted); font-size: var(--text-sm); }
.admin-upload { position: relative; display: inline-flex; align-items: center; width: fit-content; min-height: 44px; padding: 0 var(--space-md); border: 2px dashed var(--color-brand); border-radius: var(--radius-pill); color: var(--color-brand); font-size: var(--text-sm); font-weight: var(--weight-strong); cursor: pointer; }
.admin-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.admin-upload:focus-within { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.admin-message { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-sm); }
.admin-message .admin-field { flex: 1 1 320px; }
.admin-history ol { display: grid; gap: var(--space-3xs); margin-top: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
@media (max-width: 60rem) {
  .admin-card__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .admin-card { padding: var(--space-md); }
  .admin-actions__row .btn, .admin-rate-form .btn { flex: 1 1 auto; }
}

/* Intro: once per visit, the Amana hand on the brand blue (partials/intro.html). Without JavaScript it does not exist;
   seen earlier in the visit it is hidden before the first paint (class set by the head script). It also goes away on
   its own after 6.5 s, should the script never start. */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: calc(var(--z-sticky) + 50);
  display: grid; place-items: center; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background:
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px) center / 56px 56px,
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px) center / 56px 56px,
    radial-gradient(75% 60% at 50% 46%, #1452F0 0%, #1452F0 28%, #0D3FC2 70%, #0A2463 100%);
  animation: intro-gone 0s linear 6.5s forwards;
}
.js.intro-seen .intro { display: none; }
html.js:not(.intro-seen):not(.intro-out) body:has(> .intro) { overflow: hidden; }
.intro__stage { display: grid; justify-items: center; gap: clamp(1rem, 3vh, 1.6rem); width: min(86vw, 760px); }
/* The owner's logo in white, in its real pieces: each piece is a window on the same image, by column. */
.intro__logo { position: relative; width: 100%; aspect-ratio: 1290 / 417; filter: drop-shadow(0 18px 30px rgb(4 18 70 / 0.35)); }
.intro__piece { position: absolute; top: 0; height: 100%; overflow: hidden; left: calc(var(--from) / 1290 * 100%); width: calc((var(--to) - var(--from)) / 1290 * 100%); }
.intro__piece img { position: absolute; top: 0; left: calc(var(--from) / (var(--to) - var(--from)) * -100%); width: calc(1290 / (var(--to) - var(--from)) * 100%); max-width: none; height: 100%; }
/* The hand with its banknotes swings up from the wrist, a little past upright, then settles. */
.intro__piece--hand { transform-origin: 40% 92%; animation: intro-hand 1s cubic-bezier(0.34, 1.3, 0.5, 1) 0.15s both; }
/* Each letter rises inside its own slot, one after the other. */
.intro__piece--letter img { animation: intro-letter 0.65s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(0.75s + var(--i) * 0.07s); }
.intro__route { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: #FCFCFD; box-shadow: 0 10px 24px -8px rgb(4 18 70 / 0.45); animation: intro-pop 0.6s cubic-bezier(0.34, 1.5, 0.5, 1) 1.35s both; }
.intro__route .flag { width: 26px; height: 26px; border-radius: 50%; }
.intro__arrow { display: inline-flex; gap: 5px; }
.intro__arrow i { width: 7px; height: 7px; border-radius: 50%; background: #1452F0; opacity: 0.25; animation: intro-dot 0.9s ease-in-out infinite; }
.intro__arrow i:nth-child(2) { animation-delay: 0.15s; }
.intro__arrow i:nth-child(3) { animation-delay: 0.3s; }
.intro__load { position: absolute; bottom: clamp(2rem, 7vh, 4rem); left: 50%; width: min(56vw, 260px); height: 3px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / 0.18); translate: -50% 0; }
.intro__load i { position: absolute; inset: 0; border-radius: inherit; background: #FCFCFD; transform-origin: 0 50%; transform: scaleX(0); animation: intro-load 2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s forwards; }
/* Leaving: the logo rises away, the blue curtain lifts on the page. */
.intro-out .intro { pointer-events: none; animation: intro-lift 0.75s cubic-bezier(0.7, 0, 0.25, 1) 0.1s forwards; }
.intro-out .intro__stage { animation: intro-away 0.55s cubic-bezier(0.5, 0, 0.9, 0.3) forwards; }

@keyframes intro-gone { to { visibility: hidden; } }
@keyframes intro-hand { 0% { transform: translateY(45%) rotate(-16deg) scale(0.8); opacity: 0; } 35% { opacity: 1; } 70% { transform: translateY(-3%) rotate(4deg) scale(1.02); } 100% { transform: none; } }
@keyframes intro-letter { from { transform: translateY(105%); } to { transform: none; } }
@keyframes intro-pop { from { transform: translateY(16px) scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-dot { 0%, 100% { opacity: 0.25; transform: none; } 50% { opacity: 1; transform: translateX(3px); } }
@keyframes intro-load { to { transform: scaleX(1); } }
@keyframes intro-lift { to { transform: translateY(-100%); } }
@keyframes intro-away { to { transform: translateY(-14vh) scale(0.94); opacity: 0; } }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes intro-fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .intro__piece--hand, .intro__piece--letter img, .intro__route { animation: intro-fade 0.4s ease both; }
  .intro__arrow i { animation: none; opacity: 0.6; }
  .intro__load i { animation-duration: 0.6s; animation-delay: 0s; }
  .intro-out .intro { animation: intro-fade-out 0.2s ease forwards; }
  .intro-out .intro__stage { animation: none; }
}
