@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

/* ── Design tokens (brand from app_theme.dart, extended for the marketing site) ── */
:root {
  --accent: rgb(26, 161, 164);       /* AppColors.accent */
  --accent-light: rgb(13, 184, 189); /* AppColors.accentLight */
  --brand-blue: #0a41a3;             /* wordmark gradient anchor */

  --bg: #ffffff;                      /* app-launch + shared pages fidelity */
  --surface: #ffffff;                 /* cards */
  --surface-2: #f3f6f5;               /* subtle fields */
  --paper: #fbfbf9;                   /* marketing page background (warm paper) */
  --tint: #e9f4f4;                    /* teal halo */
  --text: #0b1220;                    /* cool near-black ink */
  --text-muted: #5b6470;
  --line: rgba(11, 18, 32, 0.09);
  --line-strong: rgba(11, 18, 32, 0.16);

  --section-radius: 32px;            /* Token.sectionCornerRadius */
  --modal-radius: 20px;              /* Token.modalCornerRadius */
  --field-height: 56px;              /* Token.fieldHeight */

  --display: 'Bricolage Grotesque', 'Montserrat', sans-serif;
  --maxw: 1160px;
  --nav-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;                     /* appBackgroundDark */
    --surface: rgb(24, 29, 34);       /* sectionBackgroundDark */
    --surface-2: rgb(18, 22, 27);
    --paper: #0a0d12;
    --tint: rgba(26, 161, 164, 0.10);
    --text: #ffffff;
    --text-muted: rgb(160, 160, 160);
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);
  }
}

/* Explicit theme override pinned by the inline head script (wins over @media). */
html[data-theme="light"] {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f3f6f5; --paper: #fbfbf9;
  --tint: #e9f4f4; --text: #0b1220; --text-muted: #5b6470;
  --line: rgba(11, 18, 32, 0.09); --line-strong: rgba(11, 18, 32, 0.16);
}
html[data-theme="dark"] {
  --bg: #000000; --surface: rgb(24, 29, 34); --surface-2: rgb(18, 22, 27); --paper: #0a0d12;
  --tint: rgba(26, 161, 164, 0.10); --text: #ffffff; --text-muted: rgb(160, 160, 160);
  --line: rgba(255, 255, 255, 0.10); --line-strong: rgba(255, 255, 255, 0.18);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════════════════
   LANDING PAGE
   ════════════════════════════════════════════════════════ */
.landing {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

.glow-top {
  position: fixed;
  top: -22%;
  right: -12%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: rgba(26, 161, 164, 0.10);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 7s ease-in-out infinite;
}

/* ── Shared section scaffolding ── */
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: 14px;
}

.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.landing-main > section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 116px) 24px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand .brand-logo { display: block; height: 42px; width: auto; }
.footer-brand .brand-logo { height: 44px; }

