/* בדיקת חדלות פירעון — v3 "דף אחד" (5/11/2026).
   Concept: one calm screen. Deep night-navy, a warm early-light glow behind a single sheet of paper
   that holds the form. Big editorial type, Typeform-grade answer tiles, nothing else competing.
   Design read: premium trust-first single-task page; dials VARIANCE 5 / MOTION 5 / DENSITY 2.
   Palette lock: night #0b1626, paper #fbfaf6, ink #0f1b2d, ONE accent: warm gold #c9a45c.
   Radius lock: paper 28px, tiles/inputs/buttons 16px. Light paper on dark stage = one theme, by design. */

:root {
  color-scheme: light;
  --night: #0b1626;
  --paper: #fbfaf6;
  --paper-2: #f3f0e8;
  --ink: #0f1b2d;
  --ink-2: #2a3850;
  --muted: #5b6678;
  --line: #e4ded1;
  --control: #b9b2a3;
  --gold: #c9a45c;
  --gold-soft: #f4ead6;
  --on-night: #f3efe6;
  --on-night-2: #aeb8c8;
  --error: #b42318;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --font: "IBM Plex Sans Hebrew", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; width: 100%; max-width: 100vw; overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; position: relative; transform: translateZ(0);
  font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -0.125em; }

/* ================= The stage (single screen) =================
   Twist: "from night to morning". --p (0..1) = progress through the form, set by quiz.js.
   As --p rises the sun climbs from below the screen, the sky warms and the night recedes.
   The thanks page sits at --p:1 (full sunrise). No words promise anything; the light does the talking. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
/* no transform here: a transformed body would turn the fixed sky/sun layers into page-long boxes */
body.stage { transform: none; --p: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--night); color: var(--on-night);
  transition: --p 1.6s var(--ease-out); }
/* the sky: night on top, a warm band near the horizon that grows with progress */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(0deg,
      rgb(236 168 98 / calc(.06 + .30 * var(--p))) 0%,
      rgb(150 110 120 / calc(.04 + .16 * var(--p))) calc(18% + 22% * var(--p)),
      rgb(11 22 38 / 0) calc(42% + 30% * var(--p))),
    linear-gradient(180deg,
      rgb(calc(8 + 22 * var(--p)) calc(17 + 26 * var(--p)) calc(31 + 46 * var(--p))) 0%,
      rgb(calc(11 + 40 * var(--p)) calc(22 + 30 * var(--p)) calc(38 + 40 * var(--p))) 55%,
      rgb(calc(16 + 70 * var(--p)) calc(29 + 40 * var(--p)) calc(51 + 30 * var(--p))) 100%); }
/* the sun: a huge soft disc whose top edge rises from below the fold */
.sun { position: fixed; left: 50%; bottom: 0; width: 130vmax; height: 130vmax; pointer-events: none; z-index: 0;
  transform: translate(-50%, calc(50% + 12vh - 58vh * var(--p)));
  background: radial-gradient(closest-side,
      rgb(255 232 186 / calc(.34 + .62 * var(--p))) 0%,
      rgb(246 186 110 / calc(.22 + .42 * var(--p))) 18%,
      rgb(214 146 100 / calc(.08 + .22 * var(--p))) 45%,
      transparent 100%); }
.horizon { display: none; }
/* a cool counter-light top corner + slow drift, for depth */
.glow { position: fixed; inset: -20vmax; pointer-events: none; z-index: 0;
  background: radial-gradient(30vmax 26vmax at 82% 6%, rgb(86 128 196 / calc(.22 - .12 * var(--p))), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-2vmax, -1vmax, 0) scale(1); } to { transform: translate3d(2vmax, 1.5vmax, 0) scale(1.06); } }
