/* ==========================================================================
   Baay Guinaar — marketing site
   Direction: real market photography + warm Senegalese palette, executed
   with current web conventions — glass panels over photos, animated
   counters, an infinite marquee, scroll reveals, subtle parallax.
   ========================================================================== */

:root {
  /* ---- Brand constants (app design system) — fixed, do not flip with theme ---- */
  --green700: #1A6B3C;   /* boutons principaux / CTA */
  --green800: #134D2B;   /* hero acheteur */
  --green900: #0A2E1A;   /* hero vendeur — aussi utilisé comme ink/scrim */
  --paper: #F2F8F4;      /* fond général de l'app — aussi "texte clair" sur fond sombre */
  --whatsapp: #128C7E;   /* bouton whatsapp */
  --green700-rgb: 26, 107, 60;
  --scrim-rgb: 8, 26, 16;    /* triplet RGB pour les surimpressions sur photo (proche green900) */
  --ink-rgb: 10, 46, 26;     /* triplet RGB green900, pour bordures/ombres */
  --paper-rgb: 242, 248, 244; /* triplet RGB paper, pour texte clair en opacité sur fond sombre */

  /* ---- Theme tokens: light (default) ---- */
  --bg: #F2F8F4;
  --card: #FFFFFF;
  --text: #0A2E1A;
  --text-soft: rgba(10, 46, 26, 0.64);
  --text-soft-2: rgba(10, 46, 26, 0.8);
  --border: rgba(10, 46, 26, 0.14);
  --header-bg: rgba(242, 248, 244, 0.82);
  --chip-bg: #F2F8F4;
  --shadow-soft: 0 10px 30px -18px rgba(10, 46, 26, 0.35);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0A2013;
  --card: #133422;
  --text: #EAF3EC;
  --text-soft: rgba(234, 243, 236, 0.66);
  --text-soft-2: rgba(234, 243, 236, 0.82);
  --border: rgba(234, 243, 236, 0.16);
  --header-bg: rgba(10, 32, 19, 0.8);
  --chip-bg: #0A2013;
  --shadow-soft: 0 10px 30px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A2013;
    --card: #133422;
    --text: #EAF3EC;
    --text-soft: rgba(234, 243, 236, 0.66);
    --text-soft-2: rgba(234, 243, 236, 0.82);
    --border: rgba(234, 243, 236, 0.16);
    --header-bg: rgba(10, 32, 19, 0.8);
    --chip-bg: #0A2013;
    --shadow-soft: 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

html { background: var(--bg); }

:root {
  /* ---- Type ---- */
  --font-display: 'Space Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', Consolas, monospace;

  /* ---- Scale ---- */
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --border-w: 2.5px;
  --container: 1220px;
  --shadow-hard-sm: 4px 4px 0 var(--green900);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--green700); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Subtle grain, used only on dark/photo overlay surfaces for texture */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

/* Ambient gradient blobs — slow drift, decorative depth */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -24px) scale(1.08); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 999px;
  border: var(--border-w) solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s ease, background 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green700); color: var(--paper); box-shadow: 0 8px 24px -8px rgba(var(--green700-rgb),0.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(var(--green700-rgb),0.75); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--text); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard-sm); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--paper); border-color: rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,0.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand .mark img { width: 26px; height: 26px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 32px; font-weight: 600; font-size: 14.5px; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--green700); transition: right 0.25s cubic-bezier(.2,.8,.2,1);
}
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: none; color: var(--text); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle svg { grid-area: 1 / 1; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  html:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.theme-toggle-mobile {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 24px 16px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.theme-toggle-mobile .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle-mobile .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle-mobile .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-toggle-mobile .icon-sun { display: none; }
  html:not([data-theme="light"]) .theme-toggle-mobile .icon-moon { display: block; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav { display: none; flex-direction: column; background: var(--card); border-bottom: 1px solid var(--border); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 16px 24px; font-weight: 700; border-top: 1px solid var(--border); color: var(--text); }
.mobile-nav .btn { margin: 16px 24px; }

/* ==========================================================================
   Hero — full-bleed photo, glass stat dock
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: var(--paper); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--scrim-rgb),0.6) 0%, rgba(var(--scrim-rgb),0.8) 55%, var(--green900) 100%),
    linear-gradient(100deg, rgba(var(--scrim-rgb),0.88) 0%, rgba(var(--scrim-rgb),0.55) 48%, rgba(var(--scrim-rgb),0.3) 78%);
}

.hero-inner { position: relative; z-index: 2; padding: 168px 0 0; }
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow {
  color: var(--paper);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-copy .eyebrow svg { width: 15px; height: 15px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--paper); }

.hero-sub { margin-top: 22px; font-size: 18px; max-width: 48ch; color: rgba(var(--paper-rgb),0.86); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Glass stat dock — floats across the bottom of the hero */
.stat-dock {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.18);
  background: rgba(var(--scrim-rgb),0.35);
  backdrop-filter: blur(14px) saturate(1.3);
}
.stat-dock .stat {
  padding: 26px 24px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.stat-dock .stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat .num .suffix { font-size: 0.5em; color: var(--paper); font-family: var(--font-mono); }
.stat .label { margin-top: 4px; font-size: 13px; color: rgba(var(--paper-rgb),0.75); }

@media (max-width: 760px) {
  .stat-dock { grid-template-columns: repeat(2, 1fr); }
  .stat-dock .stat:nth-child(2) { border-right: none; }
}

/* ==========================================================================
   Section shell
   ========================================================================== */
.section { padding: 108px 0; position: relative; }
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { color: var(--green800); justify-content: center; margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 16px; font-size: 16.5px; color: var(--text-soft); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Problem / solution
   ========================================================================== */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ps-col { border-radius: var(--radius-lg); padding: 34px 32px; }
.ps-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ps-col ul { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.ps-col li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.55; }
.ps-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  margin-top: 2px;
}
.ps-before { background: var(--card); border: 1.5px dashed var(--border); }
.ps-before .ps-tag { color: var(--text-soft); }
.ps-before li { color: var(--text-soft-2); }
.ps-before .ps-icon { background: var(--border); color: var(--text-soft); }
.ps-after { background: var(--card); border: 2px solid var(--green700); box-shadow: var(--shadow-soft); }
.ps-after .ps-tag { color: var(--green800); }
.ps-after .ps-icon { background: var(--green700); color: var(--paper); }

@media (max-width: 760px) {
  .ps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Categories — real photo cards
   ========================================================================== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 30px -14px rgba(var(--ink-rgb),0.5);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px -16px rgba(var(--ink-rgb),0.55); }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--scrim-rgb),0) 35%, rgba(var(--scrim-rgb),0.88) 100%);
  z-index: 1;
}
.cat-card .cat-count {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--paper);
  background: rgba(var(--scrim-rgb),0.72);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
}
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; color: var(--paper); }
.cat-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.cat-body p { margin-top: 6px; font-size: 13.5px; color: rgba(var(--paper-rgb),0.82); }