.nav-wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, var(--brand-blue) 10%, var(--accent) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-color-scheme: dark) {
  .nav-wordmark {
    background: linear-gradient(120deg, #4a8fe7 10%, #2dd4d8 95%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 6px;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-socials a {
  display: inline-flex;
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-socials a:hover { opacity: 1; transform: translateY(-1px); }
.nav-socials img { display: block; width: 20px; height: 20px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.flag {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.lang-switch { position: relative; display: inline-flex; }

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: none;
  border-radius: 9px;
  background: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-current:hover { background: var(--surface-2); }
.lang-current .flag { display: none; }
html[lang="fr"] .lang-current .flag-fr,
html[lang="en"] .lang-current .flag-gb { display: block; }
.lang-current .lang-chev {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.lang-current[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 172px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(11, 18, 32, 0.18);
}
.lang-menu.open { display: flex; }

.lang-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease;
}
.lang-item:hover { background: var(--surface-2); }
.lang-item .flag { width: 22px; height: 15px; flex-shrink: 0; }
html[lang="fr"] .lang-item[data-lang="fr"],
html[lang="en"] .lang-item[data-lang="en"] { color: var(--accent); }

/* Social icons — accent-tinted brand glyphs */
.social-ic { display: block; fill: var(--accent); }
.nav-socials .social-ic { width: 20px; height: 20px; }
.footer-socials .social-ic { width: 24px; height: 24px; }

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(26, 161, 164, 0.28);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(26, 161, 164, 0.36); }
.nav-cta:active { transform: translateY(0); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) !important;
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  background: linear-gradient(118deg, var(--brand-blue) 12%, var(--accent) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-color-scheme: dark) {
  .hero-title {
    background: linear-gradient(118deg, #4a8fe7 12%, #2dd4d8 92%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.hero-sub {
  margin-top: 22px;
  max-width: 30em;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  max-width: 420px;
}
/* Stretch the two store buttons to fill the row so the full-width launch
   button below lines up exactly with them. */
.hero-cta .store-btn { flex: 1 1 0; min-width: 0; }

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ── Store buttons (reused on hero + CTA band) ── */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  padding: 10px 22px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(11, 18, 32, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 18, 32, 0.12);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  margin-right: 12px;
  flex-shrink: 0;
  color: var(--text);
}

.store-btn-label { text-align: left; display: flex; flex-direction: column; }
.store-btn-top { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); }
.store-btn-bottom { font-size: 1.02rem; line-height: 1.15; font-weight: 700; color: var(--text); }

.store-btn--lg { min-height: 62px; }

/* Primary platform CTA (set by JS highlightPrimaryStore on mobile). */
.store-btn.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(26, 161, 164, 0.32);
}
.store-btn.is-primary svg,
.store-btn.is-primary .store-btn-top,
.store-btn.is-primary .store-btn-bottom { color: #fff; }

/* Promoted desktop web-launch CTA — two-line, accent-filled, spans the
   store-button row width. Built on .store-btn so it matches the store buttons. */
.store-btn--launch {
  width: 100%;
  max-width: 420px;
  margin-top: 16px;
  min-height: 66px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(26, 161, 164, 0.40);
}
.store-btn--launch svg { color: #fff; width: 30px; height: 30px; }
.store-btn--launch .store-btn-top { color: rgba(255, 255, 255, 0.85); font-size: 0.84rem; }
.store-btn--launch .store-btn-bottom { color: #fff; font-size: 1.24rem; }
.store-btn--launch:hover { box-shadow: 0 18px 40px rgba(26, 161, 164, 0.5); }
.store-btn--launch-cta { margin-left: auto; margin-right: auto; }

/* ── Hero visual: real app screenshot on the brand stage ── */
.hero-stage { display: flex; justify-content: center; }

.app-stage {
  position: relative;
  width: 100%;
  max-width: 348px;
}

.app-frame {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 34px 80px rgba(11, 18, 32, 0.30);
}

.app-shot { display: block; width: 100%; height: auto; }

.app-badge {
  position: absolute;
  top: 22px;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(11, 18, 32, 0.24);
  animation: bob-badge 6s ease-in-out infinite;
}
.app-badge-txt { display: flex; flex-direction: column; line-height: 1.12; }
.app-badge-txt b { font-size: 0.98rem; font-weight: 800; color: var(--text); }
.app-badge-txt i {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--accent);
}

.ring {
  position: relative;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line-strong) 0);
  flex-shrink: 0;
}
.ring::before { content: ""; position: absolute; border-radius: 50%; background: var(--surface); }
.ring--sm { width: 36px; height: 36px; }
.ring--sm::before { width: 27px; height: 27px; }

/* ── The inversion ── */
.inv-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 22px;
}

.inv-card {
  border-radius: 22px;
  padding: 30px 30px 32px;
  border: 1px solid var(--line);
}
.inv-card--old { background: var(--surface-2); }
.inv-card--new {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(26, 161, 164, 0.12), transparent 58%),
    var(--surface);
  border-color: rgba(26, 161, 164, 0.28);
}

.inv-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.inv-card--old .inv-tag { color: var(--text-muted); }
.inv-card--new .inv-tag { color: var(--accent); }

.inv-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.inv-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}
.inv-list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
}
.inv-list--old li { color: var(--text-muted); }
.inv-list--old li::before { content: "✕"; color: var(--line-strong); font-size: 0.92rem; top: 1px; }
.inv-list--new li::before { content: "✓"; color: var(--accent); }

.inv-arrow {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 161, 164, 0.34);
}
.inv-arrow svg { width: 24px; height: 24px; }

/* ── Features ── */
.feat-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 161, 164, 0.3);
  box-shadow: 0 16px 38px rgba(11, 18, 32, 0.10);
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent);
  margin-bottom: 20px;
}
.feat-icon svg { width: 25px; height: 25px; }

.feat-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 9px;
}
.feat-card p { font-size: 0.95rem; line-height: 1.55; color: var(--text-muted); }

/* ── How it works ── */
.how-tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto clamp(36px, 5vw, 52px);
  padding: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.how-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.how-tab.is-active {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(11, 18, 32, 0.10);
}

