/* UlamnaPass website · identity « Plein jour » (P-25, docs/DESIGN.md §10.3).
   White daylight, Majorelle blue, one saffron highlight, the inked rubber stamp. A deep-blue night theme.
   One curve for everything that enters (--ease, fast out, slow settle); the stamp alone presses (--press). */

@font-face { font-family: "Brico Display"; src: url(fonts/brico-display.woff2) format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0020-007E, U+00A0, U+00AB, U+00B0, U+00B7, U+00BB, U+00C0-00FF, U+0152-0153, U+2009, U+200B-200F, U+2010-2014, U+2018-201E, U+2022, U+2026, U+202F, U+2066-2069, U+20AC, U+2192, U+2212; }
@font-face { font-family: "Brico"; src: url(fonts/brico-text.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0020-007E, U+00A0, U+00AB, U+00B0, U+00B7, U+00BB, U+00C0-00FF, U+0152-0153, U+2009, U+200B-200F, U+2010-2014, U+2018-201E, U+2022, U+2026, U+202F, U+2066-2069, U+20AC, U+2192, U+2212; }
@font-face { font-family: "Plex Arabic"; src: url(fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0, U+00AB, U+00BB, U+060C, U+061B, U+061F, U+0621-0652, U+0660-0669, U+0670, U+067E, U+0686, U+06A4, U+06AF, U+06CC, U+200C-200F, U+2010-2011, U+2013-2014, U+2026, U+2066-2069, U+25CC; }
@font-face { font-family: "Plex Arabic"; src: url(fonts/plex-arabic-700.woff2) format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0020-0040, U+005B-0060, U+007B-007E, U+00A0, U+00AB, U+00BB, U+060C, U+061B, U+061F, U+0621-0652, U+0660-0669, U+0670, U+067E, U+0686, U+06A4, U+06AF, U+06CC, U+200C-200F, U+2010-2011, U+2013-2014, U+2026, U+2066-2069, U+25CC; }
@font-face { font-family: "Stamp Mono"; src: url(fonts/plex-mono-stamp.woff2) format("woff2"); font-weight: 600; font-display: block; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }

:root {
  --s0: #FFFFFF; --s1: #F4F5FF; --s2: #E8EAFF;
  --t1: #0E1033; --t2: #474B73; --t3: #5E6288;
  --acc: #2D3BD8; --on: #FFFFFF; --acc-t: #2D3BD8; --sun: #FFC21A;
  --line: rgba(14, 16, 51, .12); --line-2: rgba(14, 16, 51, .22); --ctl: rgba(14, 16, 51, .48);
  --block: #2D3BD8; --block-t: #E6E8FF; --dots: rgba(255, 255, 255, .16);
  --shadow: 0 14px 36px rgba(14, 16, 51, .14); --shadow-s: 0 6px 18px rgba(14, 16, 51, .1);
  --ink: #2D3BD8; --on-ink: #FFFFFF;
  --off: #5E6288; --off-bg: color-mix(in srgb, var(--t1) 7%, var(--s1));
  --ease: cubic-bezier(.16, 1, .3, 1); --press: cubic-bezier(.6, 0, .8, .3);
  --f-d: "Brico Display", "Brico", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-t: "Brico", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mk-b: .06em; --mk-h: .42em;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7FB0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --s0: #0B0D2B; --s1: #14173D; --s2: #1E2250;
    --t1: #F3F4FF; --t2: #B9BCE6; --t3: #9FA3D3;
    --acc: #8E98FF; --on: #0B0D2B; --acc-t: #A9B1FF; --sun: #FFC93D;
    --line: rgba(243, 244, 255, .14); --line-2: rgba(243, 244, 255, .26); --ctl: rgba(243, 244, 255, .5);
    --block: #2733C4; --block-t: #E6E8FF; --dots: rgba(255, 255, 255, .13);
    --shadow: 0 14px 36px rgba(0, 0, 0, .4); --shadow-s: 0 6px 18px rgba(0, 0, 0, .3);
    --ink: #A9B1FF; --on-ink: #0B0D2B; --off: #8489BA;
    --mk-b: -.03em; --mk-h: .26em;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --s0: #0B0D2B; --s1: #14173D; --s2: #1E2250;
  --t1: #F3F4FF; --t2: #B9BCE6; --t3: #9FA3D3;
  --acc: #8E98FF; --on: #0B0D2B; --acc-t: #A9B1FF; --sun: #FFC93D;
  --line: rgba(243, 244, 255, .14); --line-2: rgba(243, 244, 255, .26); --ctl: rgba(243, 244, 255, .5);
  --block: #2733C4; --block-t: #E6E8FF; --dots: rgba(255, 255, 255, .13);
  --shadow: 0 14px 36px rgba(0, 0, 0, .4); --shadow-s: 0 6px 18px rgba(0, 0, 0, .3);
  --ink: #A9B1FF; --on-ink: #0B0D2B; --off: #8489BA;
  --mk-b: -.03em; --mk-h: .26em;
  color-scheme: dark;
}
:lang(ar) { --f-d: "Plex Arabic", "Brico Display", system-ui, sans-serif; --f-t: "Plex Arabic", "Brico", system-ui, sans-serif; }
:lang(fr), :lang(en) { --f-d: "Brico Display", "Brico", system-ui, -apple-system, "Segoe UI", sans-serif; --f-t: "Brico", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--s0); color: var(--t1); font: 400 17px/1.6 var(--f-t); -webkit-font-smoothing: antialiased; overflow-x: clip; }
:lang(ar) body, body:lang(ar) { font-size: 17px; line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: var(--acc-t); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
bdi { white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.block :focus-visible { outline-color: #FFFFFF; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 760px) { .wrap { padding-inline: 40px; } }
.skip { position: absolute; inset-inline-start: 16px; top: -80px; z-index: 100; background: var(--acc); color: var(--on); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }
.ic { width: 22px; height: 22px; flex: none; }
:dir(rtl) .ic.flip, [dir="rtl"] .ic.flip { transform: scaleX(-1); }

/* ---------- type ---------- */
.display, .display-2, .sec-head h2, .price-text h2, .close h2, .faq h2 { font-family: var(--f-d); font-weight: 800; letter-spacing: -.02em; word-spacing: .06em; color: var(--t1); }
.display { font-size: clamp(44px, 6.2vw, 86px); line-height: .98; }
.display-2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; }
.sec-head h2, .price-text h2, .faq h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; }
:lang(ar) :is(.display, .display-2, .sec-head h2, .price-text h2, .close h2, .faq h2) { font-weight: 700; letter-spacing: 0; word-spacing: 0; line-height: 1.3; }
:lang(ar) .display { font-size: clamp(40px, 5vw, 70px); }
.display span, .display-2 span { white-space: normal; }
.l1, .l2 { display: block; }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--t2); max-width: 36em; }
.eyebrow { margin: 0 0 10px; font: 700 16px/1.3 var(--f-t); color: var(--acc-t); }
.sec-head { max-width: 780px; margin-bottom: 40px; }
.sec-lead { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--t2); max-width: 40em; }
/* the saffron marker under one word (at night a full block, the word in ink) */
.mk { position: relative; white-space: nowrap; isolation: isolate; }
.mk-t { color: inherit; }
.mk::before { content: ""; position: absolute; inset-inline: -.08em; bottom: var(--mk-b); height: var(--mk-h); background: var(--sun); border-radius: .1em; transform: rotate(-1deg); transform-origin: 0 50%; z-index: -1; }
:dir(rtl) .mk::before, [dir="rtl"] .mk::before { transform-origin: 100% 50%; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font: 700 16px/1.2 var(--f-t); text-decoration: none; cursor: pointer; text-align: center; transition: transform 120ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease); }
.btn:active { transform: scale(.97); }
.btn.p { background: var(--acc); color: var(--on); }
.btn.p:hover { background: color-mix(in srgb, var(--acc) 88%, var(--t1)); }
.btn.s { background: var(--s2); color: var(--t1); }
.btn.s:hover { background: color-mix(in srgb, var(--s2) 85%, var(--acc)); }
.btn.big { min-height: 56px; padding: 0 28px; border-radius: 16px; font-size: 17px; }
.btn.sm { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.btn.on-block { background: #FFFFFF; color: #0E1033; }
.btn.on-block:hover { background: #F4F5FF; }
/* off: a flat tint and quiet words, never the secondary button */
.btn[aria-disabled="true"], .btn[aria-disabled="true"]:hover, .btn:disabled { background: var(--off-bg); color: var(--off); cursor: not-allowed; box-shadow: none; outline: 0; }
.btn[aria-disabled="true"]:active, .btn:disabled:active { transform: none; }
.btn[aria-disabled="true"]:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
/* selected: filled, and a check */
.seg-fill button[aria-pressed="true"]::before, .fam[aria-pressed="true"]::before, .chip:has(input:checked) > span::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-inline-end: 6px; vertical-align: -2px; background: currentColor; -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.btn .ic { width: 20px; height: 20px; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--s2); color: var(--t1); cursor: pointer; }
.icon-btn:hover { background: color-mix(in srgb, var(--s2) 85%, var(--acc)); }
.icon-btn:disabled, .icon-btn:disabled:hover { background: var(--off-bg); color: var(--off); cursor: default; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- the stamp ---------- */
.stamp { color: var(--ink); }
.mark { width: 30px; height: 30px; color: var(--acc); transform: rotate(-12deg); flex: none; }
.dot { width: 28px; height: 28px; color: var(--acc); flex: none; }
.block { position: relative; overflow: hidden; background-color: var(--block); background-image: radial-gradient(var(--dots) 1.5px, transparent 1.6px); background-size: 22px 22px; border-radius: 44px; color: #FFFFFF; --on-ink: #2D3BD8; }
@media (max-width: 759px) { .block { border-radius: 28px; } }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--s0) 94%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--t1); text-decoration: none; font: 800 23px/1 "Brico Display", "Brico", system-ui, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.nav { display: none; gap: 4px; margin-inline-start: 8px; }
.nav a { padding: 10px 12px; border-radius: 10px; color: var(--t2); font: 600 15px/1.2 var(--f-t); text-decoration: none; }
.nav a:hover { color: var(--t1); background: var(--s1); }
.bar-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.langs { display: flex; gap: 2px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 9px; border-radius: 10px; color: var(--t2); font: 600 15px/1 var(--f-t); text-decoration: none; }
.langs a[lang="ar"] { font-family: "Plex Arabic", system-ui, sans-serif; }
.langs a[aria-current] { color: var(--t1); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 10px 10px 2px 2px; }
.theme { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 0; background: transparent; color: var(--t2); font: 600 15px/1 var(--f-t); cursor: pointer; }
.theme:hover { background: var(--s1); color: var(--t1); }
.theme .ic { width: 20px; height: 20px; }
.theme .i-light { display: none; }
:root[data-theme="dark"] .theme .i-light { display: block; }
:root[data-theme="dark"] .theme .i-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme .i-light { display: block; } :root:not([data-theme]) .theme .i-dark { display: none; } }
.bar-cta .short { display: none; }
.bar-cta[aria-current="page"] { background: var(--s2); color: var(--t1); }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--s2); color: var(--t1); font: 700 15px/1 var(--f-t); cursor: pointer; }
.menu-btn .i-close, .menu[open] .menu-btn .i-open { display: none; }
.menu[open] .menu-btn .i-close { display: block; }
body:has(.menu[open])::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(14, 16, 51, .45); }
.menu[open] { z-index: 2; }
.menu-btn .l-close, .menu[open] .menu-btn .l-open { display: none; }
.menu[open] .menu-btn .l-close { display: inline; }
.menu-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); padding: 10px; border-radius: 20px; background: var(--s0); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.menu-panel > nav { display: grid; }
.menu-panel > nav a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--t1); font: 600 17px/1.2 var(--f-t); text-decoration: none; }
.menu-panel > nav a:hover { background: var(--s1); }
.menu-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.bar-end > .langs, .bar-end > .theme { display: none; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu { display: none; }
  .bar-end > .langs, .bar-end > .theme:not([hidden]) { display: flex; }
}
@media (max-width: 479px) {
  .bar-cta .long { display: none; }
  .bar-cta .short { display: inline; }
  .bar-in { gap: 10px; min-height: 64px; }
  .brand { font-size: 21px; }
}

