/* ═══════════════════════════════════════════════════════════════════════════
   VendWay — אתר-השיווק (vendway.co.il). CSS אחד, בלי ספריות.
   צבעים = צבעי-המותג של המערכת (theme.js): צהוב #FFC629, דיו #1C1815, נייר #FAF6EF.
   ═══════════════════════════════════════════════════════════════════════════ */
/* Heebo — מוגש מהאתר עצמו (בלי פנייה לשרת חיצוני). רישיון: assets/fonts/LICENSE.txt */
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/heebo-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/heebo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #FFC629;
  --yellow-deep: #E8A800;
  --yellow-soft: #FFF3CC;
  --ink: #1C1815;
  --paper: #FAF6EF;
  --card: #FFFFFF;
  --line: #E8DFD0;
  --text: #2D2A26;
  --muted: #5F584F;         /* כהה מ-textMed של המערכת — ניגודיות 4.5:1 ומעלה על נייר */
  --green: #1A7A42;          /* 4.5:1 ומעלה על לבן ועל נייר */
  --orange: #A85D0C;
  --red: #C0392B;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(28, 24, 21, .08);
  --shadow-lg: 0 24px 60px rgba(28, 24, 21, .16);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.band-dark :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── כפתורים ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-lg { padding: 14px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(232, 168, 0, .35); }
