/* ============================================================
   מד התלות העסקית: שחור, לבן וצהוב. Mobile first, RTL.
   פונט: Rubik
   ============================================================ */

:root {
  --ink: #0b0b0b;
  --ink-2: #141414;
  --line: rgba(247, 245, 239, 0.1);
  --line-strong: rgba(247, 245, 239, 0.22);
  --paper: #f7f5ef;
  --muted: rgba(247, 245, 239, 0.7);
  --faint: rgba(247, 245, 239, 0.45);
  --yellow: #ffc72c;
  --yellow-hot: #ffd54f;
  --yellow-soft: rgba(255, 199, 44, 0.12);
  --wa: #25d366;
  --danger: #ff8a7a;

  --font: "Rubik", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.5, 1);

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 60% at 85% -10%, rgba(255, 199, 44, 0.12), transparent 60%),
    radial-gradient(80% 50% at 0% 110%, rgba(255, 199, 44, 0.06), transparent 60%),
    var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom));
}

a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }

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

/* ---------- Topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 8px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { display: block; width: 28px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; font-weight: 600; }
.brand-text span { font-size: 12px; color: var(--muted); }
.topbar-tag { font-size: 12.5px; color: var(--faint); }

/* ---------- Screens ---------- */

.app { outline: none; }

.screen { padding-top: 10px; animation: screen-in 420ms var(--ease-out) both; }
.screen[data-dir="back"] { animation-name: screen-in-back; }

@keyframes screen-in { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes screen-in-back { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

.reveal { animation: rise 600ms var(--ease-out) both; }
.reveal.d1 { animation-delay: 80ms; }
.reveal.d2 { animation-delay: 160ms; }
.reveal.d3 { animation-delay: 240ms; }
.reveal.d4 { animation-delay: 320ms; }
.reveal.d5 { animation-delay: 400ms; }
.reveal.d6 { animation-delay: 480ms; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.6) rotate(-10deg); } 70% { opacity: 1; transform: scale(1.06) rotate(-5deg); } 100% { opacity: 1; transform: scale(1) rotate(-4deg); } }

/* ---------- Type ---------- */

.chip svg { width: 15px; height: 15px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 199, 44, 0.35);
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
}

.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--yellow); }

.display {
  margin: 0;
  font-weight: 800;
  font-size: clamp(36px, 10.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display .hl { display: block; color: var(--yellow); }

.h2 {
  margin: 0;
  font-size: clamp(24px, 6.6vw, 31px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
  text-wrap: balance;
}

.h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }

.lead-text { color: var(--muted); margin: 0; }

.strong-line {
  margin: 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  border-inline-start: 4px solid var(--yellow);
  padding-inline-start: 14px;
}

.muted { color: var(--muted); }
.small { font-size: 15px; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 14px 20px;
  border: 0;
  border-radius: 18px;
  background: var(--yellow);
  color: #0b0b0b;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(255, 199, 44, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms;
}

.btn:hover { background: var(--yellow-hot); }
.btn:active { transform: translateY(2px) scale(0.99); box-shadow: 0 4px 14px -6px rgba(255, 199, 44, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.15); }
.btn[disabled] { opacity: 0.75; cursor: progress; }
.btn .arrow { display: inline-block; transition: transform 220ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(-4px); }

.btn-wa {
  background: var(--wa);
  color: #06210f;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.55), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}
.btn-wa:hover { background: #3be07a; }
.btn-wa svg { width: 26px; height: 26px; flex: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--paper); }

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(0, 0, 0, 0.25);
  border-top-color: #0b0b0b;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

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

/* ---------- Gauge ---------- */

.gauge { display: block; width: 100%; height: auto; overflow: visible; }
.gauge .zone { fill: none; stroke-width: 14; stroke-linecap: butt; transition: opacity 500ms; }
.gauge .zone[data-zone="0"] { stroke: rgba(247, 245, 239, 0.22); }
.gauge .zone[data-zone="1"] { stroke: rgba(255, 199, 44, 0.4); }
.gauge .zone[data-zone="2"] { stroke: rgba(255, 199, 44, 0.68); }
.gauge .zone[data-zone="3"] { stroke: var(--yellow); }
.gauge.has-value .zone { opacity: 0.3; }
.gauge.has-value .zone.is-active { opacity: 1; }
.gauge.has-value .zone[data-zone="0"].is-active { stroke: var(--paper); }
.gauge .tick { stroke: rgba(247, 245, 239, 0.28); stroke-width: 1.2; }
.gauge .tick.major { stroke: rgba(247, 245, 239, 0.55); stroke-width: 1.6; }
.gauge .scale-label { fill: var(--faint); font-family: var(--font); font-size: 9px; font-weight: 500; }
.gauge .needle {
  transform-box: view-box;
  transform-origin: 100px 100px;
  transform: rotate(0deg);
  transition: transform 1500ms var(--ease-spring);
}
.gauge .needle line { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; }
.gauge .hub { fill: var(--paper); }
.gauge .hub-ring { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.gauge.is-sweeping .needle { transition: none; animation: sweep 1.3s ease-in-out infinite alternate; }

@keyframes sweep { from { transform: rotate(8deg); } to { transform: rotate(172deg); } }

/* ---------- Intro ---------- */

.hero {
  position: relative;
  margin: 2px calc(var(--gutter) * -1) 0;
  aspect-ratio: 1 / 0.8;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

.hero picture, .hero img { display: block; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 50% 45%; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0) 58%, rgba(11, 11, 11, 0.6) 80%, var(--ink) 100%);
  pointer-events: none;
}

.hero-bubble {
  position: absolute;
  top: 16px;
  left: 14px;
  z-index: 2;
  max-width: 58%;
  padding: 10px 16px 12px;
  border-radius: 20px;
  background: var(--paper);
  color: #0b0b0b;
  font-weight: 700;
  font-size: clamp(16px, 4.6vw, 21px);
  line-height: 1.25;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg);
  text-wrap: balance;
  animation: pop 650ms var(--ease-out) 450ms both;
}

.hero-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 34px;
  width: 22px;
  height: 22px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 85% 100%);
}

