/* ─────────────────────────────────────────
   קנו ח״כ — global styles
   RTL Hebrew · Headstart-inspired marketplace
   ───────────────────────────────────────── */

:root {
  --accent: #FFE15A;
  --accent-fg: #0D0D0D;
  --shop-bg: #FAF6EE;
  --ink: #0D0D0D;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e7e3d8;
  --card: #FFFFFF;
  --primary: #1d4ed8;
  --hot: #FF3D7F;
  --violet: #7B5BFF;
  --block-you: #f6f3ea;
  --block-you-bd: #ebe4d2;
  --block-me: #fff7d6;
  --block-me-bd: #f5e08a;
  --font-display: "Rubik", "Heebo", sans-serif;
  --font-body: "Heebo", "Assistant", system-ui, sans-serif;
  --card-radius: 18px;
  --card-border: 1px solid var(--line);
  --card-shadow-hover: 0 18px 36px -16px rgba(0,0,0,0.18);
}

/* ─────────────────────────────────────────
   THEME PRESETS
   ───────────────────────────────────────── */
[data-theme="market"] {
  /* default — already set above */
}
[data-theme="tabloid"] {
  --accent: #E53935;
  --accent-fg: #FFFFFF;
  --shop-bg: #F4ECD8;
  --ink: #1a1410;
  --ink-2: #2a1f14;
  --muted: #6e5a44;
  --line: #d8cdb1;
  --card: #FFF9EC;
  --hot: #E53935;
  --block-you: #faf2dd;
  --block-you-bd: #e8dcb9;
  --block-me: #fde2db;
  --block-me-bd: #f3b1a4;
  --font-display: "Frank Ruhl Libre", "Heebo", serif;
  --font-body: "Heebo", sans-serif;
  --card-radius: 4px;
  --card-border: 2px solid var(--ink);
  --card-shadow-hover: 0 12px 0 -6px var(--ink);
}
[data-theme="knesset"] {
  --accent: #2453D9;
  --accent-fg: #FFFFFF;
  --shop-bg: #F5F7FB;
  --ink: #0B1A40;
  --ink-2: #1F2A55;
  --muted: #677097;
  --line: #DCE3F2;
  --card: #FFFFFF;
  --hot: #FF3D7F;
  --block-you: #EEF2FB;
  --block-you-bd: #D8E1F4;
  --block-me: #FFF1D6;
  --block-me-bd: #F5D88A;
  --font-display: "Assistant", "Heebo", sans-serif;
  --font-body: "Assistant", "Heebo", sans-serif;
  --card-radius: 12px;
}
[data-theme="brutal"] {
  --accent: #FFFFFF;
  --accent-fg: #000000;
  --shop-bg: #E8E6E1;
  --ink: #000000;
  --ink-2: #1a1a1a;
  --muted: #555555;
  --line: #000000;
  --card: #FFFFFF;
  --hot: #FF3D00;
  --block-you: #f0eee9;
  --block-you-bd: #000000;
  --block-me: #FFFFFF;
  --block-me-bd: #000000;
  --font-display: "Suez One", "Rubik", sans-serif;
  --font-body: "Heebo", sans-serif;
  --card-radius: 0;
  --card-border: 2px solid var(--ink);
  --card-shadow-hover: 8px 8px 0 var(--ink);
}
[data-theme="street"] {
  --accent: #FF3D7F;
  --accent-fg: #1a1a1a;
  --shop-bg: #15131C;
  --ink: #FFFFFF;
  --ink-2: rgba(255,255,255,0.85);
  --muted: rgba(255,255,255,0.55);
  --line: rgba(255,255,255,0.15);
  --card: #1F1B28;
  --hot: #FF3D7F;
  --block-you: rgba(255,255,255,0.06);
  --block-you-bd: rgba(255,255,255,0.1);
  --block-me: rgba(255,61,127,0.15);
  --block-me-bd: rgba(255,61,127,0.4);
  --font-display: "Karantina", "Rubik", sans-serif;
  --font-body: "Heebo", sans-serif;
  --card-radius: 18px;
  --card-shadow-hover: 0 18px 60px -16px rgba(255,61,127,0.4);
}
[data-theme="paper"] {
  --accent: #C2410C;
  --accent-fg: #FFFFFF;
  --shop-bg: #F0E7D2;
  --ink: #2a1f14;
  --ink-2: #3d2c1c;
  --muted: #8a7758;
  --line: #d7c9a8;
  --card: #FBF4E1;
  --hot: #C2410C;
  --block-you: #f4ecd2;
  --block-you-bd: #d6c69e;
  --block-me: #fde5cb;
  --block-me-bd: #e8b787;
  --font-display: "Bellefair", "Frank Ruhl Libre", serif;
  --font-body: "Frank Ruhl Libre", serif;
  --card-radius: 2px;
  --card-border: 1px solid var(--ink);
  --card-shadow-hover: 0 8px 0 -4px rgba(42,31,20,0.2);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--shop-bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }

