/* Who's Right — site styles (piste D). Source: _refonte/src/site.css, copied to /assets by build.mjs */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #14213D;
  --blue: #1747C9;
  --blue-soft: #C9D8FF;
  --yellow: #FFD84D;
  --red: #F2545B;
  --red-ink: #B4232A;
  --cream: #FFF6D6;
  --soft: #F6F8FC;
  --muted: #475569;
  --line: #E2E8F0;
  --green: #22A06B;
  /* the two people of a dispute: neutral colours (no red / green), the same for each person everywhere.
     A = amber (light tone for bars and borders, dark tone for text: 5.9:1 on white), B = brand blue (7.4:1) */
  --side-a: #F2A900;
  --side-a-ink: #8A5A00;
  --side-a-soft: #FFF1CC;
  --side-a-line: #F5CF6B;
  --side-b: #1747C9;
  --side-b-ink: #1747C9;
  --side-b-soft: #E3EBFF;
  --side-b-line: #B6C8FA;
  --radius: 28px;
  --wrap: 1200px;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="ru"] { --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html[lang="zh"] { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
html[lang="ar"] { --font: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #FFFFFF; line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
a:hover { color: #0F2F8A; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 90px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding: 72px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 18px; color: var(--muted); }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 214, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .2s ease, background .2s ease; }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.nav-links { display: none; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #0B1530; }
.nav .btn-dark { display: none; }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 15px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(20, 33, 61, 0.06); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 40px rgba(20, 33, 61, .12); min-width: 190px; }
.lang li a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--soft); }
.lang li a[aria-current="true"] { font-weight: 700; }

.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.burger .i-close { display: none; }
.nav.is-open .burger .i-open { display: none; }
.nav.is-open .burger .i-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.nav.is-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mobile-menu .btn { margin-top: 8px; color: #fff; }

.nav-links a { white-space: nowrap; }
@media (min-width: 960px) {
  .nav .btn-dark { display: inline-flex; }
}
@media (min-width: 1180px) {
  .nav-links { display: inline-flex; }
  .burger, .mobile-menu, .nav.is-open .mobile-menu { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; animation: wr-blob 12s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: var(--yellow); top: -160px; inset-inline-end: -120px; opacity: .7; }
.blob-2 { width: 260px; height: 260px; background: var(--blue-soft); bottom: -100px; inset-inline-start: 40%; opacity: .8; animation-delay: -6s; }
.hero-inner { position: relative; display: grid; gap: 40px; padding: 40px 20px 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .line { display: block; }
.rotator { display: block; color: var(--blue); min-height: 1.06em; }
.rotator.is-swapping { animation: wr-swap .55s cubic-bezier(.2, .8, .2, 1); }
.hero-sub { font-size: clamp(18px, 2.2vw, 21px); color: #334155; max-width: 540px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stores a { display: block; border-radius: 12px; transition: transform .2s ease; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 54px; width: auto; }
.hero .stores a { animation: wr-pulse 2.4s ease-out infinite; }
.hero .stores a + a { animation-delay: 1.2s; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
/* the wrapper is exactly as wide as the phone, so bubbles are placed from the phone's own edges */
.phone-wrap { position: relative; width: min(78%, 320px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.phone { width: 100%; animation: wr-float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(20, 33, 61, .25)); }
/* default (phones, and 900–1199 px where the hero column is too narrow): bubbles sit in a row under the phone */
.bubble { position: static; max-width: 100%; padding: 10px 14px; font-weight: 700; font-size: 15px; line-height: 1.35; color: #fff; animation: wr-pop .5s cubic-bezier(.2, .8, .2, 1.2) both; }
.bubble-a { background: var(--side-a); color: var(--ink); border-radius: 18px 18px 18px 4px; box-shadow: 0 10px 24px rgba(242, 169, 0, .3); animation-delay: .4s; }
.bubble-b { background: var(--side-b); border-radius: 18px 18px 4px 18px; box-shadow: 0 10px 24px rgba(23, 71, 201, .3); animation-delay: 1s; }
.bubble-ready { background: #fff; color: var(--ink); border-radius: 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 12px 30px rgba(20, 33, 61, .15); animation-delay: 1.7s; }
/* enough room beside the phone: bubbles hang outside its edges (8 px over the frame only), level with the middle/bottom of the screen */
@media (min-width: 640px) and (max-width: 899px), (min-width: 1200px) {
  .phone-wrap { display: block; }
  .bubble { position: absolute; width: max-content; max-width: 150px; font-size: 16px; padding: 12px 16px; }
  .bubble-a { top: 40%; inset-inline-end: calc(100% - 8px); border-radius: 18px 18px 4px 18px; }
  .bubble-b { top: 58%; inset-inline-start: calc(100% - 8px); border-radius: 18px 18px 18px 4px; }
  .bubble-ready { top: 82%; inset-inline-end: calc(100% - 8px); }
}
/* two-column hero: the free space is between the text and the phone, so all bubbles go on that side */
@media (min-width: 1200px) {
  .bubble { max-width: 170px; }
  .bubble-a { top: 38%; }
  .bubble-b { top: 57%; inset-inline-start: auto; inset-inline-end: calc(100% - 8px); border-radius: 18px 18px 4px 18px; }
  .bubble-ready { top: 80%; }
}
.bubble-ready::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.qr { display: none; align-items: center; gap: 12px; }
.qr img { width: 84px; height: 84px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.qr span { font-size: 14px; color: var(--muted); max-width: 150px; line-height: 1.35; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; padding: 56px 20px 88px; }
  .hero-visual { min-height: 560px; }
  .qr { display: flex; }
}

/* ---------- facts band (true facts only) ---------- */
.proofband { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.proof-list, .proof-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.proof-list li, .proof-list li a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.proof-list li { background: var(--soft); border-radius: 999px; padding: 7px 14px; }
.proof-list li[hidden] { display: none; }
.proof-list li a { text-decoration: none; }
.proof-list li a:hover span { text-decoration: underline; }
.proof-list svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.proof-numbers { margin-top: 12px; }
.proof-numbers li { font-size: 17px; font-weight: 800; color: var(--blue); padding: 4px 10px; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; padding: 20px 0; overflow: hidden; direction: ltr; }
.marquee-track { display: flex; width: max-content; animation: wr-marquee 40s linear infinite; }
.marquee-track ul { display: flex; gap: 48px; padding-inline-end: 48px; list-style: none; margin: 0; padding-inline-start: 0; font-size: 21px; font-weight: 700; white-space: nowrap; }
.marquee-track li { display: flex; align-items: center; gap: 48px; unicode-bidi: plaintext; }
.marquee-track li::after { content: "●"; color: var(--yellow); font-size: 14px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- demo ---------- */
.demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.demo-tab { min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: 17px; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.demo-tab:hover { transform: translateY(-2px); }
.demo-tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.demo-card { max-width: 760px; margin: 0 auto; background: var(--soft); border-radius: 32px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.say { display: flex; flex-direction: column; gap: 6px; max-width: 85%; }
.say-a { align-self: flex-start; }
.say-b { align-self: flex-end; align-items: flex-end; }
.say-name { font-size: 14px; font-weight: 700; }
.say-a .say-name { color: var(--side-a-ink); }
.say-b .say-name { color: var(--side-b-ink); }
.say-text { background: #fff; padding: 14px 18px; font-size: 18px; line-height: 1.45; }
.say-a .say-text { border: 2px solid var(--side-a); border-radius: 20px 20px 20px 4px; }
.say-b .say-text { border: 2px solid var(--side-b); border-radius: 20px 20px 4px 20px; }
html[dir="rtl"] .say-a .say-text { border-radius: 20px 20px 4px 20px; }
html[dir="rtl"] .say-b .say-text { border-radius: 20px 20px 20px 4px; }
.typing { align-self: center; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: wr-dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.verdict { background: #fff; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 30px rgba(20, 33, 61, .08); }
.verdict-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.verdict-scores { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 19px; }
/* each side: name, percentage, and the badge for the person most in the right (the colour never says who is right) */
.vs { display: block; min-width: 0; font-weight: 600; }
.vs-a { color: var(--side-a-ink); }
.vs-b { color: var(--side-b-ink); text-align: end; }
.vs-name { font-weight: 700; overflow-wrap: anywhere; }
.vs-pct { font-weight: 500; white-space: nowrap; }
.vs.is-lead .vs-pct { font-weight: 800; }
.lead-badge { display: table; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.4; white-space: nowrap; }
.vs-b .lead-badge { margin-inline-start: auto; }
.vs-a-ink { color: var(--side-a-ink); }
.vs-b-ink { color: var(--side-b-ink); }
.verdict-voters { margin: 0; font-size: 15px !important; color: var(--ink) !important; }
.verdict-voters a { font-weight: 700; color: var(--blue); }
.bar { height: 14px; border-radius: 999px; background: var(--side-b); overflow: hidden; display: flex; }
.bar span { display: block; height: 100%; background: var(--side-a); }
.verdict p { font-size: 17px; line-height: 1.55; color: #334155; }
.verdict .deal { font-weight: 700; color: var(--ink); }
.demo-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }

/* replayed on each tab change by site.js */
.demo-card.play .say-a { animation: wr-pop .5s cubic-bezier(.2, .8, .2, 1.2) both; }
.demo-card.play .say-b { animation: wr-pop .5s cubic-bezier(.2, .8, .2, 1.2) .45s both; }
.demo-card.play .typing { animation: wr-pop .3s ease .9s both, wr-collapse .01s linear 1.85s forwards; }
.demo-card.play .verdict { animation: wr-pop .5s cubic-bezier(.2, .8, .2, 1.2) 1.85s both; }
.demo-card.play .bar span { animation: wr-grow 1.1s cubic-bezier(.2, .8, .2, 1) 2.2s both; }
.demo-card:not(.play) .typing { display: none; }

/* ---------- steps ---------- */
.steps { background: var(--blue); color: #fff; }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 33, 61, .14); }
/* step images are tall phone mockups (transparent): shown whole, centred in a fixed-height panel */
.card img { width: 100%; height: 380px; object-fit: contain; padding: 18px 0 0; border-radius: 18px; background: var(--soft); }
@media (max-width: 600px) { .card img { height: 340px; } }
.step-title { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.step-num { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.card h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.card p { font-size: 16px; color: var(--muted); padding: 0 6px 6px; }

/* ---------- features (slider) ---------- */
.slider-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.slider-arrows { display: none; gap: 10px; flex: none; }
.slider-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s ease; }
.slider-btn:hover:not(:disabled) { background: var(--ink); color: #fff; transform: translateY(-2px); }
.slider-btn:disabled { opacity: .3; cursor: default; }
.slider-btn[data-slide="prev"] svg { transform: scaleX(-1); }
html[dir="rtl"] .slider-btn[data-slide="prev"] svg { transform: none; }
html[dir="rtl"] .slider-btn[data-slide="next"] svg { transform: scaleX(-1); }
.slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding: 6px 2px 14px; margin: -6px -2px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > .feature { flex: 0 0 min(86%, 500px); scroll-snap-align: start; }
.slider-dots { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.slider-dots button { height: 32px; min-width: 28px; padding: 0 6px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slider-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #CBD5E1; transition: width .3s ease, background .3s ease; }
.slider-dots button[aria-current="true"]::before { width: 32px; background: var(--blue); }
.slider-dots button[hidden] { display: none; }
@media (min-width: 700px) { .slider-arrows { display: flex; } }
.feature { background: var(--soft); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 33, 61, .1); }
.feature img { width: 100%; border-radius: 18px; background: #fff; }
.feature h3 { font-size: 20px; font-weight: 700; padding: 0 6px; }
.feature p { font-size: 16px; color: var(--muted); padding: 0 6px 6px; }

/* ---------- privacy ---------- */
.privacy-box { background: var(--ink); color: #fff; border-radius: 36px; padding: 40px 28px; display: grid; gap: 32px; position: relative; overflow: hidden; }
.privacy-box .blob { background: var(--blue); width: 280px; height: 280px; inset-inline-end: -90px; top: -120px; opacity: .55; }
.privacy-box > *:not(.blob) { position: relative; }
.privacy-box .lead { color: #CBD5E1; }
.privacy-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.privacy-points li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px 16px; font-weight: 600; }
.privacy-points svg { flex: none; width: 22px; height: 22px; color: var(--yellow); }
@media (min-width: 900px) { .privacy-box { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 56px; } }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .2s ease; }
.faq-list details[open] { box-shadow: 0 12px 30px rgba(20, 33, 61, .08); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; width: 22px; height: 22px; transition: transform .2s ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { padding: 0 22px 22px; color: var(--muted); font-size: 17px; }

/* ---------- final cta ---------- */
.cta-box { background: var(--yellow); border-radius: 40px; padding: 48px 28px; display: grid; gap: 28px; position: relative; overflow: hidden; }
.cta-box .blob { background: #fff; width: 260px; height: 260px; inset-inline-end: -80px; bottom: -120px; opacity: .45; }
.cta-box > *:not(.blob) { position: relative; }
.cta-box p { font-size: 18px; color: #3B3200; }
.cta-side { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
@media (min-width: 900px) { .cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 64px 56px; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #CBD5E1; padding: 64px 0 28px; font-size: 15px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--blue); opacity: .35; top: -200px; inset-inline-end: -120px; pointer-events: none; }
.footer .wrap { position: relative; }
.footer-top { display: grid; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer .brand { color: #fff; }
.footer .brand:hover { color: #fff; }
.footer .brand img { background: #fff; border-radius: 12px; padding: 4px; }
.footer .tagline { color: #CBD5E1; }
.footer-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.footer-stores a { display: block; border-radius: 9px; transition: transform .2s ease; }
.footer-stores a:hover { transform: translateY(-2px); }
.footer-stores img { height: 40px; width: auto; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer h2 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a, .linklike { color: #CBD5E1; text-decoration: none; transition: color .2s ease; }
.footer a:hover, .linklike:hover { color: var(--yellow); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; text-align: start; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; font-size: 14px; color: #94A3B8; }
.footer .footer-langs { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
.footer-langs a { color: #94A3B8; font-size: 14px; }
.footer-langs a[aria-current="true"] { color: #fff; font-weight: 700; }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; } }

/* ---------- legal pages ---------- */
.legal-head { position: relative; overflow: hidden; background: var(--cream); padding: 40px 0 44px; }
.legal-head .blob { width: 320px; height: 320px; background: var(--yellow); opacity: .6; top: -150px; inset-inline-end: -90px; }
.legal-head-inner { position: relative; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.legal-title-row { display: flex; align-items: center; gap: 16px; }
.legal-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(20, 33, 61, .08); }
.legal-icon svg { width: 28px; height: 28px; }
.legal-title { font-size: clamp(30px, 5vw, 50px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.legal-meta { margin-top: 16px; display: inline-flex; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.legal-draft { margin-top: 12px; max-width: 640px; background: #FFF3C4; border: 1px solid #F5D76E; color: #5C4600; border-radius: 14px; padding: 10px 14px; font-size: 15px; }

.legal-layout { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 80px; }
.legal-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.legal-side h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; padding-inline-start: 4px; }
.legal-docs ul { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.legal-docs ul::-webkit-scrollbar { display: none; }
.legal-docs a { display: block; white-space: nowrap; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s ease, border-color .2s ease; }
.legal-docs a:hover { border-color: var(--ink); }
.legal-docs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.legal-toc { display: none; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-inline-start: 2px solid var(--line); }
.legal-toc a { display: block; padding: 6px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; }
.legal-toc a:hover { color: var(--blue); border-inline-start-color: var(--blue); }

.legal-main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px 22px; box-shadow: 0 10px 30px rgba(20, 33, 61, .04); font-size: 17px; line-height: 1.75; color: #334155; overflow-wrap: anywhere; }
.prose h2 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--ink); margin: 32px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-inline-start: 0; list-style: none; }
.prose li { position: relative; margin: 8px 0; padding-inline-start: 22px; }
.prose li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); font-weight: 600; }

.legal-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--cream); border-radius: 24px; padding: 24px; }
.legal-help h2 { font-size: 19px; font-weight: 700; }
.legal-help p { color: var(--muted); margin-top: 4px; }
.back-top { text-align: center; font-size: 14px; }
.back-top a { color: var(--muted); text-decoration: none; }
.back-top a:hover { color: var(--blue); }

@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
  .legal-side { align-self: start; position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
  .legal-docs ul { flex-direction: column; gap: 4px; overflow: visible; padding: 0; }
  .legal-docs a { white-space: normal; border-radius: 14px; border-color: transparent; background: transparent; padding: 10px 14px; }
  .legal-docs a:hover { background: var(--soft); border-color: transparent; }
  .legal-docs a[aria-current="page"] { background: var(--ink); }
  .legal-toc { display: block; }
  .prose { padding: 44px 52px; }
}

.legal-index { padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.legal-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.legal-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.legal-card:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 33, 61, .1); }
.legal-card .legal-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--soft); box-shadow: none; }
.legal-card .legal-icon svg { width: 24px; height: 24px; }
.legal-card-text { flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.legal-card-text small { font-size: 14px; font-weight: 500; color: var(--muted); }
.legal-card-arrow { flex: none; color: var(--muted); display: inline-flex; transition: transform .2s ease, color .2s ease; }
.legal-card:hover .legal-card-arrow { color: var(--blue); transform: translateX(4px); }
html[dir="rtl"] .legal-card-arrow svg { transform: scaleX(-1); }
html[dir="rtl"] .legal-card:hover .legal-card-arrow { transform: translateX(-4px); }

/* ---------- disputes (video section) ---------- */
.dispute-intro { margin-top: 14px; max-width: 680px; font-size: 18px; color: #334155; }
.sub-h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sub-h2 .count { font-size: 16px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s ease, background .2s ease; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.tag-theme { background: var(--ink); color: #fff; }
a.tag-theme:hover { color: var(--yellow); }

.theme-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.theme-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 20px; border-radius: 22px; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.theme-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 33, 61, .12); }
.theme-card svg { position: absolute; inset-inline-end: 18px; bottom: 18px; transition: transform .2s ease; }
.theme-card:hover svg { transform: translateX(4px); }
html[dir="rtl"] .theme-card svg { transform: scaleX(-1); }
.theme-name { font-size: 22px; font-weight: 800; }
.theme-count { font-size: 14px; font-weight: 600; opacity: .75; }
.theme-couple { background: #FFE3E4; }
.theme-neighbors { background: #E8EEFF; }
.theme-family { background: #FFF4CC; }
.theme-friends { background: #DDF5EA; }
.theme-work { background: #EDE9FE; }

.ep-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ep-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ep-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20, 33, 61, .12); }
.ep-thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--ink); overflow: hidden; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ep-card:hover .ep-thumb img { transform: scale(1.04); }
.ep-thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2314213D' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.ep-time { position: absolute; inset-inline-end: 10px; bottom: 10px; z-index: 1; background: rgba(20, 33, 61, .85); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.ep-card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.ep-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-tags .tag { background: var(--soft); }
.ep-tags .tag-theme { background: var(--ink); }
.ep-card-title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.ep-empty { background: var(--soft); border-radius: 20px; padding: 28px; text-align: center; color: var(--muted); font-size: 17px; }

.ep-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ep-layout { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 56px; }
.ep-video video { display: block; width: 100%; max-width: 420px; height: auto; max-height: 80vh; margin: 0 auto; border-radius: 24px; background: #000; box-shadow: 0 24px 50px rgba(20, 33, 61, .2); object-fit: contain; }
.ep-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.ep-content { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ep-h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.ep-dilemma { max-width: none; }
.ep-transcript { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.ep-transcript summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.ep-transcript summary::-webkit-details-marker { display: none; }
.ep-transcript summary .ep-h2 { margin: 0; font-size: 20px; }
.ep-transcript summary svg { flex: none; transition: transform .2s ease; }
.ep-transcript[open] summary svg { transform: rotate(180deg); }
.ep-transcript p { margin: 0 0 12px; color: #334155; line-height: 1.65; }
.ep-transcript p:last-child { padding-bottom: 10px; }
.ep-grid-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (min-width: 960px) {
  .ep-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 48px; }
  .ep-video { position: sticky; top: 96px; }
}

/* ---------- home: conversion button after the demo ---------- */
.cta-real { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; text-align: center; }
.btn-big { min-height: 60px; padding: 14px 30px; font-size: 19px; box-shadow: 0 14px 30px rgba(20, 33, 61, .22); }
.btn-big svg { flex: none; }
[dir="rtl"] .btn-big svg { transform: scaleX(-1); }
.cta-real-get { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; scroll-margin-top: 110px; }
.cta-real-get .stores { justify-content: center; }

/* ---------- home: how the AI decides ---------- */
.how-ai-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.how-ai-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.how-ai-num { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.how-ai-card h3 { font-size: 20px; font-weight: 800; line-height: 1.25; margin-top: 6px; }
.how-ai-card p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.how-ai-limits { margin-top: 20px; background: var(--cream); border: 1px solid #F5D76E; border-radius: 24px; padding: 22px 24px; }
.how-ai-limits h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.how-ai-limits ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; color: #334155; font-size: 16px; line-height: 1.5; }
.how-ai { scroll-margin-top: 80px; }

/* ---------- home: testimonials (real ones only, from preuves.json) ---------- */
.testimonials { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonials li { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.testimonials blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: #334155; }
.testimonial-name { margin-top: 10px; font-weight: 800; }
.faq-list details p a { color: var(--blue); font-weight: 700; }

/* ---------- episode page: share, end-of-episode CTA ---------- */
.ep-share { margin: 18px auto 0; max-width: 420px; display: grid; gap: 10px; }
.ep-share-title { font-weight: 800; font-size: 16px; }
.ep-share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-share-links a { display: inline-flex; align-items: center; gap: 6px; }
.ep-share-links svg { width: 16px; height: 16px; flex: none; }
.ep-share label { font-size: 14px; font-weight: 700; color: var(--muted); }
.ep-share-row { display: flex; gap: 8px; }
.ep-share-url { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 9px 12px; border: 1px solid #CBD5E1; border-radius: 12px; background: #fff; color: var(--ink); }
.ep-share-copy { flex: none; font: inherit; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }

/* ---------- text-only "fiches" (Conflicts section) ---------- */
.fiche-layout { max-width: 820px; display: flex; flex-direction: column; gap: 28px; padding-top: 36px; padding-bottom: 48px; }
.fiche-short { background: var(--cream); border: 2px solid var(--yellow); border-radius: 24px; padding: 20px 22px; }
.fiche-label { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.fiche-short p { font-size: 19px; line-height: 1.55; font-weight: 600; color: var(--ink); }
.fiche-compromise { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; font-size: 17px; line-height: 1.6; color: #334155; }
.fiche-rule { background: #EEF3FF; border-inline-start: 5px solid var(--blue); border-radius: 18px; padding: 20px 22px; }
.fiche-rule p { font-size: 17px; line-height: 1.6; color: #334155; margin: 0 0 10px; }
.fiche-sources a { color: var(--blue); font-weight: 700; }
.fiche-rule .fiche-disclaimer { font-size: 14px; color: var(--muted); font-style: italic; margin: 0; }
.fiche-faq .faq-list { max-width: none; }
.fiche-note { font-size: 14px; color: var(--muted); padding: 8px 0 40px; }
.fiche-note a { color: var(--blue); font-weight: 600; }
.tag-fiche, .ep-badge-fiche { background: #DDF4F2 !important; color: #0F6B63 !important; }
.ep-noimg { display: grid; place-items: center; width: 100%; height: 100%; padding: 20px; color: #fff; font-size: 22px; font-weight: 800; text-align: center; background: var(--blue); }
.ep-noimg.theme-couple { background: var(--red); }
.ep-noimg.theme-family { background: var(--yellow); color: var(--ink); }
.ep-noimg.theme-friends { background: var(--green); }
.ep-noimg.theme-work { background: var(--ink); }
.ep-card-fiche .ep-thumb::after { display: none; }
.type-filter { margin-bottom: 18px; }
.chip.chip-on { background: var(--ink); color: #fff; }

/* ---------- GEO: dates, sources, AI mention, method page ---------- */
.ep-dates { margin-top: 10px; font-size: 15px; color: var(--muted); }
.ep-dates time { font-weight: 700; color: var(--ink); }
.fiche-source-list { margin: 0 0 10px; padding-inline-start: 20px; display: grid; gap: 4px; font-size: 16px; }
.fiche-source-list a { color: var(--blue); font-weight: 700; }
.fiche-domain { color: var(--muted); font-size: 14px; }
.fiche-verified { font-size: 15px; font-weight: 700; color: var(--ink); }
.ai-mention { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 8px 0 0; }
.ai-mention a { color: var(--blue); font-weight: 600; }
.ep-article > .wrap > .ai-mention { margin-bottom: 40px; }
.method-layout { max-width: 860px; padding-top: 36px; padding-bottom: 64px; }
.how-ai-more { margin-top: 12px; font-weight: 700; }
.how-ai-more a { color: var(--blue); }

/* ---------- episode page: public vote + comments (rendered by verdicts-app, work without JavaScript) ---------- */
.tag-featured { background: var(--yellow) !important; color: var(--ink) !important; }
.ep-featured { box-shadow: 0 0 0 3px var(--yellow); }
.pub-vote { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; scroll-margin-top: 96px; }
.pub-vote .ep-h2 { margin-bottom: 6px; }
.pub-vote-intro { color: var(--muted); margin: 0 0 14px; }
.pub-vote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vote-btn { min-height: 52px; padding: 12px 16px; border-radius: 16px; border: 2px solid transparent; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; overflow-wrap: anywhere; transition: transform .15s ease, box-shadow .15s ease; }
.vote-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(20, 33, 61, .12); }
.vote-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.vote-a { background: var(--side-a-soft); color: var(--side-a-ink); border-color: var(--side-a-line); }
.vote-b { background: var(--side-b-soft); color: var(--side-b-ink); border-color: var(--side-b-line); }
.pub-vote-line { margin: 4px 0 12px; font-size: 18px; color: var(--ink); }
.pub-vote-count { color: var(--muted); font-weight: 500; font-size: 15px; }
.pub-bars { display: grid; gap: 10px; }
.pub-bar-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.pub-bar-legend { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; padding-inline-start: 94px; }
.pub-bar-legend .a { color: var(--side-a-ink); }
.pub-bar-legend .b { color: var(--side-b-ink); }
.pub-msg { border-radius: 14px; padding: 10px 14px; margin: 8px 0 14px; font-weight: 600; }
.pub-ok { background: #E3F6EC; color: #0F5E3A; }
.pub-err { background: #FFE3E4; color: var(--red-ink); }
.pub-comments { padding-top: 8px; scroll-margin-top: 80px; }
.pub-comments-inner { max-width: 820px; }
.pub-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 6px; margin-bottom: 24px; }
.pub-form label { font-weight: 700; font-size: 15px; margin-top: 6px; }
.pub-form input[type="text"], .pub-form textarea { font: inherit; font-size: 16px; width: 100%; padding: 11px 13px; border: 1px solid #CBD5E1; border-radius: 14px; background: #fff; color: var(--ink); }
.pub-form textarea { resize: vertical; min-height: 110px; }
.pub-form input:focus, .pub-form textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.pub-form .btn { justify-self: start; margin-top: 10px; }
.pub-help { color: var(--muted); font-size: 14px; margin: 2px 0 0; }
.pub-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.pub-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.pub-check a { color: var(--blue); font-weight: 700; }
.pub-trap { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pub-empty { background: var(--soft); border-radius: 20px; padding: 22px; color: var(--muted); text-align: center; }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pub-c { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.pub-c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; }
.pub-c-head time { color: var(--muted); font-size: 14px; }
.pub-c-text { margin: 0; color: #334155; line-height: 1.6; overflow-wrap: anywhere; }
.pub-report { margin-top: 8px; }
.pub-report button { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.pub-reply { margin-top: 12px; background: var(--soft); border-inline-start: 4px solid var(--blue); border-radius: 12px; padding: 12px 14px; }
.pub-badge { background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.pub-pages { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-weight: 700; }
@media (max-width: 520px) {
  .pub-vote-form { grid-template-columns: 1fr; }
  .pub-form .btn { justify-self: stretch; }
  .pub-bar-row { grid-template-columns: 1fr; gap: 4px; }
  .pub-bar-legend { padding-inline-start: 0; }
}

/* ---------- 404 ---------- */
.notfound { background: var(--cream); padding: 72px 0 88px; text-align: center; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.notfound-code { font-size: clamp(88px, 18vw, 160px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--blue); }
.notfound .lead { max-width: 560px; }
.notfound-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.notfound-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.notfound-links a:hover { background: var(--ink); color: #fff; }
.notfound-links span { color: var(--muted); font-weight: 500; }
.notfound-links a:hover span { color: #CBD5E1; }

/* ---------- language suggestion (fixed: overlays the page, never shifts the layout) ---------- */
.lang-banner { position: fixed; z-index: 70; top: 84px; inset-inline: 16px; margin-inline: auto; max-width: 560px; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(20, 33, 61, .18); padding: 12px; padding-inline-start: 18px; animation: wr-drop .35s ease both; }
.lang-banner p { flex: 1 1 200px; font-size: 15px; font-weight: 600; }
.lang-banner .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; color: #fff; }
.lang-banner-close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lang-banner-close:hover { background: var(--soft); color: var(--ink); }
@media (max-width: 520px) {
  .lang-banner p { flex-basis: calc(100% - 60px); order: 1; }
  .lang-banner-close { order: 2; margin-inline-start: auto; }
  .lang-banner .btn { order: 3; }
}
@keyframes wr-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin-inline: auto; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 20px 50px rgba(20, 33, 61, .25); padding: 20px; display: flex; flex-direction: column; gap: 14px; animation: wr-pop .4s ease both; }
.cookie[hidden] { display: none; }

/* ---------- mobile: sticky download button (store opened directly by site.js on iPhone / Android) ---------- */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta { display: flex; align-items: center; justify-content: center; position: fixed; inset-inline: 16px; bottom: 12px; z-index: 70; min-height: 54px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 12px 30px rgba(20, 33, 61, .3); }
  .sticky-cta:hover { color: #fff; }
  .cookie:not([hidden]) ~ .sticky-cta { display: none; } /* never over the cookie choice */
  body { padding-bottom: 84px; } /* the button never hides the end of the page */
}
/* logo on one line */
.brand { white-space: nowrap; }
@media (max-width: 380px) { .brand { font-size: 18px; gap: 8px; } .brand img { width: 38px; height: 38px; } }
/* fiches / episodes: wider speech bubbles on phones */
@media (max-width: 600px) { .ep-dilemma { padding: 16px; } .ep-dilemma .say { max-width: 96%; } .ep-dilemma .say-text { font-size: 17px; padding: 12px 15px; } }
/* home on small screens: the decorative bubbles would sit alone under the phone */
@media (max-width: 639px) { .hero .bubble { display: none; } }
/* right after a verdict: "Disagree? Get your own dispute settled" */
.disagree-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; background: var(--cream); border: 2px solid var(--yellow); border-radius: 20px; padding: 16px 18px; }
.disagree-cta p { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.disagree-cta .btn { white-space: nowrap; }
@media (max-width: 520px) { .disagree-cta .btn { width: 100%; } }
.cookie p { font-size: 15px; color: #334155; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-light { background: var(--soft); color: var(--ink); }
.btn-light:hover { background: var(--line); color: var(--ink); }

/* ---------- scroll reveal (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes wr-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes wr-pop { 0% { opacity: 0; transform: translateY(14px) scale(.92); } 100% { opacity: 1; transform: none; } }
@keyframes wr-swap { 0% { opacity: 0; transform: translateY(.4em); } 100% { opacity: 1; transform: none; } }
@keyframes wr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wr-grow { from { width: 0; } }
@keyframes wr-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@keyframes wr-collapse { to { opacity: 0; height: 0; margin: -8px 0; overflow: hidden; } }
@keyframes wr-pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 71, 201, .35); } 70%, 100% { box-shadow: 0 0 0 14px rgba(23, 71, 201, 0); } }
@keyframes wr-blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.08); } }

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

/* ---------- category guides (verdicts-app) ---------- */
.guide-link { margin: 18px 0 0; }
.guide-link a { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none; }
.guide-link a:hover { background: var(--ink); color: #fff; }
.guide-link svg { flex: none; }
.guide-kicker { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.fiche-layout > .guide-link { margin: 0; }
.guide .chips { margin-top: 14px; }
.guide-section { scroll-margin-top: 90px; display: grid; gap: 14px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-list li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.guide-q { margin: 0 0 6px; font-size: 18px; line-height: 1.35; }
.guide-q a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 3px; }
.guide-q a:hover { color: var(--blue); }
.guide-list p { margin: 0; color: #334155; line-height: 1.55; }
.guide-rules-title { margin: 0 0 6px; font-size: 19px; }
.guide-rule { border-top: 1px solid #D5DEF5; padding-top: 12px; margin-top: 12px; }
.guide-rule:first-of-type { border-top: 0; padding-top: 0; }
.guide-rule-from, .guide-faq-from { font-size: 14px !important; color: var(--muted) !important; }
.guide-rule-from a, .guide-faq-from a { color: var(--blue); font-weight: 700; }
.guide-all { margin: 8px 0 0; }

/* ---------- home: latest settled disputes (static links, written by build.mjs) ---------- */
.latest-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.latest-grid a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; box-shadow: 0 8px 20px rgba(20, 33, 61, .04); transition: transform .2s ease, box-shadow .2s ease; }
.latest-grid a:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(20, 33, 61, .1); }
.latest-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.latest-meta span { background: var(--soft); border-radius: 999px; padding: 2px 10px; }
.latest-title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.home-cats { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.home-cats a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none; background: #fff; }
.home-cats a:hover { background: var(--ink); color: #fff; }
.home-cats .count { font-weight: 600; font-size: 14px; opacity: .8; }
.latest-more { margin-top: 18px; }
.h3-cats { margin: 30px 0 0; font-size: 20px; font-weight: 800; }
.guide-n { margin-inline-start: 6px; font-weight: 600; color: var(--muted); }
