:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --brand: #1f3a8a;
  --brand-2: #2f56c8;
  --accent: #f59e0b;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; margin-bottom: 1.2em; }
a { color: var(--brand-2); }

/* ---- כותרת עליונה ---- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; }
.logo b { color: var(--accent); }
.logo-lockup { display: flex; align-items: center; gap: 10px; color: var(--brand); }
.logo-mark { height: 36px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* ---- כפתורים ---- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--brand); color: #fff !important; text-decoration: none;
  font: inherit; font-weight: 700; padding: 14px 26px; border-radius: 12px;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 2px var(--brand); }
.btn-ghost:hover { background: #eef2ff; }

/* ---- פתיחה ---- */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #eef2ff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; background: #fff7e6; color: #92400e; border: 1px solid #fde3a7; padding: 4px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); font-weight: 800; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--brand-2); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.note { color: var(--muted); font-size: .95rem; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bubble {
  align-self: flex-start; max-width: 300px;
  /* ⚠️ לא ירוק-וואטסאפ — לא מחקים את העיצוב שלהם */
  background: #f1f5f9; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: 1rem;
}
.bubble .who { display: block; font-weight: 700; color: var(--brand-2); font-size: .85rem; }
.bubble .thumb { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }
.flow-arrow { color: var(--brand-2); height: 60px; }
.flow-arrow svg { height: 60px; width: 24px; }
.mail-card { align-self: flex-end; width: min(360px, 100%); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.mail-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.mail-subject { margin-inline-start: 8px; font-weight: 700; font-size: .9rem; }
.mail-body { padding: 16px; font-size: 1rem; }
.attach { margin-top: 10px; font-size: .85rem; color: var(--muted); background: var(--bg-alt); padding: 6px 10px; border-radius: 8px; }
.reply { margin-top: 12px; font-size: .9rem; color: var(--brand-2); font-weight: 500; }

/* ---- מקטעים ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card-icon { font-size: 2.2rem; }
.card-tag { color: var(--brand-2); font-weight: 700; margin-top: -4px; }
.card p:last-child { color: var(--muted); margin-bottom: 0; }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features li > span { font-size: 1.6rem; line-height: 1.2; }
.features b { display: block; }
.features div { color: var(--muted); }
.features b { color: var(--ink); }
.soon { font-style: normal; font-size: .8rem; background: #fff7e6; color: #92400e; padding: 1px 8px; border-radius: 999px; margin-inline-start: 6px; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--brand-2); font-weight: 800; }
details[open] summary::before { content: "–"; }
details p { color: var(--muted); margin: 0 0 16px; }

/* ---- טופס ---- */
.join { background: linear-gradient(180deg, #fff 0%, #eef2ff 100%); }
.join-lead { text-align: center; color: var(--muted); margin-top: -12px; margin-bottom: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--card); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: transparent; }
.form input[dir="ltr"] { text-align: right; }
.opt { color: var(--muted); font-weight: 400; font-size: .9rem; }
.choice { border: 1px solid #cbd5e1; border-radius: 10px; padding: 10px 14px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice legend { font-weight: 500; padding: 0 6px; }
.choice label { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; }
.choice input { width: 18px; height: 18px; margin: 0; flex: none; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--muted); }
.check input { margin-top: 5px; width: 18px; height: 18px; }
/* ⚠️ לא left:-9999 — בדף מימין לשמאל זה יוצר גלילה אופקית של אלפי פיקסלים */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-msg { margin: 0; min-height: 1.4em; font-weight: 500; text-align: center; }
.form-msg.ok { color: #166534; }
.form-msg.err { color: #b91c1c; }

/* ---- תחתית ---- */
.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- נייד ---- */
@media (max-width: 860px) {
  .hero { padding: 44px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .cards, .features { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .section { padding: 52px 0; }
}