/* ---------- hero ---------- */
.hero { padding-block: 36px 56px; }
.hero-in { display: grid; gap: 28px; }
@media (max-width: 1099px) {
  .hero-copy { display: contents; }
  .hero h1 { order: 1; } .hero .lead { order: 2; } .hero .ctas { order: 3; } .hero-art { order: 4; } .how { order: 5; } .for { order: 6; }
}
@media (max-width: 479px) {
  .hero .ctas { flex-wrap: nowrap; gap: 8px; }
  .hero .ctas .btn.big { min-height: 52px; padding: 0 16px; font-size: 16px; flex: 1 1 auto; }
}
.hero h1 { margin: 0; }
.hero .lead { margin-top: -8px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 36em; }
.how li { display: flex; gap: 12px; color: var(--t2); font-size: 16px; line-height: 1.5; }
.how li b { color: var(--t1); }
.how .ic { color: var(--acc-t); margin-top: 1px; }
.hero .ctas { margin-top: 0; }
@media (min-width: 1100px) { .hero .lead { margin-top: 22px; } .how { margin-top: 22px; } .hero .ctas { margin-top: 28px; } }
.hero-art { position: relative; --z: .62; }
.hero-block { height: 330px; }
.hero-card { position: absolute; top: 56px; left: 50%; width: 361px; zoom: var(--z); transform: translateX(-50%) rotate(4deg); }
/* The stamp lands on the card's empty bottom corner; sizes follow the card's zoom (--z). */
.hero-stamp { position: absolute; width: calc(var(--z) * 160px); height: calc(var(--z) * 160px); top: calc(var(--z) * 341px); left: calc(50% - var(--z) * 237px); transform: rotate(-14deg); mix-blend-mode: multiply; color: #2D3BD8; }
.ink-ring { position: absolute; width: calc(var(--z) * 200px); height: calc(var(--z) * 200px); top: calc(var(--z) * 321px); left: calc(50% - var(--z) * 257px); border-radius: 50%; border: 3px solid rgba(45, 59, 216, .55); opacity: 0; pointer-events: none; }
.toast { position: absolute; bottom: 16px; inset-inline-end: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: #FFFFFF; color: #0E1033; box-shadow: 0 12px 30px rgba(14, 16, 51, .25); font: 700 15px/1.2 var(--f-t); white-space: nowrap; }
@media (max-width: 759px) { .toast { inset-inline-end: auto; right: 16px; } } /* on a phone it keeps the right, away from the stamp, in Arabic too */
.toast .dot { width: 24px; height: 24px; color: #2D3BD8; --on-ink: #FFFFFF; }
/* the trades: links to the filtered gallery */
.for { color: var(--t1); font-size: 16px; line-height: 2; }
.for b { margin-inline-end: 6px; }
.for a { margin-inline-end: 14px; color: var(--acc-t); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; white-space: nowrap; }
.for a:last-child { margin-inline-end: 0; }
.flip { display: inline-grid; }
.flip > span { grid-area: 1 / 1; }
.flip .was { visibility: hidden; }
@media (min-width: 760px) {
  .hero-art { --z: .9; }
  .hero-block { height: 560px; }
  .hero-card { top: 96px; }
  .hero-stamp { top: calc(var(--z) * 381px); }
  .ink-ring { top: calc(var(--z) * 361px); }
  .toast { bottom: auto; top: 32px; inset-inline-end: 32px; font-size: 16px; }
}
@media (min-width: 1100px) {
  .hero { padding-block: 64px 56px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 520px; column-gap: 48px; align-items: center; }
  .hero-art { --z: 1; }
  .hero-block { height: 660px; }
  .hero-card { top: 120px; }
  .hero-stamp { top: calc(var(--z) * 405px); }
  .ink-ring { top: calc(var(--z) * 385px); }
  .for { grid-column: 1 / -1; margin-top: 8px; }
}

/* ---------- the intro « Le coup de tampon » (1.06 s, once a session; a click, a key or a scroll ends it; never under reduced motion).
   The menu, the headline and the buttons are in place and usable from the first paint: only the stamp, the ink, the count,
   the saffron marker and the toast move. ---------- */
html.intro .hero-stamp { animation: press 420ms var(--press) both; }
html.intro .hero-block { animation: thump 140ms linear 260ms; }
html.intro .ink-new { animation: ink-in 240ms var(--ease) 260ms both; transform-box: fill-box; transform-origin: center; }
html.intro .flip .was { animation: was 300ms step-end both; }
html.intro .flip .now { animation: now 300ms step-end both; }
html.intro .ink-ring { animation: ring 560ms var(--ease) 280ms both; }
html.intro .hero .mk::before { animation: grow 320ms var(--ease) 460ms both; }
html.intro .toast { animation: rise 420ms var(--ease) 640ms both; }
@keyframes press { 0% { transform: scale(2.4) rotate(-14deg); filter: blur(8px); opacity: .35; } 62% { transform: scale(.94) rotate(-14deg); filter: blur(0); opacity: 1; } 100% { transform: scale(1) rotate(-14deg); opacity: 1; } }
@keyframes thump { 0% { translate: 3px -3px; } 50% { translate: -2px 2px; } 100% { translate: 0 0; } }
@keyframes ink-in { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: none; } }
@keyframes was { 0% { visibility: visible; } 100% { visibility: hidden; } }
@keyframes now { 0% { visibility: hidden; } 100% { visibility: visible; } }
@keyframes ring { 0% { opacity: .9; transform: scale(.86); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes grow { from { transform: scaleX(0) rotate(-1deg); } to { transform: scaleX(1) rotate(-1deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- reveal: a section rises into place as it enters (JavaScript only; reduced motion: a fade) ---------- */
html.js [data-reveal] { transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
html.js [data-reveal]:not([data-reveal="in"]) { opacity: 0; transform: translateY(36px); }
.count { --n: var(--to); counter-reset: n var(--n); font-variant-numeric: tabular-nums; }
.count::after { content: counter(n); }
html.js [data-reveal="in"] .count { animation: count 1200ms var(--ease) 150ms both; }
@keyframes count { from { --n: 0; } to { --n: var(--to); } }

/* ---------- figures (they count up as they enter) ---------- */
.figs { padding-block: 48px; border-bottom: 1px solid var(--line); }
.figs-in { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.fig { font: 800 56px/1 var(--f-d); color: var(--acc-t); letter-spacing: -.03em; }
.fig .unit { font-size: .5em; margin-inline-start: 4px; }
.figs-in li > p:last-child { margin-top: 8px; color: var(--t2); font-size: 15px; line-height: 1.45; }
@media (min-width: 900px) { .figs-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fig { font-size: 72px; } }

/* ---------- « Comment ça marche »: the counter (the till's phone, the customer's) ---------- */
.play { padding-block: 64px 72px; }
.visit { display: grid; gap: 18px; }
.v-wallet .opt-l, .v-opts .opt-l { margin-bottom: 6px; }
.v-opts { display: grid; gap: 14px; }
.design-row { display: none; }
.seg-fill { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; border-radius: 14px; border: 1.5px solid var(--ctl); overflow: hidden; background: var(--s0); }
.seg-fill button { min-height: 46px; padding: 0 6px; border: 0; border-radius: 0; border-inline-start: 1.5px solid var(--ctl); background: transparent; color: var(--t1); font: 600 15px/1.15 var(--f-t); cursor: pointer; }
.seg-fill button:first-child { border-inline-start: 0; }
.seg-fill button[aria-pressed="true"] { background: var(--acc); color: var(--on); }
.seg-fill button:focus-visible { outline-offset: -4px; }
@media (max-width: 479px) {
  .seg-fill button { padding: 0 2px; font-size: 14px; }
  .seg-fill button[aria-pressed="true"]::before { width: 12px; height: 12px; margin-inline-end: 4px; vertical-align: -1px; }
}
.v-staff, .v-cust { margin: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: center; }
.v-stage figcaption { font: 700 14px/1.3 var(--f-t); color: var(--t1); text-align: center; }
.v-stage figcaption span { font-weight: 500; color: var(--t2); }
.ph { width: 100%; padding: 5px; border-radius: 26px; background: #0E1033; box-shadow: var(--shadow-s); }
:root[data-theme="dark"] .ph { background: #000000; box-shadow: 0 0 0 1px var(--line-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ph { background: #000000; box-shadow: 0 0 0 1px var(--line-2); } }
.ph-scr { position: relative; overflow: hidden; border-radius: 21px; }
.ph-cust .ph-scr { aspect-ratio: 300 / 620; }
.ph-staff .ph-scr { aspect-ratio: 220 / 476; }
.scr-in { position: relative; width: 300px; height: 620px; overflow: hidden; }
.scr-in.stf { width: 220px; height: 476px; }
.v-panel { display: flex; flex-direction: column; min-width: 0; }
.chapters { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chap { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; min-height: 64px; padding: 8px 2px; border: 0; border-radius: 14px; background: transparent; color: var(--t2); font: 600 14px/1.15 var(--f-t); text-align: center; cursor: pointer; }
.chap:hover { background: var(--s1); color: var(--t1); }
/* to come: dashed; current: solid ring; done: stamped */
.chap.on { background: var(--s2); color: var(--t1); box-shadow: inset 0 -3px 0 var(--acc); }
.vs-mark { position: relative; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px dashed var(--t2); color: var(--t1); font: 700 14px/1 var(--f-t); }
.vs-mark .dot { position: absolute; inset: -2px; width: 30px; height: 30px; opacity: 0; transform: rotate(-12deg); }
.chap.on .vs-mark { border: 2.5px solid var(--acc); background: var(--s0); color: var(--acc-t); }
.chap.done .vs-mark { border-color: transparent; }
.chap.done .dot { opacity: 1; }
.chap.done .vs-mark > span { visibility: hidden; }
/* the step: who acts, what happens, what it means (room for 2 + 3 lines: the action stays put) */
.vis-who { font: 700 15px/1.3 var(--f-t); color: var(--acc-t); }
.vis-title { margin: 6px 0 8px; min-height: 2.24em; font: 800 25px/1.12 var(--f-d); letter-spacing: -.02em; }
:lang(ar) .vis-title { font-weight: 700; line-height: 1.35; letter-spacing: 0; min-height: 2.7em; }
.vis-text { min-height: 4.5em; color: var(--t2); font-size: 16px; line-height: 1.5; }
.vis-bal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: var(--s1); width: fit-content; }
.bal-l { color: var(--t2); font: 600 14px/1.2 var(--f-t); margin-inline-end: 4px; }
.bal-was { color: var(--t2); font: 700 18px/1.2 var(--f-t); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.bal-arrow { color: var(--t2); font-size: 18px; }
.vis-bal b { font: 800 24px/1.1 var(--f-d); color: var(--acc-t); }
.vis-acts, .vis-more { display: flex; flex-wrap: wrap; gap: 10px; }
.vis-acts { margin-top: 16px; }
.vis-more:has(> :not([hidden])) { margin-top: 10px; }
:is(.vis-acts, .vis-more) .btn.big { flex-direction: column; gap: 2px; white-space: normal; }
.vis-acts .btn small { font: 600 14px/1.2 var(--f-t); }
.vis-note { display: flex; gap: 8px; margin-top: 14px; color: var(--t2); font-size: 14px; line-height: 1.45; }
.vis-note .ic { color: var(--acc-t); width: 20px; height: 20px; margin-top: 1px; }
.opt-l { display: block; margin: 0 0 8px; font: 700 14px/1.3 var(--f-t); color: var(--t2); }
select, .field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--ctl); background: var(--s0); color: var(--t1); font: 400 16px/1.4 var(--f-t); }
::placeholder { color: var(--t3); opacity: 1; }
select { -webkit-appearance: none; appearance: none; padding-inline-end: 46px; background-image: var(--chev); background-repeat: no-repeat; background-size: 18px; background-position: right 16px center; cursor: pointer; }
[dir="rtl"] select { background-position: left 16px center; }
.chapters-text { margin: 24px 0 0; padding-inline-start: 1.2em; display: grid; gap: 12px; }
.chapters-text h3 { font: 700 18px/1.3 var(--f-t); }
.chapters-text p { color: var(--t2); }
html.js .chapters-text { display: none; }
html:not(.js) .visit { display: none; }
/* a computer: one toolbar above both phones */
@media (min-width: 1000px) {
  .play { padding-block: 104px; }
  .visit { grid-template-columns: 592px minmax(0, 1fr); grid-template-areas: "bar bar" "stage panel"; column-gap: 56px; row-gap: 28px; padding: 36px 40px; border-radius: 36px; background: var(--s1); }
  .v-band { grid-area: bar; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .v-opts { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-end; }
  .v-opts .seg-fill { grid-auto-columns: auto; }
  .v-opts .seg-fill button { padding: 0 14px; white-space: nowrap; }
  .v-opts > .opt:nth-child(n+3) { flex: 1 1 200px; min-width: 0; }
  .v-opts > .opt:nth-child(4) { flex-basis: 250px; }
  .v-stage { grid-area: stage; display: grid; grid-template-columns: 240px 320px; gap: 32px; align-items: end; }
  .v-panel { grid-area: panel; align-self: start; padding-top: 4px; }
  .ph { padding: 8px; border-radius: 44px; }
  .ph-scr { border-radius: 36px; }
  .chapters { margin-bottom: 26px; }
  .vis-title { font-size: 34px; }
  .vis-text { font-size: 18px; }
}
/* a phone: the customise row, the steps, the step, the one action, the till, the customer's phone */
@media (max-width: 999px) {
  .visit { display: flex; flex-direction: column; }
  .v-stage, .v-panel { display: contents; }
  .v-band { order: 1; padding: 8px; border-radius: 20px; background: var(--s1); margin-bottom: 14px; }
  .v-opts { display: none; padding: 12px 4px 4px; }
  .v-band[data-open="yes"] .v-opts { display: grid; }
  .design-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 4px 12px; border-radius: 14px; border: 1.5px solid var(--ctl); background: var(--s0); color: var(--t1); text-align: start; cursor: pointer; }
  .design-row .st-logo { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
  .dr-t { display: grid; flex: 1; min-width: 0; gap: 1px; }
  .dr-t b { font: 700 16px/1.25 var(--f-t); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dr-t small { color: var(--t2); font: 500 14px/1.3 var(--f-t); }
  .dr-l { color: var(--acc-t); font: 700 14px/1 var(--f-t); }
  .design-row .chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--t2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease); }
  .design-row[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .chapters { order: 2; margin: 0 0 8px; }
  .v-say { order: 3; margin: 2px 0 8px; }
  .vis-bal { order: 4; margin-top: 4px; }
  .vis-acts { order: 5; margin-top: 10px; }
  .vis-acts .btn { flex: 1 1 100%; }
  .vis-more { order: 6; }
  .vis-more .btn { flex: 1 1 auto; }
  .v-till { order: 7; margin-top: 14px; }
  .v-staff { display: none; }
  .v-cust { order: 8; margin-top: 14px; padding: 12px; border-radius: 24px; background: var(--s1); }
  .v-cust figcaption { order: -1; }
  .ph-cust { width: min(100%, 250px); }
  .vis-note { order: 9; }
}
.v-stage figcaption .demo-tag { margin-inline-end: 4px; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: var(--on); font: 700 14px/1.4 var(--f-t); }
.v-till { position: relative; display: grid; gap: 6px; padding: 12px 16px 14px; border-radius: 20px; background: #0E1033; color: #FFFFFF; box-shadow: 0 0 0 1px rgba(169, 177, 255, .2); }
.till-h { display: flex; align-items: center; gap: 6px; font: 600 14px/1.3 var(--f-t); color: #C9CEFF; }
.till-h b { color: #FFFFFF; font-weight: 700; }
.till-mark { width: 18px; height: 18px; color: #FFC21A; flex: none; }
.till-s { position: relative; display: flex; align-items: center; gap: 10px; min-height: 30px; padding-inline-end: 64px; font: 700 17px/1.3 var(--f-t); }
.till-s[data-state="idle"] { color: #C9CEFF; font-weight: 600; font-size: 16px; }
.till-ic { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; font-size: 15px; }
.till-ic svg { width: 26px; height: 26px; color: #FFC21A; }
.till-s[data-state="idle"] .till-ic { border: 2px dashed rgba(255, 255, 255, .5); }
.till-s[data-state="ok"] .till-ic { background: #0F6E47; }
.till-ink { position: absolute; inset-inline-end: -4px; top: 50%; width: 66px; height: 66px; margin-top: -40px; color: #A9B1FF; transform: rotate(-14deg); pointer-events: none; }
@media (min-width: 1000px) { .v-till { display: none; } }
/* the customer's phone (an illustration: a phone's own surfaces, light or dark with the page) */
.ph-cust .scr-in { --sb: #F6F6F9; --st: #0E1033; --sn: rgba(255, 255, 255, .98); --sm: #4B4E63; background: var(--sb); color: var(--st); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
:root[data-theme="dark"] .ph-cust .scr-in { --sb: #000000; --st: #F3F4FF; --sn: #25283F; --sm: #B9BCE6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ph-cust .scr-in { --sb: #000000; --st: #F3F4FF; --sn: #25283F; --sm: #B9BCE6; } }
.scr-status { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 8px 22px 0; font: 600 14px/1 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; color: var(--st); }
.scr-status.and { height: 28px; padding: 6px 16px 0; font: 500 14px/1 Roboto, "Helvetica Neue", Arial, sans-serif; }
.and-ic { display: flex; gap: 6px; align-items: center; }
.and-wifi { width: 13px; height: 10px; background: currentColor; clip-path: polygon(50% 100%, 0 20%, 50% 0, 100% 20%); }
.and-bat { width: 7px; height: 12px; border-radius: 1.5px; background: currentColor; }
.scr-sig { display: flex; gap: 3px; align-items: flex-end; }
.scr-sig i { display: block; width: 3px; border-radius: 1px; background: currentColor; }
.scr-sig i:nth-child(1) { height: 5px; } .scr-sig i:nth-child(2) { height: 8px; } .scr-sig i:nth-child(3) { height: 11px; }
.scr-sig b { display: block; width: 20px; height: 10px; margin-inline-start: 5px; border-radius: 3px; border: 1.5px solid currentColor; }
.scr-in[data-screen="counter"] { background: #23252E; }
[data-screen="counter"] .scr-status { color: #FFFFFF; position: relative; z-index: 2; }
.scr-cam { position: absolute; inset: 0; display: grid; place-items: center; background: #23252E; }
.cam-c { position: absolute; width: 34px; height: 34px; border: 4px solid #FFFFFF; border-radius: 6px; }
.cam-c.tl { top: 22%; left: 14%; border-right: 0; border-bottom: 0; } .cam-c.tr { top: 22%; right: 14%; border-left: 0; border-bottom: 0; }
.cam-c.bl { bottom: 26%; left: 14%; border-right: 0; border-top: 0; } .cam-c.br { bottom: 26%; right: 14%; border-left: 0; border-top: 0; }
.standee { display: grid; justify-items: center; gap: 6px; width: 64%; padding: 16px 14px 14px; border-radius: 18px; text-align: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform: rotate(-2deg); }
.standee b { font: 700 17px/1.2 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.standee > span:not(.st-logo):not(.st-qr) { font-size: 14px; line-height: 1.3; }
.standee small { font-size: 14px; line-height: 1.3; }
.st-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font: 700 14px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; flex: none; }
.st-qr { display: block; width: 112px; padding: 6px; border-radius: 8px; background: #FFFFFF; }
.cam-chip { position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: #FFFFFF; color: #0E1033; font: 600 14px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.scr-url { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; margin: 6px 12px 0; border-radius: 10px; background: color-mix(in srgb, var(--st) 9%, var(--sb)); color: var(--st); font: 500 14px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.scr-url svg { width: 12px; height: 12px; }
.scr-land { position: absolute; inset: 82px 0 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 16px; text-align: center; }
.scr-land > b { font-size: 20px; line-height: 1.2; }
.land-sub { font-size: 14px; line-height: 1.35; }
.land-card { margin: 4px 0; }
/* the wallet's button: a picture (outline), no pointer */
.land-btn { display: grid; place-items: center; flex: none; text-align: center; width: 100%; max-width: 270px; min-height: 64px; padding: 0 12px; border-radius: 14px; background: color-mix(in srgb, currentColor 9%, transparent); color: inherit; font: 600 17px/1.2 -apple-system, "Helvetica Neue", Arial, sans-serif; box-shadow: inset 0 0 0 2px currentColor; }
.land-note { font-size: 14px; }
.scr-app { padding: 2px 18px 4px; }
.scr-app b { font: 800 30px/1.15 -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; }
.scr-app.w-google b { font: 500 22px/1.4 Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
.scr-app.w-web { padding-top: 10px; } .scr-app.w-web b { font: 700 18px/1.3 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
/* the band that says what changed sits above the card, never over it */
.scr-band { display: flex; align-items: center; justify-content: center; height: 66px; padding: 0 8px; }
.scr-pill { padding: 9px 16px; border-radius: 999px; background: var(--st); color: var(--sb); font: 600 15px/1.2 -apple-system, "Helvetica Neue", Arial, sans-serif; white-space: nowrap; }
.scr-pill.fresh { background: #0F6E47; color: #FFFFFF; }
.scr-notif { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 12px; border-radius: 18px; background: var(--sn); color: var(--st); box-shadow: 0 6px 18px rgba(14, 16, 51, .16); font: 400 15px/1.3 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.scr-notif b { display: block; font-weight: 600; }
.scr-notif small { margin-inline-start: auto; align-self: flex-start; color: var(--sm); font-size: 14px; }
.scr-notif .st-logo { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
.scr-card { display: flex; justify-content: center; padding: 2px 8px 0; }
/* the reward is ready: the brand's stamp lands on the corner of the card */
.cw { position: relative; }
.cust-ink { position: absolute; width: 86px; height: 86px; inset-inline-end: -8px; bottom: -10px; color: #2D3BD8; mix-blend-mode: multiply; transform: rotate(-14deg); pointer-events: none; }
.cust-ink.on-dark { color: #C9CEFF; mix-blend-mode: normal; }
/* Apple Wallet: the next passes peek out under the card, as in the app */
[data-wallet="apple"] .scr-card { flex-direction: column; align-items: center; }
[data-wallet="apple"] .scr-card::after { content: ""; display: block; width: 284px; height: 120px; margin-top: 12px; border-radius: 12px; opacity: .92;
  background: radial-gradient(circle at 22px 24px, rgba(255, 255, 255, .85) 0 9px, transparent 9.5px), linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) 40px 19px / 96px 10px no-repeat, linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) 220px 19px / 44px 10px no-repeat,
    radial-gradient(circle at 22px 82px, rgba(255, 255, 255, .85) 0 9px, transparent 9.5px), linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) 40px 77px / 72px 10px no-repeat,
    linear-gradient(#1C6E8C 0 52px, transparent 52px 58px, #E2574C 58px); }
/* the till's phone: the UlamnaPass staff app, its scanner and the card sheet (docs/DESIGN.md §10.6) */
.stf { background: linear-gradient(180deg, #24211D 0%, #3E2E22 100%); color: #FFFFFF; font: 500 13px/1.3 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.stf-status { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 8px 18px 0; font-weight: 600; font-size: 13px; }
.stf-top { padding: 10px 12px 0; }
.stf-shop { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 600; font-size: 13px; }
.st-logo.sm { width: 22px; height: 22px; border-radius: 6px; font-size: 9px; }
.stf-vf { position: absolute; left: 34px; right: 34px; top: 120px; aspect-ratio: 1; display: grid; place-items: center; border: 5px solid #FFC21A; border-radius: 24px; }
.stf-badge { position: absolute; top: -18px; inset-inline-end: -18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1A1712; color: #FFC21A; }
.stf-badge svg { width: 24px; height: 24px; transform: rotate(-12deg); }
.stf-chip { padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .62); font-weight: 600; white-space: nowrap; }
.stf-hint { position: absolute; left: 12px; right: 12px; bottom: 70px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.3; }
.stf-tabs { position: absolute; left: 6px; right: 6px; bottom: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px 0; border-radius: 20px; background: rgba(255, 255, 255, .14); font-size: 12px; text-align: center; }
.stf-tabs .on { color: #C9CEFF; font-weight: 700; }
.stf-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 14px 12px 16px; border-radius: 24px 24px 0 0; background: #FFFFFF; color: #0E1033; box-shadow: 0 -10px 30px rgba(0, 0, 0, .3); }
.stf-sheet > b { font-size: 16px; font-weight: 700; }
.stf-sheet > small { margin-top: -4px; color: #474B73; font-size: 12px; }
.stf-strip { position: relative; margin: 4px 0; overflow: visible; border-radius: 10px; }
.stf-strip > svg:first-child { border-radius: 10px; }
.stf-ink { position: absolute; width: 96px; height: 96px; inset-inline-end: -8px; top: -18px; color: #2D3BD8; mix-blend-mode: multiply; transform: rotate(-14deg); }
.stf-ink.on-dark { color: #C9CEFF; mix-blend-mode: normal; }
/* a picture of the action (outline); the panel's button is the one control */
.stf-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 14px; background: #E8EAFF; color: #2D3BD8; box-shadow: inset 0 0 0 2px #2D3BD8; font-weight: 700; font-size: 15px; text-align: center; --on-ink: #2D3BD8; }
.stf-btn svg { width: 20px; height: 20px; flex: none; }
.stf-btn small { font-weight: 600; font-size: 13px; }
.stf-btn.ok { background: #0F6E47; color: #FFFFFF; box-shadow: none; }
.stf-ready { justify-self: start; padding: 4px 10px; border-radius: 999px; background: #E8EAFF; color: #2D3BD8; font-weight: 700; font-size: 12px; }

/* ---------- the cards: 19 models, 21 styles ---------- */
.cards { padding-block: 80px; background: var(--s1); }
.rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 16px; margin: 0; padding: 4px 2px 18px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; border-radius: 24px; background: var(--s0); scroll-snap-align: start; }
.tile-art { width: 100%; min-height: 180px; margin-bottom: 8px; }
.tile-fam { color: var(--t2); font: 600 14px/1.3 var(--f-t); }
.rail[data-filtered="yes"] .tile-fam { display: none; }
.tile h3 { font: 800 22px/1.1 var(--f-d); letter-spacing: -.02em; }
:lang(ar) .tile h3 { font-family: "Brico Display", system-ui, sans-serif; }
.tile-trades { color: var(--t2); font-size: 15px; line-height: 1.4; }
.tile-style { color: var(--t2); font-size: 14px; line-height: 1.4; margin-bottom: 10px; }
.tile .btn { margin-top: auto; align-self: flex-start; }
.rail-top { margin-bottom: 14px; }
.fams { display: flex; flex-wrap: wrap; gap: 8px; }
.fam { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 12px 0 14px; border-radius: 12px; border: 1.5px solid var(--ctl); background: var(--s0); color: var(--t1); font: 600 15px/1 var(--f-t); cursor: pointer; white-space: nowrap; }
.fam-n { margin-inline-start: 8px; min-width: 22px; padding: 3px 6px; border-radius: 999px; background: var(--s2); color: var(--t1); font: 700 14px/1 var(--f-t); text-align: center; }
.fam[aria-pressed="true"] .fam-n { background: rgba(255, 255, 255, .22); color: inherit; }
.fam:hover { border-color: var(--acc); }
.fam[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on); }
.rail-nav { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.rail-pos { margin-inline-end: auto; color: var(--t2); font-size: 15px; }
.rail-pos b { color: var(--t1); font-variant-numeric: tabular-nums; }
.fam-select { display: none; }
.rail-l { display: none; }
.tile-art > div, .mode-art > div { outline: 1px solid var(--line-2); outline-offset: -1px; }
@media (max-width: 759px) {
  .fams { display: none; }
  .fam-select { display: block; }
  .rail-nav .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 48px; padding: 0 16px; gap: 6px; font: 700 15px/1 var(--f-t); white-space: nowrap; }
  .rail-l { display: inline; }
}
.styles-h { margin-top: 48px; font: 800 26px/1.15 var(--f-d); letter-spacing: -.02em; }
:lang(ar) .styles-h { font-weight: 700; letter-spacing: 0; }
.styles-p { margin: 6px 0 16px; color: var(--t2); }
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.style { display: grid; gap: 6px; align-content: start; width: 100%; height: 100%; min-height: 44px; padding: 6px 6px 8px; border-radius: 14px; border: 1.5px solid transparent; background: var(--s0); color: var(--t1); text-align: start; font: 600 14px/1.25 var(--f-t); cursor: pointer; }
.style:hover { border-color: var(--acc); }
.style-art { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 361 / 139; background: var(--s2); }
.after { margin-top: 24px; color: var(--t2); }
@media (min-width: 1000px) {
  .cards { padding-block: 112px; }
  .rail { grid-auto-columns: calc((100% - 44px) / 3); gap: 20px; }
  .tile-art { min-height: 196px; }
  .styles { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
}
@media (min-width: 1240px) {
  .rail { grid-auto-columns: calc((100% - 64px) / 4); }
  .style { padding: 8px 8px 10px; }
}

/* ---------- stamps or points ---------- */
.modes { padding-block: 80px; }
.duo { display: grid; gap: 14px; max-width: 980px; }
.mode { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 22px; background: var(--s1); }
.mode-art { width: 100%; min-height: 110px; margin-bottom: 10px; }
.mode h3 { font: 800 24px/1.15 var(--f-d); }
:lang(ar) .mode h3 { font-weight: 700; }
.rule { font: 800 19px/1.3 var(--f-t); color: var(--acc-t); }
.rule-2 { font: 600 16px/1.35 var(--f-t); }
.mode-for { color: var(--t2); font-size: 16px; line-height: 1.45; margin-bottom: 12px; }
.mode .btn { margin-top: auto; align-self: flex-start; white-space: normal; line-height: 1.2; text-align: center; }
.modes-foot { margin-top: 24px; color: var(--t2); max-width: 46em; }
@media (min-width: 760px) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .mode { padding: 24px; }
  .mode h3 { font-size: 28px; }
  .rule { font-size: 22px; }
  .rule-2 { font-size: 17px; }
  .mode-for { font-size: 16px; }
}
@media (min-width: 1000px) {
  .duo { max-width: none; }
  .mode { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; align-content: start; padding: 28px; }
  .mode-art { grid-row: 1 / span 6; margin: 0; }
  .mode .btn { margin-top: 12px; }
}
@media (min-width: 1000px) { .modes { padding-block: 112px; } }

/* ---------- phones and team ---------- */
.who { padding-block: 80px; background: var(--s1); }
.who-grid { display: grid; gap: 16px; }
.panel { padding: 22px; border-radius: 24px; background: var(--s0); }
.panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 800 21px/1.2 var(--f-d); letter-spacing: -.01em; }
:lang(ar) .panel h3 { font-weight: 700; }
.panel h3 .ic { width: 28px; height: 28px; color: var(--acc-t); }
.panel > p { color: var(--t2); font-size: 16px; line-height: 1.55; }
.panel > p + p { margin-top: 12px; }
.wallets { list-style: none; margin: 0 0 14px; padding: 0; }
.wallets li { display: grid; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.wallets b { font-weight: 700; white-space: nowrap; }
.wallets span { color: var(--t2); font-size: 15px; line-height: 1.5; }
.roles { margin: 16px 0 0; }
.roles div { padding: 10px 0; border-top: 1px solid var(--line); }
.roles dt { font-weight: 700; }
.roles dd { margin: 2px 0 0; color: var(--t2); font-size: 16px; line-height: 1.5; }
.dots { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.dots li { display: flex; gap: 10px; color: var(--t2); font-size: 16px; line-height: 1.5; }
.dots .dot { width: 22px; height: 22px; margin-top: 2px; transform: rotate(-12deg); }
@media (min-width: 1000px) { .who { padding-block: 112px; } .who-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .panel { padding: 28px; } }

/* ---------- price ---------- */
.price { padding-block: 80px; }
.price-in { display: grid; gap: 24px; }
.price-in > .price-head { margin-bottom: 16px; }
.price-block, .close-block, .price-mini { background-image: none; }
.price-block { padding: 32px 26px; box-shadow: var(--shadow-s); }
.price-stamp { position: absolute; width: 170px; height: 170px; bottom: -44px; inset-inline-end: -36px; color: rgba(255, 255, 255, .2); transform: rotate(14deg); }
.from { position: relative; font: 700 18px/1.2 var(--f-t); color: var(--block-t); }
.amount { position: relative; margin: 6px 0 12px; font: 800 clamp(38px, 5vw, 60px)/1.05 var(--f-d); letter-spacing: -.03em; color: #FFFFFF; }
:lang(ar) .amount { font-weight: 700; letter-spacing: 0; }
.amount .per { font-size: .42em; letter-spacing: 0; white-space: nowrap; }
.amount bdi { white-space: normal; }
.price-sub { position: relative; color: var(--block-t); font-size: 16px; line-height: 1.5; margin-bottom: 22px; }
.amount.pending-h { margin: 0 0 6px; font: 800 clamp(30px, 3.4vw, 40px)/1.1 var(--f-d); }
.from.pending { margin-bottom: 14px; font: 500 16px/1.5 var(--f-t); color: var(--block-t); }
.price-text > h3:first-child { margin-top: 0; }
.price-text h3, .side-text h3 { margin: 24px 0 10px; font: 800 19px/1.25 var(--f-t); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--t2); line-height: 1.5; }
.checks .ic { color: var(--acc-t); margin-top: 2px; }
.facts { margin: 0; }
.facts > div { display: grid; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--t2); }
.price-note { margin-top: 20px; color: var(--t2); font-size: 16px; }
@media (min-width: 760px) { .facts > div { grid-template-columns: 180px 1fr; } }
@media (min-width: 1000px) {
  .price { padding-block: 112px; }
  .price-in { grid-template-columns: 460px minmax(0, 1fr); grid-template-areas: "head head" "block text"; column-gap: 72px; row-gap: 0; align-items: start; }
  .price-in > .price-head { grid-area: head; margin-bottom: 40px; } .price-block { grid-area: block; padding: 44px 40px; position: sticky; top: 100px; } .price-text { grid-area: text; }
}

/* ---------- privacy summary, FAQ, closing ---------- */
.priv { padding-block: 80px; background: var(--s1); }
.three { display: grid; gap: 16px; }
.three article { padding: 24px; border-radius: 24px; background: var(--s0); }
.three h3 { margin-bottom: 8px; font: 800 21px/1.2 var(--f-d); }
:lang(ar) .three h3 { font-weight: 700; }
.three p { color: var(--t2); }
@media (min-width: 900px) { .three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .priv { padding-block: 112px; } }
.faq { padding-block: 80px; }
.faq-in { display: grid; gap: 8px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--s2); color: var(--t1); font: 700 22px/1 var(--f-t); }
.qa details[open] summary::after { content: "−"; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; font: 700 18px/1.35 var(--f-t); cursor: pointer; list-style: none; }
.qa details p { padding: 0 0 20px; color: var(--t2); max-width: 44em; }
@media (min-width: 1000px) { .faq { padding-block: 112px; } .faq-in { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; } }
.close { padding-block: 0 80px; }
.close-block { padding: 40px 26px; }
.close-block h2 { position: relative; color: #FFFFFF; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; max-width: 14em; }
.close-block > p { position: relative; margin: 14px 0 26px; color: var(--block-t); font-size: 18px; max-width: 34em; }
.close-stamp { position: absolute; width: 260px; height: 260px; inset-inline-end: -50px; bottom: -70px; color: rgba(255, 255, 255, .18); transform: rotate(-16deg); }
.on-block-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 6px; min-height: 44px; margin: 0; color: #FFFFFF; font-weight: 600; }
.on-block-link a { display: inline-flex; align-items: center; min-height: 44px; color: #FFFFFF; }
@media (min-width: 1000px) { .close { padding-block: 0 112px; } .close-block { padding: 72px 72px; } .close-stamp { width: 380px; height: 380px; inset-inline-end: 40px; bottom: -90px; } }

/* ---------- footer ---------- */
.foot { padding-block: 56px 36px; background: var(--s1); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.foot-brand { grid-column: 1 / -1; position: relative; }
.foot-brand p { margin-top: 10px; color: var(--t2); max-width: 30em; font-size: 16px; }
.foot-stamp { width: 96px; height: 96px; margin-top: 16px; transform: rotate(-12deg); }
.foot h2 { margin-bottom: 6px; font: 700 15px/1.3 var(--f-t); color: var(--t1); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; min-width: 44px; padding-block: 10px; color: var(--t2); text-decoration: none; font-size: 16px; line-height: 24px; }
.foot li a:hover { color: var(--t1); text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); color: var(--t2); font-size: 14px; line-height: 1.7; }
.foot-legal a { color: var(--t2); }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } .foot-stamp { width: 110px; height: 110px; } .foot li a { padding-block: 4px; } }

/* ---------- inner pages ---------- */
.sub-hero { padding-block: 40px 48px; background: var(--s1); }
.crumbs { margin-bottom: 18px; color: var(--t2); font-size: 15px; }
.crumbs a { display: inline-block; padding-block: 10px; font-weight: 600; }
.sub-hero .lead { margin-top: 18px; }
.facts3 { display: grid; gap: 16px; margin-top: 32px; }
.facts3 article { padding: 22px; border-radius: 24px; background: var(--s0); }
.facts3 h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 800 20px/1.25 var(--f-d); }
:lang(ar) .facts3 h2 { font-weight: 700; }
.facts3 h2 .ic { color: var(--acc-t); width: 26px; height: 26px; }
.facts3 p, .facts3 li { color: var(--t2); font-size: 16px; }
.facts3 b { color: var(--t1); }
.plain { margin: 0; padding-inline-start: 1.1em; display: grid; gap: 8px; color: var(--t2); }
.facts3 .plain { padding: 0; list-style: none; }
@media (min-width: 900px) { .facts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .sub-hero { padding-block: 56px 72px; } }
.jump { margin-top: 28px; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--s0); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--t1); font: 600 15px/1.2 var(--f-t); text-decoration: none; }
.jump a:hover { box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc-t); }
.notes { max-width: 860px; padding-block: 48px 88px; }
.note + .note { margin-top: 40px; }
.note h2 { margin-bottom: 12px; font: 800 26px/1.2 var(--f-d); letter-spacing: -.01em; }
:lang(ar) .note h2 { font-weight: 700; letter-spacing: 0; }
.note p { color: var(--t2); }
.note p + p { margin-top: 10px; }

/* the quote: the trade, the optional fold, the draft, the actions last */
.quote-sec { padding-block: 20px 88px; }
.quote-in { display: grid; gap: 40px; }
.quote { display: grid; gap: 14px; }
.q { margin: 0; padding: 0; border: 0; min-width: 0; }
.q legend { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 0; font: 800 18px/1.2 var(--f-d); }
:lang(ar) .q legend { font-weight: 700; }
.q-n { position: relative; display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2px dashed var(--t2); font: 700 14px/1 var(--f-t); color: var(--t1); }
.q-n .dot { position: absolute; inset: -2px; width: 30px; height: 30px; opacity: 0; transform: rotate(-12deg) scale(1.3); transition: opacity 200ms var(--ease), transform 300ms var(--ease); }
.q.answered .q-n { border-color: transparent; }
.q.answered .q-n .dot { opacity: 1; transform: rotate(-12deg); }
.q.answered .q-n > span { visibility: hidden; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.segq { display: flex; gap: 6px; }
.segq .chip { flex: 1 1 auto; min-width: 52px; }
.chip { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 6px; min-height: 46px; padding: 0 10px 0 14px; border-radius: 14px; border: 1.5px solid var(--ctl); background: var(--s0); color: var(--t1); font: 600 15px/1.2 var(--f-t); cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.segq .chip { justify-content: center; padding: 0 6px; text-align: center; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip:hover { border-color: var(--acc); }
.chip:has(input:checked) { background: var(--acc); border-color: var(--acc); color: var(--on); }
.chip:has(input:focus-visible) { outline: 3px solid var(--acc); outline-offset: 3px; }
/* « Autre »: a text field, lit once it holds a word */
.other { margin-top: 12px; }
.other input:not(:placeholder-shown) { border-color: var(--acc); box-shadow: inset 0 0 0 1.5px var(--acc); }
.q-hint { margin-top: 6px; color: var(--t2); font-size: 15px; line-height: 1.4; }
.q-prev { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.q-prev > h2 { font: 800 20px/1.25 var(--f-d); letter-spacing: -.01em; }
:lang(ar) .q-prev > h2 { font-weight: 700; letter-spacing: 0; }
.q-prev > h2 small { display: block; margin-top: 2px; color: var(--t2); font: 500 14px/1.4 var(--f-t); letter-spacing: 0; }
/* the optional details: one fold, closed, between the question and the draft */
.q-opt > summary, .q-hand > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.q-opt > summary::-webkit-details-marker, .q-hand > summary::-webkit-details-marker { display: none; }
.q-opt > summary { min-height: 64px; padding: 8px 12px 8px 16px; border-radius: 16px; background: var(--s1); font: 800 18px/1.25 var(--f-d); letter-spacing: -.01em; }
:lang(ar) .q-opt > summary { font-weight: 700; letter-spacing: 0; padding: 8px 16px 8px 12px; }
.q-opt > summary::after, .q-hand > summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--s2); color: var(--t1); font: 700 22px/1 var(--f-t); }
.q-opt[open] > summary::after, .q-hand[open] > summary::after { content: "−"; }
.q-opt-h small { display: block; margin-top: 2px; color: var(--t2); font: 500 14px/1.4 var(--f-t); letter-spacing: 0; }
.q-opt-in { display: grid; gap: 14px; padding: 16px 2px 4px; }
.fields { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { color: var(--t2); font: 700 14px/1.3 var(--f-t); }
.handoff:has(.q-copied:not(:empty)) .q-how { display: none; }
.q-opt .q legend { font: 700 16px/1.3 var(--f-t); }
.q-opt .q legend::before { content: none; }
.handoff { display: grid; gap: 10px; padding: 14px; border-radius: 22px; background: var(--s1); }
.q-state { color: var(--t2); font-size: 16px; line-height: 1.45; }
.q-state b { color: var(--t1); }
.q-todo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--t1); }
.q-todo .ic { width: 20px; height: 20px; color: var(--acc-t); }
.q-ok { display: flex; align-items: center; gap: 8px; color: var(--acc-t); font-weight: 700; line-height: 1.3; }
.q-ok .dot { width: 22px; height: 22px; transform: rotate(-12deg); }
.q-state b { display: block; margin-top: 2px; }
.q-req { margin-inline-start: 4px; padding: 3px 9px; border-radius: 999px; background: var(--s2); color: var(--t1); font: 700 14px/1.2 var(--f-t); }
.q.answered .q-req { display: none; }
.q-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.q-acts .btn { min-height: 54px; padding: 0 10px; font-size: 15px; }
@media (max-width: 479px) { .q-acts .btn .ic { display: none; } }
.q-acts .btn > span { min-width: 0; }
/* off until the trade is chosen: the site's « not yet » (a flat tint, quiet words), the reason just above */
.q-acts .btn[aria-disabled="true"] .ic { opacity: .7; }
.quote[data-ready="yes"] .handoff { box-shadow: inset 0 0 0 2px var(--acc); }
.btn .i-done { display: none; }
.btn.done .i-done { display: block; }
.btn.done .i-copy { display: none; }
.btn.done { box-shadow: inset 0 0 0 2px var(--acc); }
.q-copied { color: var(--acc-t); font-weight: 700; font-size: 15px; }
.q-copied:empty { display: none; }
.q-how { color: var(--t2); font-size: 15px; line-height: 1.5; }
.q-mailhead { margin: 0; }
.q-mailhead > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.q-mailhead dt { color: var(--t2); font-weight: 600; font-size: 15px; }
.q-mailhead dd { margin: 0; overflow-wrap: anywhere; }
/* copying the address or the subject by hand: one fold under the actions, the same row for both */
.q-hand > summary { min-height: 48px; color: var(--acc-t); font: 700 15px/1.3 var(--f-t); }
.q-copyrows { margin: 0; }
.q-copyrows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.q-copyrows dt { grid-column: 1 / -1; color: var(--t2); font: 600 14px/1.3 var(--f-t); }
.q-copyrows dd { margin: 0; overflow-wrap: anywhere; }
.q-text { padding: 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--s0); color: var(--t1); font: 400 15px/1.6 var(--f-t); white-space: pre-wrap; overflow-wrap: anywhere; }
.q-privacy { display: flex; gap: 8px; color: var(--t2); font-size: 14px; line-height: 1.5; }
.q-privacy .ic { width: 20px; height: 20px; color: var(--acc-t); }
.q-hero { padding-block: 14px 14px; }
.q-hero .crumbs { margin-bottom: 4px; }
@media (max-width: 759px) { .q-hero .crumbs { display: none; } }
.q-hero .display-2 { font-size: clamp(34px, 5vw, 64px); }
.q-hero .lead { margin-top: 6px; font-size: 16px; line-height: 1.45; }
@media (min-width: 760px) { .handoff { padding: 24px; } .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .q-hero { padding-block: 40px 40px; } .quote-sec { padding-top: 40px; } .q-hero .lead { font-size: 18px; } }
.quote-side { display: grid; gap: 20px; align-content: start; }
.price-mini { padding: 28px 26px; }
.side-text p { color: var(--t2); }
@media (min-width: 760px) { .fields { grid-template-columns: 1fr 1fr; } .field.wide { grid-column: 1 / -1; } .handoff { padding: 28px; } }
@media (min-width: 1000px) { .quote-in { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } .quote-side { position: sticky; top: 100px; } }

/* the guide */
.send { display: grid; gap: 28px; margin-top: 28px; }
.send-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.send-list li { display: flex; gap: 14px; }
.send-list .dot { width: 34px; height: 34px; transform: rotate(-12deg); }
.send-list h2 { font: 800 22px/1.2 var(--f-d); }
:lang(ar) .send-list h2 { font-weight: 700; }
.send-list p { margin-top: 4px; color: var(--t2); }
.send-then { color: var(--t2); }
.send-card { margin: 0; }
.g-block { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 28px 12px; }
.guide-art { width: 160px; flex: none; }
.send-card figcaption { margin-top: 10px; color: var(--t2); font-size: 14px; line-height: 1.5; }
@media (min-width: 1000px) { .send { grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: start; } .send-list { grid-row: 1; } .send-then { grid-column: 1; } .send { grid-template-rows: auto 1fr; } .send-card { grid-column: 2; grid-row: 1 / span 2; } .g-block { gap: 20px; padding: 40px 24px; } .guide-art { width: 240px; } }
.g-sec { padding-block: 72px; }
.g-sec.alt, .t-sec.alt { background: var(--s1); }
.g-grid { display: grid; gap: 16px; }
.g-item { padding: 24px; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line-2); }
.alt .g-item { background: var(--s0); }
.g-item h3 { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; font: 800 22px/1.2 var(--f-d); }
.g-item h3 .ic { width: 28px; height: 28px; margin-top: -1px; color: var(--acc-t); }
:lang(ar) .g-item h3 { font-weight: 700; }
.g-item > p { color: var(--t2); margin-bottom: 8px; }
.g-need { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; font: 700 14px/1.4 var(--f-t); }
.g-need.need { background: var(--acc); color: var(--on); }
.g-need.opt { background: var(--s2); color: var(--t1); }
.g-item .facts > div { grid-template-columns: 1fr; }
@media (min-width: 900px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .g-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-item .facts > div { grid-template-columns: 130px 1fr; } }
.g-lead { margin: -16px 0 28px; }
.g-sec .ctas { margin-top: 28px; }

/* the technical page */
.t-sec { padding-block: 72px; }
.flow { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.flow li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step-mark { position: relative; display: block; width: 34px; height: 34px; flex: none; }
.step-mark .dot { width: 34px; height: 34px; transform: rotate(-12deg); }
.step-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.flow h3 { font: 700 20px/1.3 var(--f-t); }
.flow p { color: var(--t2); margin-top: 4px; }
code { display: inline-block; margin-top: 8px; padding: 4px 8px; border-radius: 8px; background: var(--s2); color: var(--t1); font: 500 14px/1.45 ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: normal; word-break: normal; }
.routes { margin: 0; display: grid; gap: 0; }
.routes > div { display: grid; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.routes dt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.routes dt code { margin: 0; }
.routes dd { margin: 0; color: var(--t2); }
.t-end { margin-top: 36px; }
.dev-flow { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; max-width: 860px; }
.dev-flow li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.dev-flow code { margin: 0; }
.sub-hero .ctas { margin-top: 22px; }
@media (max-width: 479px) { .t-end .btn, .g-sec .ctas .btn, .sub-hero .ctas .btn { flex: 1 1 100%; } }
.verb { padding: 3px 8px; border-radius: 6px; background: var(--acc); color: var(--on); font: 700 14px/1.4 ui-monospace, Menlo, monospace; }
@media (min-width: 900px) { .routes > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .t-sec, .g-sec { padding-block: 96px; } }

/* not found */
.lost { padding-block: 64px 96px; }
.lost-in { display: grid; gap: 32px; align-items: center; }
.lost-art { position: relative; width: 140px; height: 140px; }
.lost-stamp { width: 140px; height: 140px; transform: rotate(-14deg); }
.lost-code { margin-bottom: 10px; font: 700 17px/1.3 var(--f-t); color: var(--acc-t); }
.lost .ctas { flex-direction: column; align-items: stretch; max-width: 360px; }
@media (min-width: 900px) { .lost .ctas { flex-direction: row; align-items: center; max-width: none; } }
.lost .lead { margin-top: 16px; }
.lost .ctas { margin-top: 26px; }
.lost-langs { margin-top: 22px; color: var(--t2); }
.lost-langs a { display: inline-block; padding-block: 10px; }
@media (min-width: 900px) { .lost-in { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; } .lost-art, .lost-stamp { width: 240px; height: 240px; } }

/* ---------- reduced motion: things appear, nothing travels ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal]:not([data-reveal="in"]) { transform: none; }
  html.js [data-reveal] { transition: opacity 300ms linear; }
  html.js [data-reveal="in"] .count { animation: none; }
  .step-mark .dot, .q-n .dot, .btn, .chip { transition: none; }
  * { scroll-behavior: auto !important; }
}
