:root {
  /* כחול עמוק, זהב חם וחום עץ: לקוחים מהדמיית בית הכנסת */
  --bg: #f4f2ee;          /* אבן בהירה, כמו הרצפה */
  --surface: #ffffff;
  --surface-2: #f8f6f2;
  --ink: #1a2a3d;
  --ink-2: #4a5568;
  --ink-3: #7b8494;
  --line: #e2ddd4;
  --brand: #1d3f66;       /* כחול */
  --brand-2: #2d5a8a;
  --brand-soft: #e8eef5;
  --brand-ink: #ffffff;
  --gold: #b88a3e;        /* זהב */
  --gold-soft: #f5ecda;
  --wood: #8b5e34;        /* חום עץ */
  --wood-soft: #efe4d6;
  --ok: #1d7a46;
  --ok-soft: #e3f3e9;
  --danger: #b3261e;
  --danger-soft: #fbe7e5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(26, 42, 61, .05), 0 8px 28px rgba(26, 42, 61, .07);
  --font: "Rubik", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
a { color: var(--brand); }
button { font: inherit; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1px solid transparent; border-radius: 999px;
  padding: .7em 1.6em; font-weight: 700; cursor: pointer;
  background: var(--brand); color: var(--brand-ink);
  transition: transform .08s ease, opacity .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { background: var(--brand-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: #a2772f; }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.small { padding: .4em 1em; font-size: .9em; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.demo-banner {
  background: var(--gold-soft); color: #6b4a14; text-align: center;
  font-size: .9em; padding: 6px 16px; border-bottom: 1px solid #e8d6a8;
}

input[type=text], input[type=tel], input[type=search], textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  padding: .6em .8em; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
label { font-weight: 600; }
.hint { color: var(--ink-3); font-size: .9em; }
.error { color: var(--danger); font-size: .92em; min-height: 1.4em; }

[hidden] { display: none !important; }