/* Two-pane layout: a phone screenshot (swaps with the tab) beside the steps. */
.how-panels {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  max-width: 940px;
  margin: 0 auto;
}

.how-visual { display: flex; justify-content: center; }
.how-shot { width: 100%; max-width: 300px; }
.how-shot img { display: block; width: 100%; height: auto; }
.how-shot.is-hidden { display: none; }

.how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.how-steps.is-hidden { display: none; }

/* Fade the incoming panel in each time the buyer/seller tab flips. Showing a
   display:none element restarts its animation, so this replays on every switch
   (the outgoing panel just hides — no cross-fade needed). */
.how-shot:not(.is-hidden) { animation: how-swap-in 0.4s ease; }
.how-steps:not(.is-hidden) { animation: how-swap-in 0.45s ease; }
@keyframes how-swap-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step { display: flex; flex-direction: row; align-items: flex-start; gap: 18px; }
.step-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--tint);
}
.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 7px;
}
.step p { font-size: 0.95rem; line-height: 1.55; color: var(--text-muted); }

/* ── Newsletter (featured latest edition) ── */
.news-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(11, 18, 32, 0.12); }
.news-media { position: relative; min-height: 240px; }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.news-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 32px;
}
.news-date {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.news-headline {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.news-excerpt { font-size: 0.98rem; line-height: 1.65; color: var(--text-muted); margin: 0; }
.news-link { margin-top: auto; padding-top: 8px; font-size: 0.95rem; font-weight: 700; color: var(--accent); }
.news-prev { max-width: 920px; margin: 28px auto 0; }
.news-prev-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.news-prev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.news-mini {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-mini:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 18, 32, 0.1); }
.news-mini img { width: 120px; height: 72px; object-fit: cover; object-position: 50% 25%; border-radius: 9px; display: block; }
.news-mini-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-mini-title { font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.news-all { text-align: center; margin: 22px 0 0; }
.news-all a { font-size: 0.95rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.news-all a:hover { text-decoration: underline; }

/* ── Press ── */
.press-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.press-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
}
.press-head { display: flex; align-items: center; gap: 16px; }
.press-logo {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.press-logo img { width: 100%; height: 100%; object-fit: contain; }
.press-outlet { display: flex; flex-direction: column; min-width: 0; }
.press-name { font-size: 1.14rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.press-prog { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }
.press-body { display: flex; flex-direction: column; gap: 12px; }
.press-quote {
  position: relative;
  font-size: 1.02rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  padding-left: 30px;
}
.press-quote::before {
  content: '\201C';
  position: absolute;
  left: -2px;
  top: -8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
}
.press-date { padding-left: 30px; font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.press-date::before { content: '— '; color: var(--accent); }

/* ── Team ── */
.team-grid {
  max-width: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 24px 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(11, 18, 32, 0.10); }
.member-photo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  /* Brand gradient lives here, not baked into each photo — team images are
     transparent cut-outs, so a new member just needs a background-removed PNG. */
  background: linear-gradient(135deg, #238aae 0%, #2dd3d8 100%);
  box-shadow: 0 8px 22px rgba(26, 161, 164, 0.28);
}
.member figcaption { display: flex; flex-direction: column; gap: 4px; }
.member-name { font-family: var(--display); font-weight: 700; font-size: 1.14rem; color: var(--text); }
.member-role { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.member-bio { margin-top: 8px; font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 22px;
  transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: rgba(26, 161, 164, 0.3); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 20px;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.faq-more { text-align: center; margin-top: 30px; font-size: 0.97rem; color: var(--text-muted); }
.faq-more a { color: var(--accent); font-weight: 700; text-decoration: none; }
.faq-more a:hover { text-decoration: underline; }

/* ── Final CTA band ── */
.cta-band { }
.cta-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--section-radius);
  padding: clamp(44px, 6vw, 72px) 32px;
  background:
    radial-gradient(120% 150% at 50% -30%, rgba(26, 161, 164, 0.18), transparent 60%),
    linear-gradient(160deg, var(--tint) 0%, var(--surface) 70%);
  border: 1px solid rgba(26, 161, 164, 0.22);
}
.cta-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cta-sub { margin-top: 14px; font-size: 1.05rem; color: var(--text-muted); }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
/* Stretch the store buttons so the launch button below lines up with them. */
.cta-buttons .store-btn { flex: 1 1 0; min-width: 0; }

/* ── Footer ── */
.landing-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) 24px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-tagline { font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); max-width: 30ch; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { display: inline-flex; opacity: 0.78; transition: opacity 0.15s ease, transform 0.15s ease; }
.footer-socials a:hover { opacity: 1; transform: translateY(-1px); }
.footer-socials img { display: block; width: 26px; height: 26px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a { font-size: 0.92rem; color: var(--text-muted); text-decoration: none; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  text-align: center;
}
.footer-copyright { font-size: 0.84rem; color: var(--text-muted); }

/* ── Cookie / tracking consent banner ── */
.consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: min(440px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(11, 18, 32, 0.24);
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.consent.show { transform: translateY(0); opacity: 1; }
.consent[hidden] { display: none; }

.consent-text { font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }
.consent-text a { color: var(--accent); font-weight: 600; text-decoration: none; }
.consent-text a:hover { text-decoration: underline; }

.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.consent-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.consent-btn:hover { background: var(--surface-2); }
.consent-btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 161, 164, 0.3);
}
.consent-btn--accent:hover { background: var(--accent); transform: translateY(-1px); }

@media (max-width: 560px) {
  .consent { right: 12px; bottom: 12px; padding: 18px; width: calc(100vw - 24px); }
  .consent-actions .consent-btn { flex: 1 1 auto; }
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
/* Nav collapses to a drawer earlier (1160) than the content layout breaks: the
   five French links + socials + lang + the "Ouvrir dans le navigateur" CTA need
   ~1160px to sit on one line, so below that we switch to the burger drawer
   rather than let the row overflow or wrap. */
@media (max-width: 1160px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-socials { display: none; }
  /* Nav links collapse into an absolute drawer, so flush the flag + burger
     group to the right edge. */
  .nav-actions { margin-left: auto; }
}

@media (max-width: 980px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Web-launch CTA is desktop-only — mobile users get the store buttons. */
  .desktop-only { display: none !important; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 44px;
  }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-stage { order: 2; }
  .app-stage { max-width: 320px; }

  .inv-grid { grid-template-columns: 1fr; }
  .inv-arrow { transform: rotate(90deg); justify-self: center; }

  .how-panels { grid-template-columns: 1fr; gap: 32px; max-width: 440px; }
  .how-visual { order: -1; }
  .how-shot { max-width: 270px; }
  .step-num { flex-shrink: 0; }
}

@media (max-width: 560px) {
  .landing-main > section { padding-left: 18px; padding-right: 18px; }
  .nav-inner { padding: 0 16px; }
  .feat-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; }
  .press-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-media { min-height: 190px; }
  .news-body { padding: 24px 24px 26px; }
  .news-prev-grid { grid-template-columns: 1fr; }
  .news-mini { grid-template-columns: 96px 1fr; }
  .news-mini img { width: 96px; height: 60px; }
  .hero-cta .store-btn, .cta-buttons .store-btn { flex: 1 1 100%; }
  .app-stage { max-width: 290px; }
  .app-badge { left: -10px; top: 16px; padding: 8px 13px 8px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow-top, .app-badge { animation: none !important; }
  .how-shot, .how-steps { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ════════════════════════════════════════════════════════
   SHARED COMPONENTS (also used by legal / auth / preferences pages)
   ════════════════════════════════════════════════════════ */

/* reCAPTCHA Enterprise — badge hidden, disclaimer shown in the Flutter auth sheet. */
.grecaptcha-badge { visibility: hidden !important; }

/* ── Flutter loading state ── */
.flutter-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  align-items: center;
  justify-content: center;
}

.flutter-loading.active {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.flutter-loading-logo {
  width: 250px;
  height: auto;
  animation: fade-in 0.8s ease-in both;
}

.flutter-loading-logo--dark { display: none; }
html[data-theme="dark"] .flutter-loading-logo--light { display: none; }
html[data-theme="dark"] .flutter-loading-logo--dark { display: block; }

/* ── Get-the-app interstitial (mobile deep links) ── */
.get-app {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px;
  text-align: center;
}
.get-app.active { display: flex; }
.get-app-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 420px;
  animation: fade-in 0.8s ease-in both;
}
.get-app-stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.get-app-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.get-app-more:hover { text-decoration: underline; }

.flutter-loading-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  animation: fade-in 0.4s ease-in both;
}
.flutter-loading.show-fallback .flutter-loading-fallback { display: flex; }
.flutter-loading-fallback p {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 320px;
}
.flutter-loading-fallback button {
  padding: 10px 22px;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  background: transparent;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.flutter-loading-fallback button:hover {
  background: rgba(26, 161, 164, 0.1);
}

.flutter-loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(26, 161, 164, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: fade-in 0.8s ease-in 1.2s both, spin 0.9s linear infinite;
}

/* ── Animations ── */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger-1 { animation: fade-up 0.7s ease-out 0.1s both; }
.stagger-2 { animation: fade-up 0.7s ease-out 0.25s both; }
.stagger-3 { animation: fade-up 0.7s ease-out 0.4s both; }

@keyframes glow-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.04); }
}

@keyframes bob-badge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ── Legal pages ── */
.legal-page {
  min-height: 100vh;
  background: var(--bg);
}

.legal-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.15s ease;
}

.legal-back:hover { color: var(--accent); }

.legal-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 48px;
}

.legal-content {
  line-height: 1.7;
  color: var(--text-muted);
}

.legal-content > p:first-child {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 161, 164, 0.12);
}