/* ─────────────────────────────────────────
   NAV
   ───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--card) 92%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-glyph {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: 20px;
  transform: rotate(-6deg);
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-name sup { font-size: 9px; vertical-align: top; opacity: 0.6; }
.brand-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin-inline-start: 8px;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 10px;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.nav-cta {
  background: var(--ink);
  color: var(--card);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,225,90,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 2.6s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.nav-ticker {
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 26px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  padding-inline-start: 100%;
}
@keyframes ticker {
  to { transform: translateX(100%); }
}

/* ─────────────────────────────────────────
   HERO
   ───────────────────────────────────────── */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 28px 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255,225,90,0.25);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,225,90,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(255,225,90,0); }
}
.hero-title {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

/* ─────────────────────────────────────────
   HERO POSTER ("ח״כ למכירה")
   ───────────────────────────────────────── */
.poster {
  --poster-yellow: #F4DA63;
  --poster-pink: #EC6090;
  --poster-ink: #15110D;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 26px;
  user-select: none;
}
.poster-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--poster-pink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(15px, 2.4vw, 26px);
  letter-spacing: 0.01em;
  padding: clamp(6px, 1vw, 11px) clamp(14px, 2vw, 26px);
  border-radius: 10px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 16px -8px rgba(236,96,144,0.7);
  margin-inline-start: clamp(8px, 4vw, 60px);
  margin-bottom: clamp(-22px, -2.4vw, -10px);
  z-index: 2;
}
.poster-badge-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.spark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: clamp(28px, 3.6vw, 48px);
  height: clamp(26px, 3.4vw, 44px);
}
.spark-r { inset-inline-end: clamp(-30px, -3.2vw, -16px); }
.spark-l { inset-inline-start: clamp(-30px, -3.2vw, -16px); }

.poster-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.82;
  color: var(--poster-ink);
}
.poster-line {
  display: inline-flex;
}
.poster-line span {
  display: inline-block;
  background: var(--poster-yellow);
  padding: clamp(4px, 0.8vw, 12px) clamp(12px, 1.8vw, 26px) clamp(8px, 1.2vw, 16px);
  font-size: clamp(58px, 13vw, 150px);
  letter-spacing: -0.03em;
}
.poster-line-1 {
  margin-inline-start: clamp(6px, 3vw, 44px);
}
.poster-line-2 {
  margin-top: clamp(-20px, -2.2vw, -8px);
}
.poster-line-1 span { transform: rotate(-1.5deg); }
.poster-line-2 span { transform: rotate(-2deg); }
@media (max-width: 680px) {
  .poster { align-items: center; }
  .poster-badge { margin-inline-start: 0; }
  .poster-lines { align-items: center; }
  .poster-line-1 { margin-inline-start: 0; }
}
.hl {
  background: var(--accent);
  padding: 0 12px;
  margin-inline: -2px;
  display: inline-block;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
  font-style: italic;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-cta-primary {
  position: relative;
  background: var(--accent);
  color: var(--accent-fg);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  padding: 18px 32px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.hero-cta-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}
.hero-cta-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}
.cta-sparkle {
  color: var(--ink);
  font-size: 22px;
  animation: spin 4s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-cta-secondary {
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  font-weight: 600;
}

.hero-trust {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.hero-trust b {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  font-size: 18px;
  margin-inline-end: 4px;
}

/* Hero art */
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  background: var(--card);
  /* Match the native portrait ratio so cover never zooms past 1.0 */
  aspect-ratio: 1043 / 1508;
}
.hero-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.photo-tag {
  position: absolute;
  background: var(--ink);
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  padding: 4px 8px;
  letter-spacing: 0.06em;
}
.tag-tl { top: 12px; right: 12px; }
.tag-bl { bottom: 12px; left: 12px; right: auto; }
.photo-sticker {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 90px;
  height: 90px;
  background: var(--hot);
  color: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  line-height: 1;
  border: 2px solid var(--ink);
  transform: rotate(-12deg);
  animation: jiggle 2.4s ease-in-out infinite;
}
.photo-sticker .sticker-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
  opacity: 0.9;
}
@keyframes jiggle {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(-6deg) scale(1.04); }
}
.hero-receipt {
  position: absolute;
  bottom: -28px;
  right: -36px;
  width: 220px;
  background: var(--card);
  border: 1px dashed var(--ink);
  padding: 14px 16px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  transform: rotate(4deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}
.rcpt-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.rcpt-divider {
  border-top: 1px dashed var(--ink);
  margin: 6px 0;
}
.rcpt-row.total {
  font-weight: 700;
  color: var(--hot);
}

/* ─────────────────────────────────────────
   CATEGORY STRIP
   ───────────────────────────────────────── */
.cat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.cat-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
}
.cat-pill {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
}
.cat-pill-active {
  background: var(--ink);
  color: var(--card);
  border-color: var(--ink);
  font-weight: 700;
}
.cat-spacer { flex: 1; }
.cat-sort {
  background: transparent;
  border: 0;
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
}

