/* ── IL public site ─────────────────────────────────────────────────────────
   The header, footer, title bands, auth cards and the landing/about skins every
   anonymous visitor to michraziya.co.il sees. Loaded after style.css and scoped
   to `body.il-pub` (the marketing pages) so the signed-in app and the free
   search site are untouched.

   Design system: the UK public site (docs/concept-public-site on the uk
   branch, live as uk-public.css + lp3.css). Night ground for the header, the
   footer, the hero and the close; paper between. The brand's seal blue and
   construction orange; mint for anything live. The night stays night in both
   themes — light mode is not "all white", dark mode deepens the night a step
   so the layering survives. Every paper colour is a token, so the free site's
   dark swap (html[data-ps-theme="dark"] body.il-pub) carries the whole page.

   Display face: Heebo 800 with tight tracking — the Hebrew counterpart of the
   UK's Sora. Secular One stays the wordmark's face and nothing else's. */

body.il-pub {
  --pub-night: #0F1A21; --pub-night-2: #152430; --pub-night-line: rgba(255,255,255,.09);
  --pub-night-ink: #E7EDF1; --pub-night-soft: #9DAFBA; --pub-seal-hi: #7CB7DE;
  --pub-mint: #5DD39E; --pub-accent-hi: #F5A15C; --pub-accent-ink: #B14A05;
  --pub-accent-wash: #FCEFE4; --pub-seal-wash: #EEF5FA;
  --pub-display: "Heebo", system-ui, sans-serif;
  --pub-shadow: 0 1px 2px rgb(28 43 51 / .06), 0 8px 24px rgb(28 43 51 / .08);
  --pub-ease: cubic-bezier(.2,.8,.2,1);
}
/* Dark: the night goes one step deeper than the dark paper (#111A20) so the
   header, hero and footer still read as bands rather than merging with the
   page; the washes turn to their dark answers. */
html[data-ps-theme="dark"] body.il-pub {
  --pub-night: #0B1319; --pub-night-2: #0F1A21; --pub-night-line: rgba(255,255,255,.08);
  --pub-accent-ink: #F19A55; --pub-accent-wash: #33241A; --pub-seal-wash: #1B2E3B;
  --pub-shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
}

/* ── header ─────────────────────────────────────────────────────────────── */
body.il-pub .topbar { position: sticky; top: 0; z-index: 50; background: var(--pub-night);
  border-bottom: 1px solid var(--pub-night-line); box-shadow: none; }
body.il-pub .topbar-inner { min-height: 64px; }
body.il-pub .brand { color: #fff; font-family: var(--font-display); }
body.il-pub .brand .mark { filter: drop-shadow(0 2px 6px rgb(0 0 0 / .35)); }
body.il-pub .nav .nav-pub-link { color: var(--pub-night-soft); font-family: var(--pub-display);
  font-weight: 500; font-size: 14px; padding: 6px 2px; }
body.il-pub .nav .nav-pub-link::after { inset-inline: 0; bottom: 0; background: var(--accent);
  opacity: 1; transform: scaleX(0); transform-origin: right; }
body.il-pub .nav .nav-pub-link:hover { color: #fff; background: none; }
body.il-pub .nav .nav-pub-link:hover::after { transform: scaleX(1); }
body.il-pub .nav-pub-links { gap: 18px; }
/* The theme switch, on the night bar. */
body.il-pub .ps-theme { color: var(--pub-night-soft); border-color: rgba(255,255,255,.22); background: none; }
body.il-pub .ps-theme:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); }
/* Log in outlined in white, Sign up in the brand orange: two actions, read as a pair. */
body.il-pub .nav .nav-pub-login { color: #fff; font-family: var(--pub-display); font-weight: 500; font-size: 14px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 9px; padding: 9px 14px;
  transition: border-color .2s, background .2s; }
body.il-pub .nav .nav-pub-login:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
body.il-pub .nav .nav-signup, body.il-pub .btn-primary.nav-signup { font-family: var(--pub-display); font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 9px; background: #E8650D; color: #fff; border: 0;
  box-shadow: 0 6px 18px rgb(232 101 13 / .28); }