.intro-copy { position: relative; z-index: 2; margin-top: -64px; display: grid; gap: 16px; }

.intro-copy .chip { justify-self: start; background: rgba(11, 11, 11, 0.7); backdrop-filter: blur(6px); color: var(--paper); border-color: var(--line-strong); }
.intro .display .hl { color: var(--paper); }
.intro .strong-line { border: 0; padding: 0; font-size: 16px; font-weight: 400; color: var(--muted); text-align: center; }
.intro .meta-row { justify-content: center; }
.intro .meta-row li { border: 0; padding: 0 6px; color: var(--muted); font-size: 14px; }
.intro .meta-row svg { color: var(--muted); }
.intro-cta { margin-top: 4px; }
.intro-cta .btn { box-shadow: 0 10px 26px -14px rgba(255, 199, 44, 0.45), inset 0 -4px 0 rgba(0, 0, 0, 0.15); }

.intro-copy .display { text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }

.pains { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }

.pains li {
  display: grid;
  grid-template-columns: 7px 1fr;
  align-items: center;
  gap: 12px;
  padding: 2px 2px;
  background: none !important;
  border: 0 !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  font-size: 16.5px;
  font-weight: 500;
}

.pains li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(247, 245, 239, 0.55); }

.meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.meta-row svg { width: 15px; height: 15px; color: var(--yellow); }

.meta-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------- Question ---------- */

.q-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }

.q-count { font-size: 22px; font-weight: 600; line-height: 1; direction: ltr; }
.q-count .of { color: var(--faint); font-weight: 400; }

.progress { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin: 10px 0 6px; }

.progress span { height: 6px; border-radius: 4px; background: rgba(247, 245, 239, 0.12); overflow: hidden; position: relative; }

.progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--ease-out);
}

.progress span.done::after,
.progress span.current::after { transform: scaleX(1); }
.progress span.current::after { background: var(--paper); }

.q-photo {
  position: relative;
  margin: 12px 0 16px;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}

.q-photo img { display: block; width: 100%; height: 100%; object-fit: cover; animation: photo-in 700ms var(--ease-out) both; }

@keyframes photo-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

.q-photo .chip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(11, 11, 11, 0.78);
  backdrop-filter: blur(6px);
}

.progress-note {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--yellow);
  color: #0b0b0b;
  font-size: 13.5px;
  font-weight: 600;
}

.q-text { margin-bottom: 22px; }

.answers { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.answer {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  text-align: start;
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 160ms, background 160ms, transform 160ms var(--ease-out), color 160ms;
}

.answer:hover { border-color: rgba(255, 199, 44, 0.7); background: rgba(255, 199, 44, 0.05); }
.answer:active { transform: scale(0.985); }

.answer .key {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: border-color 160ms;
}

.answer .key::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #0b0b0b;
  transform: scale(0);
  transition: transform 260ms var(--ease-spring);
}