/* ─────────────────────────────────────────
   SHOP / GRID
   ───────────────────────────────────────── */
.shop {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 28px 72px;
}
.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.shop-title {
  font-size: 32px;
  font-weight: 900;
}
.shop-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}
.shop-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
}
.shop-link span { font-size: 18px; margin-inline-start: 4px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; gap: 12px; }
  .brand-tag { display: none; }
}

/* ─────────────────────────────────────────
   CARD
   ───────────────────────────────────────── */
.card {
  background: var(--card);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}
.card-img {
  position: relative;
}
.card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 30%;
}
.creator-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: color-mix(in oklab, var(--ink) 10%, var(--card));
}
.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.card-knesset-stamp {
  background: rgba(13,13,13,0.85);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}
.card-creator {
  display: flex;
  align-items: center;
  gap: 10px;
}
.creator-meta { line-height: 1.2; }
.creator-name {
  font-size: 13px;
  font-weight: 700;
}
.creator-firm {
  font-size: 11px;
  color: var(--muted);
}

.card-blocks {
  display: grid;
  gap: 8px;
}
.block {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}
.block-you {
  background: var(--block-you);
  border: 1px solid var(--block-you-bd);
}
.block-me {
  background: var(--block-me);
  border: 1px solid var(--block-me-bd);
}
.block-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
  opacity: 0.8;
}
.block-me .block-label::before {
  content: "";
  color: var(--hot);
  opacity: 1;
}

.bonus {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--card);
  border: 1px dashed var(--ink);
  padding: 8px 10px;
  border-radius: 8px;
  line-height: 1.4;
}
.bonus-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

.progress-wrap {
  margin-top: auto;
  padding-top: 4px;
}
.progress-track {
  background: color-mix(in oklab, var(--ink) 12%, transparent);
  border-radius: 999px;
  height: 10px;
  position: relative;
  overflow: visible;
}
.progress-bar {
  background: var(--ink);
  height: 100%;
  border-radius: 999px;
  position: relative;
  transition: width 0.6s ease;
}
.progress-pct {
  position: absolute;
  inset-inline-end: 0;
  top: -22px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: var(--accent-fg);
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.stat-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
}
.stat-lbl {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.buy-btn {
  background: var(--ink);
  color: var(--card);
  border: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.12s ease;
  margin-top: auto;
}
.buy-btn:hover {
  background: var(--hot);
  transform: translateY(-1px);
}
.buy-btn:active { transform: translateY(0); }

/* ─────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────── */
.how {
  background: var(--ink);
  color: #fff;
  padding: 72px 28px;
}
.how-head {
  max-width: 1280px;
  margin: 0 auto 36px;
  text-align: center;
}
.how-head h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 8px;
}
.how-head p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.asterisk {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-top: 6px;
}
.how-steps {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
.how-step {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}
.how-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.how-t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 6px;
}
.how-d {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────── */
.test {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 28px;
}
.test-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}
.test-head h2 {
  font-size: 36px;
  font-weight: 900;
}
.test-rating {
  font-size: 13px;
  color: var(--muted);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .test-grid { grid-template-columns: 1fr; }
}
.test-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  margin: 0;
}
.test-stars {
  color: var(--accent);
  font-size: 18px;
  -webkit-text-stroke: 1px var(--ink);
  margin-bottom: 10px;
}
.test-card blockquote {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
}
.test-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}
.test-anon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 8%, var(--card));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ink-2);
}
.test-n { font-weight: 700; }
.test-t { color: var(--muted); }
.test-verify {
  margin-inline-start: auto;
  color: #1f8a5b;
  font-weight: 700;
}

