/* Libi Shuk - hand-coded (cc) design system.
   Warm editorial identity: Hebrew serif display (Frank Ruhl Libre) + Heebo body,
   warm ink/paper, pepper-red accent (her "spice"), gold (the engine), teal (trust).
   Shared by cc_solo.html and cc_rfm.html; body.solo / body.rfm shift the register. */

:root {
  --ink: #1A1410;
  --ink-soft: #2A2018;
  --paper: #FBF4E9;
  --paper-dim: #EFE6D6;
  --pepper: #FF4438;
  --pepper-deep: #D9301F;
  --gold: #C69749;
  --teal: #0E6E66;
  --muted: #8A7F70;
  --line: #3A2E24;
  --accent: var(--pepper);
  --accent-deep: var(--pepper-deep);
}
body.rfm { --accent: var(--teal); --accent-deep: #0A524C; }

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--paper);
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.serif { font-family: 'Frank Ruhl Libre', 'Heebo', serif; }
a { color: inherit; }

/* ---- eyebrow / stamp ---- */
.stamp {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .14em;
  color: var(--ink); background: var(--accent); padding: 6px 16px; border-radius: 4px;
  transform: rotate(-2deg);
}

/* ---- hero ---- */
.hero { position: relative; padding: 64px 0 48px;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(198,151,73,.16), transparent 55%),
    linear-gradient(180deg, #15100C, var(--ink)); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-weight: 900; font-size: clamp(34px, 6vw, 68px); line-height: 1.05;
  margin: 20px 0 16px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .defining { font-size: clamp(17px,2.2vw,21px); color: var(--paper-dim); max-width: 30ch; }
.hero-portrait { position: relative; }
.hero-portrait img { width: 100%; border-radius: 18px; display: block;
  border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.hero-portrait .tag { position: absolute; bottom: 14px; inset-inline-start: 14px;
  background: rgba(26,20,16,.82); backdrop-filter: blur(4px); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 700; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 17px; border: none; border-radius: 50px;
  padding: 15px 28px; text-decoration: none; transition: transform .16s, box-shadow .16s, background .16s; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px rgba(255,68,56,.28); }
body.rfm .btn-primary { box-shadow: 0 10px 30px rgba(14,110,102,.3); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; }

/* ---- section scaffold ---- */
.section { padding: 60px 0; border-top: 1px solid rgba(58,46,36,.6); }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .12em; font-size: 13px; }
.section h2 { font-weight: 800; font-size: clamp(26px,4vw,40px); line-height: 1.15; margin: 10px 0 8px; }
.section .lede { color: var(--paper-dim); max-width: 60ch; }

/* ---- pain band ---- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.pain { background: var(--ink-soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.pain b { display: block; font-size: 18px; margin-bottom: 6px; color: var(--paper); }
.pain span { color: var(--muted); font-size: 15px; }
.pain .mark { color: var(--accent); font-size: 22px; font-weight: 900; }

/* ---- engine pipeline (signature) ---- */
.engine { background: linear-gradient(180deg, #120D09, var(--ink)); }
.pipe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; counter-reset: step; }
.stage { flex: 1 1 150px; position: relative; background: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; }
.stage::before { counter-increment: step; content: "0" counter(step);
  font-family: 'Frank Ruhl Libre', serif; font-weight: 700; font-size: 14px;
  color: var(--gold); display: block; margin-bottom: 8px; letter-spacing: .1em; }
.stage b { display: block; font-size: 19px; font-weight: 800; }
.stage span { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.stage.loop { border-color: var(--accent); }
.stage.loop b { color: var(--accent); }
.engine-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ---- value cards ---- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.value { background: var(--ink-soft); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; transition: transform .16s, border-color .16s; }
.value:hover { transform: translateY(-3px); border-color: var(--gold); }
.value .ic { font-size: 24px; }
.value b { display: block; margin: 10px 0 6px; font-size: 18px; }
.value span { color: var(--muted); font-size: 15px; }

/* ---- founders (rfm) ---- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.founder { background: var(--ink-soft); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.founder b { font-size: 20px; }
.founder .role { color: var(--gold); font-weight: 700; font-size: 14px; margin: 4px 0 10px; }
.founder span { color: var(--muted); font-size: 15px; }

/* ---- facts (honest) ---- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.fact { text-align: center; background: var(--ink-soft); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 16px; }
.fact .n { font-family: 'Frank Ruhl Libre', serif; font-weight: 900; font-size: 40px; color: var(--gold); }
.fact span { display: block; color: var(--paper-dim); font-size: 14px; margin-top: 4px; }
.sources { margin-top: 14px; color: var(--muted); font-size: 12px; }

/* ---- lead form ---- */
.lead { background:
    radial-gradient(90% 120% at 50% 0, rgba(198,151,73,.12), transparent 60%), var(--ink); }
.form-card { max-width: 560px; margin: 30px auto 0; background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: 34px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.form-card h3 { font-family: 'Frank Ruhl Libre', serif; font-weight: 900; font-size: 27px; }
.form-card p.sub { color: #5d5346; margin: 6px 0 20px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input { width: 100%; border: 1.5px solid #D8CCB8; border-radius: 11px; padding: 13px 15px;
  font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; outline: none;
  transition: border-color .15s; }
.field input:focus { border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #5d5346;
  margin: 10px 0 18px; cursor: pointer; }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.form-card .btn-primary { width: 100%; justify-content: center; }
.form-err { background: #fde8e6; border: 1px solid var(--pepper); color: var(--pepper-deep);
  border-radius: 11px; padding: 11px 14px; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.form-fine { text-align: center; color: #8a8073; font-size: 12.5px; margin-top: 12px; }

/* ---- whatsapp float + footer ---- */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(37,211,102,.45);
  text-decoration: none; transition: transform .18s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .brand { font-family: 'Frank Ruhl Libre', serif; font-weight: 700; color: var(--paper); font-size: 18px; }

/* ---- sticky mobile CTA bar (conversion: keep the primary CTA always reachable) ---- */
.sticky-cta { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 120; display: none;
  gap: 10px; padding: 10px 14px; background: rgba(20,15,12,.97); border-top: 1px solid var(--line);
  backdrop-filter: blur(6px); }
.sticky-cta .btn { padding: 13px 18px; font-size: 16px; }
.sticky-cta .grow { flex: 1; justify-content: center; }
.sticky-cta .wa-mini { flex: 0 0 auto; background: #25D366; color: #04130a; width: 52px; padding: 13px 0; justify-content: center; }

/* ---- responsive ---- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 320px; }
  .pains, .values, .facts, .founders { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .wa-float { display: none; }      /* the sticky bar carries WhatsApp on mobile */
  body { padding-block-end: 76px; } /* room for the sticky bar */
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
