:root {
  --bg: #f7f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #556377;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-2: #4f46e5;
  --soft: #e0e7ff;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1017; --card: #151c26; --text: #e5e7eb; --muted: #94a3b8; --line: #243041;
    --primary: #60a5fa; --primary-2: #818cf8; --soft: #1e2a4a; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
html, body { margin: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Hebrew", "Noto Sans", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px;
}
html[lang="he"] [data-l="en"], html[lang="en"] [data-l="he"] { display: none !important; }
a { color: var(--primary); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); text-align: center; margin-bottom: 1.2em; }
h3 { font-size: 1.2rem; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border: none; }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }
.btn[hidden] { display: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 20px 10px; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.logo img { border-radius: 10px; }
.wordmark { direction: ltr; unicode-bidi: isolate; letter-spacing: -.01em; }
.wordmark .go { background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
a.lang-btn { text-decoration: none; }
.lang-btn { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-block: 56px 40px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 10px; }
.hero-phone { justify-self: center; }

.phone {
  margin: 0; width: 100%; max-width: 300px; border-radius: 34px; padding: 10px; background: #0f172a;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

/* Steps */
.steps-sec { padding-block: 40px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--card); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--soft); color: var(--primary); font-weight: 800; margin-bottom: 10px;
}

.callout { max-width: 760px; margin: 28px auto 0; background: var(--soft); border-radius: 18px; padding: 20px 24px; }
.callout h3 { margin-bottom: .4em; }
.callout p { margin: 0; }

/* Features */
.features { padding-block: 40px; }
.feature { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.feature.rev { grid-template-columns: 1fr 300px; }
.feature.rev .phone { order: 2; }
.feature p { color: var(--muted); font-size: 1.05rem; }
.mini { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini li { background: var(--card); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.mini span { color: var(--muted); font-size: .95rem; }

/* Install */
.install { padding-block: 48px; }
.install > p { text-align: center; max-width: 40em; margin: -0.6em auto 28px; }
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.card ol { padding-inline-start: 1.2em; margin: 10px 0 0; }
.card li { margin-bottom: 6px; }
.card .btn { width: 100%; margin-bottom: 6px; }

.foot { padding-block: 28px calc(28px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); margin-top: 20px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.foot-links a { color: var(--muted); }

/* Legal pages (terms, privacy, accessibility) */
.doc { max-width: 760px; padding-block: 36px 20px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; }
.doc h2 { text-align: start; font-size: 1.25rem; margin: 1.8em 0 .5em; }
.doc p, .doc li { margin: 0 0 .7em; }
.doc ul, .doc ol { padding-inline-start: 1.3em; }
.doc .updated { color: var(--muted); margin-bottom: 1.6em; }
.doc .note { background: var(--card); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 32px 20px; text-align: center; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-phone { max-width: 260px; }
  .steps, .mini, .install-grid { grid-template-columns: 1fr; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 20px; text-align: center; margin-bottom: 48px; }
  .feature .phone, .feature.rev .phone { order: 0; justify-self: center; max-width: 250px; }
}
@media (max-width: 420px) {
  .logo span { font-size: .95rem; }
  .nav .btn { padding: 8px 12px; }
}