/* ─────────────────────────────────────────
   REAL STORY
   ───────────────────────────────────────── */
.real {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,61,127,0.22), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(123,91,255,0.18), transparent 50%),
    #0a0a0a;
  color: #fff;
  padding: 100px 28px;
}
.real-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.real-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: rgba(255,225,90,0.1);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,225,90,0.3);
  margin-bottom: 24px;
}
.real-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 22px;
}
.real-strong {
  color: var(--accent);
}
.real-body {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  margin: 0 auto 36px;
  max-width: 680px;
}

.real-video {
  display: block;
  margin: 0 auto 40px;
  max-width: 820px;
  text-align: start;
}
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.video-caption {
  margin-top: 14px;
  padding-inline-start: 4px;
}
.video-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.video-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}
.video-channel {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

.real-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto 36px;
  position: relative;
  padding-top: 24px;
}
.quote-mark {
  position: absolute;
  top: -12px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.6;
}

.real-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.real-cta {
  padding: 14px 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.18s ease;
}
.real-cta:hover { background: rgba(255,255,255,0.08); }
.real-cta.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.real-cta.primary:hover { background: #fff; }

/* Same 3-color set as the twist CTAs */
.real-cta.cta-color-1 {
  background: #FFE15A;
  border-color: #FFE15A;
  color: #0a0a0a;
  box-shadow: 0 14px 32px -14px rgba(255,225,90,0.5);
}
.real-cta.cta-color-1:hover { background: #FFF0A3; border-color: #FFF0A3; }
.real-cta.cta-color-2 {
  background: #1E63E0;
  border-color: #1E63E0;
  color: #FFFFFF;
  box-shadow: 0 14px 32px -14px rgba(30,99,224,0.55);
}
.real-cta.cta-color-2:hover { background: #3D7BEC; border-color: #3D7BEC; }
.real-cta.cta-color-3 {
  background: #E0376F;
  border-color: #E0376F;
  color: #FFFFFF;
  box-shadow: 0 14px 32px -14px rgba(224,55,111,0.55);
}
.real-cta.cta-color-3:hover { background: #EC547F; border-color: #EC547F; }

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
.footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 56px 28px 24px;
}
.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-blurb {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  max-width: 380px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  font-size: 14px;
}
.footer-cols h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-cols a {
  display: block;
  color: var(--ink-2);
  padding: 4px 0;
}
.footer-cols a:hover { color: var(--ink); }
.footer-bot {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-fine {
  font-style: italic;
  opacity: 0.8;
}

/* ─────────────────────────────────────────
   TWIST OVERLAY
   ───────────────────────────────────────── */
.twist {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.twist-flash {
  background: #fff;
  animation: flashOut 0.22s ease forwards;
}
@keyframes flashOut {
  0% { background: #fff; }
  100% { background: #fff; }
}
.twist-black {
  background: #000;
  animation: fadeFromWhite 0.38s ease forwards;
}
@keyframes fadeFromWhite {
  0% { background: #fff; }
  100% { background: #000; }
}
.twist-reveal {
  background: #000;
}
.twist-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  inset-inline-end: max(14px, env(safe-area-inset-right, 0px));
  z-index: 120;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.32);
  width: 52px; height: 52px;
  min-width: 52px; min-height: 52px;
  border-radius: 999px;
  color: #fff;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: rgba(255,255,255,0.2);
  touch-action: manipulation;
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  font: inherit;
}
.twist-close:hover, .twist-close:focus-visible, .twist-close:active {
  background: rgba(255,255,255,0.26);
  outline: none;
  transform: scale(0.96);
}

/* Always-visible "back to site" pill at top-start of the overlay.
   Bigger, labelled, impossible to miss on mobile. */
.twist-return {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 0px));
  inset-inline-start: max(14px, env(safe-area-inset-left, 0px));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  font-family: "Rubik", "Heebo", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0.2);
  touch-action: manipulation;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.twist-return:hover, .twist-return:focus-visible, .twist-return:active {
  background: rgba(255,255,255,0.22);
  outline: none;
}
.twist-return svg {
  transform: scaleX(-1); /* arrow points outward in RTL */
}

.twist-inner {
  max-width: 920px;
  width: 100%;
  padding: 80px 32px 60px;
  color: #fff;
  text-align: center;
  animation: twistRise 0.5s 0.05s ease both;
}
@media (max-width: 640px) {
  .twist-inner {
    padding: 88px 20px 80px;
  }
}
@keyframes twistRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.twist-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.twist-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 999px;
  animation: pulse 1.6s ease-in-out infinite;
}
.twist-headline {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1.08;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}
.twist-headline span { display: block; }
.twist-strike {
  position: relative;
  display: inline-block !important;
  color: rgba(255,255,255,0.85);
}
.twist-strike::after {
  content: "";
  position: absolute;
  inset-inline-start: -6px;
  inset-inline-end: -6px;
  top: 52%;
  height: 4px;
  background: var(--accent);
  transform: rotate(-1.5deg);
}
.twist-body {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin: 0 auto 22px;
}
.twist-body b { color: var(--accent); }
.twist-reminder {
  display: inline-block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 36px;
}
.twist-reminder b { color: #fff; }

.twist-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
  text-align: start;
}
@media (max-width: 800px) {
  .twist-ctas { grid-template-columns: 1fr; }
}
.twist-cta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 22px 22px 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.twist-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.07);
}
.twist-cta.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(255,225,90,0.5);
}
.twist-cta.primary:hover { background: #fff; border-color: #fff; }
.cta-kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.65;
  text-transform: uppercase;
}
.cta-main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.25;
}
.cta-sub {
  font-size: 13px;
  opacity: 0.72;
}