.answer:hover .key { border-color: var(--yellow); }

.answer[aria-pressed="true"] { border-color: var(--yellow); background: var(--yellow); color: #0b0b0b; }
.answer[aria-pressed="true"] .key { border-color: #0b0b0b; }
.answer[aria-pressed="true"] .key::after { transform: scale(1); }

.answers.is-locked .answer:not([aria-pressed="true"]) { opacity: 0.45; }

/* ---------- Calculating ---------- */

.calc { display: grid; justify-items: center; text-align: center; padding-top: 22px; }
.calc .gauge { width: min(260px, 72vw); }
.calc .h2 { margin-top: 18px; }
.calc .lead-text { margin-top: 8px; max-width: 30ch; }

.calc-list { display: grid; gap: 7px; width: 100%; max-width: 300px; margin: 24px 0 0; padding: 0; list-style: none; text-align: start; }

.calc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--faint);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms, transform 300ms var(--ease-out), color 300ms;
}

.calc-list li.on { opacity: 1; transform: none; color: var(--paper); }
.calc-list .tick-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: #0b0b0b; }
.calc-list .tick-icon svg { width: 12px; height: 12px; }

/* ---------- Score (teaser + results) ---------- */

.score { display: grid; justify-items: center; text-align: center; }
.score .gauge { width: min(320px, 84vw); margin-top: 6px; }

.score-number {
  margin-top: -10px;
  font-weight: 700;
  font-size: clamp(78px, 23vw, 112px);
  line-height: 0.95;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.score-number .pct { font-size: 0.5em; color: var(--yellow); margin-inline-start: 2px; }

.level-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: #0b0b0b;
  font-weight: 600;
  font-size: 18px;
}

/* צבע לפי רמת התלות: קריטית אדום, גבוהה כתום, בינונית צהוב, נמוכה ירוק */
[data-level="critical"] { --level: #ff4d4d; }
[data-level="high"] { --level: #ff8a1f; }
[data-level="medium"] { --level: var(--yellow); }
[data-level="low"] { --level: #34d27b; }

.level-pill[data-level] { background: var(--level); }

.score-label { margin: 0 0 4px; font-size: 16px; font-weight: 500; color: var(--muted); }

.teaser-box {
  margin-top: 28px;
  padding: 22px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  text-align: center;
}

.teaser-box p { margin: 0 0 16px; font-weight: 500; font-size: 18.5px; line-height: 1.45; }

.disclaimer { margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: var(--faint); text-align: center; }

/* ---------- Lead form ---------- */


.locked { display: grid; gap: 8px; margin: 20px 0 24px; padding: 0; list-style: none; }

.locked li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.locked .rank { font-size: 22px; font-weight: 700; color: var(--yellow); line-height: 1; }
.locked .bar { height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(247, 245, 239, 0.06), rgba(247, 245, 239, 0.18)); filter: blur(1px); }
.locked li:nth-child(2) .bar { width: 82%; }
.locked li:nth-child(3) .bar { width: 64%; }
.locked svg { width: 18px; height: 18px; color: var(--faint); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 16px; font-weight: 500; }

.field input {
  width: 100%;
  min-height: 56px;
  padding: 12px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--ink-2);
  color: var(--paper);
  font: inherit;
  font-size: 17.5px;
  transition: border-color 160ms, box-shadow 160ms;
}

.field input[dir="ltr"] { text-align: right; }
.field input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.16); }
.field.has-error input { border-color: var(--danger); }

.field-error { margin: 0; font-size: 14.5px; color: var(--danger); }
.field-error:empty { display: none; }

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 7px;
  background: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms, border-color 160ms;
}

.check input::after {
  content: "";
  width: 11px;
  height: 6px;
  border: 2.5px solid #0b0b0b;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}

.check input:checked { background: var(--yellow); border-color: var(--yellow); }
.check input:checked::after { opacity: 1; }
.check a { color: var(--paper); text-underline-offset: 3px; }
.check.has-error input { border-color: var(--danger); }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 138, 122, 0.1); color: var(--danger); font-size: 15px; }
.form-error:empty { display: none; }

/* ---------- Results ---------- */

.result-hero .eyebrow { margin-bottom: 4px; }

