/* ============================================================
   Kerdili — كرديلي
   "Hanout poster" design language: the colorful, hand-made
   world of an Algerian grocery — cream paper, tomato red,
   price-sticker yellow, market green; chunky poster type,
   ink outlines and hard print shadows; and at the center,
   the squared-paper credit notebook everyone knows.
   ============================================================ */

@font-face{font-family:'OceanBrushArabic';font-display:swap;src:url('OceanBrushArabic.otf') format('opentype')}
@font-face{font-family:'Alexandria';font-weight:400;font-display:swap;src:url('Alexandria-400.ttf') format('truetype')}
@font-face{font-family:'Alexandria';font-weight:500;font-display:swap;src:url('Alexandria-500.ttf') format('truetype')}
@font-face{font-family:'Alexandria';font-weight:600;font-display:swap;src:url('Alexandria-600.ttf') format('truetype')}
@font-face{font-family:'Alexandria';font-weight:700;font-display:swap;src:url('Alexandria-700.ttf') format('truetype')}

:root {
  --creme: #fbf3e0;        /* poster paper */
  --creme-2: #f5ead0;
  --kraft: #ecdbb4;        /* wrapping paper / old counter */
  --encre: #262016;        /* warm ink */
  --stylo: #2c3a4e;        /* ballpoint blue, notebook writing */

  --tomate: #e23b2e;       /* hand-painted price red */
  --tomate-fonce: #b92a1f;
  --moutarde: #f6b51e;     /* fluorescent price-sticker yellow */
  --vert: #008940;         /* Kerdili green — the app's exact green */
  --vert-fonce: #00662F;
  --vert-nuit: #00542A;   /* the same hue, taken down for depth */
  --vert-clair: #03C468;
  /* the app's Brand.gradient — accent to primary, top-left to bottom-right.
     Every green surface on the site is this gradient, not a flat fill. */
  --vert-grad: linear-gradient(135deg, var(--vert-clair) 0%, var(--vert) 100%);
  --vert-grad-deep: linear-gradient(150deg, var(--vert) 0%, var(--vert-nuit) 100%);
  --teal: #22808f;         /* crate blue-green, 4th accent */

  --carreau: rgba(120, 154, 180, 0.30);  /* 5mm notebook squares */

  --font-display: "Raleway", "Archivo Black", sans-serif;
  --font-label: "Raleway", "Helvetica Neue", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-word: "Raleway", "Archivo Black", sans-serif;
  --word-weight: 800;

  --ombre: 6px 6px 0 rgba(38, 32, 22, 0.9);     /* hard print shadow */
  --ombre-sm: 4px 4px 0 rgba(38, 32, 22, 0.9);
  --maxw: 1180px;
}

[dir="rtl"] {
  /* Alexandria — the face the app itself uses for Arabic */
  --font-display: "Alexandria", sans-serif;
  --font-label: "Alexandria", sans-serif;
  --font-body: "Alexandria", sans-serif;
  --font-hand: "OceanBrushArabic", "Alexandria", sans-serif;
  --font-word: "Alexandria", sans-serif;
  --word-weight: 700;
}
[dir="rtl"] .t-display { font-weight: 700; }
[dir="rtl"] .t-hand { font-weight: 400; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--creme);
}