/* Three-color CTA palette on the twist screen. Each button gets its own accent
   so users see clearly that they are three distinct actions, not a stack. */
.twist-cta.cta-color-1 {
  background: #FFE15A;
  border-color: #FFE15A;
  color: #0a0a0a;
  box-shadow: 0 18px 40px -16px rgba(255,225,90,0.5);
}
.twist-cta.cta-color-1:hover {
  background: #FFF0A3;
  border-color: #FFF0A3;
}
.twist-cta.cta-color-2 {
  background: #1E63E0;
  border-color: #1E63E0;
  color: #FFFFFF;
  box-shadow: 0 18px 40px -16px rgba(30,99,224,0.55);
}
.twist-cta.cta-color-2:hover {
  background: #3D7BEC;
  border-color: #3D7BEC;
}
.twist-cta.cta-color-3 {
  background: #E0376F;
  border-color: #E0376F;
  color: #FFFFFF;
  box-shadow: 0 18px 40px -16px rgba(224,55,111,0.55);
}
.twist-cta.cta-color-3:hover {
  background: #EC547F;
  border-color: #EC547F;
}

.twist-back {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
.twist-back:hover { color: #fff; }

/* ─────────────────────────────────────────
   Reveal-on-scroll & global animations
   ───────────────────────────────────────── */
[data-reveal] {
  --reveal-delay: 0ms;
  transition:
    opacity 0.6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay),
    transform 0.7s cubic-bezier(.2,.7,.2,1) var(--reveal-delay),
    filter 0.6s ease var(--reveal-delay);
  will-change: opacity, transform;
}
[data-reveal="hidden"] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(2px);
}
[data-reveal="shown"] {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  [data-reveal="hidden"] { opacity: 1; transform: none; filter: none; }
  .floaty, .marquee-track, .ticker-track, .nav-cta::after,
  .photo-sticker, .cta-sparkle, .tweak-fab svg, .kicker-dot {
    animation: none !important;
  }
}

/* Floaty hover/idle motion on the hero photo */
.hero-photo {
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-0.4deg); }
}