.verdict { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.verdict .h2 { font-size: clamp(28px, 7.8vw, 38px); font-weight: 800; line-height: 1.15; color: var(--level, var(--yellow)); }
.verdict-pain { margin: 14px 0 0; font-size: 18.5px; font-weight: 500; line-height: 1.6; color: var(--paper); }
.verdict-body { margin-top: 14px; display: grid; gap: 8px; color: var(--muted); }
.verdict-body p { margin: 0; }

.section { margin-top: 40px; }
.section-head { margin-bottom: 18px; }
.section-head .chip { margin-bottom: 12px; }
.section-head .h2 { font-size: clamp(24px, 6.4vw, 30px); }
.section-head p { margin: 8px 0 0; }

.domain-cards { display: grid; gap: 12px; }

.domain-card {
  position: relative;
  padding: 14px 14px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.domain-top { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.domain-top img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.domain-top .rank { display: block; font-size: 13px; color: var(--faint); font-weight: 500; }
.domain-level { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14.5px; font-weight: 500; color: var(--level, var(--yellow)); }

.meter { display: inline-grid; grid-template-columns: repeat(3, 18px); gap: 3px; }
.meter i { height: 7px; border-radius: 3px; background: rgba(247, 245, 239, 0.14); }
.meter i.on { background: var(--level, var(--yellow)); }

.your-answer { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.05); font-size: 15.5px; color: var(--muted); }
.your-answer strong { color: var(--paper); font-weight: 500; }

.domain-why { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

.reco { margin: 12px 0 0; padding: 10px 12px; font-size: 15.5px; line-height: 1.5; border-inline-start: 4px solid var(--yellow); border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--yellow-soft); }
.reco strong { color: var(--yellow); font-weight: 600; }
.reco-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--yellow); margin-bottom: 2px; }
.reco p { margin: 0; font-weight: 500; font-size: 16.5px; line-height: 1.5; }

.empty-domains { padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--muted); }

.indication-note { display: flex; gap: 10px; margin: 14px 0 0; font-size: 14px; color: var(--faint); }
.indication-note svg { flex: none; width: 17px; height: 17px; margin-top: 3px; }

.map { display: grid; margin: 0; padding: 4px 16px; border: 1px solid var(--line); border-radius: var(--radius); list-style: none; }

.map li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.map li:last-child { border-bottom: 0; }
.map .map-level { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.map li.is-top .map-name { font-weight: 600; }

/* Itzik's note */

.note {
  position: relative;
  margin-top: 52px;
  padding: 24px 18px 20px;
  border-radius: 24px;
  background: var(--paper);
  color: #141414;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.note::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 24px;
  margin-left: -46px;
  background: rgba(255, 199, 44, 0.85);
  transform: rotate(-3deg);
  border-radius: 3px;
}

.note-head { display: flex; align-items: center; gap: 14px; }
.note-head img { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--yellow); flex: none; object-fit: cover; }
.note-kicker { margin: 0 0 2px; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; color: #8a6400; }
.note .h2 { font-size: clamp(23px, 6.2vw, 29px); color: #0b0b0b; }
.note-sub { margin: 4px 0 0; font-size: 17px; font-weight: 500; color: #3a3a3a; }

.note-body { display: grid; gap: 10px; margin-top: 16px; font-size: 17px; line-height: 1.6; color: #2b2b2b; }
.note-body p { margin: 0; }
.note-body strong { font-weight: 600; color: #0b0b0b; background: linear-gradient(transparent 58%, rgba(255, 199, 44, 0.65) 58%); }

.signature { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.12); font-size: 19px; font-weight: 700; color: #0b0b0b; }
.signature span { display: block; font-size: 14px; font-weight: 400; color: #555; }

/* Success stories */

.stories-head { text-align: center; }
.stories-head .chip { margin-inline: auto; }

.marquee {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee + .marquee { margin-top: 10px; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 54s; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.story {
  width: 118px;
  aspect-ratio: 9 / 16;
  flex: none;
  margin-right: 10px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8);
}

.story img { display: block; width: 100%; height: 100%; object-fit: cover; }

.story-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--yellow);
  color: #0b0b0b;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  direction: rtl;
  box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.3), 0 14px 34px -12px rgba(255, 199, 44, 0.6);
}

.story-next .q {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0b0b0b;
  color: var(--yellow);
  font-size: 30px;
  font-weight: 800;
}

.next-story {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(255, 199, 44, 0.6);
  background: var(--yellow-soft);
}

.next-story .q { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--yellow); color: #0b0b0b; font-size: 32px; font-weight: 700; }
.next-story p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }

/* CTA */

.cta {
  position: relative;
  margin-top: 54px;
  padding: 26px 18px 22px;
  border-radius: 26px;
  background: var(--yellow);
  color: #0b0b0b;
  overflow: hidden;
}

.cta > * { position: relative; }


.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #0b0b0b;
  color: var(--yellow);
  font-size: 14.5px;
  font-weight: 600;
}

.cta .h2 { font-size: clamp(24px, 6.4vw, 30px); }
.cta-text { margin: 14px 0 0; font-size: 17px; line-height: 1.55; }
.cta-text p { margin: 0 0 8px; }

.cta-list { display: grid; gap: 8px; margin: 14px 0 20px; padding: 0; list-style: none; font-weight: 500; font-size: 16.5px; }
.cta-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }

.cta-list li::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #0b0b0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc72c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.cta-offer {
  margin: 0 0 14px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: #0b0b0b;
  color: var(--paper);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.45;
}

