:root { --ink:#1b1b1b; --muted:#6f6f6f; --line:#e1e0dd; --bg:#f4f3f1; --brand:#111; --brand2:#262626; --gold:#b8862b; --goldbg:#f8f1e2; --ok:#1d7a46; --bad:#b3261e; --warn:#fff4e0; }
* { box-sizing: border-box; }
body { overflow-x:hidden; margin:0; font-family: "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif; color:var(--ink); background:var(--bg); font-size:16px; line-height:1.5; }
a { color:#7a5a1c; }
.top { position:relative; display:flex; justify-content:space-between; align-items:center; height:96px; padding:0 24px;
  background:linear-gradient(90deg, #e2e1df, #ecebe9); border-bottom:1px solid #d6d4d0; overflow:hidden; }
.top::before { content:""; position:absolute; inset:0 auto 0 0; width:330px; background:url(/static/header-chess.jpg) left bottom / auto 100% no-repeat;
  -webkit-mask-image:linear-gradient(90deg, #000 45%, transparent); mask-image:linear-gradient(90deg, #000 45%, transparent); }
.top > * { position:relative; }
.logo { height:64px; width:auto; display:block; }
.toplinks { display:flex; gap:8px; }
.toplinks a { color:var(--ink); font-size:14px; text-decoration:none; background:rgba(255,255,255,.85); border:1px solid #cfccc6; border-radius:16px; padding:4px 12px; }
.toplinks a:hover { border-color:var(--gold); color:var(--gold); }
.hero { height:180px; background:#ddd url(/static/hero.jpg) center 60% / cover no-repeat; }
.checker { height:10px; background:repeating-linear-gradient(90deg, #333 0 16px, transparent 16px 32px); margin-top:8px; }
.progress { max-width:760px; margin:16px auto 0; padding:0 16px; }
/* מפת התהליך */
.stepper { list-style:none; display:flex; margin:8px auto 4px; padding:0; max-width:620px; }
.stepper li { flex:1; position:relative; text-align:center; font-size:14px; color:#9a9893; }
.stepper li::before { content:""; position:absolute; top:11px; left:50%; width:100%; height:2px; background:#d8d6d2; z-index:0; }
.stepper li:first-child::before { display:none; }
.stepper li.done::before, .stepper li.now::before { background:var(--gold); }
.stepper .dot { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; width:24px; height:24px; margin:0 auto 6px;
  border-radius:50%; background:#fff; border:2px solid #cfccc6; }
.stepper li.now .dot { border-color:var(--gold); box-shadow:0 0 0 4px rgba(184,134,43,.15); }
.stepper li.now .dot::after { content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); }
.stepper li.done .dot { background:var(--gold); border-color:var(--gold); color:#fff; }
.stepper li.done .dot .ic { width:14px; height:14px; stroke-width:2.6; }
.stepper li.now .lbl { color:var(--gold); font-weight:600; } .stepper li.done .lbl { color:var(--ink); }
/* עמוד פתיחה */
.landing { max-width:620px; margin:0 auto; }
.lt { text-align:center; font-size:34px; line-height:1.25; margin:18px 0 10px; font-weight:700; }
.lsub { text-align:center; color:var(--muted); margin:0 auto 22px; max-width:520px; }
.lcard { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px 22px; margin:12px 0; }
.lcard.active { border:2px solid var(--gold); padding:22px; box-shadow:0 6px 24px rgba(0,0,0,.06); margin-top:22px; }
.lcard.next { opacity:.55; padding:14px 22px; }
.lhead { display:flex; align-items:center; gap:14px; }
.lhead > div { flex:1; } .lhead b { display:block; font-size:18px; } .lhead small { color:var(--muted); }
.lhead .ic { width:30px; height:30px; color:var(--gold); flex:none; }
.lcard.next .lhead .ic { color:#8f8c86; } .lcard.next .lhead .ic:last-child { width:20px; height:20px; }
.lmail { text-align:center; margin:18px 0 6px; } .lmail b { font-size:18px; }
.btn.wide { display:block; width:100%; max-width:320px; margin:14px auto 0; border-radius:24px; padding:12px; font-size:17px; }
.center { text-align:center; } .ferr.center { margin-top:6px; }
.landing .code { display:block; margin:14px auto 0; border:0; border-bottom:2px solid #cfccc6; border-radius:0; max-width:260px; font-size:28px; letter-spacing:10px; background:transparent; }
.landing .code:focus { outline:0; border-bottom-color:var(--gold); } .landing .code.bad { border-bottom-color:var(--bad); }
.ic { width:22px; height:22px; }
.wrap { max-width:760px; margin:0 auto; padding:16px; }
.card { background:#fff; border:1px solid var(--line); border-radius:10px; padding:22px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
h1 { font-size:22px; margin:0 0 12px; } h2 { font-size:17px; margin:22px 0 8px; }
.muted { color:var(--muted); } .small { font-size:13px; }
.field { display:block; margin:0 0 14px; border:0; padding:0; }
.field > span, .field > legend { display:block; font-weight:600; margin-bottom:4px; font-size:15px; padding:0; }
.field em, .check em, .ulabel em { font-weight:400; color:var(--muted); font-style:normal; font-size:13px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input:not([type]), select, textarea, .num input {
  width:100%; padding:10px 12px; border:1px solid #c9ced8; border-radius:8px; font:inherit; background:#fff; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--gold); outline-offset:0; border-color:var(--gold); }
.field small { color:var(--muted); }
.bad input, .bad select, .bad textarea { border-color:var(--bad); }
.ferr { color:var(--bad); font-size:13px; margin-top:3px; }
.alert { background:#fdecea; color:var(--bad); border-radius:8px; padding:10px 12px; margin:12px 0; }
.grid2 { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
.row3 { display:grid; grid-template-columns:repeat(4, 1fr); gap:0 10px; border-top:1px dashed var(--line); padding-top:8px; }
.opts { display:flex; flex-wrap:wrap; gap:8px; }
.opt { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:8px; padding:7px 12px; cursor:pointer; background:#fafbfc; }
.opt:has(input:checked) { border-color:var(--gold); background:var(--goldbg); }
.opts.small .opt { padding:4px 10px; font-size:14px; }
.check { display:flex; gap:8px; align-items:flex-start; margin:10px 0; cursor:pointer; }
.check input { margin-top:5px; }
.btn { display:inline-block; background:var(--brand2); color:#fff; border:0; border-radius:8px; padding:11px 26px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; margin-top:10px; }
.btn:hover { background:var(--gold); }
.btn.ghost { background:#fff; color:var(--ink); border:1px solid #9a9893; }
.btn.ghost:hover { border-color:var(--gold); color:var(--gold); background:#fff; }
.link { background:none; border:0; color:var(--brand2); text-decoration:underline; cursor:pointer; font:inherit; padding:0; margin-top:12px; }
.nav { display:flex; justify-content:space-between; gap:10px; margin-top:14px; }
.nav > .btn:not(.ghost) { margin-right:auto; }
.choices { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; margin-bottom:12px; }
.choice { border:1px solid var(--line); border-radius:10px; padding:14px; cursor:pointer; display:flex; flex-direction:column; gap:2px; }
.choice:has(input:checked) { border-color:var(--gold); background:var(--goldbg); }
.choice input { align-self:flex-start; } .choice small { color:var(--muted); }
.sub { display:none; border-right:3px solid var(--line); padding-right:12px; margin:6px 0 14px; }
.upload { border:1px solid var(--line); border-radius:10px; padding:12px; margin-bottom:10px; }
.upload.ok { border-color:#b9dfc8; background:#f3faf6; }
.ulabel { font-weight:600; margin-bottom:6px; } .tick { color:var(--ok); font-weight:600; margin-right:8px; }
.tabs { display:flex; gap:6px; margin-bottom:10px; }
.tabs span { width:26px; height:26px; border-radius:50%; background:var(--line); display:inline-flex; align-items:center; justify-content:center; font-size:13px; }
.tabs span.on { background:var(--brand); color:#fff; }
.q { padding:12px 0; border-bottom:1px solid var(--line); }
.q.bad .qt { color:var(--bad); }
.qt { font-weight:600; margin-bottom:6px; }
.num { display:flex; align-items:center; gap:8px; max-width:280px; } .num span { color:var(--muted); }
.refuse { display:inline-block; font-size:13px; color:var(--muted); margin-top:6px; cursor:pointer; }
.hit { background:var(--warn); border-radius:8px; padding:10px 12px; margin-bottom:10px; }
.hit.ok { background:#f3faf6; } .hit p { margin:0 0 6px; }
dl.pic { display:grid; grid-template-columns:max-content 1fr; gap:6px 16px; }
dl.pic dt { color:var(--muted); } dl.pic dd { margin:0; font-weight:600; }
.explain { background:var(--goldbg); border-radius:8px; padding:12px; white-space:pre-line; }
table.levels { width:100%; border-collapse:collapse; margin-top:12px; font-size:15px; }
.levels th { text-align:right; font-weight:600; font-size:13px; color:var(--muted); border-bottom:1px solid var(--line); padding:6px; }
.levels td { padding:7px 6px; border-bottom:1px solid #eef0f3; }
.levels tr.rec { background:var(--goldbg); } .levels tr.higher td { color:#8a8f99; }
.summary { background:#f7f8fa; border:1px solid var(--line); border-radius:8px; padding:10px 12px; margin:10px 0; }
.summary ul { margin:6px 0 0; padding-right:18px; }
.agreement { border:1px solid var(--line); border-radius:8px; margin:10px 0; overflow:hidden; }
.agr-head { display:flex; align-items:center; gap:8px; padding:8px 12px; background:#f7f6f4; flex-wrap:wrap; }
.agr-head .btn { margin:0 auto 0 0; padding:5px 12px; font-size:14px; }
.agreement iframe { width:100%; height:520px; border:0; display:block; background:#888; }
details.doc { border:1px solid var(--line); border-radius:8px; margin:8px 0; }
details.doc summary { padding:10px 12px; cursor:pointer; font-weight:600; }
details.doc .body { padding:0 14px 12px; white-space:pre-line; max-height:320px; overflow:auto; }
.code { font-size:24px; letter-spacing:6px; text-align:center; max-width:220px; }
.devnote { background:#fff4e0; border:1px dashed #d9a441; padding:6px 10px; border-radius:6px; display:inline-block; }
.devtag { background:#d9a441; color:#fff; padding:1px 8px; border-radius:10px; margin-right:8px; font-size:12px; }
pre.mail { background:#f7f8fa; border:1px solid var(--line); padding:8px; white-space:pre-wrap; font-size:13px; }
.foot { text-align:center; color:var(--muted); font-size:13px; padding:18px 12px 8px; line-height:1.9; }
.foot a { color:var(--muted); }
form.inline { display:inline; }
@media (max-width:620px) {
  .lt { font-size:26px; } .stepper li { font-size:12px; } .lcard, .lcard.active { padding:16px; }
  .agreement iframe { height:380px; }
  .top { height:70px; padding:0 12px; background-size:auto 100%; } .top::before { opacity:.35; width:200px; } .logo { height:44px; } .toplinks a { padding:3px 8px; font-size:13px; }
  .hero { height:110px; }
  .grid2, .choices { grid-template-columns:1fr; } .row3 { grid-template-columns:1fr 1fr; }
  .card { padding:16px; } .levels th:nth-child(3), .levels td:nth-child(3) { display:none; }
}
.row4 { display:grid; grid-template-columns:repeat(4, 1fr); gap:0 10px; }
.hint-link { margin:-6px 0 14px; }
.q.auto { color:var(--muted); }
.opts.vol .opt { flex-direction:column; align-items:flex-start; gap:0; min-width:92px; }
.opts.vol .opt .v { color:var(--muted); font-size:12px; margin-right:22px; }
.todo { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:10px; padding:12px 14px; margin:10px 0; }
.todo > div { flex:1; } .todo b { display:block; } .todo small { color:var(--muted); }
.todo .ic { width:26px; height:26px; color:var(--gold); flex:none; }
.todo.ok { background:#f3faf6; border-color:#b9dfc8; } .todo.ok .ic { color:var(--ok); }
.todo .btn { margin:0; padding:7px 16px; font-size:14px; }
.btn.small { padding:6px 14px; font-size:14px; }
@media (max-width:620px) { .row4 { grid-template-columns:1fr 1fr; } }
.hp { display:none; }
.cf-turnstile { margin:12px auto 0; display:flex; justify-content:center; }