.legal-content > p:first-child + h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content details {
  margin-top: 0.75rem;
}

.legal-content details summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.legal-content details summary::-webkit-details-marker { display: none; }

.legal-content details summary::before {
  content: '\203a';
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.2s ease;
  display: inline-block;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.legal-content details[open] summary::before {
  transform: rotate(90deg);
}

.legal-content details > :not(summary) {
  padding-left: 1.5rem;
}

.legal-content p {
  margin-bottom: 0.75rem;
}

.legal-content p:has(br) {
  background: rgba(26, 161, 164, 0.03);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 0.875rem 1.125rem;
  line-height: 1.8;
}

@media (prefers-color-scheme: dark) {
  .legal-content p:has(br) {
    background: rgba(26, 161, 164, 0.06);
  }
  .legal-content h2 {
    border-top-color: rgba(26, 161, 164, 0.2);
  }
}

.legal-content ul {
  list-style: none;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-content ul li {
  margin-bottom: 0.3rem;
  position: relative;
  padding-left: 0.75rem;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover { text-decoration: underline; }

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Auth callback page ── */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid rgba(26, 161, 164, 0.12);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
  .auth-container {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}

.auth-badge {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  line-height: 1;
  background: rgba(26, 161, 164, 0.1);
}

.auth-container h1 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.auth-email {
  display: inline-block;
  max-width: 100%;
  margin: 0.85rem 0 0.25rem;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(26, 161, 164, 0.08);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-all;
}

.auth-fallback { margin-top: 1.5rem; }

.auth-fallback a,
.auth-cta {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 15px 24px;
  border: none;
  border-radius: 28px;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.08s ease;
}

.auth-fallback a:hover,
.auth-cta:hover { opacity: 0.92; }
.auth-cta:active { transform: scale(0.99); }
.auth-cta:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-close {
  margin-top: 1rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── Expired-link resend form ── */
.auth-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 1.5rem;
}

.auth-input {
  padding: 15px 18px;
  border: 1px solid rgba(26, 161, 164, 0.25);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  text-align: center;
  transition: border-color 0.15s ease;
}

.auth-input::placeholder { color: var(--text-muted); }

.auth-input:focus {
  outline: none;
  border-color: var(--accent);
}

.auth-form .auth-cta { margin-top: 0; }

#auth-expired-sent,
#auth-expired-error { margin-top: 1.25rem; }

/* ── Embed legal (no nav) ── */
.embed-legal {
  padding: 40px 24px;
}

.embed-legal .legal-title {
  font-size: 1.875rem;
  margin-bottom: 40px;
}

/* ── Preferences page ── */
#prefs-greeting {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  opacity: 1;
  margin-bottom: 0.5rem;
}

.pref-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  margin-top: 12px;
  border: 1px solid rgba(26, 161, 164, 0.18);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pref-row:hover {
  border-color: var(--accent);
  background: rgba(26, 161, 164, 0.04);
}

.pref-row input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.pref-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pref-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.pref-submit {
  margin-top: 24px;
  padding: 14px 32px;
  border: none;
  border-radius: 28px;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.pref-submit:hover { opacity: 0.92; }
.pref-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.pref-success {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(26, 161, 164, 0.08);
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 0.95rem;
}

.pref-error {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(220, 53, 69, 0.08);
  border-left: 3px solid rgb(220, 53, 69);
  color: var(--text);
  font-size: 0.95rem;
}

#prefs-status-loading {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
