@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/heebo-hebrew-wght-normal.woff2") format("woff2-variations");
  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-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/heebo-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  --bg: #f6f2ea;
  --surface: #ffffff;
  --ink: #1b272c;
  --muted: #56656c;
  --line: #e2dccf;
  --primary: #1f4e5f;
  --primary-ink: #ffffff;
  --primary-hover: #173d4a;
  --accent: #f2b84b;
  --accent-soft: #fbecc9;
  --hero-bg: #1f4e5f;
  --hero-ink: #f6f2ea;
  --danger: #a3332b;
  --danger-soft: #fbe7e4;
  --ok: #2f7a4d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(27, 39, 44, .06), 0 8px 24px rgba(27, 39, 44, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181b;
    --surface: #182226;
    --ink: #eef1f0;
    --muted: #a3b0b4;
    --line: #2a373c;
    --primary: #f2b84b;
    --primary-ink: #1b272c;
    --primary-hover: #f6c96e;
    --accent: #f2b84b;
    --accent-soft: #3a3220;
    --hero-bg: #16313a;
    --hero-ink: #eef1f0;
    --danger: #f08b80;
    --danger-soft: #3b211e;
    --ok: #7fcf9c;
    --shadow: none;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
.muted { color: var(--muted); font-size: .95rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Hero */
.hero {
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -90px;
  bottom: -150px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .12;
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  background: rgba(255, 255, 255, .12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 6vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.lead { font-size: 1.1rem; opacity: .92; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.counter {
  margin: 0;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.counter::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}
#count-num { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  transition: background-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #1b272c; }
.btn-primary:hover { background: #f6c96e; }
main .btn-primary { background: var(--primary); color: var(--primary-ink); }
main .btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Why */
.why { margin-top: -40px; position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.why-card h3 { color: var(--primary); }
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}
.letter-body {
  border-inline-start: 4px solid var(--accent);
  padding-inline-start: 18px;
  font-size: 1rem;
}
.letter-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: .9em; }
.letter-to { color: var(--muted); }
.letter-subject { font-weight: 700; }
.letter-body ol { padding-inline-start: 1.3em; margin: 0 0 1em; }
.letter-body li { margin-bottom: .4em; }
.letter-sign { margin-bottom: 0; }

/* Form */
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 50px;
}
input[dir="ltr"] { text-align: right; }
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
input[aria-invalid="true"] { border-color: var(--danger); }
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 400; font-size: .95rem;
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 14px;
  margin: 4px 0 16px;
  cursor: pointer;
}
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.turnstile { min-height: 65px; margin-bottom: 12px; }
.form-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
}
.success { text-align: center; padding: 12px 0; }
.success:focus { outline: none; }
.success-mark {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--ok);
  font-size: 2rem; font-weight: 800;
}

/* Privacy + footer */
.privacy { margin: 32px 0 8px; }
.privacy h2 { font-size: 1.15rem; }
.privacy ul { padding-inline-start: 1.2em; margin: 0; color: var(--muted); font-size: .95rem; }
.privacy li { margin-bottom: .5em; }
.privacy strong { color: var(--ink); }
.footer { padding: 28px 0 40px; color: var(--muted); font-size: .85rem; }
.footer p { margin: 0; border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 20px; }
  .hero-actions .btn { width: 100%; }
}