.cta-offer p { margin: 0; }
.cta-offer .cta-offer-title { margin-bottom: 4px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--paper); }

.cta-offer span { color: var(--yellow); }
.cta-note { margin: 10px 0 0; font-size: 14px; text-align: center; color: #3a3000; }

/* Offer (meeting) */

.offer { position: relative; margin-top: 40px; }

.offer-photo { position: relative; height: 230px; margin: 0 calc(var(--gutter) * -1); }

.offer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: brightness(0.82) contrast(1.06) saturate(0.85);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 55%, transparent 100%);
}

.offer-panel {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 22px 18px 18px;
  text-align: center;
  border: 1px solid rgba(255, 199, 44, 0.28);
  border-radius: 22px;
  background: rgba(16, 15, 12, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.offer-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 199, 44, 0.4);
  color: var(--yellow);
  font-size: 13.5px;
  font-weight: 600;
}

.offer-panel h2 { margin: 0; font-size: clamp(27px, 7.4vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.offer-panel h2 .hl { color: var(--yellow); }
.offer-panel .bar { display: block; width: 46px; height: 3px; margin: 14px auto 14px; border-radius: 2px; background: var(--yellow); }
.offer-panel p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.offer-panel .strong { margin-top: 12px; color: var(--paper); font-size: 18px; font-weight: 700; line-height: 1.45; }
.offer-note { margin-top: 12px !important; font-size: 13.5px !important; color: var(--faint) !important; }

.offer-btn { margin-top: 20px; border-radius: 999px; font-weight: 700; }
.offer-btn svg { width: 22px; height: 22px; flex: none; }

.note-btn { margin-top: 18px; }

/* Sticky WhatsApp bar (results) */

.results { padding-bottom: 76px; }

.sticky-wa {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out);
}

.sticky-wa.show { transform: none; }
.sticky-wa p { flex: 1; margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.sticky-wa .btn { flex: none; width: auto; min-height: 48px; margin-top: 0; padding: 10px 18px; font-size: 16px; box-shadow: none; }
.sticky-wa .btn svg { width: 20px; height: 20px; }

/* Footer */

.site-footer { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.site-footer .sig { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.1; }
.site-footer .slogan { margin: 6px 0 0; font-weight: 500; }
.site-footer .slogan em { font-style: normal; color: var(--yellow); }
.site-footer .links { margin-top: 10px; font-size: 14px; }
.site-footer .links a { color: var(--muted); text-underline-offset: 3px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 10;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--paper);
  color: #0b0b0b;
  font-size: 15px;
  font-weight: 500;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity 200ms, transform 260ms var(--ease-out);
  pointer-events: none;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dev banner (localhost only) */

.dev-banner { margin: 0 0 8px; padding: 10px 12px; border: 1px dashed rgba(255, 199, 44, 0.6); border-radius: 10px; font-size: 13px; color: var(--yellow); background: rgba(255, 199, 44, 0.06); }
.dev-banner ul { margin: 4px 0 0; padding-inline-start: 18px; }

.noscript { padding: 40px 0; text-align: center; color: var(--muted); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Privacy page */

.doc { padding: 18px 0 10px; }
.doc h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.25; }
.doc h2 { margin: 28px 0 8px; font-size: 21px; font-weight: 600; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-inline-start: 20px; }
.doc .updated { font-size: 14px; color: var(--faint); }

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .topbar { padding-top: 24px; }
  .hero { margin-inline: 0; border-radius: 28px; aspect-ratio: 1 / 0.86; }
  .marquee { margin-inline: 0; }
  .story { width: 136px; }
  .cta { padding: 34px 30px 28px; }
  .offer-photo { margin-inline: 0; height: 280px; }
  .offer-panel { margin-inline: 24px; padding: 32px 36px 26px; }
  .note { padding: 30px 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