body.il-pub .nav .nav-signup:hover { background: #F07520; text-decoration: none; }
body.il-pub .nav-pub-menu > summary { color: var(--pub-night-ink); }
body.il-pub .nav-pub-menu .nav-dropdown-menu { background: #152430; border-color: var(--pub-night-line); }
body.il-pub .nav-pub-menu .nav-dropdown-menu a { color: var(--pub-night-ink); }
body.il-pub .nav-pub-menu .nav-dropdown-menu a:hover { background: rgba(255,255,255,.06); }

/* The narrow-screen sizes style.css gives the bar (≤480 / ≤400 / ≤340px) are
   written at lower specificity than the night rules above and would lose to
   them — the bar then cannot fit a phone and the viewport widens past it.
   Restated here at the winning specificity. */
@media (max-width: 480px) {
  body.il-pub .nav .nav-auth .nav-pub-login { padding: 7px 10px; }
  body.il-pub .nav .nav-auth .nav-signup { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 400px) {
  body.il-pub .brand { font-size: 19px; }
  body.il-pub .nav .nav-auth .nav-pub-login,
  body.il-pub .nav .nav-auth .nav-signup { padding: 7px 9px; font-size: 13px; }
  body.il-pub .ps-theme { padding: 6px; }
  /* Ten pixels, measured: the switch's margin, the menu's padding and the
     brand's gap were what kept a 375px phone from fitting the five items. */
  body.il-pub .nav-auth .ps-theme { margin-inline-end: 4px; }
  body.il-pub .nav-pub-menu > summary { padding: 4px 6px; }
  body.il-pub .brand { gap: 6px; }
  body.il-pub .topbar-inner { gap: 6px; }
}

/* ── footer ─────────────────────────────────────────────────────────────── */
body.il-pub .pub-foot { background: var(--pub-night); color: var(--pub-night-soft);
  border-top: 1px solid var(--pub-night-line); padding: 56px 0 28px; font-size: 14px; }
body.il-pub .pub-foot-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
body.il-pub .pub-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; align-items: start; }
body.il-pub .pub-foot-brand .brand { font-size: 22px; }
body.il-pub .pub-foot-brand p { margin: 16px 0 0; max-width: 42ch; line-height: 1.6; }
body.il-pub .pub-foot-badges { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
body.il-pub .pub-foot-badges li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px;
  border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--pub-night-line);
  font-family: var(--pub-display); font-weight: 600; font-size: 12px; color: #fff; }
body.il-pub .pub-foot-badges svg { width: 15px; height: 15px; color: var(--pub-seal-hi); flex: none; }
body.il-pub .pub-foot-col { display: flex; flex-direction: column; gap: 10px; }
body.il-pub .pub-foot-col h4 { margin: 0 0 4px; font-family: var(--pub-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: .04em; color: #fff; }
body.il-pub .pub-foot-col a { color: var(--pub-night-soft); text-decoration: none; transition: color .2s; }
body.il-pub .pub-foot-col a:hover { color: #fff; text-decoration: none; }
body.il-pub .pub-foot-bar { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--pub-night-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--pub-night-soft); }
body.il-pub .pub-foot-bar span:last-child { max-width: 64ch; }
@media (max-width: 960px) { body.il-pub .pub-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { body.il-pub .pub-foot-grid { grid-template-columns: 1fr; } }

/* ── document pages: the title band (legal, contact, blog) ─────────────── */
/* Rendered from the page's `topbanner` block, before <main>: a plain
   full-width block. (Pulling it full-bleed from inside main with 100vw and a
   negative margin over-constrains the box in a right-to-left layout and pushed
   the whole page sideways.) */
body.il-pub .pub-doc-head { position: relative; overflow: hidden; isolation: isolate;
  padding: 44px 0 40px; background: var(--pub-night); color: var(--pub-night-ink); }
body.il-pub .pub-doc-head + main.container { padding-top: var(--s5); }
body.il-pub .pub-doc-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); }
body.il-pub .pub-doc-head .crumbs { color: var(--pub-night-soft); margin-bottom: 18px; font-size: 13px; }
body.il-pub .pub-doc-head .crumbs a { color: var(--pub-night-soft); }
body.il-pub .pub-doc-head .crumbs a:hover { color: #fff; }
body.il-pub .pub-kicker { display: inline-block; font: 700 12px/1 var(--pub-display); letter-spacing: .04em; color: var(--pub-accent-hi); }
body.il-pub .pub-doc-h1, body.il-pub .pub-doc-head h1 { font: 800 clamp(30px, 3.4vw, 42px)/1.12 var(--pub-display);
  letter-spacing: -.02em; color: #fff; margin: 12px 0 0; max-width: 24ch; text-wrap: balance; }
body.il-pub .pub-doc-sub, body.il-pub .pub-doc-head .blg-sub { margin: 12px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--pub-night-soft); max-width: 58ch; }
body.il-pub .pub-doc-meta { margin: 12px 0 0; font-size: 13px; color: var(--pub-night-soft); }
/* the legal hub: one row of pills, the current page filled */
body.il-pub .legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
body.il-pub .legal-nav a { border: 1px solid rgba(255,255,255,.2); color: var(--pub-night-ink); background: rgba(255,255,255,.04);
  font: 600 13px var(--pub-display); padding: 7px 12px; border-radius: 999px; text-decoration: none; transition: border-color .2s, color .2s; }
body.il-pub .legal-nav a:hover { border-color: #fff; color: #fff; }
body.il-pub .legal-nav a.is-active { background: #E8650D; border-color: #E8650D; color: #fff; }
/* the body: an editorial measure, display headings, the "last updated" note stepped back */
body.il-pub .legal-doc { max-width: 820px; }
body.il-pub .legal-doc .blog-body { font-size: 16.5px; line-height: 1.7; }
body.il-pub .blog-body h2 { font-family: var(--pub-display); font-weight: 800; font-size: 22px; letter-spacing: -.015em; margin: 36px 0 10px; }
body.il-pub .blog-body h3 { font-family: var(--pub-display); font-weight: 700; font-size: 17px; margin: 22px 0 6px; }
body.il-pub .blog-body a { color: var(--seal); font-weight: 600; }
body.il-pub .legal-doc .blog-article-meta { background: none; border-radius: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); opacity: .85;
  padding: 0 0 16px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
body.il-pub .blog-back { margin: 36px 0 0; font-size: 14px; }
body.il-pub .blog-back a { color: var(--ink-soft); font-weight: 500; }
/* blog: the listing's head rides in the band; the cards keep their styles */
body.il-pub .pub-doc-head .blg-head { margin: 0; text-align: start; }
body.il-pub .pub-doc-head .blg-head h1 { color: #fff; font-family: var(--pub-display); font-weight: 800; letter-spacing: -.02em; }
body.il-pub .blg-feat, body.il-pub .blg-card { border-radius: 16px; }
body.il-pub .pub-doc-head .blog-article-meta { margin: 12px 0 0; color: var(--pub-night-soft); background: none; padding: 0; font-size: 13px; }
body.il-pub .blog-article > .blog-article-hero { margin-top: 0; }

/* ── contact: one card ────────────────────────────────────────────────── */
body.il-pub .ct-page { max-width: 720px; margin: 0 auto; }
body.il-pub .ct-page .blog-body > p:first-child { text-align: center; color: var(--ink-soft); margin-bottom: 22px; }
body.il-pub .ct-grid { display: block; }
body.il-pub .ct-form { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 28px 24px; box-shadow: var(--pub-shadow); }
body.il-pub .ct-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--seal), #E8650D); }
body.il-pub .ct-form .field > span { font: 600 13px var(--pub-display); color: var(--ink); }
body.il-pub .ct-form input, body.il-pub .ct-form textarea, body.il-pub .ct-form select { width: 100%; font-size: 15.5px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); transition: box-shadow .2s, border-color .2s; }
body.il-pub .ct-form input:focus, body.il-pub .ct-form textarea:focus, body.il-pub .ct-form select:focus { outline: 0; border-color: var(--seal); box-shadow: 0 0 0 4px rgba(22,85,122,.14); }
body.il-pub .ct-form textarea { min-height: 120px; resize: vertical; }
body.il-pub .ct-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.il-pub .ct-form .btn-primary { margin-top: 6px; font-family: var(--pub-display); font-weight: 700; border-radius: 10px; }
/* the topic note moves under the form as a quiet line, not a side column */
body.il-pub .ct-info { margin-top: 14px; }
body.il-pub .ct-info-inner { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 13.5px; color: var(--ink-soft); transition: opacity .15s; }
body.il-pub .ct-info-inner.is-switching { opacity: 0; }
body.il-pub .ct-info-kicker { font: 700 12px var(--pub-display); color: var(--pub-accent-ink); }
body.il-pub .ct-info-desc, body.il-pub .ct-info-note { margin: 0; }
body.il-pub .ct-info-note { flex-basis: 100%; opacity: .8; }
body.il-pub .ct-page .blog-body > p.muted:last-child { text-align: center; margin-top: 22px; font-size: 13px; }
body.il-pub .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { body.il-pub .ct-pair { grid-template-columns: 1fr; } body.il-pub .ct-form { padding: 22px 18px; } }

/* ── auth pages: one card on the night ground ─────────────────────────── */
body.il-pub .auth-wrap { background: var(--pub-night); min-height: calc(100vh - 64px); display: grid; align-content: center; justify-items: center; gap: 18px;
  padding: 56px 24px 72px; position: relative; overflow: hidden; isolation: isolate; }
body.il-pub .auth-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 45% at 22% 30%, rgba(22,85,122,.62), transparent 60%), radial-gradient(38% 38% at 82% 95%, rgba(232,101,13,.16), transparent 60%); }
body.il-pub .auth-card { max-width: 440px; border: 0; border-radius: 18px; padding: 30px 30px 26px; box-shadow: 0 30px 60px rgb(0 0 0 / .35);
  position: relative; overflow: hidden; background: var(--surface); }
body.il-pub .auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--seal), #E8650D); }
body.il-pub .auth-card h1 { font: 800 26px/1.15 var(--pub-display); letter-spacing: -.02em; margin-bottom: 6px; color: var(--ink); }
body.il-pub .pub-auth-lead { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; }
body.il-pub .auth-card .field > span { font: 600 13px var(--pub-display); }
body.il-pub .auth-card input:not([type=checkbox]) { border-radius: 10px; }
body.il-pub .auth-card .btn-primary { font-family: var(--pub-display); font-weight: 700; border-radius: 10px; }
body.il-pub .pub-auth-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; list-style: none; padding: 0; font-size: 13px; color: var(--pub-night-soft); }
body.il-pub .pub-auth-facts li::before { content: "✓"; color: var(--pub-mint); font-weight: 700; margin-inline-end: 6px; }

/* ── the landing (/product) and About, on the same system ─────────────── */
/* Shared: night sections, the kicker, the display headings, section rhythm. */
.lp4, .ab-il { --n-ink: #E7EDF1; --n-soft: #9DAFBA; --n-line: rgba(255,255,255,.09); --n-seal: #7CB7DE; --n-mint: #5DD39E; --n-acc: #F5A15C; }
.lp4 .lp-h1, .lp4 .lp-h2, .lp4 .st-h, .lp4 h3, .ab-il h1, .ab-il h2, .ab-il h3 { font-family: var(--pub-display, "Heebo", system-ui, sans-serif); font-weight: 800; letter-spacing: -.02em; }
.lp4 .st-h { font-weight: 800; }
.lp4 .st-kx, .lp4 .st-ev b, .lp4 .lpm-title, .lp4 .lpm-ring-num b { font-family: var(--pub-display, "Heebo", system-ui, sans-serif); }
.lp4 .st-ev b { font-weight: 800; }
.lp4-night { background: var(--pub-night, #0F1A21); color: var(--n-ink); }
.lp4-kicker, .lp4 .lp-kicker, .ab-il .lp-kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--pub-display, "Heebo", system-ui, sans-serif);
  letter-spacing: .04em; color: var(--pub-accent-ink, #B14A05); text-transform: none; }
.lp4 .lp-kicker::before, .ab-il .lp-kicker::before { content: ""; flex: none; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.lp4-night .lp4-kicker, .lp4-night .lp-kicker { color: var(--n-acc); }
.lp4 .btn, .ab-il .btn { font-family: var(--pub-display, "Heebo", system-ui, sans-serif); font-weight: 700; border-radius: 10px;
  transition: transform .2s var(--pub-ease, ease), box-shadow .2s, background .2s; }
.lp4 .btn:hover, .ab-il .btn:hover { transform: translateY(-2px); text-decoration: none; }
.lp4 .btn-primary, .ab-il .btn-primary { background: #E8650D; color: #fff; border: 0; box-shadow: 0 6px 18px rgb(232 101 13 / .28); }
.lp4 .btn-primary:hover, .ab-il .btn-primary:hover { background: #F07520; box-shadow: 0 10px 26px rgb(232 101 13 / .36); }
body.il-pub .lp4 .btn-lg, body.il-pub .ab-il .btn-lg { font-size: 15px; padding: 12px 22px; }
.lp4-btn-ghost { background: transparent; color: var(--lp-ink, var(--ink)); border: 1px solid var(--lp-line, var(--line)); }
.lp4-night .lp4-btn-ghost { color: var(--n-ink); border-color: rgba(255,255,255,.22); }
.lp4-night .lp4-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.05); }

/* ── hero (night) ── */
.lp4 .lp-hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 0;
  background: var(--pub-night, #0F1A21); color: var(--n-ink); }
.lp4-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 45% at var(--mx, 24%) var(--my, 30%), rgba(22,85,122,.62), transparent 60%),
              radial-gradient(38% 38% at 84% 95%, rgba(232,101,13,.16), transparent 60%); }
.lp4-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  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: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 40% 40%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 40% 40%, #000, transparent 80%); }
.lp4 .lp-hero-inner { padding-bottom: 60px; }
.lp4 .lp-h1 { color: #fff; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; margin: 14px 0 16px; }
.lp4 .lp-mark { color: var(--n-acc); }
.lp4 .lp-lead { color: var(--n-soft); font-size: 18px; max-width: 52ch; }
.lp4 .lp-cta-row { margin: 26px 0 16px; }
.lp4 .lp-trustline { color: var(--n-soft); font-size: 13.5px; gap: 6px 18px; margin-top: 0; }
.lp4 .lp-trustline li { background: none; border: 0; padding: 0; color: inherit; font-weight: 400; }
.lp4 .lp-trustline svg { color: var(--n-mint); }
.lp4-coverage { margin: 18px 0 0; font-size: 13px; color: var(--n-soft); opacity: .8; max-width: 52ch; }
/* the panel: what lands in the morning, framed on the night */
.lp4-panel-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px;
  font: 700 11.5px var(--pub-display, "Heebo", system-ui, sans-serif); letter-spacing: .04em; color: var(--n-soft); }
.lp4-live { display: inline-flex; align-items: center; gap: 6px; color: var(--n-mint); }
.lp4-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--n-mint); box-shadow: 0 0 0 0 rgba(93,211,158,.7); animation: lp4-pulse 1.8s infinite; }
@keyframes lp4-pulse { 70% { box-shadow: 0 0 0 9px rgba(93,211,158,0); } 100% { box-shadow: 0 0 0 0 rgba(93,211,158,0); } }
.lp4 .lp-window { border-color: rgba(255,255,255,.14); box-shadow: 0 30px 60px rgb(0 0 0 / .35), inset 0 1px 0 rgba(255,255,255,.06); transform: none; }
.lp4 .lp-window:hover { transform: none; }
.lp4 .lp-float { box-shadow: 0 20px 40px rgb(0 0 0 / .35); }
/* the live strip: four facts, counted from the corpus */
.lp4-strip { position: relative; border-top: 1px solid var(--n-line); background: rgba(255,255,255,.03); }
.lp4-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp4-strip-grid.is-three { grid-template-columns: repeat(3, 1fr); }
.lp4-strip-grid.is-two { grid-template-columns: repeat(2, 1fr); }
.lp4-stat { display: block; padding: 22px 18px; border-inline-end: 1px solid var(--n-line); text-align: start; color: inherit; text-decoration: none; }
.lp4-strip-grid > :last-child { border-inline-end: 0; }
.lp4-stat b { display: block; font: 800 30px/1 var(--pub-display, "Heebo", system-ui, sans-serif); color: #fff; letter-spacing: -.02em; }
.lp4-stat span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--n-soft); }
.lp4-stat.is-week b { color: var(--n-mint); }

/* ── sources strip (quiet) ── */
.lp4-sources { padding: 18px 0; background: var(--lp-surface, var(--surface)); border-bottom: 1px solid var(--lp-line, var(--line)); }
.lp4-sources-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 13px; color: var(--lp-soft, var(--ink-soft)); }
.lp4-sources-lbl { font: 700 11.5px var(--pub-display, "Heebo", system-ui, sans-serif); letter-spacing: .04em; color: var(--lp-ink, var(--ink)); }
.lp4-source::before { content: "⬢"; color: var(--lp-seal, var(--seal)); margin-inline-end: 6px; font-size: 10px; vertical-align: 1px; }
.lp4-sources-explore { margin-inline-start: auto; }
.lp4-sources-explore a { color: var(--lp-seal, var(--seal)); font-weight: 600; text-decoration: none; }
.lp4-sources-explore a:hover { text-decoration: underline; }

