/* תקין – מערכת עיצוב */
@font-face {
  font-family: 'Heebo';
  src: url('/assets/fonts/heebo-hebrew-wght-normal.woff2') format('woff2-variations'), url('/assets/fonts/heebo-hebrew-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  src: url('/assets/fonts/heebo-latin-wght-normal.woff2') format('woff2-variations'), url('/assets/fonts/heebo-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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 {
  --ink: #0b1b33;
  --ink-2: #26364f;
  --muted: #55657c;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #f5f7fa;
  --card: #ffffff;
  --brand: #087a57;
  --brand-hover: #06654a;
  --brand-soft: #e6f5ef;
  --brand-ink: #054d38;
  --navy: #0b1b33;
  --navy-2: #12284a;
  --danger: #b91c1c;
  --danger-soft: #fdeceb;
  --orange: #c2410c;
  --orange-soft: #fff1e8;
  --warn: #a16207;
  --warn-soft: #fef6e0;
  --info: #1d4ed8;
  --info-soft: #eaf0ff;
  --ok: #087a57;
  --ok-soft: #e6f5ef;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 10px 30px rgba(11, 27, 51, .07);
  --shadow-lg: 0 2px 4px rgba(11, 27, 51, .06), 0 24px 60px rgba(11, 27, 51, .14);
  --focus: #1d4ed8;
  --max: 1160px;
  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Consolas, 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: .86em; }
::selection { background: #bfe8d8; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 1000;
  background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--brand);
  background: var(--brand-soft); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.center .section-head, .section-head.center { margin-inline: auto; }

/* ── כפתורים ── */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 11px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(8, 122, 87, .25); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: rgba(11, 27, 51, .06); color: var(--ink); }
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0e7a40; color: #fff; }
.btn-lg { min-height: 58px; padding: .9rem 1.8rem; font-size: 1.1rem; border-radius: 13px; }
.btn-sm { min-height: 38px; padding: .4rem .9rem; font-size: .92rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ── כותרת עליונה ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.45rem; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand small { font-weight: 500; font-size: .8rem; color: var(--muted); display: block; line-height: 1; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: .5rem .8rem; border-radius: 8px; font-size: .98rem; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav .btn { margin-inline-start: .5rem; color: #fff; }
.nav-toggle { display: none; margin-inline-start: auto; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: .75rem 20px 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem; }
  .nav .btn { margin: .5rem 0 0; }
  .nav-toggle { display: inline-flex; }
}

/* ── גיבור ── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14, 159, 110, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(29, 78, 216, .28), transparent 60%),
    linear-gradient(160deg, #0b1b33 0%, #0f2443 55%, #0b1b33 100%);
  padding: 88px 0 96px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero .eyebrow { background: rgba(255, 255, 255, .1); color: #bdf3dc; }
.hero h1 { max-width: 900px; }
.hero h1 em { font-style: normal; color: #6ee7b7; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: #d6e0ee; max-width: 760px; margin-bottom: 2rem; }

.scan-form { max-width: 760px; }
.scan-form label { display: block; font-weight: 700; margin-bottom: .5rem; color: #fff; }
.scan-row { display: flex; gap: .6rem; background: #fff; padding: .45rem; border-radius: 16px; box-shadow: var(--shadow-lg); }
.scan-row input {
  flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.15rem; padding: .6rem 1rem; color: var(--ink);
  background: transparent; direction: ltr; text-align: left; border-radius: 10px;
}
.scan-row input::placeholder { color: #8695a8; }
.scan-row input:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
.scan-note { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .9rem; color: #c7d3e3; font-size: .95rem; padding: 0; list-style: none; }
.scan-note li::before { content: '✓'; color: #6ee7b7; font-weight: 800; margin-inline-end: .35rem; }
.form-error { color: #fecaca; font-weight: 600; margin-top: .8rem; }
.light .form-error, .form-error.dark { color: var(--danger); }
@media (max-width: 560px) {
  .scan-row { flex-direction: column; }
  .scan-row .btn { width: 100%; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; max-width: 980px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 18px 20px; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.2; }
.stat span { color: #c7d3e3; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ── התקדמות סריקה ── */
.progress-card {
  max-width: 760px; margin-top: 1.5rem; background: #fff; color: var(--ink); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-lg);
}
.progress-card h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.progress-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 14px 0 16px; }
.progress-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #22c58b); border-radius: inherit; transition: width .5s ease; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.steps li { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.steps li.active { color: var(--ink); font-weight: 600; }
.steps li.active::before { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.done { color: var(--ink-2); }
.steps li.done::before { content: '✓'; border-color: var(--brand); background: var(--brand); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── כרטיסים ורשתות ── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .6rem; }
.card ul { margin: 0; padding-inline-start: 1.2rem; color: var(--ink-2); }
.card li { margin-bottom: .3rem; }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.icon-badge svg { width: 24px; height: 24px; }

.steps-3 { counter-reset: s; }
.step-card { position: relative; padding-top: 64px; }
.step-card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 22px; inset-inline-start: 26px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}

/* ── מחירים ── */
.pricing { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-tag { font-size: 2.6rem; font-weight: 800; line-height: 1.1; margin: .3rem 0 .2rem; }
.price-tag small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; }
.price-card li { padding-inline-start: 1.7rem; position: relative; margin-bottom: .55rem; }
.price-card li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.ribbon { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800; padding: .2rem .7rem; border-radius: 99px; }

/* ── שאלות נפוצות ── */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 22px 18px; color: var(--ink-2); }

/* ── קריאה לפעולה ── */
.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band p { color: #c7d3e3; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ── כותרת תחתונה ── */
.site-footer { background: #0a1729; color: #b8c4d6; padding: 56px 0 28px; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1rem; color: #fff; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #93a3b8; font-size: .88rem; }
.site-footer .brand { color: #fff; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── טפסים ── */
.field { display: grid; gap: .35rem; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: .4rem 0 1rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.check-list label { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.check-list input { width: 20px; height: 20px; margin-top: .25rem; accent-color: var(--brand); flex: none; }

/* ── חלון קופץ ── */
dialog.modal {
  border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
dialog.modal::backdrop { background: rgba(11, 27, 51, .55); backdrop-filter: blur(2px); }
.modal-inner { padding: 28px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .6rem; }
.modal-head h2 { font-size: 1.45rem; margin: 0; }
.modal-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .5rem; border-radius: 8px; }
.modal-close:hover { background: var(--bg); color: var(--ink); }
.success-box { background: var(--brand-soft); color: var(--brand-ink); border-radius: 12px; padding: 16px 18px; font-weight: 600; }

/* ── תגיות חומרה ── */
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 800; padding: .18rem .6rem; border-radius: 99px; white-space: nowrap; }
.chip-critical { background: var(--danger); color: #fff; }
.chip-high { background: var(--danger-soft); color: var(--danger); }
.chip-medium { background: var(--orange-soft); color: var(--orange); }
.chip-low { background: var(--warn-soft); color: var(--warn); }
.chip-info { background: var(--info-soft); color: var(--info); }
.chip-pass { background: var(--ok-soft); color: var(--ok); }

/* ── דוח ── */
.report-top { background: linear-gradient(160deg, #0b1b33, #12284a); color: #fff; padding: 48px 0 120px; }
.report-top a { color: #bdf3dc; }
.report-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 820px) { .report-grid { grid-template-columns: 1fr; } }
.report-top h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .3rem; overflow-wrap: anywhere; }
.report-meta { color: #c7d3e3; margin-bottom: 1rem; }
.report-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.report-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.report-actions .btn-outline:hover { border-color: #fff; color: #fff; }
.gauge { position: relative; width: 196px; height: 196px; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-bg { stroke: rgba(255, 255, 255, .14); }
.gauge .g-val { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num { font-size: 3.6rem; font-weight: 800; line-height: 1; }
.gauge-sub { color: #c7d3e3; font-size: .9rem; }
.risk-pill { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; padding: .35rem .9rem; border-radius: 99px; margin-top: .4rem; }
.risk-high { background: #fecaca; color: #7f1d1d; }
.risk-medium { background: #fed7aa; color: #7c2d12; }
.risk-low { background: #bbf7d0; color: #14532d; }

.report-body { margin-top: -84px; position: relative; }
.overview { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 980px) { .overview { grid-template-columns: 1fr; } }
.cat-list { display: grid; gap: 14px; }
.cat-row { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; }
.cat-row .bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.cat-row .bar span { display: block; height: 100%; border-radius: inherit; }
.cat-row b { text-align: end; }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.count-box { border-radius: 12px; padding: 10px 12px; text-align: center; }
.count-box strong { display: block; font-size: 1.6rem; line-height: 1.1; }
.count-box span { font-size: .82rem; font-weight: 600; }
@media (max-width: 520px) { .cat-row { grid-template-columns: 110px 1fr 40px; } .counts { grid-template-columns: repeat(2, 1fr); } }

.exposure { border-inline-start: 5px solid var(--danger); }
.exposure.calm { border-inline-start-color: var(--brand); }
.exposure ul { padding-inline-start: 1.1rem; }

.unlock { background: linear-gradient(180deg, #fff, #f3fbf8); border: 2px solid var(--brand); }
.unlock h2 { font-size: 1.5rem; }
.unlock ul { list-style: none; padding: 0; margin: .8rem 0 1.2rem; display: grid; gap: .4rem; }
.unlock li { padding-inline-start: 1.6rem; position: relative; }
.unlock li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.unlock .price-line { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .8rem; }
.unlock .price-line strong { font-size: 2.2rem; line-height: 1; }
.guarantee { font-size: .9rem; color: var(--muted); margin: .6rem 0 0; }
.unlock details { margin-top: 1rem; border-top: 1px dashed var(--line-2); padding-top: .8rem; }
.unlock summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.inline-form { display: flex; gap: .5rem; margin-top: .6rem; }
.inline-form input { flex: 1; min-width: 0; font: inherit; padding: .6rem .8rem; border: 1.5px solid var(--line-2); border-radius: 10px; direction: ltr; }
.paid-banner { background: var(--brand-soft); color: var(--brand-ink); border: 1px solid #b7e4d3; border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }

.findings-section { margin-top: 28px; }
.cat-block { margin-bottom: 28px; }
.cat-block > h2 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.cat-block > h2 small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.finding { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.finding > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.finding > summary::-webkit-details-marker { display: none; }
.finding-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: none; }
.f-fail .finding-icon { background: var(--danger-soft); color: var(--danger); }
.f-warn .finding-icon { background: var(--orange-soft); color: var(--orange); }
.f-pass .finding-icon { background: var(--ok-soft); color: var(--ok); }
.f-info .finding-icon { background: var(--info-soft); color: var(--info); }
.f-critical { border-color: #f5b5b5; box-shadow: inset 4px 0 0 var(--danger); }
[dir="rtl"] .f-critical { box-shadow: inset -4px 0 0 var(--danger); }
.finding-title { font-weight: 700; font-size: 1.05rem; }
.finding-title small { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; }
.finding-body { padding: 0 20px 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.finding-body .why { color: var(--ink-2); }
.ref { display: inline-block; font-size: .8rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 0 .4rem; margin-inline-start: .3rem; }
.items { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .45rem; }
.items li { background: #f8fafc; border: 1px solid var(--line); border-radius: 9px; padding: .5rem .7rem; overflow-wrap: anywhere; }
.items code { direction: ltr; unicode-bidi: isolate; display: block; text-align: left; color: #0f3460; white-space: pre-wrap; }
.items small { display: block; color: var(--muted); direction: ltr; text-align: left; font-family: var(--mono); font-size: .78rem; }
.items .note { direction: rtl; text-align: right; font-family: var(--font); color: var(--orange); font-weight: 600; }
.missing-list { margin: .4rem 0 .6rem; padding-inline-start: 1.2rem; }
.locked {
  position: relative; margin-top: 12px; border-radius: 12px; border: 1px dashed var(--line-2); padding: 14px 16px; background: #fbfcfd;
}
.locked .blur { filter: blur(5px); user-select: none; pointer-events: none; color: var(--ink-2); }
.locked .lock-cta { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 8px; }
.locked .lock-cta span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: .45rem 1rem; font-weight: 700; box-shadow: var(--shadow); display: inline-flex; gap: .4rem; align-items: center; }
.lock-more { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.fix { margin-top: 14px; background: var(--brand-soft); border-radius: 12px; padding: 16px 18px; }
.fix h4 { margin: 0 0 .5rem; color: var(--brand-ink); font-size: 1rem; }
.fix ol { margin: 0 0 .6rem; padding-inline-start: 1.3rem; }
.fix pre { background: #0b1b33; color: #e2e8f0; padding: 12px 14px; border-radius: 10px; overflow-x: auto; direction: ltr; text-align: left; margin: .4rem 0; }
.fix .platform { font-size: .92rem; margin: .3rem 0; }
.fix .meta { font-size: .85rem; color: var(--brand-ink); opacity: .85; }
.passed-group > summary { cursor: pointer; font-weight: 700; padding: 14px 4px; color: var(--ok); list-style: none; }
.passed-group > summary::-webkit-details-marker { display: none; }

.premium .card { margin-bottom: 20px; }
.statement-preview { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; max-height: 520px; overflow: auto; font-size: .96rem; }
.statement-preview h1 { font-size: 1.5rem; }
.statement-preview h2 { font-size: 1.12rem; margin-top: 1.2rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 12px; }

.notice { border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.notice-warn { background: var(--warn-soft); color: #713f12; }
.notice-info { background: var(--info-soft); color: #1e3a8a; }
.loading-box { padding: 120px 0; text-align: center; color: var(--muted); }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; margin: 0 auto 16px; }

/* ── מדריכים ותוכן ── */
.article { max-width: 780px; }
.article-hero { background: linear-gradient(160deg, #0b1b33, #12284a); color: #fff; padding: 64px 0 56px; }
.article-hero p { color: #c7d3e3; font-size: 1.15rem; max-width: 760px; }
.article-hero .crumbs { font-size: .9rem; margin-bottom: 1rem; }
.article-hero .crumbs a { color: #bdf3dc; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { margin: 1.4rem 0; padding: 14px 20px; background: var(--brand-soft); border-inline-start: 4px solid var(--brand); border-radius: 0 10px 10px 0; color: var(--brand-ink); }
[dir="rtl"] .prose blockquote { border-radius: 10px 0 0 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .98rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: start; vertical-align: top; }
.prose th { background: var(--bg); }
.inline-cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 26px; margin: 2rem 0; }
.inline-cta p { color: #c7d3e3; }
.inline-cta .btn { margin-top: .4rem; }
.disclaimer { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }
.guide-list { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.guide-list a.card { text-decoration: none; color: var(--ink); display: block; transition: transform .15s, box-shadow .15s; }
.guide-list a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.guide-list a.card p { color: var(--muted); margin: 0; }
@media (max-width: 700px) { .guide-list { grid-template-columns: 1fr; } }

/* ── ניהול ── */
.admin-wrap { max-width: 1320px; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi strong { display: block; font-size: 1.8rem; line-height: 1.1; }
.kpi span { color: var(--muted); font-size: .88rem; font-weight: 600; }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; vertical-align: middle; }
table.data th { background: #f8fafc; font-weight: 700; position: sticky; top: 0; }
table.data td.wrap-cell { white-space: normal; min-width: 220px; }
table.data select, table.data input { font: inherit; font-size: .9rem; padding: .3rem .45rem; border: 1px solid var(--line-2); border-radius: 7px; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 24px 0 14px; }
.tabs button { font: inherit; font-weight: 700; border: 1px solid var(--line-2); background: #fff; padding: .5rem 1rem; border-radius: 99px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.score-dot { display: inline-block; min-width: 38px; text-align: center; font-weight: 800; border-radius: 7px; padding: .05rem .35rem; }

/* ── הדפסה ── */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .no-print, .unlock, .fix-cta, .report-actions, .skip-link { display: none !important; }
  .report-top { background: #fff !important; color: #000; padding: 0 0 12pt; }
  .report-top a, .gauge-sub, .report-meta { color: #333 !important; }
  .gauge .g-bg { stroke: #ddd; }
  .report-body { margin-top: 0; }
  .card, .finding { box-shadow: none; break-inside: avoid; }
  .finding > summary { padding: 8pt 10pt; }
  details > *:not(summary) { display: block !important; }
  .fix pre { background: #f3f4f6; color: #000; border: 1px solid #ddd; }
}

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