img, svg { display: block; max-width: 100%; }
strong, b, h1, h2, h3, h4 { font-family: var(--font-label); font-weight: 700; }
[dir="rtl"] strong, [dir="rtl"] b { font-weight: 600; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

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

/* ---------- type ---------- */

.t-label {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
[dir="rtl"] .t-label { letter-spacing: 0.02em; font-size: 13.5px; }

.t-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.005em;
}
[dir="rtl"] .t-display { text-transform: none; line-height: 1.25; letter-spacing: 0; }

.t-hand { font-family: var(--font-hand); font-weight: 700; }
[dir="rtl"] .t-hand { font-weight: 400; }

/* ---------- header: shop-front ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 243, 224, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--encre);
  color: var(--encre);
}
.site-header .container { display: flex; align-items: center; gap: 26px; height: 74px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-word);
  font-weight: var(--word-weight);
  font-size: 24px;
  line-height: 1;
}
.brand svg { width: 32px; height: 32px; }

.site-nav { display: flex; gap: 24px; margin-inline-start: 12px; flex: 1; }
.site-nav a {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--encre);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2.5px solid transparent;
}
[dir="rtl"] .site-nav a { letter-spacing: 0; font-size: 14.5px; }
.site-nav a:hover { border-bottom-color: var(--vert); color: var(--vert-fonce); }

.lang-switch {
  display: flex;
  border: 2px solid var(--encre);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}
.lang-switch a {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  text-decoration: none;
  color: var(--encre);
}
.lang-switch a.on { background: var(--encre); color: var(--creme); }

/* awning: striped shop canopy — one piece of fabric whose stripes
   flow into a wavy scalloped hem, like a real storefront awning */
.awning {
  height: 36px;
  background:
    linear-gradient(rgba(38, 32, 22, 0) 40%, rgba(38, 32, 22, 0.12)),
    repeating-linear-gradient(90deg, var(--tomate) 0 32px, #f6ecd2 32px 64px);
  -webkit-mask-image:
    linear-gradient(#000, #000),
    radial-gradient(16px at 16px 0, #000 98%, transparent 101%);
  -webkit-mask-size: 100% 20px, 32px 16px;
  -webkit-mask-position: 0 0, 0 20px;
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-image:
    linear-gradient(#000, #000),
    radial-gradient(16px at 16px 0, #000 98%, transparent 101%);
  mask-size: 100% 20px, 32px 16px;
  mask-position: 0 0, 0 20px;
  mask-repeat: no-repeat, repeat-x;
  filter: drop-shadow(0 3px 0 rgba(38, 32, 22, 0.28));
}
.awning.vert {
  background:
    linear-gradient(rgba(38, 32, 22, 0) 40%, rgba(38, 32, 22, 0.12)),
    repeating-linear-gradient(90deg, var(--vert-clair) 0 10px, var(--vert) 22px 32px, #f6ecd2 32px 64px);
}

/* ---------- buttons: chunky poster ---------- */

.btn {
  font-family: var(--font-label);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2.5px solid var(--encre);
  color: var(--encre);
  background: #fff;
  white-space: nowrap;
  display: inline-block;
  box-shadow: var(--ombre-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
[dir="rtl"] .btn { letter-spacing: 0; font-size: 15px; font-weight: 700; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(38, 32, 22, 0.9); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(38, 32, 22, 0.9); }
.btn-red { background: var(--tomate); color: #fff; }
.btn-green { background: var(--vert-grad); color: #fff; }
.btn-yellow { background: var(--moutarde); color: var(--encre); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }

/* ---------- scenes ---------- */

.scene-paper {
  position: relative;
  background:
    linear-gradient(var(--carreau) 1px, transparent 1px),
    linear-gradient(90deg, var(--carreau) 1px, transparent 1px),
    var(--creme);
  background-size: 26px 26px;
  color: var(--encre);
}
.scene-kraft {
  background:
    repeating-linear-gradient(-45deg, rgba(38, 32, 22, 0.025) 0 3px, transparent 3px 9px),
    var(--kraft);
  color: var(--encre);
}
.scene-cream { background: var(--creme); color: var(--encre); }
.scene-green {
  background:
    radial-gradient(rgba(255, 255, 255, 0.13) 1.6px, transparent 1.9px),
    linear-gradient(150deg, var(--vert) 0%, var(--vert-fonce) 52%, var(--vert-nuit) 100%);
  background-size: 24px 24px, auto;
  color: #fff;
}
.scene-red {
  background:
    radial-gradient(rgba(255, 255, 255, 0.10) 1.6px, transparent 1.9px),
    linear-gradient(180deg, var(--tomate), var(--tomate-fonce));
  background-size: 24px 24px, auto;
  color: #fff;
}

.section { position: relative; padding-block: 92px; scroll-margin-top: 92px; }

.section .container { position: relative; z-index: 1; }
@media (max-width: 760px) { .section { padding-block: 60px; } }

.kicker {
  display: inline-block;
  background: var(--encre);
  color: var(--creme);
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  transform: rotate(-1.2deg);
}
[dir="rtl"] .kicker { transform: rotate(1.2deg); }
.kicker.on-red { background: #fff; color: var(--tomate-fonce); }
.kicker.on-green { background: var(--moutarde); color: var(--encre); }

.section h2.t-display { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 24ch; }
.section .lead { margin-top: 20px; max-width: 62ch; font-size: 18px; color: rgba(38, 32, 22, 0.78); }
.scene-green .lead, .scene-red .lead { color: rgba(255, 255, 255, 0.85); }

.demo-note {
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--vert-fonce);
  font-weight: 700;
  min-height: 1.6em;
}
.scene-green .demo-note { color: var(--moutarde); }

/* ---------- hero ---------- */

.hero { overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
  padding-block: 64px 84px;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; padding-block: 48px 60px; } }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  border: 2px solid var(--encre);
  border-radius: 999px;
  padding: 7px 16px;
  box-shadow: var(--ombre-sm);
  transform: rotate(-1deg);
}
[dir="rtl"] .hero-eyebrow { transform: rotate(1deg); }

.hero-word {
  font-family: var(--font-word);
  font-weight: var(--word-weight);
  font-size: clamp(4.2rem, 11vw, 8.2rem);
  line-height: 1;
  margin-top: 26px;
  color: var(--encre);
}
[dir="rtl"] .hero-word { line-height: 1.32; padding-bottom: 0.06em; }
.hero-word .accent { color: var(--vert); }

.hero-def {
  font-family: var(--font-hand);
  /* the same hand, at the same weight, as the entries inside the karny */
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--stylo);
  margin-top: 12px;
  line-height: 1.5;
  transform: rotate(-1.2deg);
}
[dir="rtl"] .hero-def { transform: rotate(0.8deg); margin-top: 26px; line-height: 1.9; font-weight: 400; }

.hero-lead { margin-top: 22px; max-width: 50ch; font-size: 18.5px; color: rgba(38, 32, 22, 0.8); }

.hero-ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-tags { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-tags span {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px dashed rgba(38, 32, 22, 0.4);
  color: rgba(38, 32, 22, 0.8);
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(-0.5deg);
}
.hero-tags span:nth-child(2) { transform: rotate(0.8deg); }
.hero-tags span:nth-child(3) { transform: rotate(-1deg); }

.hero-illo-wrap { position: relative; }
.hero-illo { width: 100%; height: auto; }

/* gentle float for phone + stickers in the collage */
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes floaty2 { from { transform: translateY(-4px) rotate(-2deg); } to { transform: translateY(5px) rotate(-2deg); } }
.floaty { animation: floaty 3.4s ease-in-out infinite alternate; }
.floaty2 { animation: floaty2 4.2s ease-in-out infinite alternate; }

/* starburst sticker */
.sticker {
  position: absolute;
  width: clamp(96px, 12vw, 150px);
  filter: drop-shadow(4px 5px 0 rgba(38, 32, 22, 0.85));
  transform: rotate(10deg);
  z-index: 3;
}
.sticker.spin { animation: wiggle 5s ease-in-out infinite alternate; }
@keyframes wiggle { from { transform: rotate(6deg); } to { transform: rotate(14deg); } }

/* ---------- problem section (kraft) ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 980px) { .problem-grid { grid-template-columns: 1fr; gap: 36px; } }
.problem-illo { width: 100%; height: auto; }

.problem-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.problem-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(38, 32, 22, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
}
.problem-list .x { font-family: var(--font-hand); color: var(--tomate); font-size: 24px; flex-shrink: 0; line-height: 1; }

/* ---------- app boards & phones (Kerdili green = the app) ---------- */

.board {
  border: 2.5px solid var(--encre);
  border-radius: 18px;
  background: var(--vert-grad-deep);
  box-shadow: var(--ombre);
  color: #fff;
  overflow: hidden;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.board-head .t-label { color: #fff; }
.board-status { color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; gap: 8px; }
.board-status .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.board-status .dot.red { background: #ff8d7e; }
.board-status .dot.green { background: var(--vert-clair); }

.board-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  font-size: 15px;
}
.board-row:first-of-type { border-top: 0; }
.board-row .chip {
  background: #fff;
  color: var(--vert-nuit);
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 12.5px;
  border-radius: 9px;
  padding: 5px 9px;
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}
.board-row .what { flex: 1; }
.board-row .amt { color: rgba(255, 255, 255, 0.65); font-weight: 700; white-space: nowrap; }
.board-row.in { animation: fadeUp 0.35s ease; }
.board-foot {
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

.phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 36px;
  margin-top: 46px;
}
@media (max-width: 720px) { .phones { grid-template-columns: 1fr; } }

/* a real phone mockup: narrow body, side buttons, notch, status bar,
   and a LIGHT app UI inside — green is the accent, not the wallpaper */
.phone {
  position: relative;
  width: min(315px, 100%);
  background: #17140f;
  border: 2.5px solid var(--encre);
  border-radius: 46px;
  padding: 9px;
  box-shadow: var(--ombre);
  display: flex;
}
.phone::before {
  content: "";
  position: absolute;
  inset-inline-end: -7px;
  top: 120px;
  width: 5px;
  height: 58px;
  background: var(--encre);
  border-radius: 3px;
}
.phone::after {
  content: "";
  position: absolute;
  inset-inline-start: -7px;
  top: 104px;
  width: 5px;
  height: 88px;
  background: var(--encre);
  border-radius: 3px;
}
.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f2f4f0;
  color: #20291f;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  min-height: 620px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #17140f;
  border-radius: 12px;
  z-index: 4;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px 4px;
  background: var(--vert);
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
/* light-app theme inside the screen */
.screen .phone-head { background: var(--vert-grad); color: #fff; border-bottom: none; padding: 8px 18px 14px; }
.screen .balance-caption { color: #6a7568; }
.screen .tiny { color: #8a948a; }
.screen .muted-note { color: #9aa39a; }
.screen .waiting { color: #3a453c; }
.screen .field { background: #fff; border: 1.5px solid #d8ded6; }
.screen .field .ph { color: #9aa39a; }
.screen .sugg { background: #fff; border-color: #cfd6cd; color: #2a332a; }
.screen .sugg.on { background: var(--vert-grad); border-color: var(--vert-fonce); color: #fff; }
.screen .act-btn {
  background: var(--vert-grad);
  border-color: var(--vert-fonce);
  color: #fff;
  box-shadow: 0 3px 0 rgba(8, 79, 46, 0.35);
}
.screen .act-btn:disabled { background: #cfd6cd; border-color: #b9c1b7; color: #7c857b; }
.screen .tabs { background: #e3e8e1; border-radius: 11px; padding: 3px; }
.screen .ptab { border: 0; color: #5a655a; border-radius: 9px; }
.screen .ptab.on { background: #fff; color: var(--vert-fonce); border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.screen .qr-card { background: #fff; border: 1.5px solid #e0e5de; }
.screen .req-card {
  background: #fff;
  border: 1.5px solid #e0e5de;
  border-inline-start: 4px solid var(--vert);
  box-shadow: 0 4px 14px rgba(20, 30, 20, 0.08);
}
.screen .ledger li { border-top-color: #e4e8e2; }
.screen .ledger li .amt.plus { color: #c04a3a; }
.screen .ledger li .amt.minus { color: var(--vert-fonce); }
.screen .balance-line .cur { color: #6a7568; }
.screen .limit-bar { background: #e0e5de; }
.screen .limit-fill { background: var(--vert-grad); }
.screen .ledger.dim li { opacity: 0.8; }
.phone-head {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.phone-head .who { font-weight: 700; font-size: 15px; }
.phone-head .role {
  font-size: 11.5px;
  font-family: var(--font-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--moutarde);
  color: var(--encre);
  border-radius: 999px;
  padding: 3px 10px;
}
[dir="rtl"] .phone-head .role { letter-spacing: 0; }
.phone-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 14px; }

.item-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.item-btn {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.1s ease;
}
.item-btn:hover { background: rgba(255, 255, 255, 0.18); }
.item-btn:active { transform: scale(0.95); }
.item-btn.pay { border-color: var(--moutarde); color: var(--moutarde); }

.balance-line { display: flex; align-items: baseline; gap: 10px; }
.balance-line .t-num { font-family: var(--font-display); font-size: 42px; line-height: 1; }
.balance-line .cur { color: rgba(255, 255, 255, 0.75); font-weight: 700; }
.balance-caption { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }

.ledger { display: flex; flex-direction: column; }
.ledger li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14.5px;
}
.ledger li:first-child { border-top: 0; }
.ledger li .amt { font-family: var(--font-label); font-weight: 800; white-space: nowrap; }
.ledger li .amt.plus { color: #ffd9a8; }
.ledger li .amt.minus { color: var(--vert-clair); }
.ledger li.in { animation: fadeUp 0.35s ease; }

/* push-notification banner */
.toast {
  position: absolute;
  inset-inline: 18px;
  top: 100px;
  background: #fff;
  color: #1c231d;
  border: 1px solid #e0e5de;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(10, 20, 10, 0.3);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 5;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- the journey demo: request -> approve -> sale -> payment ---------- */

.steps-bar { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 6px 16px;
}
.step-chip .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid; place-items: center;
  font-size: 12.5px;
}
.step-chip.on { background: var(--moutarde); border-color: var(--encre); color: var(--encre); box-shadow: 3px 3px 0 rgba(38, 32, 22, 0.9); }
.step-chip.on .n { background: var(--encre); color: var(--moutarde); }
.step-chip.done { border-color: var(--vert-clair); color: var(--vert-clair); }
.step-chip.done .n { background: rgba(53, 209, 128, 0.2); }

.demo-guide {
  margin-top: 16px;
  display: inline-block;
  background: #fff;
  color: var(--encre);
  border: 2.5px solid var(--encre);
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 4px 4px 0 rgba(38, 32, 22, 0.9);
}
.demo-guide.in { animation: fadeUp 0.35s ease; }

.pv { display: none; }
.pv.on { display: flex; flex-direction: column; gap: 12px; flex: 1; }

.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 12px;
}
.qr-card svg { width: 62px; height: 62px; flex-shrink: 0; }
.tiny { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.muted-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); text-align: center; margin-top: auto; }
.waiting { text-align: center; margin: auto 0; font-weight: 700; line-height: 2; }
.ledger.dim li { opacity: 0.55; }

.req-card {
  background: rgba(246, 181, 30, 0.12);
  border: 1.5px solid var(--moutarde);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.req-card b { font-size: 14.5px; }
.req-card.in { animation: fadeUp 0.35s ease; }

.field {
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px dashed rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  min-height: 38px;
}
.field .ph { color: rgba(255, 255, 255, 0.4); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sugg {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.sugg.on { background: var(--moutarde); color: var(--encre); border-color: var(--encre); }
.act-btn {
  background: var(--moutarde);
  color: var(--encre);
  border: 2px solid var(--encre);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14.5px;
  width: 100%;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(38, 32, 22, 0.6);
}
.act-btn:disabled { opacity: 0.4; box-shadow: none; cursor: default; }
.tabs { display: flex; gap: 8px; }
.ptab {
  flex: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  border-radius: 9px;
  padding: 7px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
}
.ptab.on { background: #fff; color: var(--vert-nuit); border-color: #fff; }
.limit-wrap { display: flex; flex-direction: column; gap: 5px; }
.limit-bar { height: 8px; background: rgba(255, 255, 255, 0.18); border-radius: 6px; overflow: hidden; }
.limit-fill { height: 100%; width: 0%; background: var(--moutarde); border-radius: 6px; transition: width 0.4s ease; }
#journey-demo [data-panel] { display: flex; flex-direction: column; gap: 10px; }
#journey-demo [hidden] { display: none !important; }

/* ---------- role sections ---------- */

.role-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.role-head .t-hand {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--vert-fonce);
  transform: rotate(-1.5deg);
}
[dir="rtl"] .role-head .t-hand { transform: rotate(1.5deg); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  padding: 24px 22px 22px;
  position: relative;
  box-shadow: var(--ombre-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 rgba(38, 32, 22, 0.9); }
.feature .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--encre);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--encre);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature:nth-child(4n + 1) .ico { background: rgba(226, 59, 46, 0.16); }
.feature:nth-child(4n + 2) .ico { background: rgba(246, 181, 30, 0.28); }
.feature:nth-child(4n + 3) .ico { background: rgba(12, 145, 80, 0.16); }
.feature:nth-child(4n + 4) .ico { background: rgba(34, 128, 143, 0.16); }
.feature h3 { font-size: 17.5px; font-weight: 800; }
.feature p { margin-top: 6px; font-size: 15px; color: rgba(38, 32, 22, 0.72); line-height: 1.6; }

.proof {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  margin-top: 44px;
  align-items: start;
}
@media (max-width: 980px) { .proof { grid-template-columns: 1fr; } }
.proof-side { display: flex; flex-direction: column; gap: 22px; }

/* offline demo controls */
.offline-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
  width: 46px; height: 26px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.switch .track::after {
  content: "";
  position: absolute;
  top: 3px; inset-inline-start: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.switch input:checked + .track { background: var(--moutarde); }
.switch input:checked + .track::after { transform: translateX(20px); }
[dir="rtl"] .switch input:checked + .track::after { transform: translateX(-20px); }
.switch .lab { font-weight: 700; font-size: 14.5px; }

.net-state { font-family: var(--font-label); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
[dir="rtl"] .net-state { letter-spacing: 0; font-size: 13px; }
.net-state.on { color: var(--vert-clair); }
.net-state.off { color: #ffb1a6; }

.mini-btn {
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
}
.mini-btn:hover { background: rgba(255, 255, 255, 0.2); }

.sync-tag { font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.sync-tag.pending { color: #ffd9a8; }
.sync-tag.done { color: var(--vert-clair); }

.board .phone-body { padding: 14px 20px; }

/* badges */
.badge {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 7px;
  padding: 4px 9px;
  white-space: nowrap;
}
[dir="rtl"] .badge { letter-spacing: 0; font-size: 12px; }
.badge.dispute { background: rgba(255, 141, 126, 0.25); color: #ffc4ba; border: 1.5px solid rgba(255, 141, 126, 0.7); }
.badge.fixed { background: rgba(3, 196, 104, 0.2); color: var(--vert-clair); border: 1.5px solid rgba(3, 196, 104, 0.6); }
.badge.reverse { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85); border: 1.5px solid rgba(255, 255, 255, 0.35); }

.link-btn {
  border: 2px solid #ff8d7e;
  color: #ffc4ba;
  background: transparent;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
}

/* whatsapp + instalments */
.wa-bubble {
  background: #eafbe7;
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  border-end-start-radius: 4px;
  padding: 18px 20px;
  box-shadow: var(--ombre-sm);
  color: var(--encre);
}
.wa-bubble .from {
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert-fonce);
  margin-bottom: 8px;
}
[dir="rtl"] .wa-bubble .from { letter-spacing: 0; }
.wa-bubble p { font-size: 15.5px; }
.wa-bubble .ticks { text-align: end; font-size: 12px; color: var(--teal); margin-top: 6px; }

.plan-card {
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ombre-sm);
}
.plan-card .plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--moutarde);
  border-bottom: 2.5px solid var(--encre);
}
.plan-card .plan-head .t-label { color: var(--encre); }
.plan-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-top: 1.5px dashed rgba(38, 32, 22, 0.25); font-size: 15px; }
.plan-row:first-of-type { border-top: 0; }
.plan-row .amt { font-family: var(--font-label); font-weight: 800; }
.plan-ok { color: var(--vert-fonce); font-weight: 800; font-size: 13px; }

/* steps strip */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(38, 32, 22, 0.35);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--vert);
  line-height: 1;
  flex-shrink: 0;
}
.step h4 { font-size: 16px; font-weight: 800; }
.step p { margin-top: 4px; font-size: 14.5px; color: rgba(38, 32, 22, 0.72); }

/* ---------- rules (red poster) ---------- */

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }
.rule {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 26px 24px;
}
.rule .no {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
}
[dir="rtl"] .rule .no { text-transform: none; line-height: 1.35; }
.rule .no mark { background: var(--moutarde); color: var(--encre); padding: 0 6px; border-radius: 4px; }
.rule p { margin-top: 12px; color: rgba(255, 255, 255, 0.85); font-size: 15.5px; }

/* ---------- contact ---------- */

.contact-inner { text-align: center; max-width: 760px; margin-inline: auto; position: relative; }
.contact-inner .lead { margin-inline: auto; }
.contact-hand {
  font-family: var(--font-hand);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--vert-fonce);
  transform: rotate(-1.4deg);
  margin-bottom: 12px;
}
[dir="rtl"] .contact-hand { transform: rotate(1.2deg); }
.contact-actions { display: flex; gap: 18px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.contact-small { margin-top: 28px; font-size: 13.5px; color: rgba(38, 32, 22, 0.6); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--encre);
  color: rgba(251, 243, 224, 0.75);
  padding-block: 52px;
  font-size: 14.5px;
}
.site-footer .container { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.site-footer .brand { color: var(--creme); }
.site-footer .tagline { color: var(--creme); font-weight: 700; }
.site-footer a { color: var(--moutarde); }

/* ---------- motion ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.seen { opacity: 1; transform: none; }
.feature.reveal:nth-child(2) { transition-delay: 0.07s; }
.feature.reveal:nth-child(3) { transition-delay: 0.14s; }
.feature.reveal:nth-child(4) { transition-delay: 0.21s; }
.feature.reveal:nth-child(5) { transition-delay: 0.28s; }
.feature.reveal:nth-child(6) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty, .floaty2, .sticker.spin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive header ---------- */

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-header .container { justify-content: space-between; }
}
@media (max-width: 560px) {
  .site-header .btn { display: none; }
  body { font-size: 16px; }
  .sticker { display: none; }
}

/* ============================================================
   2026 refresh — same hanout-poster language, new pieces:
   real app screenshots, the counting-day board, the paper-cost
   calculator, pricing cards and a FAQ. Everything below reuses
   the tokens above; nothing above changed.
   ============================================================ */

/* ---------- real app screenshots, poster-framed ---------- */

.shots-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 46px;
  align-items: start;
}
@media (max-width: 1080px) {
  .shots-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 18px;
    margin-inline: -24px;
    padding-inline: 24px;
  }
  .shots-strip > * { flex: 0 0 min(240px, 72vw); scroll-snap-align: center; }
}
.shot-card { position: relative; }
.shot-card:nth-child(odd) { transform: rotate(-1.4deg); }
.shot-card:nth-child(even) { transform: rotate(1.2deg); }
.shot-frame {
  background: #17140f;
  border: 2.5px solid var(--encre);
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--ombre);
}
.shot-frame img { border-radius: 22px; width: 100%; height: auto; }
/* a strip of tape holding each print to the wall */
.shot-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 86px;
  height: 26px;
  background: rgba(246, 181, 30, 0.9);
  border: 1.5px solid rgba(38, 32, 22, 0.5);
  z-index: 2;
}
.shot-card:nth-child(even)::before { transform: translateX(-50%) rotate(2.5deg); background: rgba(226, 59, 46, 0.85); }
.shot-cap {
  font-family: var(--font-hand);
  font-size: 21px;
  text-align: center;
  margin-top: 12px;
  color: var(--stylo);
  transform: rotate(-1deg);
  line-height: 1.3;
}
.shot-cap b { color: var(--tomate-fonce); }

/* ---------- the problem, from both sides ---------- */

.pains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}
@media (max-width: 860px) { .pains-grid { grid-template-columns: 1fr; } }
.pain-col {
  background: rgba(255, 255, 255, 0.6);
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--ombre-sm);
}
.pain-col.customer { background: rgba(246, 181, 30, 0.14); }
.pain-col .col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pain-col .col-head .t-label { font-size: 13px; }
.pain-col .col-head .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--vert-grad); border: 2px solid var(--encre); }
.pain-col.customer .col-head .dot { background: var(--tomate); }
.pain-col li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-block: 10px;
  border-top: 1.5px dashed rgba(38, 32, 22, 0.25);
  font-size: 15.5px;
}
.pain-col li:first-of-type { border-top: 0; }
.pain-col li b { display: block; }
.pain-col .x { font-family: var(--font-hand); color: var(--tomate); font-size: 23px; flex-shrink: 0; line-height: 1; }

/* ---------- counting day: the two-books board ---------- */

.krd-rec-head .lead { margin-top: 18px; }
.krd-rec-board { margin-top: 40px; }

.krd-rec-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .krd-rec-two { grid-template-columns: 1fr; } }

/* each column is a page torn from a karny */
.krd-rec-col {
  background:
    linear-gradient(var(--carreau) 1px, transparent 1px),
    linear-gradient(90deg, var(--carreau) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, #f9f0d8 0%, #efe2bd 70%, #e6d5a9 100%);
  background-size: 24px 24px, 24px 24px, auto;
  border: 2.5px solid var(--encre);
  border-radius: 6px 18px 14px 6px;
  padding: 20px 22px;
  box-shadow: var(--ombre-sm);
  position: relative;
}
.krd-rec-col-shop { transform: rotate(-0.8deg); }
.krd-rec-col-cust { transform: rotate(0.9deg); }
/* red margin line, like the paper page */
.krd-rec-col::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 34px;
  width: 2px;
  background: rgba(226, 59, 46, 0.55);
}
.krd-rec-colhead { padding-inline-start: 24px; margin-bottom: 10px; }
.krd-rec-who {
  display: block;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 27px;
  color: var(--encre);
}
.krd-rec-what { font-size: 13px; color: rgba(38, 32, 22, 0.6); }

.krd-rec-lines { padding-inline-start: 24px; margin-top: 8px; }
.krd-rec-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-block: 7px;
  border-bottom: 1.5px solid rgba(120, 154, 180, 0.35);
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 21px;
  color: var(--stylo);
  flex-wrap: wrap;
}
.krd-rec-date { color: rgba(44, 58, 78, 0.65); font-size: 18px; flex-shrink: 0; min-width: 44px; }
.krd-rec-item { flex: 1; min-width: 120px; }
.krd-rec-amt { white-space: nowrap; margin-inline-start: auto; }
.krd-money { font-family: var(--font-label); font-weight: 800; font-size: 15px; color: var(--encre); }

/* the disagreement flags — handwritten notes that appear on compare */
.krd-rec-flag {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: var(--tomate);
  border: 1.5px solid var(--encre);
  border-radius: 8px;
  padding: 1px 9px;
  transform: rotate(-2deg);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
[dir="rtl"] .krd-rec-flag { transform: rotate(2deg); }
.krd-rec-flag[data-krd-tone="unseen"] { background: var(--tomate); }
.krd-rec-flag[data-krd-tone="differs"] { background: var(--moutarde); color: var(--encre); }
.krd-rec-flag[data-krd-tone="torn"] { background: #b0a184; color: #fff; }
.krd-is-compared .krd-rec-flag { opacity: 1; }
.krd-is-compared .krd-rec-line[data-krd-issue] { background: rgba(226, 59, 46, 0.07); }

/* the unreadable line: smudged ink */
.krd-rec-smudge { display: inline-flex; gap: 3px; align-items: center; }
.krd-rec-smudge i {
  width: 14px; height: 10px;
  background: rgba(44, 58, 78, 0.45);
  border-radius: 40% 55% 50% 45%;
  filter: blur(1.6px);
}
.krd-rec-smudge i:nth-child(2) { width: 9px; height: 12px; }
.krd-rec-smudge i:nth-child(3) { width: 12px; height: 8px; }
.krd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.krd-rec-none {
  padding: 12px 0 4px 24px;
  font-family: var(--font-hand);
  font-size: 19px;
  color: rgba(38, 32, 22, 0.55);
}
[dir="rtl"] .krd-rec-none { padding: 12px 24px 4px 0; }

/* totals + the gap */
.krd-rec-totals { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 4px; }
@media (max-width: 860px) { .krd-rec-totals { grid-template-columns: 1fr; } }
.krd-rec-total {
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--ombre-sm);
}
.krd-rec-total-label { display: block; font-family: var(--font-label); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(38, 32, 22, 0.6); }
[dir="rtl"] .krd-rec-total-label { letter-spacing: 0; }
.krd-rec-total-value .krd-money, .krd-rec-total-value { font-family: var(--font-display); font-size: 30px; color: var(--encre); }
.krd-rec-total-note { display: block; font-size: 12.5px; color: rgba(38, 32, 22, 0.55); }
.krd-rec-total-note.krd-rec-warn { color: var(--tomate-fonce); font-weight: 700; }

.krd-rec-gapbox {
  grid-column: 1 / -1;
  background: var(--tomate);
  border: 2.5px solid var(--encre);
  border-radius: 14px;
  box-shadow: var(--ombre-sm);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.krd-is-compared .krd-rec-gapbox { opacity: 1; transform: none; }
.krd-rec-gapinner { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 16px 20px; }
.krd-rec-gap-label { font-family: var(--font-label); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
[dir="rtl"] .krd-rec-gap-label { letter-spacing: 0; }
.krd-rec-gap-value .krd-money, .krd-rec-gap-value { font-family: var(--font-display); font-size: 34px; color: #fff; }
.krd-rec-gap-note { font-size: 14px; color: rgba(255, 255, 255, 0.9); flex-basis: 100%; }

/* the one-book state: the Kerdili board */
.krd-rec-one .krd-rec-col {
  background: var(--vert-grad-deep);
  border-radius: 18px;
  transform: none;
  color: #fff;
  max-width: 640px;
  margin-inline: auto;
}
.krd-rec-one .krd-rec-col::before { display: none; }
.krd-rec-one .krd-rec-colhead,
.krd-rec-one .krd-rec-lines { padding-inline-start: 0; }
.krd-rec-one .krd-rec-who { color: #fff; font-family: var(--font-label); font-weight: 800; font-size: 18px; }
.krd-rec-one .krd-rec-what { color: rgba(255, 255, 255, 0.7); }
.krd-rec-one .krd-rec-line { font-family: var(--font-body); font-size: 15px; border-bottom-color: rgba(255, 255, 255, 0.16); color: #fff; }
.krd-rec-one .krd-rec-date { color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.krd-rec-one .krd-money { color: #ffd9a8; }
.krd-rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--moutarde);
  color: var(--encre);
  border: 2px solid var(--encre);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 14px;
  box-shadow: 3px 3px 0 rgba(38, 32, 22, 0.6);
}
.krd-rec-onetotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 2px dashed rgba(255, 255, 255, 0.3);
}
.krd-rec-onetotal .krd-rec-total-label { color: rgba(255, 255, 255, 0.7); }
.krd-rec-onetotal .krd-money { font-family: var(--font-display); font-size: 30px; color: #fff; }
.krd-rec-onenote { max-width: 640px; margin: 18px auto 0; text-align: center; font-size: 15.5px; color: rgba(38, 32, 22, 0.75); }

.krd-rec-two, .krd-rec-one { opacity: 1; transition: opacity 0.35s ease; }
.krd-rec-two:not(.krd-is-in), .krd-rec-one:not(.krd-is-in) { opacity: 0; }
.krd-rec [hidden] { display: none !important; }

.krd-rec-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.krd-btn {
  font-family: var(--font-label);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2.5px solid var(--encre);
  background: #fff;
  color: var(--encre);
  box-shadow: var(--ombre-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
[dir="rtl"] .krd-btn { letter-spacing: 0; font-size: 15px; font-weight: 700; }
.krd-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(38, 32, 22, 0.9); }
.krd-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(38, 32, 22, 0.9); }
.krd-btn:disabled { opacity: 0.45; box-shadow: var(--ombre-sm); transform: none; cursor: default; }
.krd-btn-primary { background: var(--vert-grad); color: #fff; }
[dir="rtl"] .krd-flip-x { transform: scaleX(-1); }
.krd-rec-status { margin-top: 16px; min-height: 1.8em; font-weight: 700; font-size: 15.5px; color: var(--vert-fonce); }
.krd-rec-status .krd-money { font-size: inherit; color: inherit; }

/* ---------- the paper-cost calculator ---------- */

.krd-cost-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; margin-top: 40px; align-items: start; }
@media (max-width: 900px) { .krd-cost-grid { grid-template-columns: 1fr; } }

.krd-cost-panel {
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--ombre-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.krd-cost-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 15.5px; }
.krd-cost-read output { font-family: var(--font-display); font-size: 26px; color: var(--vert-fonce); }
.krd-cost-unit { font-size: 13px; color: rgba(38, 32, 22, 0.6); margin-inline-start: 5px; }
.krd-cost-field input[type="range"] {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--vert);
  height: 26px;
}
.krd-cost-scale { display: flex; justify-content: space-between; font-size: 12px; color: rgba(38, 32, 22, 0.45); font-weight: 700; }
.krd-cost-assume { border: 2px dashed rgba(38, 32, 22, 0.35); border-radius: 12px; padding: 14px 16px 16px; }
.krd-cost-assume legend { font-family: var(--font-label); font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(38, 32, 22, 0.6); padding-inline: 6px; }
[dir="rtl"] .krd-cost-assume legend { letter-spacing: 0; }
.krd-cost-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
@media (max-width: 560px) { .krd-cost-chips { grid-template-columns: 1fr; } }
.krd-cost-chip { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(38, 32, 22, 0.75); }
.krd-cost-chip input {
  width: 74px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  border: 2px solid var(--encre);
  border-radius: 9px;
  padding: 5px 4px;
  background: var(--creme);
}
.krd-cost-note { font-size: 12.5px; color: rgba(38, 32, 22, 0.55); margin-top: 10px; }

.krd-cost-steps { display: flex; flex-direction: column; gap: 12px; counter-reset: kstep; }
.krd-cost-step {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(38, 32, 22, 0.25);
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 700;
}
.krd-cost-step-val { font-family: var(--font-label); font-weight: 800; font-size: 17px; white-space: nowrap; }
.krd-cost-suffix { font-size: 12.5px; color: rgba(38, 32, 22, 0.55); font-weight: 700; margin-inline-start: 4px; }

.krd-cost-versus { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.krd-cost-vs { display: flex; flex-direction: column; gap: 7px; }
.krd-cost-vs-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 800; font-size: 15px; }
.krd-cost-vs-val .krd-money, .krd-cost-vs-val { font-family: var(--font-display); font-size: 24px; }
.krd-cost-vs-paper .krd-cost-vs-val .krd-money { color: #8a6b2f; }
.krd-cost-vs-kerdili .krd-cost-vs-val .krd-money { color: var(--vert-fonce); }
.krd-cost-rail { height: 16px; border: 2px solid var(--encre); border-radius: 9px; background: rgba(255, 255, 255, 0.6); overflow: hidden; }
.krd-cost-fill { display: block; height: 100%; inline-size: 4%; transition: inline-size 0.45s ease; }
.krd-cost-vs-paper .krd-cost-fill { background: repeating-linear-gradient(-45deg, #c89b4a 0 10px, #b0854a 10px 20px); }
.krd-cost-vs-kerdili .krd-cost-fill { background: var(--vert-grad); }

.krd-cost-verdict {
  margin-top: 20px;
  background: rgba(12, 145, 80, 0.13);
  border: 2px solid var(--vert-fonce);
  border-radius: 12px;
  padding: 13px 17px;
  font-weight: 700;
  font-size: 15px;
  color: var(--vert-nuit);
}
.krd-cost-verdict .krd-money { color: var(--vert-nuit); font-size: 15px; }
.krd-cost-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.krd-cost-foot .krd-cost-note { border-inline-start: 3px solid rgba(38, 32, 22, 0.25); padding-inline-start: 12px; margin-top: 0; }
.krd-cost-foot .krd-money { font-size: 13px; }

/* ---------- pricing: one pays, one never does ---------- */

.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 46px; align-items: stretch; }
@media (max-width: 860px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.free { background: linear-gradient(150deg, rgba(3, 196, 104, 0.14), rgba(0, 137, 64, 0.07)); transform: rotate(-0.7deg); }
.price-card.shop { transform: rotate(0.6deg); }
.price-card .who {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(38, 32, 22, 0.6);
}
[dir="rtl"] .price-card .who { letter-spacing: 0; }
.price-card .amount { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--encre); }
.price-card .amount small { font-family: var(--font-label); font-size: 16px; font-weight: 800; color: rgba(38, 32, 22, 0.6); }
.price-card .blurb { font-size: 15px; color: rgba(38, 32, 22, 0.75); }
.price-card ul { display: flex; flex-direction: column; }
.price-card li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  padding-block: 9px;
  border-top: 1.5px dashed rgba(38, 32, 22, 0.25);
  font-size: 15px;
}
.price-card li:first-of-type { border-top: 0; }
.price-card li .ok { font-family: var(--font-hand); font-weight: 700; color: var(--vert-fonce); font-size: 21px; line-height: 1; flex-shrink: 0; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card .fine { font-size: 12.5px; color: rgba(38, 32, 22, 0.55); }
/* the FREE starburst pinned to the customer card */
.price-card .burst {
  position: absolute;
  top: -34px;
  inset-inline-end: -18px;
  width: 110px;
  filter: drop-shadow(4px 5px 0 rgba(38, 32, 22, 0.85));
  transform: rotate(10deg);
}

/* ---------- FAQ, poster style ---------- */

.faq-poster { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-poster details {
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 14px;
  box-shadow: var(--ombre-sm);
  overflow: hidden;
}
.faq-poster summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 16px;
}
.faq-poster summary::-webkit-details-marker { display: none; }
.faq-poster summary .pm {
  font-family: var(--font-display);
  font-size: 19px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--encre);
  border-radius: 10px;
  background: var(--moutarde);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-poster details[open] summary .pm { transform: rotate(45deg); background: var(--vert-grad); color: #fff; }
.faq-poster details p { padding: 0 20px 18px; font-size: 15px; color: rgba(38, 32, 22, 0.78); max-width: 68ch; }

/* small niceties */
:focus-visible { outline: 3px solid var(--tomate); outline-offset: 3px; border-radius: 4px; }
.section-note { margin-top: 26px; font-size: 14px; color: rgba(38, 32, 22, 0.6); }

/* ---------- the hero flip: paper karny -> the real app ---------- */

.hero-illo-wrap .sticker { pointer-events: none; }

.karny-flip {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  perspective: 1500px;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.karny-inner {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.35, 0.1, 0.2, 1);
}
.karny-flip.flipped .karny-inner { transform: rotateY(180deg); }
[dir="rtl"] .karny-flip.flipped .karny-inner { transform: rotateY(-180deg); }

.karny-face {
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.karny-front { position: relative; }
.karny-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-block: 0;
}

/* the phone that replaces everything */
.back-phone {
  display: block;
  height: 106%;
  background: #17140f;
  border: 2.5px solid var(--encre);
  border-radius: 34px;
  padding: 8px;
  box-shadow: var(--ombre);
  position: relative;
}
.back-phone img { height: 100%; width: auto; border-radius: 26px; display: block; }

.flip-hint {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 23px;
  color: var(--vert-fonce);
  animation: hintbob 2.2s ease-in-out infinite;
}
.karny-flip.used .flip-hint,
.karny-flip[data-step="4"] .flip-hint { animation: none; }
@keyframes hintbob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .karny-inner { transition: none; }
  .flip-hint { animation: none; }
}


/* ---------- the open karny ----------
   Three taps turn the pages — the sums get worse with every spread.
   The fourth tap closes the book and flips it over into the app. */

.book {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 660 / 530;
  margin-block: 26px;
}
.book .page { position: absolute; top: 0; height: 100%; width: 50%; display: block; }
.book-static  { inset-inline-end: 0; z-index: 1; transition: opacity 0.3s ease 0.15s; }
.book-static2 { inset-inline-start: 0; z-index: 0; }
.karny-flip.flipped .book-static { opacity: 0; }

/* the turnable leaves live on the reading side */
.leaf {
  /* only the sheet of paper turns — the cover board stays on the table.
     Geometry maps the paper rect (0..308 × 16..512 of 336×530) exactly. */
  position: absolute;
  top: 3.02%;
  inset-inline-end: 4.17%;
  width: 45.83%;
  height: 93.58%;
  transform-style: preserve-3d;
  transform-origin: 0% 50%;
  transform: perspective(1200px) rotateY(0deg);
  transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.35, 1), z-index 0s linear 0.3s;
}
.leaf svg { width: 100%; height: 100%; display: block; }
[dir="rtl"] .leaf { transform-origin: 100% 50%; }
.leaf1 { z-index: 6; } .leaf2 { z-index: 5; } .leaf3 { z-index: 4; }
.karny-flip.t1 .leaf1 { transform: perspective(1200px) rotateY(-180deg); z-index: 14; }
.karny-flip.t2 .leaf2 { transform: perspective(1200px) rotateY(-180deg); z-index: 15; }
.karny-flip.t3 .leaf3 { transform: perspective(1200px) rotateY(-180deg); z-index: 16; }
[dir="rtl"] .karny-flip.t1 .leaf1 { transform: perspective(1200px) rotateY(180deg); }
[dir="rtl"] .karny-flip.t2 .leaf2 { transform: perspective(1200px) rotateY(180deg); }
[dir="rtl"] .karny-flip.t3 .leaf3 { transform: perspective(1200px) rotateY(180deg); }
.leaf .leaf-face, .book-fold .fold-face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.leaf .leaf-back, .book-fold .fold-back { transform: rotateY(180deg); }

/* the cover carrier: invisible until the last spread, then it closes the book */
.book-fold {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 50%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 0% 50%;
  transform: perspective(1200px) rotateY(0deg);
  z-index: 20;
  visibility: hidden;
  transition: transform 0.62s cubic-bezier(0.5, 0.06, 0.35, 1);
  transition-delay: 0.6s;
}
[dir="rtl"] .book-fold { transform-origin: 100% 50%; }
/* .cover-ready is set by JS 0.66s after the third page-turn begins, so
   the turn of the last leaf stays fully visible — it was popping mid-turn */
.karny-flip.cover-ready .book-fold, .karny-flip.flipped .book-fold { visibility: visible; }
.karny-flip.flipped .book-fold { transform: perspective(1200px) rotateY(-180deg); transition-delay: 0s; }
[dir="rtl"] .karny-flip.flipped .book-fold { transform: perspective(1200px) rotateY(180deg); }

.book-gutter {
  position: absolute;
  /* the paper band only (y 12..516 of 530) — at inset:0 this shadow
     spilled above the cover and read as a smudge over the top edge */
  inset: 2.26% 0 2.64% 0;
  pointer-events: none;
  z-index: 30;
  background: linear-gradient(90deg,
    transparent 45%, rgba(38, 32, 22, 0.16) 49.4%,
    rgba(38, 32, 22, 0.26) 50%, rgba(38, 32, 22, 0.1) 50.8%, transparent 55%);
  opacity: 1;
  transition: opacity 0.3s ease 0.45s;
}
.karny-flip.flipped .book-gutter { opacity: 0; transition-delay: 0.25s; }

.karny-flip .karny-inner { transition-delay: 0s; }
.karny-flip.flipped .karny-inner { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .leaf, .book-fold, .book-gutter, .book-static { transition: none; }
}


/* ---------- the reveal: the karny closes, flips, and — ta-da ---------- */

.back-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.back-phone { position: relative; z-index: 2; }
.karny-flip.flipped .back-phone {
  animation: phonepop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.02s both;
}
@keyframes phonepop {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}


.pop {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  opacity: 0;
  filter: drop-shadow(2px 3px 0 rgba(38, 32, 22, 0.5));
}
.pop.p1 { top: 4%;  inset-inline-start: 16%; }
.pop.p2 { top: 10%; inset-inline-end: 13%; width: 20px; }
.pop.p3 { bottom: 16%; inset-inline-start: 9%; width: 21px; }
.pop.p4 { bottom: 5%; inset-inline-end: 18%; }
.pop.p5 { top: 40%; inset-inline-start: 4%; width: 17px; }
.pop.p6 { top: 48%; inset-inline-end: 5%; width: 18px; }
.karny-flip.flipped .pop { animation: popstar 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.karny-flip.flipped .pop.p1 { animation-delay: 1.18s; }
.karny-flip.flipped .pop.p2 { animation-delay: 1.26s; }
.karny-flip.flipped .pop.p3 { animation-delay: 1.34s; }
.karny-flip.flipped .pop.p4 { animation-delay: 1.42s; }
.karny-flip.flipped .pop.p5 { animation-delay: 1.5s; }
.karny-flip.flipped .pop.p6 { animation-delay: 1.58s; }
@keyframes popstar {
  0% { opacity: 0; transform: scale(0) rotate(-40deg); }
  55% { opacity: 1; transform: scale(1.3) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .karny-flip.flipped .back-phone,
  .karny-flip.flipped .pop { animation: none; }
  .karny-flip.flipped .pop { opacity: 1; }
}


/* ---------- what the karny really costs ---------- */
.costs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 900px) { .costs { grid-template-columns: 1fr; } }
.cost-card {
  background: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--ombre-sm);
  position: relative;
}
.cost-card:nth-child(2) { transform: rotate(-0.7deg); }
.cost-card:nth-child(3) { transform: rotate(0.6deg); }
.cost-card .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--tomate);
  display: block;
  margin-bottom: 12px;
}
[dir="rtl"] .cost-card .n { font-weight: 700; }
.cost-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; }
.cost-card p { font-size: 15.5px; color: rgba(38, 32, 22, 0.75); line-height: 1.62; }
.cost-close {
  margin-top: 34px;
  background: var(--vert-grad);
  color: #fff;
  border: 2.5px solid var(--encre);
  border-radius: 16px;
  box-shadow: var(--ombre-sm);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cost-close p { font-size: clamp(17px, 2vw, 21px); font-weight: 700; max-width: 62ch; }
.cost-close .amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); white-space: nowrap; }
[dir="rtl"] .cost-close .amt { font-weight: 700; }


/* ---------- the real app, walked step by step ---------- */
.walk { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; margin-top: 44px; }
@media (max-width: 900px) { .walk { grid-template-columns: 1fr; } }

.walk-steps { display: flex; flex-direction: column; gap: 12px; }
.walk-step {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  text-align: start; width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px; padding: 18px 20px; cursor: pointer;
  color: #fff; font: inherit;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.walk-step:hover { background: rgba(255, 255, 255, 0.13); }
.walk-step .n {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  background: rgba(255, 255, 255, 0.18); color: #fff;
  transition: background 0.25s ease, color 0.25s ease;
}
.walk-step h3 { font-size: 17.5px; margin-bottom: 4px; }
.walk-step p { font-size: 15px; color: rgba(255, 255, 255, 0.82); line-height: 1.55; }
.walk-step.on {
  background: #fff; border-color: var(--encre); color: var(--encre);
  box-shadow: var(--ombre-sm); transform: translate(-2px, -2px);
}
[dir="rtl"] .walk-step.on { transform: translate(2px, -2px); }
.walk-step.on .n { background: var(--vert-grad); color: #fff; }
.walk-step.on p { color: rgba(38, 32, 22, 0.75); }

.walk-stage { display: flex; justify-content: center; gap: clamp(14px, 2.6vw, 30px); }
.walk-frame {
  /* the width the old .device class used to supply */
  width: clamp(168px, 19vw, 232px);
  background: #17140f;
  border: 2.5px solid var(--encre);
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--ombre);
  flex: none;
}
.walk-frame:first-child { transform: rotate(-1.2deg); }
.walk-frame:last-child { transform: rotate(1deg); }

.walk-shot { position: relative; border-radius: 22px; overflow: hidden; display: block; }
/* the visible shot sets the height; the rest stack on top of it */
.walk-shot img { display: block; width: 100%; height: auto; border-radius: 22px; }
.walk-shot img:not(.on) {
  position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0;
}
.walk-shot img.on { position: relative; opacity: 1; }
.walk-shot img { transition: opacity 0.45s var(--ease); }

.walk-cap {
  margin-top: 16px; text-align: center; font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- legal / policy documents ---------- */
.doc { max-width: 760px; margin-inline: auto; }
.doc-head { margin-bottom: 40px; }
.doc-head .t-display { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.doc-updated {
  display: inline-block; margin-top: 16px; font-family: var(--font-label);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: #fff; border: 2px solid var(--encre); border-radius: 999px;
  padding: 6px 14px; box-shadow: var(--ombre-sm);
}
[dir="rtl"] .doc-updated { letter-spacing: 0; text-transform: none; }
.doc h2 {
  font-family: var(--font-label); font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  margin-top: 40px; margin-bottom: 12px; line-height: 1.3;
}
.doc h2:first-of-type { margin-top: 0; }
.doc p { margin-bottom: 14px; font-size: 16.5px; line-height: 1.75; color: rgba(38, 32, 22, 0.84); }
.doc ul { margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.doc li {
  position: relative; padding-inline-start: 24px;
  font-size: 16px; line-height: 1.7; color: rgba(38, 32, 22, 0.84);
}
.doc li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--vert); border: 1.5px solid var(--encre);
}
.doc strong { color: var(--encre); }
.doc p a, .doc li a { color: var(--vert-fonce); text-decoration: underline; text-underline-offset: 3px; }

/* a boxed aside for the things that genuinely matter */
.doc-note {
  background: #fff; border: 2.5px solid var(--encre); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--ombre-sm); margin: 22px 0;
}
.doc-note.warn { background: rgba(246, 181, 30, 0.16); }
.doc-note p:last-child { margin-bottom: 0; }
.doc-note .lbl {
  font-family: var(--font-label); font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--vert-fonce);
  display: block; margin-bottom: 8px;
}
[dir="rtl"] .doc-note .lbl { letter-spacing: 0; text-transform: none; }
.doc-note.warn .lbl { color: var(--tomate-fonce); }

/* the fields that must be filled before publishing */
.fill { background: rgba(226, 59, 46, 0.14); border-bottom: 2px dashed var(--tomate);
  padding: 0 4px; border-radius: 3px; font-weight: 600; }

.doc-foot-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 44px;
  padding-top: 24px; border-top: 2px dashed rgba(38, 32, 22, 0.3); font-size: 15px; }