/* ── section rhythm ── */
.lp4 .lp-section { padding: 88px 0; }
.lp4 .lp-story { padding-block: 40px 56px; }
.lp4 .lp-head { text-align: start; margin: 0 0 44px; max-width: 720px; }
.lp4 .lp-h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.lp4 .lp-sub { margin-top: 14px; font-size: 17px; }
.lp4 .st-card { border-radius: 18px; box-shadow: var(--pub-shadow, 0 1px 2px rgb(28 43 51 / .06), 0 8px 24px rgb(28 43 51 / .08)); }
.lp4 .st-ch { scroll-margin-top: 80px; }

/* ── pricing: the offer in prose beside the card ── */
.lp4 .lp-pricing { background: var(--lp-surface, var(--surface)); border-top: 1px solid var(--lp-line, var(--line)); }
.lp4-price-grid { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 684px); gap: 44px; align-items: center; justify-content: center; }
.lp4 .lp-pricing .lp-head { margin: 0; max-width: none; }
.lp4 .lp-pricing .lp-price-wrap { margin: 0; width: 100%; max-width: none; }
.lp4 .lp-price-card { border-radius: 18px; }
.lp4-no-tier { margin-top: 22px; padding: 16px 18px; border-inline-start: 3px solid #E8650D; background: var(--pub-accent-wash, #FCEFE4);
  border-radius: 10px 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--lp-ink, var(--ink)); }
