/* Evy homepage, November 2026.
   Loaded after redesign.css, which still provides the shared navigation and
   footer markup rules. Everything here is scoped to body.ev-home.
   Brand rule: primary calls to action are text-only. Do not add arrows. */

.ev-home {
  --ink: #271d35;
  --ink-soft: #4b4257;
  --muted: #696173;
  --violet: #6335e8;
  --violet-deep: #4e23c6;
  --violet-soft: #b9a4ff;
  --lav-50: #faf8fe;
  --lav-100: #f3effc;
  --lav-200: #e7defa;
  --line: #e8e3ed;
  --night: #150d26;
  --night-line: #ffffff24;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 56px;
  --wrap: min(1200px, calc(100% - var(--gutter) * 2));
  --section: 136px;
  /* Two voices (13 November 2026). Text: Hanken Grotesk. Display: Fraunces at one weight, soft,
     for titles, figures and quotations; never ask it for a bolder weight, the file has only 400. */
  --font-text: 'Hanken Grotesk', 'Hanken Grotesk Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Fraunces Fallback', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  /* The names ending in Fallback are faces of fonts/fonts.css: fonts the visitor already has, sized to
     stand where ours will until ours arrive, so the page does not jump. The page title has its own
     (--font-title, the display voice again): Fraunces narrows as it grows, so the largest title of a
     page needs another scale than the rest. */
  --font-title: 'Fraunces', 'Fraunces Title Fallback', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
.ev-home .wrap { width: var(--wrap); margin-inline: auto; }
.ev-home main { overflow-x: clip; }
.ev-home .anchor { position: absolute; }

/* ---------- Type ---------- */
.ev-home .display {
  margin: 0;
  font-size: clamp(46px, 6.7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.032em;
  text-wrap: balance;
  font-family: var(--font-title);
  font-variation-settings: 'SOFT' 100;
}
.ev-home:lang(fr) .display { font-size: clamp(42px, 6.2vw, 82px); }
.ev-home h2 {
  margin: 0;
  font-size: clamp(35px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.028em;
  text-wrap: balance;
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100;
}
.ev-home h3 { margin: 0; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
.ev-home p { margin: 0; }
.ev-home .lead { font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: pretty; letter-spacing: -.006em; }
.ev-home .eyebrow { margin: 0 0 18px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--violet); }

/* ---------- Shared navigation, refined for the homepage ---------- */
.ev-home .evy-nav { background: #ffffffd9; backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); }
.ev-home .evy-nav__inner { width: var(--wrap); height: 76px; gap: 48px; }
.ev-home .evy-nav .evy-logo { width: 84px; }
.ev-home .evy-nav__links { gap: 30px; }
.ev-home .evy-nav__links > a, .ev-home .evy-login { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); transition: color .2s; }
.ev-home .evy-nav__links > a:hover, .ev-home .evy-login:hover { color: var(--ink); }
.ev-home .evy-nav__actions { gap: 22px; }

/* ---------- Buttons and links ---------- */
.ev-home .evy-button {
  min-height: 48px;
  padding: 12px 22px;
  gap: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.ev-home .evy-button:hover { background: var(--violet-deep); box-shadow: 0 8px 22px -8px #6335e8aa; }
.ev-home .evy-button:active { transform: scale(.985); }
.ev-home .evy-button--small { min-height: 40px; padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.ev-home .evy-button--white { background: #fff; color: var(--ink); }
.ev-home .evy-button--white:hover { background: var(--lav-100); color: var(--ink); box-shadow: none; }
.ev-home .link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); transition: color .2s; }
.ev-home .link-arrow > svg { width: 16px; height: 16px; flex: none; }
.ev-home a.link-arrow:hover, .ev-home a:hover > .link-arrow, .ev-home a:hover .story__body > .link-arrow { color: var(--violet); }
.ev-home .pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #ffffffb3; font-size: 14px; line-height: 1.4; color: var(--ink-soft); transition: border-color .2s, color .2s; }
.ev-home .pill:hover { border-color: #cdbff5; color: var(--ink); }
.ev-home .pill__tag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--lav-100); color: var(--violet); font-size: 13px; font-weight: 600; }
.ev-home .pill__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-home .pill > svg { width: 14px; height: 14px; flex: none; color: var(--muted); }

/* ---------- Hero ---------- */
.ev-home .hero { position: relative; padding: 56px 0 0; }
.ev-home .hero::before { content: ''; position: absolute; inset: -76px 0 auto; height: 720px; z-index: -1; background: radial-gradient(58% 62% at 50% 0%, #efe8ff 0%, #f8f5ff 42%, #fff 100%); }
.ev-home .hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ev-home .hero .display { max-width: 1040px; margin-top: 28px; }
.ev-home .hero__lead { max-width: 680px; margin-top: 28px; font-size: 21px; line-height: 1.55; color: var(--muted); text-wrap: pretty; letter-spacing: -.008em; }
.ev-home .hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 36px; }
/* The hero picture is a grid of tiles with its own corners and gaps: it sits on the page with no frame of its own */
.ev-home .hero__art { position: relative; margin: 64px 0 0; }
/* (the picture's own image: the pieces of the After purchase tile set over it are sized by hero-after.css) */
.ev-home .hero__art picture img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 668; }
/* A hairline keeps every art frame defined where a white window meets the white page */
.ev-home :is(.moment__art, .tile__art)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #271d3512; pointer-events: none; }

/* ---------- Customer logos ---------- */
.ev-home .logos { padding: 72px 0 0; }
.ev-home .logos__label { margin-bottom: 30px; text-align: center; font-size: 14px; color: var(--muted); }
.ev-home .logos__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ev-home .logos__row > * { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.ev-home .logos__row img { width: 100%; max-width: 138px; max-height: 28px; object-fit: contain; filter: grayscale(1) brightness(.3); opacity: .8; transition: opacity .2s var(--ease), filter .2s var(--ease); }
.ev-home .logos__row .af-logo--upway { transform: translateY(3px) scale(.88); }
.ev-home .logos__row img[alt='Sofinco'] { max-height: 23px; }
.ev-home .logos__row img[alt='Edenred'] { height: 44px; max-height: 44px; }
/* Edenred's mark is narrow: on one row its cell is narrower too, so it stands as close to Sofinco as the other logos stand to each other */
@media (min-width: 861px) { .ev-home .logos__row > :has(img[alt='Edenred']) { flex: .65; min-width: 76px; } }
.ev-home .logos__row img[alt='Back Market'], .ev-home .logos__row img[alt='Intersport'] { max-height: 24px; }
.ev-home .logos__row > :is(:hover, :focus-visible) img { filter: none; opacity: 1; }
/* Testimonial cards shown by partner-logos.js on hover or focus */
.partner-card{--brand:#6335e8;--brand-fg:#fff;position:fixed;z-index:60;top:0;left:-9999px;width:320px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;background:var(--brand);color:var(--brand-fg);border-radius:18px;box-shadow:0 1px 2px #0a0a0a0f,0 10px 24px -8px #0a0a0a2e;padding:20px 20px 18px;font-family:var(--font-text,'Hanken Grotesk',sans-serif);opacity:0;visibility:hidden;transform:translateY(10px) scale(.98);transform-origin:bottom center;transition:opacity .28s cubic-bezier(.4,0,.2,1),transform .38s cubic-bezier(.22,1,.36,1),visibility 0s .38s;pointer-events:none}
.partner-card.is-open{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;transition-delay:0s}
.partner-card.is-below{transform-origin:top center}
.partner-card__mark{display:block;width:25px;height:auto;margin:0 0 13px;color:var(--brand-fg);opacity:.9}
.partner-card__quote{font-size:14.5px;line-height:1.55;letter-spacing:-.005em;color:var(--brand-fg);margin:0 0 18px}
.partner-card__person{display:flex;align-items:center;gap:11px;margin:0}
.partner-card__avatar{width:52px;height:52px;flex:none;border-radius:12px;object-fit:cover;background:color-mix(in srgb,var(--brand-fg) 18%,var(--brand));box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-fg) 14%,transparent)}
.partner-card__name{display:block;font-size:15px;font-weight:600;line-height:1.25;color:var(--brand-fg)}
.partner-card__role{display:block;font-size:12.5px;line-height:1.3;margin-top:3px;color:var(--brand-fg)}
@media(prefers-reduced-motion:reduce){.partner-card,.partner-card.is-open{transition:none;transform:none}}

/* ---------- Sections ---------- */
.ev-home .section { position: relative; padding: var(--section) 0; }
.ev-home .section__head { max-width: 820px; margin-bottom: 64px; }
.ev-home .section__head .lead { max-width: 700px; margin-top: 24px; }
.ev-home .section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.ev-home .section__head--split > div { max-width: 760px; }
.ev-home .section__head--split > .link-arrow { flex: none; margin-bottom: 10px; }

/* ---------- What Evy is ---------- */
.ev-home .intro__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.ev-home .intro__head .lead { padding-top: 10px; }
.ev-home .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; margin: 88px 0 0; }
.ev-home .stat { padding-top: 24px; border-top: 1px solid var(--line); }
.ev-home .stat dt { font-size: clamp(40px, 4.4vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-variant-numeric: lining-nums; }
.ev-home .stat dd { max-width: 26ch; margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.ev-home .source { margin-top: 28px; font-size: 14px; color: var(--muted); }
.ev-home .source--dark { color: #ffffff8c; }
.ev-home .pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 72px 0 0; padding: 0; list-style: none; }
.ev-home .pillars li { padding: 32px; border-radius: 24px; background: var(--lav-50); }
.ev-home .pillars svg { width: 28px; height: 28px; margin-bottom: 44px; color: var(--violet); }
.ev-home .pillars h3 { margin-bottom: 10px; font-size: 22px; }
.ev-home .pillars p { font-size: 16px; color: var(--muted); text-wrap: pretty; }

/* ---------- Sell: four moments and an index that follows the reader ----------
   The index stays in view while the moments scroll past. home.js marks the
   moment being read and sets --progress (0 to 1) on its link, from the scroll
   position alone. Without the script the index is a plain list of links. */
.ev-home .sell { padding-top: 0; }
.ev-home .moments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); column-gap: 72px; align-items: start; }
/* 112px is the page's scroll-padding: a moment reached from the index lands level with it */
.ev-home .moments__index { position: sticky; top: 112px; }
.ev-home .moments__index ol { display: grid; gap: 8px; width: min(100%, 216px); margin: -10px 0 0; padding: 0; list-style: none; }
.ev-home .moments__index a { position: relative; display: block; padding: 10px 0 12px; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--muted); transition: color .4s var(--ease); }
.ev-home .moments__index a:hover { color: var(--ink); }
.ev-home .moments__index a:focus-visible { outline-offset: 4px; border-radius: 4px; }
.ev-home .moments__index a::before, .ev-home .moments__index a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; }
.ev-home .moments__index a::before { height: 1px; background: var(--line); }
.ev-home .moments__index a::after { height: 2px; background: var(--violet); transform: scaleX(var(--progress, 0)); transform-origin: 0 50%; }
.ev-home .moments__index a[aria-current] { color: var(--ink); }
/* A moment that has been read lets go of its line, towards the next one */
.ev-home .moments__index a.is-read::after { transform: scaleX(0); transform-origin: 100% 50%; }
.ev-home .moments__list { display: grid; gap: 120px; }
.ev-home .moment__label { display: none; margin-bottom: 10px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ev-home .moment h3 { font-size: clamp(27px, 2.6vw, 34px); font-weight: 400; line-height: 1.14; letter-spacing: -.022em; text-wrap: balance; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; }
/* The title takes focus when its moment is chosen from the index; it is not a control */
.ev-home .moment h3:focus { outline: none; }
.ev-home .moment__text { max-width: 540px; margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.ev-home .moment__art { position: relative; margin: 28px 0 0; border-radius: 24px; overflow: hidden; background: var(--lav-100); }
/* The picture alone: the agents' characters set over the third moment's are placed by agent-cast.css */
.ev-home .moment__art > picture > img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 440; }
.ev-home .ticks { display: grid; gap: 12px; margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); list-style: none; }
.ev-home .ticks li { position: relative; padding-left: 30px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.ev-home .ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--lav-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236335e8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.2 10.3 2.5 2.5 5.1-5.6'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ev-home .moment .ticks { gap: 10px; margin-top: 24px; padding-top: 0; border-top: 0; }

/* ---------- Serve: built to say yes ---------- */
.ev-home .yes { background: radial-gradient(70% 60% at 0% 0%, #2b1c57 0%, transparent 60%), radial-gradient(50% 40% at 100% 100%, #23164a 0%, transparent 65%), var(--night); color: #fff; }
.ev-home .yes .eyebrow { color: var(--violet-soft); }
.ev-home .yes .lead { color: #ffffffb8; }
.ev-home .yes__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.ev-home .yes__head .lead { padding-top: 48px; }
.ev-home .stats--dark { margin-top: 80px; }
/* Three figures since 17 November 2026: one row, or one column on phones, never two and an orphan */
.ev-home .stats.stats--dark { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .ev-home .stats.stats--dark { grid-template-columns: 1fr; } }
.ev-home .stats--dark .stat { border-top-color: var(--night-line); }
.ev-home .stats--dark .stat dd { color: #ffffffa6; }
.ev-home .yes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 540px)); justify-content: space-between; gap: 32px; margin-top: 72px; }
.ev-home .yes-card__art { margin: 0 0 28px; border-radius: 24px; overflow: hidden; background: #1a1130; box-shadow: inset 0 0 0 1px #ffffff14; }
.ev-home .yes-card__art img { display: block; width: 100%; height: auto; aspect-ratio: 540 / 460; }
.ev-home .yes-card h3 { font-size: 22px; }
.ev-home .yes-card p { max-width: 52ch; margin-top: 10px; font-size: 16px; color: #ffffffb3; text-wrap: pretty; }

/* ---------- Grow: after-sale tiles ---------- */
/* Three pictures across the full width, 384 x 300 each at the page's full width (they were 360 x 280 with wide gaps):
   the user found their contents very large for their containers, so the containers grew and the contents kept their size */
.ev-home .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ev-home .tile__art { position: relative; margin-bottom: 24px; border-radius: 24px; overflow: hidden; background: var(--lav-100); }
.ev-home .tile__art img { display: block; width: 100%; height: auto; aspect-ratio: 384 / 300; }
.ev-home .tile h3 { font-size: 22px; }
.ev-home .tile p { max-width: 40ch; margin-top: 8px; color: var(--muted); text-wrap: pretty; }

/* ---------- Customers ---------- */
.ev-home .customers { background: var(--lav-50); }
.ev-home .story { position: relative; display: block; color: inherit; }
.ev-home .story__link { color: inherit; }
.ev-home .story__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ev-home .story__link:focus-visible { outline: none; }
.ev-home .story:has(.story__link:focus-visible) { outline: 3px solid #9473f4; outline-offset: 4px; }
.ev-home .story:hover .story__link.link-arrow { color: var(--violet); }
.ev-home .story__media { overflow: hidden; border-radius: 20px; background: var(--lav-200); }
.ev-home .story__media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s var(--ease); }
.ev-home .story:has(.story__link):hover .story__media img { transform: scale(1.03); }
.ev-home .story__logo { width: auto; height: 22px; max-width: 130px; margin: 22px 0 14px; object-fit: contain; object-position: left center; filter: grayscale(1) brightness(.3); }
.ev-home .story h3 { font-size: 20px; text-wrap: balance; }
.ev-home .story p { margin-top: 8px; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.ev-home .story--feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-bottom: 24px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px #271d350a, 0 24px 48px -32px #271d3540; }
.ev-home .story--feature .story__media { border-radius: 0; }
.ev-home .story--feature .story__media img { aspect-ratio: auto; min-height: 100%; }
.ev-home .story--feature .story__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 56px 64px; }
.ev-home .story--feature .story__logo { height: 26px; margin: 0 0 32px; filter: none; }
.ev-home .story blockquote { margin: 0; }
.ev-home .story blockquote p { margin: 0; font-size: clamp(24px, 2.6vw, 33px); font-weight: 400; line-height: 1.26; letter-spacing: -.018em; color: var(--ink); text-wrap: pretty; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; }
.ev-home .story .story__who { display: grid; gap: 2px; margin: 28px 0 32px; font-size: 15px; color: var(--muted); }
.ev-home .story__who strong { font-weight: 600; color: var(--ink); }
.ev-home .stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ev-home .stories .story { padding: 12px 12px 24px; border-radius: 24px; background: #fff; }
.ev-home .stories .story__media { border-radius: 14px; }
.ev-home .stories .story > :not(.story__media) { margin-inline: 12px; }

/* ---------- Europe and trust ---------- */
/* The words on the left, the globe on the right (deploy-map/make-deploy-map.py draws it: the United States and
   Europe on one ball, user requests of 13 November 2026). The ball fills its column and has no outline. */
.ev-home .europe__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ev-home .europe__copy .lead { margin-top: 24px; }
.ev-home .facts { display: grid; margin: 40px 0 0; padding: 0; list-style: none; }
.ev-home .facts li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.ev-home .facts strong { font-weight: 600; color: var(--ink); }
.ev-home .europe__map img { display: block; width: 100%; height: auto; }
/* The live globe (deploy-globe.js): the ball as a picture, and over it two canvases that draw again the soft light
   under the markets and the dots, each dot where the still picture has it, so that they can move away from the
   pointer and turn with the ball. The dots' canvas is a little larger than the picture (EDGE in the script), for a
   dot pushed past the ball's edge; the light's is small and stretched, since it is a blur. Shown only once ready;
   until then, with reduced motion and without the script, the still picture is what is seen.
   The ball can be turned by hand (user request of 15 November 2026). The pointer keeps its look over the ball and
   changes only while the ball is held, to a closed hand (user decision of 16 November 2026: no open hand on
   hover; the script marks the host `is-held` during the turn). Under a finger, moving across turns it; moving up
   or down still scrolls the page, and two fingers still zoom it. */
.ev-home .europe__map { position: relative; }
.ev-home .dgl { position: absolute; inset: 0; background: center / 100% 100% no-repeat; visibility: hidden; pointer-events: none; }
.ev-home .dgl canvas { position: absolute; display: block; max-width: none; }
.ev-home .dgl__light { inset: 0; width: 100%; height: 100%; }
.ev-home .dgl__dots { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
.ev-home .europe__map.is-live .dgl { visibility: visible; }
.ev-home .europe__map.is-live picture { visibility: hidden; }
.ev-home .europe__map.is-live { touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.ev-home .europe__map.is-held { cursor: grabbing; }
.ev-home .trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 96px 0 0; padding: 48px 0 0; border-top: 1px solid var(--line); list-style: none; }
.ev-home .trust__seal { display: flex; align-items: center; height: 64px; margin-bottom: 24px; }
.ev-home .trust__seal img { width: auto; height: 40px; max-width: 170px; object-fit: contain; }
.ev-home .trust__seal--soc2 img, .ev-home .trust__seal--gdpr img { height: 64px; }
.ev-home .trust h3 { min-height: 2.5em; font-size: 18px; }
.ev-home .trust p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---------- Developers ---------- */
.ev-home .dev { background: radial-gradient(60% 70% at 100% 0%, #2b1c57 0%, transparent 60%), var(--night); color: #fff; }
.ev-home .dev__grid { display: grid; grid-template-columns: minmax(0, 512fr) minmax(0, 640fr); gap: 48px; align-items: center; }
.ev-home .dev .eyebrow { color: var(--violet-soft); }
.ev-home .dev .lead { margin-top: 24px; color: #ffffffb8; }
.ev-home .dev__list { display: grid; gap: 0; margin: 36px 0 40px; padding: 0; list-style: none; }
.ev-home .dev__list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--night-line); font-size: 16px; color: #ffffffb3; }
.ev-home .dev__list li:last-child { border-bottom: 1px solid var(--night-line); }
.ev-home .dev__list strong { font-weight: 600; color: #fff; }
/* The picture is the h-api Stageshow still, a tile on the section's night: a Claude Code session in a terminal, in front
   of a retailer's cart, on a field of Evy's iris. 640 wide at its design size. The session plays over it (api-play.css). */
.ev-home .dev__art { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: #eadffa; }
.ev-home .dev__art img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 600; }

/* ---------- Closing ---------- */
/* The page ends on one field (user request of 13 November 2026, after the foot of incident.io, "où on
   dirait une sorte de soleil", in colours that are Evy's own). A dome of Evy violet rises out of the
   white page. Its rim warms as it thins, rose then coral then peach, as the hero's "Evy iris" grounds
   do. The invitation and the footer both stand on the dome, under film grain.
   There is no light or sun in it: a pale light stood in the rim, then low on the right, and the user
   had it taken out ("enlève le soleil, il ne rend pas bien"). Do not put one back.
   Everything is measured from the top of the field, so the dome keeps its place above the words
   whatever the footer's height. --bed is the dome's height to its middle, --dawn the white
   left above it, --rise how far down the violet becomes whole (the outer 40% of the dome's radius is
   its rim). The words begin below --rise: white type needs the whole violet behind it, and every run
   of text on the field is held to WCAG's contrast by qa-home.
   This block is the same in home.css and site.css: change both. */
.ev-home .finale { position: relative; isolation: isolate; overflow: hidden; background: #fff; color: #fff; --dawn: 48px; --bed: 760px; --rise: calc(var(--bed) * .4); }
.ev-home .finale::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  /* The dome is the upper half of an ellipse: its two layers are painted in a box that ends at the ellipse's
     middle, so that the lower half never comes back as a second rim behind the footer. */
  --cap: 50% 0 / 100% calc(var(--dawn) + var(--bed)) no-repeat;
  background:
    /* a lighter violet lifts the left, a deeper one settles at the foot */
    radial-gradient(ellipse 50% 420px at 14% calc(var(--dawn) + var(--bed) * .8), #8a66f25c 0%, #8a66f200 100%),
    linear-gradient(to bottom, #4a22c400 calc(var(--dawn) + var(--bed)), #4a22c4e6 100%),
    /* the rim warms as the violet thins: rose, then coral, then peach, then the page */
    radial-gradient(ellipse 150% var(--bed) at 50% 100%, #ee8cc400 58%, #ee8cc480 71%, #f6a09a8c 82%, #fcd0bd73 92%, #fcd0bd00 100%) var(--cap),
    /* the dome: whole for the inner 60% of its radius, thinning to nothing at its rim, and the field under it */
    radial-gradient(ellipse 150% var(--bed) at 50% 100%, #6335e8 0%, #6335e8 60%, #6335e8f7 66%, #6335e8e6 72%, #6335e8c7 78%, #6335e899 84%, #6335e866 89%, #6335e838 93.5%, #6335e814 97%, #6335e800 100%) var(--cap),
    linear-gradient(to bottom, #6335e800 calc(var(--dawn) + var(--bed) - 1px), #6335e8 calc(var(--dawn) + var(--bed)));
}
/* Film grain, as on every Evy ground. Over the white of the page it leaves nothing. */
.ev-home .finale::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: overlay; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.1 -.1'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
}
.ev-home .cta { padding: calc(var(--dawn) + var(--rise) + 24px) 0 104px; text-align: center; }
.ev-home .cta .wrap { display: flex; flex-direction: column; align-items: center; }
.ev-home .cta h2 { max-width: 16em; font-size: clamp(37px, 4.7vw, 62px); line-height: 1.06; color: #fff; text-wrap: balance; }
.ev-home .cta p { max-width: 540px; margin: 24px 0 36px; font-size: 19px; line-height: 1.55; color: #fffffff5; text-wrap: pretty; letter-spacing: -.006em; }
.ev-home .finale :focus-visible { outline-color: #fff; }

/* ---------- Shared footer, refined for the homepage ---------- */
.ev-home .evy-footer { padding: 80px 0 32px; }
.ev-home .evy-footer .evy-container { width: var(--wrap); }
.ev-home .evy-footer__top { padding-bottom: 72px; }
/* The footer carries Evy's mark alone, without the wordmark (user decision of 13 November 2026) */
.ev-home .evy-footer__brand .evy-logo--mark { width: 32px; }
.ev-home .evy-footer__brand p { font-size: 15px; }
.ev-home .evy-footer__brand p.evy-footer__location { font-size: 14px; }
.ev-home .evy-footer__column { gap: 12px; }
.ev-home .evy-footer__column h2 { margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0; font-family: var(--font-text); font-variation-settings: normal; }
.ev-home .evy-footer__column a { font-size: 14px; }
.ev-home .evy-footer__bottom { font-size: 13px; }
/* On the field the footer takes its colours from it: white type, no ground of its own */
.ev-home .finale .evy-footer { background: none; color: #fff; }
.ev-home .finale .evy-footer__brand p, .ev-home .finale .evy-footer__column h2 { color: #fff; }
.ev-home .finale .evy-footer__column a, .ev-home .finale .evy-footer__bottom, .ev-home .finale .evy-footer__legal a { color: #ffffffeb; }
.ev-home .finale .evy-footer__column a:hover, .ev-home .finale .evy-footer__legal a:hover { color: #fff; }
.ev-home .finale .evy-footer__bottom { border-top-color: #ffffff33; }
/* The company's legal details, under the footer's last line (user request of 17 November 2026) */
.ev-home .evy-footer__company { margin: 18px 0 0; max-width: 92ch; font-size: 12px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.ev-home .finale .evy-footer__company { color: #ffffffeb; }
.ev-home .finale .evy-brand, .ev-home .finale .evy-logo { color: #fff; }
/* The language button is white on the field; the menu it opens keeps its own white card and dark type */
.ev-home .finale .lang-pick__trigger { --ink: #fff; --muted: #ffffffe0; --muted-2: #ffffffc2; --bg-alt: #ffffff24; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .ev-home [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .ev-home [data-reveal].is-in { opacity: 1; transform: none; }
  /* A moment only fades in: its place on the page is what the index measures */
  .js .ev-home .moment[data-reveal] { transform: none; }
  .js .ev-home .hero__copy > * { animation: ev-rise .9s var(--ease) both; }
  .js .ev-home .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .js .ev-home .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .js .ev-home .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .js .ev-home .hero__art { animation: ev-rise 1.1s .22s var(--ease) both; }
  .ev-home .moments__index a::after { transition: transform .12s linear; }
  .ev-home .moments__index a.is-read::after { transition: transform .5s var(--ease); }
}
@keyframes ev-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  /* Too narrow for the wide still at its design size: the compact design, at a fixed width */
  .ev-home .dev__grid { grid-template-columns: minmax(0, 1fr) 400px; }
  .ev-home .dev__art img { aspect-ratio: 358 / 496; }
}
@media (max-width: 1080px) {
  .ev-home { --gutter: 32px; --section: 104px; }
  .ev-home .evy-nav__inner { height: 68px; }
  .ev-home .evy-nav__links { top: 67px; padding: 12px var(--gutter) 24px; }
  .ev-home .evy-nav__links > a { font-size: 17px; padding: 14px 0; color: var(--ink); }
  .ev-home .intro__head, .ev-home .yes__head { grid-template-columns: 1fr; gap: 24px; }
  .ev-home .intro__head .lead, .ev-home .yes__head .lead { max-width: 700px; padding-top: 0; }
  .ev-home .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
  .ev-home .pillars { margin-top: 56px; }
  .ev-home .pillars li { padding: 26px; }
  .ev-home .pillars svg { margin-bottom: 28px; }
  .ev-home .europe__grid { gap: 48px; }
  .ev-home .moments { column-gap: 48px; }
  .ev-home .moments__list { gap: 104px; }
  .ev-home .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-home .story--feature .story__body { padding: 40px; }
  .ev-home .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .ev-home .trust h3 { min-height: 0; }
  .ev-home .facts li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 860px) {
  .ev-home .hero { padding-top: 40px; }
  .ev-home .hero__lead { font-size: 19px; }
  .ev-home .hero__art { margin-top: 48px; }
  .ev-home .logos__row { flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
  .ev-home .logos__row > * { flex: 0 0 calc((100% - 84px) / 4); }
  .ev-home .pillars { grid-template-columns: 1fr; gap: 16px; }
  .ev-home .pillars li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 20px; }
  .ev-home .pillars svg { grid-row: span 2; margin: 2px 0 0; }
  .ev-home .moments { grid-template-columns: 168px minmax(0, 1fr); column-gap: 40px; }
  .ev-home .yes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
  .ev-home .yes-card__art img { aspect-ratio: 1 / 1; }
  .ev-home .yes-card__art { margin-bottom: 22px; }
  .ev-home .tiles { grid-template-columns: 1fr; gap: 24px; }
  .ev-home .tile { display: grid; grid-template-columns: min(340px, 48%) minmax(0, 1fr); gap: 4px 32px; align-content: center; }
  .ev-home .tile__art { grid-row: span 2; margin-bottom: 0; }
  .ev-home .tile h3 { align-self: end; }
  .ev-home .story--feature { grid-template-columns: 1fr; }
  .ev-home .story--feature .story__media img { aspect-ratio: 16 / 10; min-height: 0; }
  .ev-home .europe__grid, .ev-home .dev__grid { grid-template-columns: 1fr; }
  /* Stacked, the picture takes the column's width like the rules above it */
  .ev-home .dev__art img { aspect-ratio: 640 / 600; }
  .ev-home .europe__map { width: min(100%, 460px); margin: 0 auto; }
  .ev-home .finale { --bed: 660px; }
  .ev-home .cta { padding-bottom: 80px; }
  .ev-home .section__head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 640px) {
  .ev-home { --gutter: 20px; --section: 80px; }
  .ev-home .lead { font-size: 18px; }
  .ev-home .section__head { margin-bottom: 40px; }
  /* On a phone the badge's sentence takes two lines rather than end in an ellipsis */
  .ev-home .pill { padding-block: 7px; border-radius: 20px; font-size: 13px; text-align: left; }
  .ev-home .pill__text { overflow: visible; white-space: normal; text-wrap: balance; }
  .ev-home .hero .display { margin-top: 22px; }
  .ev-home .hero__lead { margin-top: 20px; }
  .ev-home .hero__actions { margin-top: 28px; }
  .ev-home .logos { padding-top: 56px; }
  .ev-home .logos__row > * { flex-basis: calc((100% - 28px) / 2); }
  .ev-home .stats { gap: 32px 20px; margin-top: 48px; }
  .ev-home .stat { padding-top: 18px; }
  .ev-home .stat dd { font-size: 15px; }
  .ev-home .moment__art { margin-top: 22px; }
  .ev-home .moment__art, .ev-home .yes-card__art, .ev-home .tile__art, .ev-home .dev__art { border-radius: 18px; }
  .ev-home .moment__art > picture > img { aspect-ratio: 1 / 1; }
  .ev-home .yes__grid { grid-template-columns: 1fr; gap: 48px; }
  .ev-home .tiles { gap: 44px; }
  .ev-home .tile { display: block; }
  .ev-home .tile__art { max-width: 384px; margin-bottom: 22px; }
  .ev-home .stories { grid-template-columns: 1fr; gap: 16px; }
  .ev-home .stories .story__media img { aspect-ratio: 16 / 10; }
  .ev-home .story--feature .story__body { padding: 28px 24px 32px; }
  .ev-home .trust { grid-template-columns: 1fr; gap: 36px; margin-top: 64px; padding-top: 40px; }
  .ev-home .trust__seal { height: auto; min-height: 44px; margin-bottom: 16px; }
  .ev-home .dev__art img { aspect-ratio: 358 / 496; }
  .ev-home .finale { --dawn: 28px; --bed: 500px; }
  .ev-home .cta { padding-bottom: 56px; }
  .ev-home .cta p { margin: 18px 0 28px; font-size: 18px; }
  .ev-home .evy-footer { padding-top: 56px; }
  .ev-home .evy-nav__actions > .evy-button { min-height: 40px; padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 480px) {
  .ev-home .pill__tag { display: none; }
  .ev-home .pill { padding-left: 14px; }
}
@media (max-width: 400px) {
  .ev-home .evy-nav__inner { gap: 10px; }
  .ev-home .evy-nav .evy-logo { width: 70px; }
  .ev-home .evy-nav__actions { gap: 4px; }
  .ev-home .evy-nav__actions > .evy-button { min-height: 36px; padding: 7px 11px; font-size: 13px; }
  .ev-home .menu-toggle { width: 40px; padding-inline: 8px; }
}
@media (max-width: 360px) {
  .ev-home { --gutter: 16px; }
  .ev-home .evy-nav .evy-logo { width: 62px; }
  .ev-home .evy-nav__actions > .evy-button { padding-inline: 9px; font-size: 12.5px; letter-spacing: -.01em; }
  .ev-home .display { font-size: 40px; }
  .ev-home:lang(fr) .display { font-size: 36px; }
  /* A six-figure number ("100 000") must stay inside its half of the row */
  .ev-home .stat dt { font-size: 37px; }
}
/* Below 768px there is no room beside the moments: the index goes and each moment carries its own name */
@media (max-width: 767px) {
  .ev-home .moments { display: block; }
  .ev-home .moments__index { display: none; }
  .ev-home .moment__label { display: block; }
  .ev-home .moments__list { gap: 72px; max-width: 600px; }
}
@media (max-width: 640px) {
  .ev-home .moments__list { gap: 64px; }
}
/* Stillness: the moment being read shows a whole line, and nothing follows the scroll */
@media (prefers-reduced-motion: reduce) {
  .ev-home .moments__index a[aria-current]::after { transform: none; }
}
/* Below 900px the hero shows its phone composition, held at a readable width */
@media (max-width: 900px) {
  .ev-home .hero__art { max-width: 520px; margin-inline: auto; }
  .ev-home .hero__art picture img { aspect-ratio: 358 / 716; }
}
