/* Layout: the app's own magenta-to-purple gradient opens the page as a band;
   white paper below; one phone (drawn like the real app) follows the reader. */
:root {
  --purple: var(--brand-purple, #7a1fa2);
  --magenta: var(--brand-magenta, #e5197e);
  --purple-deep: var(--brand-purple-deep, #5b1e9c);
  --grad: linear-gradient(90deg, var(--magenta) 0%, #a01ea0 55%, #6d1fbf 100%);
  --grad-soft: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 100%);
  --yellow: #f2c01e;
  --curyear: #5b9bd5;
  --ok: #1e9e5a;
  --bad: #d64031;

  --paper: #ffffff;
  --paper-2: #f7f4fb;
  --soft: #f0ebf7;
  --ink: #1f1636;
  --muted: #6c6684;
  --faint: #9a94ac;
  --line: #e9e4f1;
  --line-2: #ddd6ea;
  --accent: var(--purple);
  --accent-2: var(--magenta);
  --hl: #ffd9ec;
  --badge-line: #000000;
  --missing: #b0570a;
  --lift: 0 30px 70px rgba(30, 10, 60, .28);

  /* inside the phone: the app's own light theme */
  --s-bg: #eceaf1; --s-surface: #ffffff; --s-surface-2: #f7f4fb; --s-surface-3: #f0ebf7;
  --s-text: #1f1636; --s-muted: #6c6684; --s-faint: #9a94ac; --s-border: #e9e4f1; --s-border-2: #ddd6ea;
  --s-purple: var(--brand-purple, #7a1fa2); --s-magenta: var(--brand-magenta, #e5197e);
  --s-shadow: 0 8px 24px rgba(40, 18, 70, .10); --s-shadow-sm: 0 2px 8px rgba(40, 18, 70, .07);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, "Courier New", monospace;

  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f0b18; --paper-2: #1a1430; --soft: #291f45; --ink: #f3effb; --muted: #a69fc2; --faint: #7a7296;
    --line: #2e2648; --line-2: #3a3158; --accent: var(--brand-purple-dark, #b975f0); --accent-2: var(--brand-magenta-dark, #f5479f);
    --badge-line: #3a3158; --missing: #f0b35a; --lift: 0 30px 70px rgba(0, 0, 0, .6);
    --s-bg: #0f0b18; --s-surface: #1a1430; --s-surface-2: #221a3a; --s-surface-3: #291f45;
    --s-text: #f3effb; --s-muted: #a69fc2; --s-faint: #7a7296; --s-border: #2e2648; --s-border-2: #3a3158;
    --s-purple: var(--brand-purple-dark, #b975f0); --s-magenta: var(--brand-magenta-dark, #f5479f);
    --s-shadow: 0 10px 30px rgba(0, 0, 0, .5); --s-shadow-sm: 0 2px 10px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f0b18; --paper-2: #1a1430; --soft: #291f45; --ink: #f3effb; --muted: #a69fc2; --faint: #7a7296;
  --line: #2e2648; --line-2: #3a3158; --accent: var(--brand-purple-dark, #b975f0); --accent-2: var(--brand-magenta-dark, #f5479f);
  --badge-line: #3a3158; --missing: #f0b35a; --lift: 0 30px 70px rgba(0, 0, 0, .6);
  --s-bg: #0f0b18; --s-surface: #1a1430; --s-surface-2: #221a3a; --s-surface-3: #291f45;
  --s-text: #f3effb; --s-muted: #a69fc2; --s-faint: #7a7296; --s-border: #2e2648; --s-border-2: #3a3158;
  --s-purple: var(--brand-purple-dark, #b975f0); --s-magenta: var(--brand-magenta-dark, #f5479f);
  --s-shadow: 0 10px 30px rgba(0, 0, 0, .5); --s-shadow-sm: 0 2px 10px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font: 800 12px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.band .eyebrow { color: var(--hl); }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; }
h2.display { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 58ch; }
.band .lede { color: rgba(255, 255, 255, .86); }
.missing { color: var(--missing); font-style: italic; }

/* ------------------------------------------------------------ header */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--purple-deep); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.top-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font: 600 17px/1 var(--display); min-width: 0; }
.brand .logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-only .brand span { display: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { color: inherit; text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent-2); text-decoration-thickness: 2px; }
.over-band .top:not(.scrolled) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.over-band .top { margin-bottom: -69px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 20px; flex-shrink: 0;
  font: 800 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(160, 30, 140, .8);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn:hover { transform: translateY(-1px); }
.over-band .top:not(.scrolled) .btn { background: #fff; color: var(--purple); }

.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 99px; padding: 2px; flex-shrink: 0; }
.lang button { font: 800 12px/1 var(--body); letter-spacing: .06em; border: 0; background: transparent; color: inherit; padding: 6px 9px; border-radius: 99px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--grad); color: #fff; }
.over-band .top:not(.scrolled) .lang { border-color: rgba(255, 255, 255, .45); }
.over-band .top:not(.scrolled) .lang button[aria-pressed="true"] { background: #fff; color: var(--purple); }
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 420px) { .top .btn.small { padding: 9px 12px; } .brand span { max-width: 110px; } }

/* ------------------------------------------------------------ store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-width: 168px; padding: 9px 16px 9px 12px;
  background: #000; color: #fff; border: 1px solid var(--badge-line); border-radius: 11px; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.band .badge { border-color: rgba(255, 255, 255, .25); }
.badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.badge > span { display: grid; line-height: 1.1; }
.badge small { font-size: 10.5px; letter-spacing: .04em; opacity: .85; }
.badge b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .8); }
.badge.soon { cursor: default; }
.badge.soon:hover { transform: none; box-shadow: none; }
/* "Soon" tag: a bright yellow sticker on the corner of each badge until its store link is set */
.badge.soon { position: relative; }
.badge.soon::after {
  content: "Soon"; position: absolute; top: -10px; right: -10px;
  background: #f2c01e; color: #2a1424; border: 2px solid #fff; border-radius: 99px; padding: 3px 9px;
  font: 800 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 6px 14px -4px rgba(242, 192, 30, .8); transform: rotate(8deg);
  animation: soon-pulse 2.2s var(--ease) infinite;
}
:root[data-lang="fr"] .badge.soon::after { content: "Bientôt"; }
.badge.soon:nth-child(2)::after { animation-delay: .3s; }
.badge.soon:nth-child(3)::after { animation-delay: .6s; }
@keyframes soon-pulse {
  0%, 70%, 100% { transform: rotate(8deg) scale(1); box-shadow: 0 6px 14px -4px rgba(242, 192, 30, .8); }
  80% { transform: rotate(-4deg) scale(1.14); box-shadow: 0 0 0 6px rgba(242, 192, 30, .25); }
  90% { transform: rotate(10deg) scale(1.04); }
}

/* ------------------------------------------------------------ the gradient band */
.band {
  color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(255, 255, 255, .16), transparent 60%),
    linear-gradient(135deg, var(--magenta) 0%, #a01ea0 48%, var(--purple-deep) 100%);
}
.hero { padding-block: 128px 88px; }
.hero::after { /* soft rings, like the circles on the app's points card */
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, transparent 54%, rgba(255, 255, 255, .08) 55% 64%, transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--hl); }
.hero .fine { font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 52ch; }
.hero-phone { display: flex; justify-content: center; will-change: transform; }
@media (max-width: 900px) { .hero { padding-block: 108px 64px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ the phone, drawn like the real app
   It is laid out at the app's real size (392 x 812) and scaled down. */
.device { --s: .74; position: relative; flex-shrink: 0; width: calc(392px * var(--s)); height: calc(812px * var(--s)); margin: calc(12px * var(--s)); }
.ph {
  position: absolute; top: 0; left: 0; width: 392px; height: 812px; transform: scale(var(--s)); transform-origin: 0 0;
  background: var(--s-surface); color: var(--s-text); border-radius: 40px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--lift), 0 0 0 11px #0c0812, 0 0 0 12px #241a38; font: 500 14px/1.45 var(--body);
}
.ph svg { display: block; }
.a-status { height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.a-status span:last-child { display: flex; gap: 7px; align-items: center; }
.a-status svg { width: 16px; height: 12px; fill: currentColor; }
.a-bar { flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; background: var(--s-surface); border-bottom: 1px solid var(--s-border); }
.a-logo { display: flex; align-items: center; gap: 10px; }
.a-cc { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; color: #fff; font: 700 17px/1 var(--display); letter-spacing: -1px; box-shadow: var(--s-shadow-sm); }
.a-txt small { display: block; font-size: 9px; letter-spacing: 2px; color: var(--s-faint); font-weight: 700; text-transform: uppercase; }
.a-txt b { font: 600 15px/1.3 var(--display); letter-spacing: .2px; }
.a-txt b i { font-style: normal; color: var(--s-magenta); }
.a-cart { margin-left: auto; position: relative; width: 42px; height: 42px; border-radius: 12px; background: var(--s-surface-2); border: 1px solid var(--s-border); display: grid; place-items: center; color: var(--s-purple); }
.a-cart svg { width: 19px; height: 19px; }
.a-cart b { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.a-screen { flex: 1; position: relative; overflow: hidden; background: var(--s-bg); }
.a-page { position: absolute; inset: 0; padding: 16px 16px 96px; overflow: hidden; }
.tour-phone .a-page { opacity: 0; transform: translateX(26px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.tour-phone .a-page.on { opacity: 1; transform: none; }
.tour-phone .a-page.left { transform: translateX(-26px); }
.a-page.on.left { transform: none; }

/* home */
.a-promo { border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, #6d1330, #c11d5b 48%, #e5197e); color: #fff; padding: 16px 16px 13px; box-shadow: var(--s-shadow); margin-bottom: 16px; }
.a-tag { display: inline-block; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .32); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.a-promo-title { font: 600 23px/1.1 var(--display); margin-top: 9px; }
.a-promo-sub { font-size: 13px; opacity: .92; font-weight: 600; margin-top: 2px; }
.a-swatches { display: flex; gap: 5px; margin-top: 13px; }
.a-swatches i { flex: 1; height: 22px; border-radius: 5px 5px 3px 3px; }
.a-welcome { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; margin-bottom: 14px; }
.a-wtitle { font-size: 15px; color: var(--s-muted); font-weight: 600; }
.a-wname { font: 600 21px/1.25 var(--display); }
.a-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: var(--s-shadow-sm); border: 3px solid var(--s-surface); }
.a-avatar svg { width: 22px; height: 22px; fill: currentColor; }
.a-search { display: flex; align-items: center; gap: 11px; background: var(--s-surface); border: 1px solid var(--s-border-2); border-radius: 30px; padding: 12px 18px; box-shadow: var(--s-shadow-sm); margin-bottom: 20px; color: var(--s-faint); font-weight: 600; }
.a-search svg { width: 16px; height: 16px; color: var(--s-magenta); }
.a-cathead { display: flex; align-items: center; justify-content: space-between; margin: 2px 4px 14px; }
.a-cathead h3 { font: 600 20px/1.2 var(--display); }
.a-cathead span { color: var(--s-magenta); font-weight: 700; font-size: 13.5px; }
.a-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.a-tile { aspect-ratio: 1; border-radius: 14px; background: var(--s-magenta); display: grid; place-items: center; color: #fff; box-shadow: var(--s-shadow-sm); }
.a-tile svg { width: 34px; height: 34px; }
.a-clbl { text-align: center; font-size: 12.5px; font-weight: 600; margin-top: 8px; }

/* shared */
.a-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--s-purple); font-size: 14px; margin-bottom: 14px; padding: 6px 2px; }
.a-back svg { width: 13px; height: 13px; }
.a-shead { font: 600 22px/1.2 var(--display); color: var(--s-magenta); margin: 2px 2px 12px; }

/* shop */
.a-tools { display: flex; gap: 8px; margin-bottom: 14px; }
.a-tools span { flex: 1; background: var(--s-surface-2); border: 1px solid var(--s-border-2); border-radius: 10px; padding: 8px 9px; font-size: 12.5px; font-weight: 600; display: flex; justify-content: space-between; }
.a-tools span::after { content: "⌄"; color: var(--s-faint); }
.a-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-pcard { background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 15px; overflow: hidden; box-shadow: var(--s-shadow-sm); }
.a-pimg { aspect-ratio: 1; position: relative; background: var(--bgc, var(--s-surface-3)); }
.a-pimg::before { content: ""; position: absolute; left: 50%; bottom: 18%; width: 30%; height: 46%; margin-left: -15%; border-radius: 10px 10px 14px 14px; background: var(--fill, #c11d5b); box-shadow: inset -8px 0 0 rgba(0, 0, 0, .12); }
.a-pimg::after { content: ""; position: absolute; left: 50%; bottom: 64%; width: 16%; height: 13%; margin-left: -8%; border-radius: 4px 4px 2px 2px; background: #2a1d35; }
.a-tier { position: absolute; top: 9px; left: 9px; width: 18px; height: 18px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .28); border: 2px solid rgba(255, 255, 255, .85); z-index: 1; }
.a-pbody { padding: 10px 11px 12px; display: grid; gap: 3px; }
.a-ptitle { font-size: 13px; font-weight: 700; line-height: 1.3; }
.a-pref { font-size: 11px; color: var(--s-faint); font-weight: 700; }
.a-stock { font-size: 11px; font-weight: 800; color: var(--ok); display: inline-flex; align-items: center; gap: 5px; }
.a-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.a-price { font: 700 16px/1.3 var(--display); color: var(--s-purple); }

/* orders */
.a-ocard { background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 16px; padding: 15px; box-shadow: var(--s-shadow-sm); margin-bottom: 12px; }
.a-ohead { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 11px; }
.a-onum { font: 700 17px/1.3 var(--display); }
.a-odate { font-size: 11.5px; color: var(--s-faint); font-weight: 600; margin-top: 2px; }
.a-opill { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; background: var(--s-surface-3); color: var(--s-purple); display: inline-flex; align-items: center; gap: 5px; }
.a-opill svg { width: 12px; height: 12px; }
.a-ofoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--s-border-2); padding-top: 11px; }
.a-oamt { font: 700 19px/1 var(--display); color: var(--s-purple); }
.a-det { background: var(--s-surface-2); border: 1px solid var(--s-border-2); border-radius: 24px; padding: 8px 15px; font-weight: 800; font-size: 12.5px; color: var(--s-purple); }
.a-ocard.new { animation: a-pop .7s var(--ease) both; box-shadow: 0 0 0 2px var(--s-magenta), var(--s-shadow-sm); }
@keyframes a-pop { from { opacity: 0; transform: translateY(-16px) scale(.97); } }

/* rewards */
.a-points { background: var(--grad); border-radius: 20px; padding: 20px; color: #fff; box-shadow: var(--s-shadow); position: relative; overflow: hidden; }
.a-points::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.a-points small { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .9; }
.a-pts { font: 700 44px/1.05 var(--display); margin-top: 4px; font-variant-numeric: tabular-nums lining-nums; }
.a-pts span { font-size: 16px; font-weight: 600; opacity: .9; }
.a-note { display: flex; gap: 9px; background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 12px; padding: 11px 13px; font-size: 12px; color: var(--s-muted); margin: 12px 0; box-shadow: var(--s-shadow-sm); }
.a-reward { display: flex; gap: 13px; background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 16px; padding: 12px; box-shadow: var(--s-shadow-sm); margin-bottom: 12px; }
.a-rimg { width: 82px; height: 82px; border-radius: 12px; flex-shrink: 0; position: relative; background: var(--bgc, var(--s-surface-3)); }
.a-rimg::before { content: ""; position: absolute; inset: 26% 22% 20%; border-radius: 8px; background: var(--fill, #7a1fa2); }
.a-rimg::after { content: ""; position: absolute; left: 36%; right: 36%; top: 16%; height: 16%; border: 3px solid var(--fill, #7a1fa2); border-bottom: 0; border-radius: 10px 10px 0 0; }
.a-rbody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.a-rbody h4 { margin: 0 0 3px; font-size: 15px; }
.a-rbody p { font-size: 12px; color: var(--s-muted); line-height: 1.4; }
.a-rfoot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; padding-top: 8px; }
.a-cost { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--s-purple); font-size: 14px; }
.a-cost svg { width: 14px; height: 14px; fill: var(--yellow); }
.a-redeem { background: var(--grad); color: #fff; border-radius: 24px; padding: 8px 16px; font-weight: 800; font-size: 13px; box-shadow: var(--s-shadow-sm); }
.a-redeem.off { background: var(--s-surface-3); color: var(--s-faint); box-shadow: none; font-size: 11.5px; }

/* sales */
.a-chart { background: var(--s-surface); border-radius: 20px; padding: 16px 14px 10px; box-shadow: var(--s-shadow); margin-bottom: 16px; }
.a-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; color: var(--s-muted); }
.a-legend span { display: inline-flex; align-items: center; gap: 6px; }
.a-legend i { width: 11px; height: 11px; border-radius: 50%; }
.a-bars { display: flex; align-items: flex-end; gap: 12px; height: 210px; padding: 0 6px 0 42px; position: relative; }
.a-y { position: absolute; left: 0; top: 0; bottom: 30px; width: 40px; font-size: 9.5px; color: var(--s-faint); display: flex; flex-direction: column; justify-content: space-between; text-align: right; padding-right: 4px; }
.a-b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.a-b > b { font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.a-b > i { width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px; height: var(--h); min-height: 4px; transition: height .9s cubic-bezier(.2, .8, .2, 1); }
.a-bars.idle .a-b > i { height: 4px; }
.a-b > span { font-size: 10px; color: var(--s-muted); font-weight: 600; text-align: center; line-height: 1.2; height: 24px; }
.a-sub { font: 600 20px/1.2 var(--display); color: var(--s-purple); margin: 4px 2px 12px; }
.a-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-scard { background: var(--s-surface); border: 1px solid var(--s-border); border-radius: 16px; padding: 15px 14px; box-shadow: var(--s-shadow-sm); text-align: center; }
.a-scard .t { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--s-magenta); font-weight: 700; font-size: 13.5px; }
.a-scard .t i { width: 12px; height: 12px; border-radius: 50%; }
.a-scard .v { font: 700 22px/1.3 var(--display); color: var(--s-purple); letter-spacing: -.5px; margin-top: 4px; }

/* floating bottom menu */
.a-nav { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 62px; background: var(--grad); border-radius: 34px; display: flex; align-items: center; justify-content: space-around; box-shadow: 0 12px 30px rgba(120, 20, 110, .4); z-index: 30; padding: 0 6px; }
.a-nav > div { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .72); position: relative; transition: background .3s, color .3s, box-shadow .3s; }
.a-nav svg { width: 20px; height: 20px; fill: currentColor; }
.a-nav > div.on { color: #7a1fa2; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.a-nav .dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.a-home { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; background: var(--s-faint); opacity: .5; z-index: 31; }

/* notification that drops into the hero phone */
.push {
  position: absolute; left: 10px; right: 10px; top: 8px; z-index: 50; border-radius: 20px; padding: 12px 14px;
  background: color-mix(in srgb, var(--s-surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); border: 1px solid var(--s-border);
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; align-items: center;
  transform: translateY(-150%); opacity: 0; transition: transform .55s var(--ease), opacity .4s;
}
.push.show { transform: none; opacity: 1; }
.push img { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.push b { font-size: 13.5px; } .push b small { font-weight: 500; color: var(--s-faint); margin-left: 6px; }
.push > span { font-size: 13.5px; color: var(--s-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }

/* sign-in steps (a real sequence, so they are numbered) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; display: grid; gap: 10px; align-content: start; }
.step::before {
  counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font: 700 16px/1 var(--display);
}
.step h3 { font: 700 20px/1.25 var(--body); }
.step p { color: var(--muted); font-size: 16px; }
.step .meta { font-size: 13.5px; font-weight: 700; color: var(--accent-2); }
.code-demo { display: flex; gap: 6px; margin-top: 6px; }
.code-demo i {
  font-style: normal; width: 34px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 10px;
  font: 700 19px/1 var(--display); background: var(--paper-2); transition: border-color .2s, transform .25s var(--ease);
}
.code-demo i.fill { border-color: var(--accent-2); transform: translateY(-2px); }
.code-demo.done i { border-color: var(--ok); }
.cue { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cue .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .3s; }
.code-demo.done + .cue .dot { background: var(--ok); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* tour: sticky phone, scrolling captions */
.tour { background: var(--paper-2); }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.tour-phone { position: sticky; top: 84px; height: calc(100vh - 100px); max-height: 680px; display: flex; align-items: center; justify-content: center; }
.tour-steps { display: grid; }
.tour-step { min-height: 72vh; display: grid; align-content: center; gap: 14px; padding-block: 24px; cursor: pointer; opacity: .35; transition: opacity .5s var(--ease); }
.tour-step.active { opacity: 1; }
.tour-step .eyebrow { display: flex; align-items: center; gap: 10px; }
.tour-step .eyebrow svg { width: 18px; height: 18px; }
.tour-step h3 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.01em; }
.tour-step p { color: var(--muted); max-width: 46ch; }
.tour-step ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.tour-step li { display: flex; gap: 10px; align-items: baseline; }
.tour-step li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex-shrink: 0; transform: translateY(-2px); }
.tour-tabs { display: none; }
@media (max-height: 760px) and (min-width: 901px) { .tour-phone .device { --s: .64; } }
@media (max-width: 900px) {
  .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tour-phone { position: relative; top: 0; height: auto; max-height: none; flex-direction: column; gap: 18px; }
  .tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .tour-tabs button { font: 700 13px/1 var(--body); padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; }
  .tour-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }
  .tour-step { min-height: 0; opacity: 1; padding-block: 18px; border-top: 1px solid var(--line); }
}
@media (max-width: 380px) { .device { --s: .68; } }

/* everything else in the app */
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.extra { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding-block: 22px; border-top: 1px solid var(--line); align-content: start; }
.extra svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--grad); color: #fff; transition: transform .4s var(--ease); }
.extra:hover svg { transform: rotate(-8deg) scale(1.08); }
.extra h3 { font: 700 18px/1.3 var(--body); }
.extra p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .extras { grid-template-columns: minmax(0, 1fr); } }

/* figures */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.spec div { display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 18px; align-items: baseline; padding-block: 22px; border-top: 1px solid var(--line); }
.spec strong {
  font: 700 clamp(34px, 4vw, 48px)/1 var(--display); text-align: right; font-variant-numeric: tabular-nums lining-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec p { color: var(--muted); font-size: 16px; }
.spec p b { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .spec { grid-template-columns: minmax(0, 1fr); } }

/* download */
.download-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; position: relative; z-index: 1; }
.download h2 { font-size: clamp(36px, 5vw, 60px); }
.download .badges { justify-content: flex-end; }
.download .note { font-size: 14px; color: rgba(255, 255, 255, .8); margin-top: 14px; }
@media (max-width: 860px) { .download-grid { grid-template-columns: minmax(0, 1fr); } .download .badges { justify-content: flex-start; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px 44px; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ legal pages */
.legal-head { padding-block: 64px 48px; }
.legal-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 66px); line-height: 1.04; letter-spacing: -.02em; margin-top: 12px; }
.legal-head p { margin-top: 16px; color: rgba(255, 255, 255, .86); max-width: 60ch; }
.legal-head .updated { font: 500 13px/1 var(--mono); color: var(--hl); margin-top: 22px; }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc p { font: 800 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--accent-2); border-left-color: var(--accent-2); }
.prose { max-width: 70ch; min-width: 0; }
.prose section { padding-block: 8px 28px; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.15; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .n { font: 500 13px/1 var(--mono); color: var(--accent-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 6px; }
.prose li::marker { color: var(--accent-2); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); margin-top: 14px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--paper-2); font: 800 11.5px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 700; width: 38%; }
.callout { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--soft); font-size: 15.5px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px 72px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 0 16px; }
  .toc a { border-left: 0; padding-left: 0; }
}

/* ------------------------------------------------------------ English / French */
:root:not([data-lang="fr"]) [data-l="fr"], :root[data-lang="fr"] [data-l="en"] { display: none !important; }

/* ------------------------------------------------------------ scroll reveal (only once JS runs) */
.js .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(32px); }
.js .reveal.above:not(.in) { transform: translateY(-32px); }
.js .reveal.zoom:not(.in) { transform: scale(.94); }

/* toast and logo tester */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; z-index: 80; transition: .35s var(--ease); pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.tester {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: min(340px, calc(100% - 32px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--lift);
  display: grid; gap: 12px; font-size: 14px;
}
.tester h3 { font: 800 15px/1.2 var(--body); }
.tester p { color: var(--muted); }
.tester .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tester button, .tester label.file { font: 700 13px/1 var(--body); border-radius: 99px; padding: 9px 14px; cursor: pointer; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); }
.tester label.file { background: var(--grad); color: #fff; border-color: transparent; }
.tester input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tester .preview { display: flex; gap: 10px; }
.tester .preview div { flex: 1; height: 64px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); }
.tester .preview div:first-child { background: #ffffff; }
.tester .preview div:last-child { background: var(--grad-soft); }
.tester .preview img { max-height: 40px; max-width: 80%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ the client's white logo needs colour behind it:
   header and footer use the app's gradient on every page */
.top {
  background: linear-gradient(90deg, color-mix(in srgb, var(--magenta) 94%, transparent), color-mix(in srgb, #a01ea0 94%, transparent) 55%, color-mix(in srgb, var(--purple-deep) 94%, transparent));
  color: #fff; border-bottom-color: rgba(255, 255, 255, .14);
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration-color: #fff; }
.top .btn { background: #fff; color: var(--purple); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .5); }
.top .lang { border-color: rgba(255, 255, 255, .45); }
.top .lang button[aria-pressed="true"] { background: #fff; color: var(--purple); }
.brand .logo { height: 46px; max-width: 200px; }
/* on the home page the big logo in the hero takes over until you scroll */
.over-band .top .brand { transition: opacity .35s var(--ease); }
.over-band .top:not(.scrolled) .brand { opacity: 0; pointer-events: none; }
.hero-logo { display: block; height: clamp(70px, 9vw, 104px); width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 6px; }
.foot { background: linear-gradient(135deg, var(--purple-deep), #3a0f5e); color: rgba(255, 255, 255, .78); border-top: 0; }
.foot .brand, .foot nav a { color: #fff; }
.foot .brand .logo { height: 60px; max-width: 240px; }
img.a-cc { padding: 0; object-fit: cover; background: #fff; }
.push img { background: #fff; }