.btn-primary:hover { background: #FFD04D; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ── כותרת ── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-name { font-weight: 900; font-size: 1.5rem; color: var(--ink); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--text); }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow-deep); }
.nav .nav-login { font-weight: 800; color: var(--ink); }
.nav .nav-cta { color: var(--ink); padding: 9px 18px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── מקטעים ── */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-white { background: var(--card); border-block: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #EDE6DA; }
.band-dark h2, .band-dark h3 { color: #fff; }
.head-c { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px;
  background: var(--yellow-soft); color: var(--ink); font-weight: 800; font-size: .86rem; letter-spacing: .01em;
}
.band-dark .eyebrow { background: rgba(255, 198, 41, .16); color: var(--yellow); }
.lead { margin-top: 16px; font-size: 1.14rem; color: var(--muted); }
.band-dark .lead { color: #D8CFC1; }
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding-inline: 4px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg {
  width: 46px; height: 46px; padding: 11px; border-radius: 14px;
  background: var(--yellow-soft); color: var(--ink); stroke-width: 1.8;
}

/* ── פתיח ── */
.hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(255, 198, 41, .28), transparent 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(255, 198, 41, .14), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; font-size: .95rem; font-weight: 600; color: var(--text); }
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips .ic { color: var(--green); width: 18px; height: 18px; stroke-width: 3; }
.hero-art { display: grid; justify-items: center; gap: 10px; }
.art-note { font-size: .8rem; color: var(--muted); }
.art-note.center { margin-top: 16px; }

/* ── טלפון (המחשה) ── */
.phone {
  position: relative; width: min(320px, 86vw);
  background: #EFE7DA; border: 10px solid var(--ink); border-radius: 42px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 2; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 32px 14px 12px; background: var(--ink); color: #fff; }
.chat-head img { width: 34px; height: 34px; object-fit: contain; background: var(--yellow); border-radius: 50%; padding: 4px; }
.chat-head b { display: block; font-size: .95rem; line-height: 1.2; }
.chat-head small { font-size: .74rem; color: #CFC6B8; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 10px; font-size: .88rem; line-height: 1.45; }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 14px; box-shadow: 0 1px 2px rgba(28, 24, 21, .08); }
.msg.me { align-self: flex-start; background: #FFE9A6; color: var(--ink); border-end-start-radius: 4px; }
.msg.bot { align-self: flex-end; background: #fff; color: var(--text); border-end-end-radius: 4px; }
.msg.file { display: flex; align-items: center; gap: 10px; }
.msg.file small { display: block; font-size: .74rem; color: var(--muted); }
.file-ic { flex: none; display: grid; place-items: center; width: 40px; height: 46px; border-radius: 8px; background: var(--green); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .03em; }
.chat-input { display: flex; align-items: center; gap: 8px; margin: 4px 10px 14px; padding: 9px 14px; background: #fff; border-radius: 999px; font-size: .82rem; color: #6B645A; }
.chat-input span { flex: 1; }
.chat-input i { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); }

/* ── פריסות ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-form { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card, .mini {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3, .mini h3 { margin: 16px 0 6px; }
.card p, .mini p { color: var(--muted); font-size: .98rem; }
.band-white .mini { background: var(--paper); }
.mini-plain { background: transparent; border-style: dashed; }
.mini-plain h3 { margin-top: 0; }

.asks { margin-top: 24px; display: grid; gap: 10px; }
.asks li {
  padding: 11px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  border-inline-start: 4px solid var(--yellow); font-weight: 600; color: var(--ink); font-size: 1rem;
}

/* ── תצוגת-דשבורד (המחשה) ── */
.preview { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: end; }
.browser { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EFE7DA; border-bottom: 1px solid var(--line); direction: ltr; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5CABA; }
.browser-bar span { margin-inline-start: 12px; padding: 3px 14px; background: #fff; border-radius: 999px; font-size: .78rem; color: var(--muted); }
.dash { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.kpi small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.kpi b { display: block; font-size: 1.55rem; font-weight: 900; color: var(--ink); line-height: 1.25; }
.kpi b span { font-size: 1rem; font-weight: 700; color: var(--muted); }
.kpi em { font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 600; }
.kpi em.up { color: var(--green); }
.kpi em.warn { color: var(--orange); }
.dash-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.panel h4 { font-size: .9rem; margin-bottom: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 132px; direction: ltr; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(var(--yellow), var(--yellow-deep)); border-radius: 6px 6px 2px 2px; }
.mlist { display: grid; gap: 9px; font-size: .86rem; }
.mlist li { display: flex; align-items: center; gap: 8px; }
.mlist span { flex: 1; }
.mlist b { color: var(--ink); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.dot.ok { background: var(--green); }
.dot.low { background: var(--orange); }
.dot.off { background: var(--red); }

.phone-sm { width: 220px; border-width: 8px; border-radius: 34px; background: var(--paper); }
.phone-sm .phone-notch { width: 80px; height: 16px; }
.app { padding: 26px 12px 16px; display: grid; gap: 9px; font-size: .78rem; }
.app-head { display: flex; align-items: center; gap: 6px; }
.app-head img { height: 22px; width: auto; }
.app-head b { font-weight: 900; font-size: .95rem; color: var(--ink); }
.app-title { font-weight: 800; font-size: 1rem; color: var(--ink); }
.app-kpi { background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 12px; }
.app-kpi small { display: block; color: #CFC6B8; font-size: .7rem; }
.app-kpi b { font-size: 1.3rem; font-weight: 900; color: var(--yellow); }
.app-card { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.app-card span { flex: 1; font-weight: 700; color: var(--ink); line-height: 1.3; }
.app-card small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; }
.app-card u { text-decoration: none; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .68rem; padding: 3px 9px; border-radius: 999px; }

/* ── שלבים ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.steps .num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  background: var(--ink); color: var(--yellow); border-radius: 50%; font-weight: 900; font-size: 1.2rem;
}
.steps p { margin-top: 6px; color: var(--muted); font-size: .98rem; }

/* ── טופס ── */
.ticks { margin-top: 26px; display: grid; gap: 12px; font-weight: 600; }
.ticks li { position: relative; padding-inline-start: 34px; }
.ticks li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1815' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lead-form { background: var(--card); color: var(--text); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.lead-form h3 { color: var(--ink); font-size: 1.35rem; }
.f-row { display: grid; gap: 5px; }
.f-row label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.f-row label span { color: var(--red); }
.f-row input, .f-row select, .f-row textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
}
.f-row input[dir="ltr"] { text-align: right; }
.f-row textarea { resize: vertical; min-height: 84px; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 198, 41, .55); }
.f-row [aria-invalid="true"] { border-color: var(--red); }
/* שדה-המלכודת: מוסתר בלי הזזה אל מחוץ לדף (ב-RTL הזזה שמאלה יוצרת גלילה אופקית) */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.f-note { font-size: .82rem; color: var(--muted); text-align: center; }
.f-status { font-weight: 700; text-align: center; min-height: 1.4em; }
.f-status.ok { color: var(--green); }
.f-status.err { color: var(--red); }

/* ── שאלות נפוצות ── */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 18px 20px; padding-inline-end: 56px;
  font-weight: 800; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 1.15rem; line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ── תחתית ── */
.foot { background: var(--ink); color: #CFC6B8; padding: 56px 0 24px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 190px; background: var(--paper); border-radius: 14px; padding: 10px 14px; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot a { color: #E6DDCF; text-decoration: none; }
.foot a:hover { color: var(--yellow); text-decoration: underline; }
.foot-slim { grid-template-columns: 1.6fr 1fr; }
.foot-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; text-align: center; }

/* ── דפי-מידע (פרטיות / נגישות / תודה) ── */
.doc { padding: clamp(40px, 6vw, 72px) 0; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 10px; }
.doc ul { list-style: disc; padding-inline-start: 22px; display: grid; gap: 6px; }
.doc a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.thanks .btn { margin-top: 24px; }

/* ── רספונסיביות ── */
@media (max-width: 980px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-cta, .chips { justify-content: center; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .preview { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .preview .browser { width: 100%; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  .js .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .nav.open { display: flex; }
  .js .nav.nav-static { display: flex; position: static; flex-direction: row; align-items: center; gap: 14px; padding: 0; background: none; border: 0; box-shadow: none; }
  .js .nav.nav-static a:not(.btn) { padding: 0; border: 0; }
  .js .nav.nav-static .nav-cta { margin-top: 0; }
  .js .nav a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .js .nav .nav-cta { margin-top: 14px; }
  html:not(.js) .burger { display: none; }
  html:not(.js) .top-in { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 10px 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .steps, .cards-2, .dash-row { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .chips { flex-direction: column; align-items: center; }
  .bars { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .top, .burger, .lead-form, .hero-art, .preview { display: none !important; }
  body { background: #fff; }
}
