:root {
  --ink: #25343b;
  --ink-soft: #4b5b63;
  --orange: #f9a24b;
  --orange-dark: #e68a2e;
  --cream: #f6f2ee;
  --line: #e4ddd5;
  --danger: #c0392b;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(900px 420px at 50% -80px, #fff 0%, transparent 70%);
  line-height: 1.5;
}
.page { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
.brand { text-align: center; }
.brand img {
  width: min(100%, 420px); height: auto; display: block; margin: 0 auto;
  /* מטשטש את שולי הרקע של קובץ הלוגו כך שיתמזג עם רקע הדף */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 10px 30px rgba(37, 52, 59, .08);
}
h1 { margin: 0 0 6px; font-size: 1.9rem; font-weight: 900; line-height: 1.15; text-align: center; }
.lead { margin: 0 0 22px; color: var(--ink-soft); text-align: center; }

.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--orange-dark); }
.opt { font-weight: 400; color: var(--ink-soft); }
.rec {
  background: var(--orange); color: var(--ink); font-size: .78rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px; margin-inline-start: 6px;
}
input[type=text], input[type=tel], input[type=email] {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; background: #fff;
  border: 2px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
input[dir=ltr] { text-align: right; }
input[dir=ltr]::placeholder { text-align: right; }
input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(249, 162, 75, .28); }
input.invalid { border-color: var(--danger); }

.drop {
  position: relative; display: block; cursor: pointer; margin: 0;
  border: 2px dashed #d3c8bb; border-radius: 12px; background: #fbf9f6;
  padding: 18px; text-align: center; font-weight: 400; color: var(--ink-soft);
  transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--orange); background: #fff7ee; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop-empty { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.drop-empty svg { color: var(--orange-dark); }
.drop-empty b { color: var(--ink); }
.drop-empty small { color: var(--ink-soft); }
.drop-file { display: flex; align-items: center; gap: 12px; text-align: start; position: relative; z-index: 1; }
.drop-file[hidden] { display: none; }
.drop-file img { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.drop-file #fileName { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.link { font: inherit; background: none; border: 0; color: var(--danger); font-weight: 700; cursor: pointer; padding: 6px; position: relative; z-index: 2; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0 4px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange-dark); flex: none; }

.err { color: var(--danger); font-size: .88rem; margin: 5px 0 0; min-height: 0; }
.err:empty { display: none; }
.form-err { margin: 12px 0 0; font-weight: 700; text-align: center; }

.submit {
  width: 100%; margin-top: 18px; font: inherit; font-size: 1.15rem; font-weight: 800;
  color: var(--ink); background: var(--orange); border: 0; border-radius: 14px;
  padding: 16px; cursor: pointer; box-shadow: 0 6px 0 var(--orange-dark);
  transition: transform .1s, box-shadow .1s, filter .15s;
}
.submit:hover { filter: brightness(1.04); }
.submit:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--orange-dark); }
.submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.submit:disabled { opacity: .6; cursor: progress; }
.secure { text-align: center; color: var(--ink-soft); font-size: .85rem; margin: 18px 0 0; }

.pay { padding-bottom: 12px; }
.pay-frame { width: 100%; height: 760px; border: 0; border-radius: 12px; background: #fff; }
.credit { text-align: center; margin-top: 28px; font-size: .85rem; color: var(--ink-soft); }
/* צבעי המותג של SHWADRON.AI */
.credit a {
  display: inline-block; direction: ltr; unicode-bidi: isolate;
  padding: 3px 12px; border-radius: 999px; text-decoration: none;
  font-family: "Rubik", "Heebo", sans-serif; font-weight: 800; letter-spacing: .5px;
  color: #64ffa1; background: linear-gradient(160deg, #0e2a63, #050e26);
  border: 1px solid #7fa2ff; vertical-align: middle;
  transition: box-shadow .15s, transform .15s;
}
.credit a:hover, .credit a:focus-visible { box-shadow: 0 0 0 3px rgba(100, 255, 161, .35); transform: translateY(-1px); outline: none; }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

.status { text-align: center; padding: 36px 24px; }
.status .icon { font-size: 3rem; }
.status a.submit { display: inline-block; width: auto; padding: 14px 32px; text-decoration: none; }

@media (max-width: 420px) {
  .card { padding: 22px 16px 18px; }
  h1 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