/* ==========================================================================
   How it works — two tracks
   ========================================================================== */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.track { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.track-media { position: relative; height: 148px; }
.track-media img { width: 100%; height: 100%; object-fit: cover; }
.track-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim-rgb),0.15), rgba(var(--scrim-rgb),0.85)); }
.track-head { position: absolute; left: 24px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.track-head .chip {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.4);
  color: var(--paper); backdrop-filter: blur(6px);
}
.track.buyer .track-head .chip { background: rgba(19, 77, 43, 0.85); }
.track.seller .track-head .chip { background: rgba(10, 46, 26, 0.9); }
.track-head h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--paper); }

.track-body { padding: 28px 30px 32px; }
.step { display: flex; gap: 16px; padding: 16px 0; }
.step + .step { border-top: 1px dashed var(--border); }
.step-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--text);
  display: grid; place-items: center; flex-shrink: 0;
}
.step p { font-size: 14.5px; color: var(--text-soft-2); }
.whatsapp-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 12.5px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  vertical-align: middle;
}
.whatsapp-chip svg { color: var(--whatsapp); }
.step strong { display: block; font-size: 15.5px; margin-bottom: 3px; color: var(--text); }

/* ==========================================================================
   Features — bento grid
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 20px;
}
.bento-tile {
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s ease;
}
.bento-tile:hover { transform: translateY(-5px); }
.bento-tile.wide { grid-column: span 2; }
.bento-tile.tall { grid-row: span 2; }
.bento-tile.photo { grid-column: span 2; grid-row: span 2; padding: 0; }
.bento-tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-tile.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(var(--scrim-rgb),0.15) 20%, rgba(var(--scrim-rgb),0.92) 100%);
}
.bento-tile.photo .tile-content { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; color: var(--paper); }
.bento-tile.photo .tile-content h3 { color: var(--paper); }
.bento-tile.photo .tile-content p { color: rgba(var(--paper-rgb),0.85); }
.bento-tile.dark { background: var(--green900); color: var(--paper); }
.bento-tile.dark p { color: rgba(var(--paper-rgb),0.82); }

.tile-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--chip-bg);
  border: 1.5px solid var(--border);
  display: grid; place-items: center; margin-bottom: 14px;
}
.bento-tile.dark .tile-icon { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.tile-icon svg { width: 22px; height: 22px; }
.bento-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; }
.bento-tile p { margin-top: 8px; font-size: 14px; color: var(--text-soft); line-height: 1.5; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .bento-tile.photo { grid-column: span 2; grid-row: span 1; min-height: 260px; }
  .bento-tile.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.wide, .bento-tile.photo, .bento-tile.tall { grid-column: span 1; grid-row: span 1; }
  .bento-tile.photo { min-height: 220px; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-wrap { display: flex; justify-content: center; }
.price-board {
  position: relative;
  max-width: 560px; width: 100%;
  background: var(--green900); color: var(--paper);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px -24px rgba(var(--ink-rgb),0.6);
}
.price-board .free-tag {
  position: absolute; top: -16px; right: 28px;
  background: var(--green700);
  color: var(--paper);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(var(--green700-rgb),0.7);
}
.price-rows { display: flex; flex-direction: column; margin: 26px 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px solid rgba(var(--paper-rgb),0.14); }
.price-row:first-child { border-top: none; }
.price-row .label { font-size: 14.5px; color: rgba(var(--paper-rgb),0.78); }
.price-row .value { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--paper); }
.price-note { font-size: 13px; color: rgba(var(--paper-rgb),0.65); margin-top: 4px; }
.price-methods { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.method-pill { font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--paper-rgb),0.3); }

/* ==========================================================================
   Trust marquee
   ========================================================================== */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.badge-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 14px 22px;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.badge-pill .emoji { font-size: 20px; }