/* stars that fade out as the morning comes */
.stars { position: fixed; inset: 0 0 45% 0; pointer-events: none; z-index: 0; opacity: calc(.55 - .55 * var(--p));
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 77% 28%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 36%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 93% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 56% 4%, #fff 50%, transparent 51%); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.bar { position: relative; z-index: 2; }
.bar .in { max-width: 1200px; margin: 0 auto; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-night); min-width: 0; }
.seal { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(201 164 92 / .7); color: var(--gold); display: grid; place-items: center; font-size: 17px; flex: none; }
.mark b { font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .tag { font-size: 14px; color: var(--on-night-2); white-space: nowrap; }
@media (max-width: 520px) { .bar .tag { display: none; } }

main.center { position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px 18px 28px; display: flex; flex-direction: column; align-items: center; }

.head { text-align: center; max-width: 920px; animation: rise .8s var(--ease-out) both; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--gold); margin-bottom: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: rgb(201 164 92 / .6); }
.head h1 { margin: 0; font-weight: 300; font-size: clamp(30px, 7.4vw, 64px); line-height: 1.08; letter-spacing: -0.02em; color: var(--on-night); }
.head h1 strong { font-weight: 700; display: block; color: #fff; }
.head .sub { margin: 12px auto 0; font-size: clamp(16px, 2vw, 20px); color: var(--on-night-2); max-width: 46ch; line-height: 1.5; }
.head .sub b { color: var(--on-night); font-weight: 600; }

/* ================= The sheet of paper (the form) ================= */
.sheet { position: relative; width: 100%; max-width: 720px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 28px; padding: 18px 18px 22px;
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 40px 80px -30px rgb(0 0 0 / .65), 0 12px 24px -12px rgb(0 0 0 / .35);
  animation: rise .9s .12s var(--ease-out) both; scroll-margin-top: 12px; }
.sheet::before { content: ""; position: absolute; top: 0; right: 28px; left: 28px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); }
@media (min-width: 760px) { .sheet { padding: 30px 40px 36px; } }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 520px) { .dots { display: none; } }
.quiz-back { background: none; border: 0; margin: -8px 0; padding: 8px 4px; min-height: 44px; min-width: 44px; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; }
.quiz-back[hidden] { display: none; }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s, width .3s var(--ease-out); }
.dots i.on { background: var(--ink); }
.dots i.now { background: var(--gold); width: 34px; }