[dir="rtl"] .lp4-no-tier { border-radius: 0 10px 10px 0; }
@media (max-width: 960px) { .lp4-price-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── FAQ ── */
.lp4 .lp-faq { border-top: 1px solid var(--lp-line, var(--line)); }
.lp4 .lp-q { border-radius: 14px; }
.lp4 .lp-q summary { font-family: var(--pub-display, "Heebo", system-ui, sans-serif); font-weight: 700; }

/* ── the close (night) ── */
.lp4-final { background: var(--pub-night, #0F1A21) !important; color: var(--n-ink) !important; padding: 110px 0 120px; --seal: var(--n-seal); }
.lp4-final .lp-h2 { color: #fff !important; font-size: clamp(30px, 4vw, 48px); max-width: 20ch; margin: 0 auto; }
.lp4-final .lp-sub { color: var(--n-soft) !important; }
.lp4-final .lp-cta-fine { color: var(--n-soft) !important; }
.lp4-final::before { content: ""; position: absolute; inset: auto -10% -60%; height: 120%; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(22,85,122,.55), transparent 65%); }
.lp4-final .lp-cta-inner { position: relative; z-index: 1; }
.lp4-final-ctas { justify-content: center; margin: 30px 0 0; }
/* The disclaimer closes the page on the night, between the close and the
   footer — a paper strip there read as a seam. */
.lp4 > .disclaimer { max-width: none; margin: 0; padding: 0 24px 28px; border: 0; text-align: center;
  background: var(--pub-night, #0F1A21); color: var(--n-soft); font-size: 12px; }

/* ── About ── */
.ab-il .ab-hero { position: relative; overflow: hidden; isolation: isolate; padding: 80px 0 72px; background: var(--pub-night, #0F1A21); color: var(--n-ink); }
.ab-il .ab-crumbs { color: var(--n-soft); margin: 0 0 18px; font-size: 13px; }
.ab-il .ab-crumbs a { color: var(--n-soft); }
.ab-il .ab-crumbs a:hover { color: #fff; }
.ab-il .ab-h1 { max-width: 20ch; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.12; color: #fff; margin: 14px 0 16px; text-wrap: balance; }
.ab-il .ab-sub { max-width: 60ch; font-size: 18px; line-height: 1.6; color: var(--n-soft); margin: 0; }
.ab-il .ab-sub strong { color: #fff; }
.ab-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.ab-fact { border: 1px solid var(--n-line); border-radius: 14px; padding: 16px 18px; background: rgba(255,255,255,.04); }
.ab-fact b { display: block; font: 800 26px/1 var(--pub-display, "Heebo", system-ui, sans-serif); color: #fff; letter-spacing: -.02em; }
.ab-fact span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--n-soft); line-height: 1.4; }
.ab-il .ab-sec { padding: 88px 0; }
.ab-il .ab-sec-head { max-width: 720px; margin-bottom: 44px; }
.ab-il .ab-sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; line-height: 1.12; }
.ab-il .ab-sec-head p { margin: 14px 0 0; font-size: 17px; color: var(--ink-soft); max-width: 62ch; line-height: 1.6; }
/* follow one tender: four steps on one line, connected */
.ab-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 8px 0 0; padding: 0; list-style: none; }
.ab-steps::before { content: ""; position: absolute; inset-inline: 8%; top: 22px; height: 2px; background: #E8650D; opacity: .55; z-index: 0; }
.ab-step { position: relative; z-index: 1; }
.ab-node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 15px var(--pub-display, "Heebo", system-ui, sans-serif);
  color: #fff; background: #E8650D; box-shadow: 0 0 0 6px var(--paper); margin-bottom: 18px; }
.ab-when { font: 700 11.5px var(--pub-display, "Heebo", system-ui, sans-serif); letter-spacing: .04em; color: var(--pub-accent-ink, #B14A05); }
.ab-step h3 { font-size: 20px; margin-top: 8px; }
.ab-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
/* principles: four quiet cards, each a promise and its proof */
.ab-principles-sec { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ab-principle { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; box-shadow: var(--pub-shadow);
  transition: transform .3s var(--pub-ease), box-shadow .3s; }
.ab-principle:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgb(28 43 51 / .12); }
.ab-principle h3 { font-size: 21px; }
.ab-principle p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.ab-ex { display: inline-block; margin-top: 14px; font: 600 13px var(--pub-display, "Heebo", system-ui, sans-serif); color: var(--seal);
  background: var(--pub-seal-wash, #EEF5FA); padding: 6px 10px; border-radius: 7px; }
/* the team note */
.ab-team { padding: 88px 0; background: var(--paper); }
.ab-team-inner { max-width: 760px; margin: 0 auto; }
.ab-team-rule { display: block; width: 56px; height: 3px; background: #E8650D; border-radius: 2px; margin: 0 0 22px; }
.ab-team h2 { font-size: 28px; line-height: 1.2; }
.ab-team p { margin: 14px 0 0; font-size: 16.5px; color: var(--ink-soft); line-height: 1.65; }
.ab-team p a { color: var(--seal); font-weight: 600; }
.ab-team-sign { margin-top: 18px; font: 700 14px var(--pub-display, "Heebo", system-ui, sans-serif); color: var(--ink); }
.ab-fine { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
/* the close */
.ab-final { position: relative; overflow: hidden; background: var(--pub-night, #0F1A21); color: var(--n-ink); padding: 110px 0 120px; text-align: center; --seal: var(--n-seal); }
.ab-final-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.ab-final h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; max-width: 20ch; margin: 0 auto; }
.ab-final-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.ab-final .ab-trust { margin-top: 16px; font-size: 13.5px; color: var(--n-soft); }
.ab-contact { margin-top: 26px; font-size: 15px; color: var(--n-soft); }
.ab-contact a { color: #fff; font-weight: 600; }
@media (max-width: 960px) { .ab-facts, .ab-steps, .ab-principles { grid-template-columns: 1fr 1fr; } .ab-steps::before { display: none; } }
@media (max-width: 560px) { .ab-facts, .ab-steps, .ab-principles { grid-template-columns: 1fr; } }

/* ── responsive ── */
@media (max-width: 960px) {
  .lp4-strip-grid, .lp4-strip-grid.is-three { grid-template-columns: repeat(2, 1fr); }
  .lp4-stat { border-bottom: 1px solid var(--n-line); }
  .lp4-sources-explore { margin-inline-start: 0; }
}
@media (max-width: 560px) {
  .lp4 .lp-hero { padding-top: 44px; }
  .lp4-strip-grid, .lp4-strip-grid.is-three { grid-template-columns: 1fr; }
  .lp4 .lp-section { padding: 64px 0; }
  .ab-il .ab-hero { padding: 56px 0 48px; }
}
@media (prefers-reduced-motion: reduce) { .lp4-live i { animation: none; } .lp4 .btn:hover, .ab-il .btn:hover, .ab-principle:hover { transform: none; } }

/* ── dark: the few literal light colours the skins carry ── */
html[data-ps-theme="dark"] body.il-pub .lp4 .lp-window { border-color: var(--line); }
html[data-ps-theme="dark"] body.il-pub .lp4-sources { background: var(--surface); border-color: var(--line); }
html[data-ps-theme="dark"] body.il-pub .lp4 .lp-pricing { background: var(--surface); border-color: var(--line); }
html[data-ps-theme="dark"] body.il-pub .lp4 .lp-price-card,
html[data-ps-theme="dark"] body.il-pub .lp4 .lp-q { background: var(--surface); border-color: var(--line); }
html[data-ps-theme="dark"] body.il-pub .ab-node { box-shadow: 0 0 0 6px var(--paper); }

/* ── the tender-life panel (hero): one beat at a time ───────────────────── */
.lp4-life { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--n-line); border-radius: 18px; padding: 22px 22px 20px;
  box-shadow: 0 30px 60px rgb(0 0 0 / .35), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; color: var(--n-ink); }
.lp4-life::before { content: ""; position: absolute; inset: -60% auto auto -60%; width: 120%; aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(93,211,158,.16) 92%, transparent 100%);
  animation: lp4-sweep 6s linear infinite; pointer-events: none; opacity: .7; }
@keyframes lp4-sweep { to { transform: rotate(360deg); } }
.lp4-life-head { display: flex; justify-content: space-between; align-items: center; position: relative;
  font: 700 11.5px var(--pub-display, "Heebo", system-ui, sans-serif); letter-spacing: .04em; color: var(--n-soft); }
.lp4-rail { position: relative; margin: 30px 8px 18px; height: 44px; }
.lp4-rail-track { position: absolute; inset-inline: 0; top: 10px; height: 3px; background: rgba(255,255,255,.14); border-radius: 2px; }
.lp4-rail-fill { position: absolute; inset-inline-start: 0; top: 10px; height: 3px; width: 0; border-radius: 2px;
  background: linear-gradient(270deg, #E8650D, var(--n-acc)); box-shadow: 0 0 12px rgba(232,101,13,.6); transition: width .7s var(--pub-ease, ease); }
.lp4-dot { position: absolute; top: 11.5px; transform: translate(50%, -50%); width: 12px; height: 12px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--pub-night, #0F1A21); border: 3px solid rgba(255,255,255,.35); transition: border-color .3s, background .3s, transform .3s var(--pub-ease, ease); }
.lp4-dot.is-done { border-color: #E8650D; background: #E8650D; }
.lp4-dot.is-on { border-color: #fff; background: #E8650D; transform: translate(50%, -50%) scale(1.45); box-shadow: 0 0 0 7px rgba(232,101,13,.2); }
.lp4-dot-lab { position: absolute; top: 26px; transform: translateX(50%); font: 700 10.5px var(--pub-display, "Heebo", system-ui, sans-serif);
  color: var(--n-soft); white-space: nowrap; cursor: pointer; transition: color .25s; }
.lp4-dot-lab.is-on { color: #fff; }
.lp4-dot-lab:hover { color: var(--n-acc); }
/* Both flags sit over the beat they mean, with a tick down to its dot. The
   "you" flag is start-anchored so it never clips out of the card. */
.lp4-rail-you, .lp4-rail-most { position: absolute; top: -28px; transform: translateX(50%); white-space: nowrap; padding: 3px 7px; border-radius: 5px;
  font: 700 10.5px var(--pub-display, "Heebo", system-ui, sans-serif); letter-spacing: .02em; }
.lp4-rail-you { inset-inline-start: 0; transform: none; color: #fff; background: #E8650D; }
.lp4-rail-most { inset-inline-start: 74%; color: var(--n-soft); border: 1px dashed rgba(255,255,255,.3); font-weight: 600; }
.lp4-rail-you::after, .lp4-rail-most::after { content: ""; position: absolute; inset-inline-start: 50%; bottom: -9px; width: 1px; height: 9px; background: currentColor; opacity: .7; }
.lp4-rail-you::after { inset-inline-start: 18px; background: #E8650D; opacity: 1; }
.lp4-stage { position: relative; min-height: 126px; }
/* Without JS every beat is listed in order; lp4.js stacks them and shows one. */
.lp4-beat { padding: 10px 0; border-top: 1px solid var(--n-line); }
.lp4-beat:first-child { border-top: 0; padding-top: 0; }
.lp4-life.is-stepping .lp4-beat { position: absolute; inset: 0; padding: 0; border: 0; opacity: 0; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.lp4-life.is-stepping .lp4-beat.is-on { opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .5s var(--pub-ease, ease) .18s, transform .5s var(--pub-ease, ease) .18s; }
.lp4-beat-when { font: 700 11.5px var(--pub-display, "Heebo", system-ui, sans-serif); letter-spacing: .02em; color: var(--n-acc); }
.lp4-beat h3 { font-size: 22px; font-weight: 800; color: #fff; margin-top: 6px; letter-spacing: -.01em; line-height: 1.2; }
.lp4-beat p { margin-top: 6px; color: var(--n-soft); font-size: 14.5px; max-width: 44ch; line-height: 1.55; }
.lp4-beat-chip { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 9px;
  background: rgba(93,211,158,.1); border: 1px solid rgba(93,211,158,.25); color: var(--n-ink); font-size: 13px; }
.lp4-beat-chip b { font: 800 18px/1 var(--pub-display, "Heebo", system-ui, sans-serif); color: var(--n-mint); }
.lp4-beat.is-late .lp4-beat-chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.lp4-beat.is-late .lp4-beat-chip b { color: var(--n-soft); }
.lp4-life-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--n-line); font-size: 12.5px; color: var(--n-soft); }
.lp4-life-foot[hidden] { display: none; }
.lp4-life-btn { font: 700 13px var(--pub-display, "Heebo", system-ui, sans-serif); color: var(--n-ink); background: rgba(255,255,255,.06); border: 1px solid var(--n-line);
  border-radius: 7px; padding: 5px 10px; cursor: pointer; transition: background .2s; }
.lp4-life-btn:hover { background: rgba(255,255,255,.12); }
.lp4-life-btn.is-nudge { animation: lp4-nudge 1.6s ease-in-out infinite; }
@keyframes lp4-nudge { 0%,100% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(93,211,158,0); } 50% { transform: translateX(-3px); box-shadow: 0 0 0 6px rgba(93,211,158,.18); } }
.lp4-bar { flex: 1; height: 2px; background: rgba(255,255,255,.1); border-radius: 1px; overflow: hidden; }
.lp4-bar i { display: block; height: 100%; width: 0; background: var(--n-mint); transition: width .5s var(--pub-ease, ease); }
.lp4-life-caption { margin-top: 12px; font-size: 12.5px; color: var(--n-soft); text-align: center; }
@media (max-width: 560px) {
  .lp4-beat h3 { font-size: 19px; }
  .lp4-rail-most, .lp4-dot-lab { display: none; }
  .lp4-rail { height: 22px; }
  .lp4-life-foot #lp4-stage-hint { display: none; }
  .lp4-life { padding: 18px 16px 16px; }
}

/* ── crossing a section: the seam line drawn as its edge arrives ─────────── */
.lp4-seam { position: absolute; inset-inline: 0; top: 0; height: 1.5px; pointer-events: none; z-index: 2; }
.lp4-seam i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: right; transition: transform 1.2s var(--pub-ease, ease);
  background: linear-gradient(270deg, rgba(232,101,13,.45), rgba(22,85,122,.45) 22%, rgba(22,85,122,.25) 55%, transparent 80%); }
.lp4-seam.is-in i { transform: scaleX(1); }
/* Section heads arrive with a wipe when story.js has motion on (it reveals [data-rv]). */
@media (prefers-reduced-motion: no-preference) {
  html.st-rv-on .lp4 .lp-head[data-rv] .lp-h2 { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path .8s var(--pub-ease, ease), transform .8s var(--pub-ease, ease); }
  html.st-rv-on .lp4 .lp-head[data-rv].is-in .lp-h2 { clip-path: inset(-4px 0 0 0); transform: none; }
}

/* ── footer: the ask, the columns with a line of meaning each ────────────── */
body.il-pub .pub-foot-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
  padding: 0 0 40px; margin-bottom: 44px; border-bottom: 1px solid var(--pub-night-line); }
body.il-pub .pub-foot-cta-k { display: inline-block; font: 700 12px/1 var(--pub-display); letter-spacing: .04em; color: var(--pub-accent-hi); }
body.il-pub .pub-foot-cta h3 { margin: 10px 0 0; font: 800 clamp(22px, 2.6vw, 30px)/1.15 var(--pub-display); letter-spacing: -.02em; color: #fff; }
body.il-pub .pub-foot-cta p { margin: 10px 0 0; max-width: 56ch; font-size: 15px; line-height: 1.55; color: var(--pub-night-soft); }
body.il-pub .pub-foot-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
body.il-pub .pub-foot .btn { font-family: var(--pub-display); font-weight: 700; border-radius: 10px; }
body.il-pub .pub-foot .btn-primary { background: #E8650D; color: #fff; border: 0; box-shadow: 0 6px 18px rgb(232 101 13 / .28); }
body.il-pub .pub-foot .btn-primary:hover { background: #F07520; text-decoration: none; }
body.il-pub .pub-foot .btn-lg { font-size: 15px; padding: 12px 22px; }
body.il-pub .pub-foot-ghost { background: transparent; color: var(--pub-night-ink); border: 1px solid rgba(255,255,255,.22); }
body.il-pub .pub-foot-ghost:hover { border-color: #fff; background: rgba(255,255,255,.05); text-decoration: none; }
body.il-pub .pub-foot-sources { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--pub-night-soft); max-width: 46ch; }
body.il-pub .pub-foot-sources span { color: #fff; font-weight: 600; }
body.il-pub .pub-foot-col a small { display: block; font-size: 12px; color: var(--pub-night-soft); opacity: .8; margin-top: 1px; }
body.il-pub .pub-foot-col a:hover small { color: var(--pub-night-soft); }
body.il-pub .pub-foot-legal-note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--pub-night-soft); opacity: .8; max-width: 26ch; }
@media (max-width: 760px) { body.il-pub .pub-foot-cta { grid-template-columns: 1fr; } }

/* ── the market intelligence grid (night) ───────────────────────────────── */
.lp4-edge { background: var(--pub-night-2, #152430); overflow: hidden; }
.lp4-night .lp-h2, .lp4-edge .lp-h2 { color: #fff; }
.lp4-night .lp-sub, .lp4-edge .lp-sub { color: var(--n-soft); }
.lp4-edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp4-edge-item { border: 1px solid var(--n-line); border-top: 2px solid rgba(255,255,255,.14); border-radius: 14px; padding: 22px;
  background: rgba(255,255,255,.03); transition: transform .3s var(--pub-ease, ease), border-color .3s, background .3s; }
.lp4-edge-item:hover { transform: translateY(-3px); border-top-color: var(--n-acc); background: rgba(255,255,255,.05); }
.lp4-edge-item b { display: block; font: 800 17.5px/1.25 var(--pub-display, "Heebo", system-ui, sans-serif); color: #fff; letter-spacing: -.01em; }
.lp4-edge-item p { margin: 10px 0 0; font-size: 14.5px; color: var(--n-soft); line-height: 1.6; }
.lp4-edge-note { margin: 22px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--n-soft); opacity: .85; max-width: 72ch; }
@media (max-width: 960px) { .lp4-edge-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lp4-edge-item:hover { transform: none; } }

/* ── the side rail: the UK page's pill on the reading edge ───────────────── */
/* story.js builds it from the chapters; this is only its look. A dot per
   chapter, the current one lit orange and a little larger, the chapter's name
   on hover, all on a translucent night pill so it reads over paper and night
   alike. In Hebrew the reading edge is the left; inset-inline-end puts it there. */
body.il-pub .st-rail { inset-inline-end: 18px; gap: 12px; padding: 8px 6px; border-radius: 999px;
  background: rgba(15,26,33,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); }
body.il-pub .st-raildot { width: 8px; height: 8px; background: rgba(255,255,255,.35);
  transition: transform .3s var(--pub-ease), background .3s; }
body.il-pub .st-raildot:hover { background: #fff; }
body.il-pub .st-raildot.is-on { height: 8px; background: #E8650D; transform: scale(1.5); box-shadow: 0 0 0 5px rgba(232,101,13,.22); }
body.il-pub .st-railtip { inset-inline-end: 20px; transform: translateY(-50%) translateX(-6px); border: 0;
  font: 700 11px var(--pub-display); letter-spacing: .02em; color: #fff; background: rgba(15,26,33,.9);
  padding: 5px 9px; border-radius: 6px; transition: opacity .2s, transform .2s var(--pub-ease); }
body.il-pub .st-raildot:hover .st-railtip, body.il-pub .st-raildot:focus-visible .st-railtip { transform: translateY(-50%); }