.badge-pill strong { font-size: 14px; }
.badge-pill span.desc { font-size: 12.5px; color: var(--text-soft); }

/* ==========================================================================
   CTA / download — full bleed photo
   ========================================================================== */
.cta { position: relative; overflow: hidden; color: var(--paper); text-align: center; padding: 120px 0; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--scrim-rgb),0.75), rgba(var(--scrim-rgb),0.9));
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  max-width: 18ch; margin: 0 auto; line-height: 1.08; letter-spacing: -0.01em;
}
.cta p { margin-top: 18px; font-size: 17px; opacity: 0.9; max-width: 50ch; margin-left: auto; margin-right: auto; }
.store-badges { display: flex; gap: 16px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  transition: transform 0.2s ease, background .2s ease;
}
.store-badge:hover { transform: translateY(-3px); background: rgba(255,255,255,0.18); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge .txt { text-align: left; line-height: 1.15; }
.store-badge .txt small { display: block; font-size: 10px; opacity: 0.75; }
.store-badge .txt strong { font-family: var(--font-display); font-size: 15px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green900); color: var(--paper); padding: 60px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(var(--paper-rgb),0.16); }
.footer-brand .brand { color: var(--paper); }
.footer-brand .brand .mark { background: var(--paper); border-color: rgba(255,255,255,0.25); }
.footer-brand p { margin-top: 14px; font-size: 14px; color: rgba(var(--paper-rgb),0.72); max-width: 32ch; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; opacity: 0.75; }
.footer-col ul li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 22px; font-size: 12.5px; color: rgba(var(--paper-rgb),0.55); flex-wrap: wrap; gap: 12px; }
.footer-credits { max-width: 70ch; line-height: 1.6; }
.footer-credits a { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { padding: 132px 0 0; }
  .tracks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .price-board { padding: 30px 24px; }
}