.qbody { min-height: 318px; padding-top: 8px; }
@media (min-width: 760px) { .qbody { min-height: 300px; padding-top: 14px; } }
.q-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; outline: none; }
.q-hint { font-size: 16px; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.q-title + .options { margin-top: 16px; }

.options { display: grid; gap: 10px; }
@media (min-width: 760px) { .options { grid-template-columns: 1fr 1fr; gap: 12px; } }
.options.two { grid-template-columns: 1fr 1fr; }
.opt { position: relative; width: 100%; min-height: 58px; text-align: right; background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  padding: 14px 16px; font: inherit; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 2px rgb(15 27 45 / .04);
  transition: border-color .18s, background-color .18s, color .18s, transform .18s var(--ease-out), box-shadow .18s; }
@media (min-width: 760px) { .opt { min-height: 76px; padding: 18px 20px; font-size: 19px; } }
.opt .radio { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--control); flex: none; display: grid; place-items: center; color: var(--ink); transition: background-color .18s, border-color .18s; }
.opt .radio .ic { width: 14px; height: 14px; transform: scale(.5); opacity: 0; transition: transform .2s var(--ease-pop), opacity .12s; }
.opt .key { margin-inline-start: auto; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; min-width: 22px; height: 22px; display: none; place-items: center; padding: 0 5px; }
@media (hover: hover) and (min-width: 760px) {
  .opt .key { display: inline-grid; }
  .opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgb(15 27 45 / .35); }
}
.opt:active { transform: scale(.985); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt[aria-pressed="true"] .radio { background: var(--gold); border-color: var(--gold); }
.opt[aria-pressed="true"] .radio .ic { transform: scale(1); opacity: 1; }
.opt[aria-pressed="true"] .key { color: #cfd6e2; border-color: rgb(255 255 255 / .25); }
.opt:disabled { cursor: default; }

.field { display: grid; gap: 6px; margin-bottom: 12px; align-content: start; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.field input { width: 100%; font: inherit; font-size: 19px; color: var(--ink); background: #fff; border: 1.5px solid var(--control); border-radius: 16px; padding: 14px 16px; min-height: 58px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #8a8f99; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--gold-soft); }
.field input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field .help { font-size: 14.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.fields-2 { display: grid; gap: 0 12px; align-items: start; }
.fields-help { margin: -2px 0 12px; }
.why { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 12px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.why .ic { color: #8a6a2a; font-size: 17px; margin-top: 2px; }
@media (min-width: 760px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.err { font-size: 15px; color: var(--error); font-weight: 600; display: flex; gap: 6px; align-items: center; margin: 0; }
.err:empty { display: none; }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin: 2px 0 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff; }
.consent input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent.invalid { border-color: var(--error); border-width: 2px; }
.nowrap { white-space: nowrap; }
.consent-text { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.consent-links { font-size: 14.5px; margin: 0 0 12px; color: var(--muted); }
.form-err { margin: 0 0 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 0 26px; border: 0; border-radius: 16px;
  background: var(--ink); color: #fff; font: inherit; font-size: 19px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 28px -16px rgb(15 27 45 / .7), inset 0 -2px 0 rgb(0 0 0 / .25); transition: transform .15s var(--ease-out), background-color .15s; }
.btn .ic { color: var(--gold); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); background: #182a44; } }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; font-size: 16.5px; min-height: 52px; font-weight: 500; }
@media (hover: hover) { .btn-ghost:hover { background: var(--paper-2); } }
.row-btns { display: grid; gap: 8px; margin-top: 12px; }
.calm { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: 15px; color: var(--ink-2); display: grid; gap: 6px; }
@media (min-width: 760px) { .calm { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.calm p { margin: 0; display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.calm .ic { color: var(--gold); margin-top: 3px; font-size: 18px; }

.otp { position: relative; direction: ltr; display: grid; grid-template-columns: repeat(4, 64px); gap: 12px; justify-content: center; margin: 10px 0 6px; }
.otp .box { height: 74px; border: 1.5px solid var(--control); border-radius: 16px; background: #fff; display: grid; place-items: center; font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.otp .box.active { border-color: var(--ink); box-shadow: 0 0 0 4px var(--gold-soft); }
.otp .box.filled span { animation: digitPop .14s var(--ease-pop); }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .01; color: transparent; caret-color: transparent; background: transparent; border: 0; font-size: 16px; letter-spacing: 60px; text-align: left; }
.otp.bad .box { border-color: var(--error); }
.otp.shake { animation: shake .32s var(--ease-out); }
@keyframes digitPop { from { transform: scale(.8); } to { transform: none; } }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.end-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-soft); color: #8a6a2a; display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }

.qbody { perspective: 1400px; }
.step-fwd { animation: pageTurn .5s var(--ease-out); transform-origin: right center; }
.step-back { animation: stepBack .32s var(--ease-out); }
@keyframes pageTurn { 0% { opacity: 0; transform: rotateY(-18deg) translateX(-22px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step-fwd .opt, .step-back .opt { animation: optIn .3s var(--ease-out) both; }
.options .opt:nth-child(2) { animation-delay: .04s; }
.options .opt:nth-child(3) { animation-delay: .08s; }
.options .opt:nth-child(4) { animation-delay: .12s; }
@keyframes optIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.assure { position: relative; z-index: 2; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14.5px; color: var(--on-night-2); animation: rise .9s .25s var(--ease-out) both; }
.assure span { display: inline-flex; align-items: center; gap: 7px; }
.assure .ic { color: var(--gold); font-size: 16px; }

.legal { position: relative; z-index: 2; text-shadow: 0 1px 2px rgb(11 22 38 / .6); max-width: none; width: 100%; margin: 0; padding: 14px 22px 22px; font-size: 13.5px; color: #8793a6; text-align: center; line-height: 1.6; }
.legal p { margin: 0 auto 4px; max-width: 90ch; }
.legal a { color: #b8c2d2; text-decoration: underline; text-underline-offset: 3px; }
.legal nav { display: inline-flex; gap: 18px; margin-top: 4px; }
.legal nav a { display: inline-flex; min-height: 32px; align-items: center; }

@media (max-width: 759px) {
  .bar .in { padding: 14px 16px; }
  .eyebrow { font-size: 13px; margin-bottom: 6px; }
  .head .sub .long { display: none; }
  .head .sub { margin-top: 8px; }
  .q-hint { font-size: 15px; margin-bottom: 12px; }
}

/* ================= Trust: rating seal + court-decision deck ================= */
.stage-row { position: relative; z-index: 2; width: 100%; margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.stage-row .sheet { order: 0; }
.side-rating { order: 1; width: 100%; max-width: 720px; }
.side-cases { order: 2; width: 100%; max-width: 420px; }
@media (min-width: 760px) { .stage-row { margin-top: 34px; } }
@media (min-width: 1240px) {
  main.center { max-width: 1440px; }
  .stage-row { display: grid; grid-template-columns: 236px minmax(0, 720px) 236px; grid-template-areas: "r s c"; gap: 36px; justify-content: center; align-items: center; }
  .stage-row .sheet { grid-area: s; } .side-rating { grid-area: r; } .side-cases { grid-area: c; }
  .side-rating .score { flex-direction: column; align-items: flex-start; gap: 6px; }
  .side-rating, .side-cases { order: 0; max-width: none; }
  .side { animation: rise 1s .3s var(--ease-out) both; }
}
.side[hidden] { display: none !important; }
.demo-tag { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--gold); border: 1px dashed rgb(201 164 92 / .7); border-radius: 999px; padding: 2px 10px; }

.seal-card { color: var(--on-night); background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .03)); border: 1px solid rgb(255 255 255 / .14);
  border-radius: 22px; padding: 18px 20px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 20px 40px -24px rgb(0 0 0 / .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.g-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-night-2); }
.g-badge { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 2px 6px rgb(0 0 0 / .3); }
.g-color { width: 18px; height: 18px; }
.g-txt { font-size: 13.5px; color: var(--on-night-2); direction: ltr; }
.g-txt b { color: #fff; font-weight: 600; }
.score { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; }
.score b { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.rstars { display: inline-flex; gap: 2px; font-size: 18px; color: rgb(255 255 255 / .25); }
.rstars .on { color: #f5c25b; }
.seal-card .count { font-size: 14px; color: var(--on-night-2); text-decoration: none; }
.seal-card a.count { text-decoration: underline; text-underline-offset: 3px; }
.rec { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 15px; font-weight: 600; color: var(--gold); }
.rec .ic { font-size: 20px; }
@media (max-width: 1239px) {
  .side-rating .seal-card { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "g g" "score count" "rec rec"; column-gap: 14px; align-items: center; padding: 14px 18px; }
  .side-rating .g-row { grid-area: g; }
  .side-rating .score { grid-area: score; margin: 4px 0 0; }
  .side-rating .score b { font-size: 34px; }
  .side-rating .count { grid-area: count; }
  .side-rating .rec { grid-area: rec; margin-top: 10px; padding-top: 10px; }
}

.side-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--gold); }
.side-title .ic { font-size: 18px; }
.deck { position: relative; height: 214px; cursor: pointer; outline-offset: 6px; }
.ruling { position: absolute; inset: 0 0 auto 0; background: #fbfaf6; color: var(--ink); border-radius: 14px; padding: 14px 16px 12px;
  box-shadow: 0 18px 36px -18px rgb(0 0 0 / .7);
  transform: translateY(calc(var(--pos, 0) * 12px)) rotate(calc(var(--pos, 0) * -2.2deg)) scale(calc(1 - var(--pos, 0) * .05));
  z-index: calc(10 - var(--pos, 0)); opacity: calc(1 - var(--pos, 0) * .28);
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out); }
.ruling header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.ruling header em { font-style: normal; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.redact { display: grid; gap: 3px; margin: 9px 0 10px; }
.redact .blur { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); filter: blur(3.2px); user-select: none; white-space: nowrap; overflow: hidden; }
.redact .blur.dim { font-weight: 400; color: var(--muted); filter: blur(2.6px); }
.redact i { display: block; height: 7px; border-radius: 2px; background: #1d2633; opacity: .85; width: 92%; }
.redact i:nth-child(2) { width: 70%; opacity: .2; background: var(--ink); }
.redact i.short { width: 46%; }
.ruling dl { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 0; }
.ruling dl > div:not(.arrow) { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ruling .arrow { display: none; }
.ruling dt { font-size: 11.5px; color: var(--muted); }
.ruling dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ruling .before dd { font-size: 16px; color: #7a8291; text-decoration: line-through; text-decoration-color: rgb(180 35 24 / .55); text-decoration-thickness: 2px; }
.ruling .after dd { font-size: 19px; color: var(--ink); background: linear-gradient(transparent 60%, rgb(245 194 91 / .55) 60%); display: inline; padding: 0 2px; }
.ruling .arrow { color: var(--gold); font-size: 18px; }
.ruling footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.ruling footer a { color: var(--ink); font-weight: 600; }
.stamp { border: 1.5px solid #8a6a2a; color: #8a6a2a; border-radius: 6px; padding: 1px 8px; font-weight: 700; font-size: 12px; transform: rotate(-4deg); display: inline-block; letter-spacing: .04em; }
.side-note { margin: 4px 0 0; font-size: 12.5px; color: var(--on-night-2); }
@media (max-width: 1239px) { .deck { height: 206px; } }

/* ================= Horizon: a real sun rising behind the creditors strip =================
   The disc sits on a horizon line at the bottom of the page and climbs with --p. */
.horizon-band { position: relative; z-index: 1; width: 100%; height: 400px; margin-top: 20px; overflow: hidden; --hz: 64%; }
.horizon-band.compact { height: 300px; margin-top: 10px; --hz: 70%; }
/* soften the band's top edge so the clipped sun glow never shows a hard line */
.horizon-band { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
.sun-wrap { position: absolute; left: 50%; top: var(--hz); width: min(320px, 70vw); aspect-ratio: 1; z-index: 0;
  transform: translate(-50%, calc(-42% - 40% * var(--p))); }
.sun-wrap .disc { position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fffaf0 0%, #ffe3a6 30%, #ffbe6b 64%, #f39a55 100%);
  box-shadow: 0 0 40px 14px rgb(255 214 150 / calc(.45 + .3 * var(--p))), 0 0 120px 50px rgb(255 180 110 / calc(.22 + .25 * var(--p))), 0 0 260px 120px rgb(245 150 90 / calc(.1 + .15 * var(--p))); }
/* sun rays: a slowly turning fan of soft light behind the disc */
.sun-wrap .rays { position: absolute; left: 50%; top: 50%; width: 340%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgb(255 220 160 / calc(.22 + .2 * var(--p))) 0deg 3.5deg, transparent 3.5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 14%, rgb(0 0 0 / .5) 32%, transparent 66%); mask-image: radial-gradient(circle, #000 14%, rgb(0 0 0 / .5) 32%, transparent 66%);
  animation: rays 90s linear infinite; }
@keyframes rays { to { rotate: 360deg; } }
/* everything below the horizon is "water": hides the lower part of the sun and reflects it */
.horizon-band::after { content: ""; position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0; z-index: 1;
  background:
    radial-gradient(30% 50% at 50% 0%, rgb(255 205 140 / calc(.28 + .25 * var(--p))), transparent 70%),
    repeating-linear-gradient(180deg, rgb(255 210 150 / .05) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #0b1527 0%, #070e1a 100%); }
.h-line { position: absolute; left: 0; right: 0; top: var(--hz); height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgb(255 214 150 / .75) 25%, rgb(255 240 210 / 1) 50%, rgb(255 214 150 / .75) 75%, transparent);
  box-shadow: 0 0 18px 2px rgb(255 200 130 / .5); }
.creditors { position: absolute; left: 0; right: 0; top: calc(var(--hz) + 18px); z-index: 3; text-align: center; }
.cred-title { margin: 0 0 10px; font-size: 13px; letter-spacing: .04em; color: var(--gold); font-weight: 500; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: inline-flex; gap: 0; white-space: nowrap; animation: slide 46s linear infinite; }
.track span { font-size: clamp(18px, 2.2vw, 26px); font-weight: 300; color: rgb(243 239 230 / .78); padding: 0 22px; position: relative; }
.track span::after { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: rgb(201 164 92 / .7); transform: translateY(-50%); }
/* logo wall version: all marks rendered white for one calm look */
.marquee.logos .track { align-items: center; animation-duration: 70s; }
.marquee.logos img { height: 30px; width: auto; margin: 0 34px; filter: brightness(0) invert(1); opacity: .78; flex: none; }
.marquee.logos img.lg-mizrahi, .marquee.logos img.lg-cal { height: 38px; }
.marquee.logos img.lg-mimun-yashir { height: 40px; }
/* Leumi's mark is a filled box: show it as a light badge instead of a solid white block */
.marquee.logos img.lg-leumi { filter: grayscale(1) invert(1) brightness(1.35); opacity: .7; }
@media (max-width: 759px) { .marquee.logos img { height: 24px; margin: 0 22px; } .marquee.logos img.lg-mizrahi { height: 32px; } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(50%); } }
.cred-note { margin: 10px 0 0; font-size: 12px; color: #7f8aa0; }
@media (max-width: 759px) {
  .horizon-band { height: 340px; margin-top: 16px; --hz: 60%; }
  .sun-wrap { width: 210px; }
}
.legal { background: #070e1a; }
.horizon-band + .legal { margin-top: 0; padding-top: 4px; }

/* ================= Thanks (same stage, full sunrise) ================= */
body.stage.sunrise { --p: 1; }
body.stage .legal, body.stage .assure { text-shadow: 0 1px 3px rgb(11 22 38 / .75); }
body.stage.sunrise .legal { color: #f1ebe0; }
body.stage.sunrise .legal a { color: #fff; }
body.stage.sunrise .assure { color: #fff; font-size: 16px; }
.done { text-align: center; padding: 28px 8px 8px; }
@media (min-width: 760px) { .done { padding: 36px 24px 12px; } }
.check-badge { position: relative; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 36px; animation: badgeIn .5s var(--ease-pop) both; }
.check-badge::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: ring .8s .1s ease-out both; }
@keyframes badgeIn { from { transform: scale(.5); } to { transform: none; } }
@keyframes ring { from { transform: scale(1); opacity: .45; } to { transform: scale(1.7); opacity: 0; } }
.done h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.done .lede { color: var(--ink-2); margin: 0 0 22px; font-size: 18px; }
.notice { background: var(--gold-soft); border-radius: 16px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; text-align: right; }
.notice .ic { font-size: 24px; color: #8a6a2a; margin-top: 2px; }
.notice p { margin: 0; }
.prep { margin-top: 18px; text-align: right; border-top: 1px solid var(--line); padding-top: 16px; }
.prep h2 { font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.prep ul { margin: 0; padding: 0 20px 0 0; color: var(--ink-2); font-size: 16px; }

/* ================= Plain content pages (privacy, accessibility) ================= */
.topbar { background: var(--night); color: var(--on-night); }
.topbar .wrap { max-width: 1200px; margin: 0 auto; padding: 16px 22px; display: flex; align-items: center; }
.topbar .brand { color: var(--on-night); text-decoration: none; display: flex; gap: 12px; align-items: center; }
.topbar .wordmark { font-weight: 600; }
.topbar .brand-sep { width: 1px; height: 20px; background: rgb(255 255 255 / .2); }
.topbar .brand-sub { color: var(--on-night-2); font-size: 14px; }
.doc { max-width: 760px; padding: 40px 20px 64px; margin: 0 auto; }
.doc h1 { font-size: 32px; line-height: 1.2; margin: 0 0 16px; font-weight: 600; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; font-weight: 600; }
.doc p, .doc li { color: var(--ink-2); }
.doc a { color: var(--ink); }
.legal-doc .page-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; }
.legal-doc .page-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: #8a6a2a; background: var(--gold-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.legal-doc .page-title, .legal-doc h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; font-weight: 700; margin: 0 0 10px; }
.legal-doc .page-meta { font-size: 14px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.legal-doc article h2, .legal-doc h2 { font-size: 20px; font-weight: 700; margin: 28px 0 8px; }
.legal-doc article h3 { font-size: 17px; font-weight: 600; margin: 18px 0 6px; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.75; }
.legal-doc ul { padding-inline-start: 20px; }
.foot { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 15px; color: var(--muted); }
.foot .wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--ink-2); display: inline-flex; min-height: 44px; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
