:root {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --text: #1d2420;
  --muted: #5f6762;
  --line: #e3ddd0;
  --field-line: #857f73;
  --brand: #1f6f50;
  --brand-dark: #185c42;
  --brand-light: #26805d;
  --accent: #f0a54a;
  --peach: #fdf0dc;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.skip { position: absolute; top: -60px; right: 16px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* כותרת עליונה */
.top { position: sticky; top: 0; z-index: 5; background: rgba(245, 242, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--text); text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 10px; }

/* כפתורים ושדות */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 14px; background: var(--brand); color: #fff;
  font: inherit; font-weight: 700; font-size: 18px; padding: 15px 22px; cursor: pointer;
  text-decoration: none; transition: background .15s, transform .1s;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.small { font-size: 15px; padding: 9px 16px; border-radius: 12px; }
.btn.light { background: var(--accent); color: var(--text); }
.btn.light:hover { background: #e8963a; }
.input {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--field-line); border-radius: 14px; padding: 14px 16px;
  appearance: none; -webkit-appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6762' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: 16px 50%; background-repeat: no-repeat; padding-left: 40px;
}
.input:focus { border-color: var(--brand); outline: 3px solid var(--accent); outline-offset: 1px; }
.input[aria-invalid="true"] { border-color: #c2341d; border-width: 2px; }

/* טופס הרשמה */
.join { display: grid; gap: 12px; max-width: 440px; }
.field { display: grid; gap: 6px; text-align: right; }
.field label { font-weight: 600; font-size: 16px; }
.opt { font-weight: 400; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; text-align: right; font-size: 15px; line-height: 1.45; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.join .note { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.msg.ok { color: var(--brand); }
.msg.err { color: #c2341d; }
.join.done .field, .join.done .consent, .join.done .btn, .join.done .note { display: none; }
.join.done .msg { font-size: 20px; }

/* פתיחה */
.hero { padding: 48px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.badge { display: inline-block; background: var(--peach); color: #8a4b0f; font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(44px, 9vw, 76px); font-weight: 800; letter-spacing: -1px; }
.lead { font-size: clamp(18px, 2.6vw, 22px); color: var(--muted); max-width: 520px; margin-bottom: 24px; }
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: min(300px, 78vw); border-radius: 44px; border: 11px solid #0f1d17; background: #0f1d17;
  overflow: hidden; box-shadow: 0 30px 60px rgba(20, 40, 30, .25);
}
.phone img { width: 100%; }
.phone.crop { aspect-ratio: 300 / 430; display: flex; align-items: flex-end; }

/* נתון */
.stat { background: linear-gradient(180deg, var(--brand-light), var(--brand-dark)); color: #fff; padding: 44px 0; text-align: center; }
.stat-num { font-size: clamp(48px, 10vw, 84px); font-weight: 800; margin: 0; line-height: 1.05; }
.stat-text { font-size: clamp(18px, 2.6vw, 22px); margin: 8px 0 0; }
.stat-text span { display: block; font-size: 15px; margin-top: 4px; }

/* איך זה עובד */
.how { padding: 64px 0; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(40, 35, 20, .06), 0 4px 14px rgba(40, 35, 20, .06); }
.steps h3 { font-size: 22px; margin: 10px 0 6px; }
.steps p { color: var(--muted); margin: 0; }
.step-icon { font-size: 34px; }

/* מימוש חלקי */
.feature { padding: 24px 0 64px; }
.feature-grid { display: grid; gap: 36px; align-items: center; }
.feature p { font-size: 19px; color: var(--muted); }
.feature-phone { display: flex; justify-content: center; order: 2; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-size: 18px; }
.checks li { padding-right: 34px; position: relative; }
.checks li::before { content: '✓'; position: absolute; right: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; display: grid; place-items: center; font-weight: 700; }

/* שאלות */
.faq { padding: 8px 0 64px; }
.faq details { background: var(--surface); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 14px 0; list-style: none; position: relative; padding-left: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+' / ''; position: absolute; left: 0; top: 10px; font-size: 24px; color: var(--brand); }
.faq details[open] summary::after { content: '–' / ''; }
.faq details p { color: var(--muted); }

/* הרשמה בסוף */
.cta { background: linear-gradient(180deg, var(--brand-light), var(--brand-dark)); color: #fff; padding: 64px 0; text-align: center; }
.cta p { font-size: 19px; }
.cta .opt { color: #fff; }
.cta .consent a, .cta a { color: #fff; }
.cta .input:focus { outline-color: #fff; }
.cta .join { margin: 24px auto 0; }
.cta .msg.ok, .cta .msg.err { color: #fff; }

.foot { padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.foot a { color: var(--muted); }

@media (min-width: 820px) {
  .hero { padding: 72px 0 64px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .phone { width: 320px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: .8fr 1.2fr; }
  .feature-phone { order: 0; }
}

/* דף פרטיות */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: 40px; font-weight: 800; }
.doc h2 { font-size: 22px; margin-top: 28px; }
.doc p, .doc li { color: #3b433e; font-size: 17px; }