/* Card hover lift gets a tiny image zoom */
.card { will-change: transform; }
.card-photo {
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-photo {
  transform: scale(1.05);
}

/* Buy button — subtle sheen on hover */
.buy-btn { position: relative; overflow: hidden; }
.buy-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.buy-btn:hover::before { transform: translateX(120%); }

/* Hero CTA sparkle wobble */
.hero-cta-primary { transition: transform 0.18s cubic-bezier(.2,.7,.2,1), box-shadow 0.18s ease; }
.hero-cta-primary:hover .cta-sparkle { animation: sparkle 0.6s ease both; }
@keyframes sparkle {
  0%   { transform: scale(1) rotate(0); }
  35%  { transform: scale(1.35) rotate(120deg); }
  100% { transform: scale(1) rotate(360deg); }
}

/* Twist headline reveal: letter-style staggered drop */
.twist-headline {
  animation: twistDrop 0.7s 0.1s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes twistDrop {
  from { opacity: 0; transform: translateY(-12px); letter-spacing: 0.03em; }
  to   { opacity: 1; transform: none; letter-spacing: -0.01em; }
}
.twist-body { animation: twistRise 0.6s 0.32s ease both; }
.twist-reminder { animation: twistRise 0.6s 0.5s ease both; }
.twist-ctas { animation: twistRise 0.7s 0.62s cubic-bezier(.2,.7,.2,1) both; }
.twist-ctas .twist-cta {
  animation: ctaPop 0.55s cubic-bezier(.2,.8,.2,1) both;
}
.twist-ctas .twist-cta:nth-child(1) { animation-delay: 0.74s; }
.twist-ctas .twist-cta:nth-child(2) { animation-delay: 0.86s; }
.twist-ctas .twist-cta:nth-child(3) { animation-delay: 0.98s; }
@keyframes ctaPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.twist-cta:hover {
  transform: translateY(-4px) !important;
}

/* "Real story" jaune underline expand */
.real-strong {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 4px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  padding-bottom: 6px;
  transition: background-size 0.9s 0.2s cubic-bezier(.2,.7,.2,1);
}
[data-reveal="shown"] .real-strong,
.real-title[data-reveal="shown"] .real-strong {
  background-size: 100% 4px;
}

/* How-it-works numbers softly pulse on reveal */
.how-step[data-reveal="shown"] .how-num {
  animation: howNum 0.7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes howNum {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
  to   { opacity: 1; transform: none; }
}

/* Make Reveal wrappers around grid items behave like the cards themselves */
.card-reveal {
  display: flex;
}
.card-reveal > .card {
  flex: 1;
  width: 100%;
}

/* Smooth scrolling for anchor links */
html { scroll-behavior: smooth; }

/* ─────────────────────────────────────────
   Share section (bottom of page)
   ───────────────────────────────────────── */
.share {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 64px 24px 48px;
}
.share-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.share-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--ink);
}
.share-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.35);
  transition: transform 0.18s cubic-bezier(.2,.7,.2,1), box-shadow 0.18s ease;
  animation: sharePop 0.5s cubic-bezier(.2,.7,.2,1) both;
  -webkit-tap-highlight-color: transparent;
}
@keyframes sharePop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.4);
}
.share-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.share-label { line-height: 1; }

/* Copy-link row */
.share-link-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.share-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 14px 10px 16px;
  background: color-mix(in oklab, var(--ink) 5%, var(--card));
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.share-link:hover {
  background: color-mix(in oklab, var(--ink) 9%, var(--card));
  border-color: color-mix(in oklab, var(--ink) 25%, transparent);
}
.share-link:active { transform: translateY(1px); }
.share-link.copied {
  background: color-mix(in oklab, #1f8a5b 18%, var(--card));
  border-color: #1f8a5b;
  color: #1f8a5b;
}
.link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--muted);
}
.share-link.copied .link-icon { color: #1f8a5b; }
.link-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
  direction: ltr;
}
.link-cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-inline-start: 6px;
  border-inline-start: 1px solid var(--line);
  padding-inline-end: 2px;
  flex-shrink: 0;
}
.share-link.copied .link-cta {
  color: #1f8a5b;
  border-inline-start-color: #1f8a5b;
}

@media (max-width: 480px) {
  .share-buttons { gap: 8px; }
  .share-btn { padding: 11px 14px; font-size: 13.5px; }
  .link-url { max-width: 180px; }
}

/* ─────────────────────────────────────────
   Floating "open tweaks" button
   ───────────────────────────────────────── */
.tweak-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  background: #0D0D0D;
  color: #FFE15A;
  border: 0;
  border-radius: 999px;
  font-family: "Rubik", "Heebo", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tweak-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.55), 0 2px 0 rgba(0,0,0,0.18);
}
.tweak-fab svg {
  animation: spin 18s linear infinite;
}
