/* Shared base for the design demos. Each demo layers its own look on top. */
@font-face { font-family: "Karantina"; font-weight: 700; font-display: block; src: url("fonts/karantina-hebrew-700-normal.woff2") format("woff2"); unicode-range: U+0590-05FF, U+FB1D-FB4F, U+20AA; }
@font-face { font-family: "Karantina"; font-weight: 700; font-display: block; src: url("fonts/karantina-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Hebrew", Arial, sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .display { font-family: "Karantina", "Arial Narrow", sans-serif; font-weight: 700; line-height: .92; margin: 0; text-wrap: balance; }
:lang(en) :is(h1, h2, .display) { text-transform: uppercase; }
h1 { font-size: clamp(64px, 17vw, 120px); }
h2 { font-size: clamp(48px, 12vw, 80px); }
h3 { font-family: inherit; font-size: 20px; line-height: 1.25; margin: 0 0 4px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 17px;
  text-decoration: none; border: 2px solid transparent; transition: transform .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.snap { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin-inline: -20px; scrollbar-width: none; }
.snap::-webkit-scrollbar { display: none; }
.snap > * { scroll-snap-align: center; flex: none; }
.demo-tag { display: none !important; } .demo-tag-unused {
  position: fixed; top: 10px; left: 50%; translate: -50% 0; z-index: 99;
  font: 700 12px/1 system-ui; padding: 7px 11px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px);
}
/* ---------- permanent top bar: brand, language, menu, and how far down you are ---------- */
.topbar { position: fixed; z-index: 60; inset: 0 0 auto; padding-top: env(safe-area-inset-top); color: #fff;
  background: rgba(4, 30, 38, var(--tb-bg, 0)); backdrop-filter: blur(calc(var(--tb-bg, 0) * 16px)); -webkit-backdrop-filter: blur(calc(var(--tb-bg, 0) * 16px)); transition: background .3s; }
.topbar .tb-row { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 16px; gap: 10px; }
.topbar .brand { font-family: Karantina, sans-serif; font-size: 29px; direction: ltr; text-transform: uppercase; text-decoration: none; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.topbar .brand b { color: #ffcf5a; }
.topbar .acts { display: flex; gap: 8px; align-items: center; }
.topbar details { position: relative; }
.topbar summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 14px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); }
.topbar summary::-webkit-details-marker { display: none; }
.topbar summary svg { width: 18px; height: 18px; }
.topbar .panel-drop { position: absolute; inset-inline-end: 0; top: 48px; min-width: 190px; padding: 8px; border-radius: 18px; background: rgba(6, 34, 42, .94); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(16px); box-shadow: 0 20px 40px rgba(0,0,0,.4); display: grid; }
.topbar .panel-drop a { padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.topbar .panel-drop a[aria-current] { background: rgba(143,245,232,.16); color: #8ff5e8; }
.topbar .progress { position: relative; height: 3px; background: rgba(255,255,255,.12); }
.topbar .progress i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--sp, 0) * 100%); background: linear-gradient(90deg, #8ff5e8, #ffcf5a); box-shadow: 0 0 10px rgba(143,245,232,.7); }
.topbar .progress svg { position: absolute; top: -7px; inset-inline-start: calc(var(--sp, 0) * 100% - 13px); width: 26px; height: 10px; color: #ff5a36; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
[dir="rtl"] .topbar .progress svg { transform: scaleX(-1); }

/* ---------- shared content blocks (blocks.js); each demo sets the --b-* colors ---------- */
[data-block] { --b-text: #fff; --b-muted: rgba(255,255,255,.75); --b-card: rgba(255,255,255,.07); --b-line: rgba(255,255,255,.14); --b-accent: #8ff5e8; --b-hi: #ffcf5a;
  color: var(--b-text); padding: 72px 20px; }
[data-block] > * { max-width: 760px; margin-inline: auto; }
.b-kick { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--b-accent); margin-bottom: 10px; }
.b-h2 { font-size: clamp(52px, 14vw, 92px); }
.b-sub { color: var(--b-muted); margin-top: 12px; font-size: 17px; }
.b-card { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 22px; padding: 18px 20px; margin-top: 12px; }
.b-card h3 { font-size: 19px; }
.b-card p { color: var(--b-muted); font-size: 16px; }
.b-two { display: grid; gap: 0; margin-top: 22px; }
.b-bring ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.b-bring li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--b-line); font-weight: 700; font-size: 14px; }
.b-steps { counter-reset: s; display: grid; gap: 12px; margin-top: 26px; }
.b-steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; gap: 14px; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 22px; padding: 16px; }
.b-steps li::before { content: counter(s); grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: var(--b-accent); color: #062126; }
.b-steps p { color: var(--b-muted); font-size: 15px; }
.b-level { margin-top: 12px; border-radius: 22px; border: 1px solid var(--b-line); background: var(--b-card); overflow: hidden; }
.b-level summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 14px 1fr 20px; column-gap: 12px; align-items: center; padding: 16px 18px; }
.b-level summary::-webkit-details-marker { display: none; }
.b-level summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--b-accent); grid-row: span 2; }
.b-level[open] summary::after { content: "–"; }
.b-level summary b { font-size: 20px; }
.b-level summary small { grid-column: 2; color: var(--b-muted); font-size: 14px; }
.b-dot { width: 14px; height: 14px; border-radius: 50%; grid-row: span 2; }
.b-l0 .b-dot { background: #3cd6a0; } .b-l1 .b-dot { background: #ffcf5a; } .b-l2 .b-dot { background: #ff5a36; }
.b-level ul { padding: 0 18px 14px; display: grid; gap: 10px; }
.b-level li { border-top: 1px solid var(--b-line); padding-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.b-level li p { grid-column: 1 / -1; color: var(--b-muted); font-size: 14px; }
.b-tag { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--b-line); color: var(--b-accent); align-self: center; }
.b-faq { margin-top: 22px; display: grid; gap: 10px; }
.b-faq details { border-radius: 18px; background: var(--b-card); border: 1px solid var(--b-line); padding: 16px 18px; }
.b-faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; color: var(--b-accent); font-size: 22px; line-height: 1; }
.b-faq details[open] summary::after { content: "–"; }
.b-faq p { margin-top: 10px; color: var(--b-muted); font-size: 16px; }
.b-guides { display: grid; gap: 0; margin-top: 14px; }
.b-guide { display: block; text-decoration: none; }
.b-guide span { display: inline-block; margin-top: 8px; font-weight: 800; color: var(--b-accent); }
.b-live { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; animation: b-live 1.4s infinite; }
@keyframes b-live { 50% { opacity: .2; } }
.b-tank { position: relative; margin-top: 24px; height: 220px; border-radius: 28px; overflow: hidden; background: linear-gradient(#bff3ec, #6fdccd); }
.b-tank svg { position: absolute; bottom: 0; width: 200%; height: 100%; animation: b-tank 5s linear infinite; }
.b-tank svg + svg { animation-duration: 8s; animation-direction: reverse; opacity: .6; }
.b-tank .w1 { fill: #1aa99a; } .b-tank .w2 { fill: #0d7f86; }
@keyframes b-tank { from { transform: translateX(-50%); } to { transform: none; } }
.b-big { position: absolute; inset: 0 0 auto; padding-top: 18px; display: grid; justify-content: center; text-align: center; color: #08262b; z-index: 2; }
.b-big strong { font-family: Karantina, sans-serif; font-size: 88px; line-height: .85; direction: ltr; }
.b-big span { font-weight: 800; }
.b-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.b-stats div { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 18px; padding: 12px; text-align: center; }
.b-stats b { display: block; font-size: 22px; }
.b-stats span { font-size: 12px; color: var(--b-muted); }
.b-verdict { margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: var(--b-card); border: 1px solid var(--b-accent); font-weight: 700; }
.b-more { display: block; margin-top: 16px; font-weight: 800; color: var(--b-accent); }
.blk-footer { padding-bottom: 110px; }
.b-brand { font-family: Karantina, sans-serif; font-size: 64px; line-height: 1; text-transform: uppercase; }
.b-brand b { color: var(--b-hi); }
.b-blurb { color: var(--b-muted); margin-top: 8px; max-width: 40ch; }
.b-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.b-cols div { display: grid; gap: 8px; align-content: start; }
.b-cols h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--b-accent); }
.b-cols a { text-decoration: none; color: var(--b-muted); }
.b-area { margin-top: 26px; font-size: 13px; color: var(--b-muted); }
.b-mbar { position: fixed; z-index: 55; inset: auto 12px max(12px, env(safe-area-inset-bottom)); display: flex; gap: 8px; transform: translateY(160%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.b-mbar.on { transform: none; }
.b-mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; font-weight: 800; text-decoration: none; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); }
.b-mbar svg { width: 22px; height: 22px; }
.b-mwa { flex: 1; background: #0f7a6e; }
.b-mcall { width: 54px; background: rgba(4,30,38,.85); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); }
@media (min-width: 760px) { .b-two, .b-guides { grid-template-columns: 1fr 1fr; gap: 12px; } .b-cols { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
