/* ==========================================================================
   ProPay public site — landing + login (21.10.2026)
   Two colours (ink + brand blue), white, one soft glow. No gradients, no
   decoration. Logical properties only, so dir="rtl" and dir="ltr" both work.
   ========================================================================== */

:root {
    --white: #ffffff;
    --bg: #ffffff;
    --bg-2: #f6f7fb;
    --ink: #1b2141;
    --ink-2: #4b5168;
    --ink-3: #8a90a6;
    --line: #e5e7ef;
    --blue: #5170ff;
    --blue-deep: #3d5ae6;
    --blue-soft: #edf1ff;
    --mint: #1aa36a;
    --mint-soft: #e7f7ef;
    --rose: #e5485c;
    --rose-soft: #fdecef;

    --font-display: 'Assistant', 'Heebo', system-ui, sans-serif;
    --font-body: 'Heebo', 'Assistant', system-ui, sans-serif;

    --r: 14px;
    --r-lg: 20px;
    --shadow: 0 1px 2px rgba(27,33,65,.04), 0 10px 30px -18px rgba(27,33,65,.18);
    --shadow-lg: 0 30px 70px -30px rgba(27,33,65,.3);
    --ease: cubic-bezier(.22,1,.36,1);
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid rgba(81,112,255,.35); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 10000; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; }

/* Type */
.title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.01em; }
.title.center { text-align: center; }
.sub { margin-top: 12px; font-size: 18px; color: var(--ink-2); max-width: 640px; }
.sub.center { margin-inline: auto; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-primary, .btn-blue { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn .arrow { width: 18px; height: 18px; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 600; font-size: 16px; color: var(--ink); }
.nav-link:hover { color: var(--blue-deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 11px 18px; font-size: 15px; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); border: 1.5px solid transparent; }
.lang-btn:hover, .lang.open .lang-btn { border-color: var(--line); color: var(--ink); }
.lang-btn img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }
.lang-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); z-index: 50; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.lang-menu a:hover { background: var(--bg-2); color: var(--ink); }
.lang-menu a.active { color: var(--blue-deep); font-weight: 600; background: var(--blue-soft); }
.lang-menu a img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(340px, 88vw); z-index: 1001; background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-head img { height: 26px; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.drawer-link { padding: 12px 14px; border-radius: 10px; font-size: 17px; font-weight: 600; }
.drawer-link:hover { background: var(--bg-2); }
.drawer-actions { margin-top: auto; display: grid; gap: 10px; }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 14px; }
.drawer-langs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); }
.drawer-langs a.active { background: var(--blue-soft); color: var(--blue-deep); border-color: transparent; }
.drawer-langs img { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; }
.overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(27,33,65,.35); opacity: 0; visibility: hidden; transition: .3s; }
.overlay.open { opacity: 1; visibility: visible; }

/* Hero: centred statement, one glow */
.hero { position: relative; padding: 84px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(720px 420px at 50% 0%, rgba(81,112,255,.14), transparent 70%); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.kicker { font-size: 18px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.08; letter-spacing: -.015em; max-width: 1000px; margin-inline: auto; }
.hero-sub { margin: 22px auto 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.shot { margin: 56px auto 0; max-width: 1080px; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 0 0; border-bottom: 0; padding: 10px 10px 0; box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: auto; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0; }

/* Numbers */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 20px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat-n { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); line-height: 1; direction: ltr; }
.stat-l { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* Products */
.products { padding-bottom: 40px; }
.band { padding: 72px 0 56px; background: var(--bg-2); }
.group { padding: 56px 0 8px; display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.group + .group { border-top: 1px solid var(--line); }
.group-title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.2; position: sticky; top: 100px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; }
.card.featured .card-ic { background: rgba(255,255,255,.12); color: #fff; }
.card-ic svg { width: 22px; height: 22px; }
.card h4 { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.2; }
.card h4 span { display: block; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.card.featured h4 span { color: rgba(255,255,255,.75); }
.card p { font-size: 15px; color: var(--ink-2); }
.card.featured p { color: rgba(255,255,255,.85); }
.card ul { margin-top: auto; display: grid; gap: 9px; font-size: 14.5px; padding-top: 6px; }
.card li { display: flex; align-items: center; gap: 9px; }
.card li svg { flex: none; width: 18px; height: 18px; color: var(--blue); }
.card.featured li svg { color: #9fb1ff; }

/* Pricing */
.pricing { padding: 80px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--blue); }
.price-badge { position: absolute; top: -13px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.price-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.price-desc { font-size: 14.5px; color: var(--ink-3); margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0 22px; direction: ltr; }
[dir="rtl"] .price { justify-content: flex-end; }
.price .cur { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; }
.price .per { font-size: 14px; color: var(--ink-3); margin-inline-start: 6px; }
.price-list { display: grid; gap: 10px; font-size: 14.5px; margin-bottom: 26px; }
.price-list li { display: flex; align-items: flex-start; gap: 9px; }
.price-list svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* Switch + callback */
.switch { padding: 88px 0; }
.switch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.callback-label { display: block; font-weight: 600; margin-bottom: 10px; }
.callback-group { display: flex; gap: 8px; }
.callback-group input { flex: 1; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; outline: 0; background: #fff; }
.callback-group input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(81,112,255,.15); }
.callback-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.callback-note a { color: var(--blue-deep); font-weight: 600; direction: ltr; unicode-bidi: embed; }
.callback-ok { display: none; padding: 18px; border-radius: 10px; background: var(--mint-soft); color: #0f7a49; font-weight: 600; }
.callback-err { display: none; margin-top: 10px; font-size: 14px; color: var(--rose); }

/* Footer */
.footer { padding: 56px 0 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 28px; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; color: var(--ink-2); max-width: 320px; }
.footer h4 { font-family: var(--font-display); font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { font-size: 14.5px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-links .soon { font-size: 14.5px; color: var(--ink-3); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3); }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.social a:hover { border-color: var(--ink); color: var(--ink); }
.social svg { width: 16px; height: 16px; }

.wa { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37,211,102,.6); }
.wa svg { width: 26px; height: 26px; }

/* In-view fade (subtle) */
.io { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.io.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Login
   -------------------------------------------------------------------------- */
.auth-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-form-side { display: flex; flex-direction: column; padding: 28px 32px; background: #fff; }
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.auth-top .logo img { height: 28px; }
.auth-center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1.15; }
.auth-box .lead { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.auth-google { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; }
.auth-google:hover { border-color: var(--ink); }
.auth-google svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-size: 13px; color: var(--ink-3); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field-wrap { position: relative; direction: ltr; }
.input { width: 100%; padding: 13px 16px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); font-size: 16px; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--ink-3); }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(81,112,255,.15); }
.input.is-invalid { border-color: var(--rose); }
.input.has-eye { padding-inline-end: 48px; }
.eye { position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); }
.eye:hover { background: var(--bg-2); color: var(--ink); }
.eye svg { width: 18px; height: 18px; }
.eye .ic-off { display: none; }
.eye.on .ic-on { display: none; }
.eye.on .ic-off { display: block; }
.error { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 13.5px; color: #c1283c; }
.error svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.alert-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--rose-soft); color: #9f1f30; font-size: 14px; margin-top: 22px; }
.alert-error svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 22px; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; }
.link { font-size: 14px; font-weight: 600; color: var(--blue-deep); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { width: 100%; padding: 15px 20px; font-size: 16px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.auth-alt { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--ink-2); }
.auth-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--ink-3); }
.auth-foot a:hover { color: var(--ink); }
.auth-brand-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 56px; background: var(--bg-2); border-inline-start: 1px solid var(--line); }
.auth-brand-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 420px at 50% 30%, rgba(81,112,255,.14), transparent 70%); }
.auth-brand { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.auth-mark { height: 36px; width: auto; margin-bottom: 26px; }
.auth-brand h2 { font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; line-height: 1.15; }
.auth-brand .dot { display: none; }
.auth-brand .mock { margin: 30px 0 28px; }
.auth-points { display: grid; gap: 12px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.auth-points li span { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-deep); flex: none; }
.auth-points svg { width: 15px; height: 15px; }
.reveal { opacity: 1; }
.dot { color: var(--blue); }

/* Product preview card on the login brand panel (pure CSS) */
.mock { position: relative; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mock-chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); }
.mock-kpi { display: flex; align-items: baseline; gap: 10px; }
.mock-kpi strong { font-family: var(--font-display); font-size: 32px; font-weight: 800; line-height: 1; direction: ltr; }
.mock-kpi span { font-size: 13px; color: var(--ink-3); }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 54px; margin: 14px 0 12px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--blue-soft); height: var(--h); }
.mock-bars i.hot { background: var(--blue); }
.mock-list { display: grid; gap: 8px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); font-size: 13px; }
.mock-row .num { font-weight: 600; color: var(--ink-3); font-size: 12px; direction: ltr; }
.mock-row .name { flex: 1; font-weight: 500; }
.mock-row .sum { font-weight: 600; direction: ltr; }
.status { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.status.new { background: var(--blue-soft); color: var(--blue-deep); }
.status.prep { background: #fff4d9; color: #a86a00; }
.status.ready { background: var(--mint-soft); color: var(--mint); }
.mock-float { display: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .group { grid-template-columns: 1fr; gap: 18px; }
    .group-title { position: static; font-size: 26px; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-inline-start: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .switch-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-brand-side { display: none; }
}
@media (max-width: 860px) {
    .nav-links, .nav-actions .btn, .nav-actions .lang { display: none; }
    .menu-btn { display: inline-flex; }
    .nav-inner { height: 64px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 640px) {
    .container { padding-inline: 18px; }
    .hero { padding-top: 48px; }
    .hero h1 { font-size: clamp(32px, 9vw, 44px); }
    .hero-sub { font-size: 17px; }
    .hero-cta .btn { flex: 1; }
    .shot { margin-top: 36px; padding: 6px 6px 0; border-radius: 12px 12px 0 0; }
    .shot img { border-radius: 8px 8px 0 0; }
    .cards { grid-template-columns: 1fr; }
    .band { padding: 56px 0 40px; }
    .group { padding: 40px 0 8px; }
    .stat { padding: 26px 12px; }
    .pricing, .switch { padding: 64px 0; }
    .callback-group { flex-direction: column; }
    .callback-group .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .auth-form-side { padding: 18px 20px; }
    .auth-box h1 { font-size: 28px; }
    .field-row { flex-direction: column; align-items: flex-start; }
    .auth-foot { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
    .io { opacity: 1; transform: none; }
}

/* Homepage: ProPay Operational UI tokens and panel structure; scoped to the public homepage. */
.home-page {
    --hp-ink: #1c2738;
    --hp-muted: #677386;
    --hp-accent: #004aad;
    --hp-accent-hover: #003d91;
    --hp-accent-soft: #edf3fc;
    --hp-shell: #f5f7fa;
    --hp-surface: #f8faff;
    --hp-line: #e0e5ed;
    --font-display: 'Heebo', 'Noto Sans Hebrew', Arial, sans-serif;
    color: var(--hp-ink);
    background: var(--hp-shell);
    overflow-x: clip;
}
html:has(.home-page) { overflow-x: clip; }
.home-page [hidden] { display: none !important; }
.home-page :focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 5px; }
.home-page section[id], .home-page main { scroll-margin-top: 100px; }
.home-page h1, .home-page h2, .home-page h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; }
.home-page h2 { font-size: 21px; line-height: 1.4; }
.hp-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="ltr"] .hp-direction { transform: scaleX(-1); }
.hp-shell { max-width: 1180px; padding-inline: 30px; margin-inline: auto; }
.hp-content { max-width: 1180px; margin-inline: auto; padding: 32px 30px 48px; }
.hp-content > section { background: #fff; border: 1px solid var(--hp-line); border-radius: 11px; box-shadow: 0 3px 14px rgba(21,37,32,.035); padding: 24px; margin: 0 0 16px; }
.hp-content .hp-section > .hp-shell, .hp-content .hp-contact > .hp-shell { padding: 0; }
.hp-content > section:last-child { margin-bottom: 0; }
.hp-section { padding-block: 24px; }
.hp-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--hp-line); }
.hp-nav { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hp-logo { display: inline-flex; flex: none; }
.hp-logo img { width: 140px; height: auto; }
.hp-nav-links, .hp-nav-actions { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.hp-nav-links a { border-radius: 7px; padding: 9px 13px; color: var(--hp-muted); }
.hp-nav-links a:hover { background: var(--hp-accent-soft); }
.home-page .lang-menu a:hover, .home-page .lang-menu a.active { background: var(--hp-accent-soft); color: var(--hp-accent); }
.hp-nav-actions { gap: 20px; }
.hp-nav a:not(.hp-button):hover, .hp-footer a:hover { color: var(--hp-accent); }
.hp-login { font-size: 14px; }
.hp-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 38px; padding: 9px 16px; border: 1px solid transparent; border-radius: 7px; background: var(--hp-accent); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center; transition: background .15s; }
.hp-button:hover { background: var(--hp-accent-hover); }
.hp-button-small { min-height: 36px; padding: 8px 13px; font-size: 12px; }
.hp-button:disabled { opacity: .65; cursor: wait; }
.hp-text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 400; color: var(--hp-accent); text-decoration: underline; text-underline-offset: 5px; }
.hp-text-link:hover { color: var(--hp-accent-hover); }
.hp-menu-button, .hp-mobile-fallback { display: none; }
.hp-menu { position: fixed; inset: 0; inset-inline-start: auto; margin: 0; width: min(380px,92vw); max-width: none; height: 100dvh; max-height: none; border: 0; padding: 26px; background: #fff; color: var(--hp-ink); }
.hp-menu::backdrop { background: rgba(23,33,31,.35); }
.hp-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hp-menu-top button, .hp-menu-button { width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; }
.hp-menu-top button { display: flex; background: var(--hp-surface); }
.hp-menu-links { display: grid; margin-block: 28px; }
.hp-menu-links a { padding-block: 14px; border-bottom: 1px solid var(--hp-line); font-size: 18px; }
.hp-menu .hp-button { width: 100%; }
.hp-menu-languages { margin-top: 24px; }
.hp-menu-languages select { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--hp-line); border-radius: 7px; background: #fff; color: var(--hp-ink); font: inherit; font-size: 14px; cursor: pointer; }
.home-menu-open { overflow: hidden; }
.hp-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center; }
.hp-content > .hp-hero { padding: 40px 36px; background: linear-gradient(135deg, #f3f6ff 0%, #ffffff 60%); }
.hp-hero h1 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.18; font-weight: 800; letter-spacing: -.03em; color: var(--hp-ink, #1b2141); }
.hp-hero h1 span:last-child { color: var(--hp-accent); }
.hp-intro { font-size: 17px; line-height: 1.7; max-width: 560px; margin-top: 16px; }
.hp-hero h1 span { display: block; }
.hp-intro { max-width: 510px; margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--hp-muted); }
.hp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.hp-hero-note { font-size: 13px; color: var(--hp-muted); margin-top: 16px; }
.hp-overview { min-width: 0; border-inline-start: 1px solid var(--hp-line); padding-inline-start: 24px; }
.hp-overview h2 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--hp-muted); margin-bottom: 4px; }
.hp-overview a { display: flex; align-items: center; gap: 12px; padding-block: 16px; }
.hp-overview a + a { border-top: 1px solid var(--hp-line); }
.hp-overview a:last-child { padding-bottom: 1px; }
.hp-overview a > .hp-icon:first-child { color: var(--hp-accent); }
.hp-overview a > .hp-icon:last-child { width: 16px; height: 16px; color: #7b8683; margin-inline-start: auto; }
.hp-overview a:hover strong { color: var(--hp-accent); }
.hp-overview strong { display: block; font-weight: 700; font-size: 15px; }
.hp-overview small { display: block; font-size: 13px; line-height: 1.6; margin-top: 3px; color: var(--hp-muted); }
.hp-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 20px; }
.hp-section-heading > p { max-width: 440px; font-size: 14px; line-height: 1.75; color: var(--hp-muted); }
.hp-products { padding-top: 24px; }
.hp-product-explorer { border-top: 1px solid var(--hp-line); padding: 0; scroll-margin-top: 90px; }
.hp-tabs { display: none; }
.hp-tabs-ready .hp-tabs { display: flex; gap: 8px; padding-block: 12px; border-bottom: 1px solid var(--hp-line); }
.hp-tabs button { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--hp-muted); }
.hp-tabs button[aria-selected="true"] { color: var(--hp-accent); background: var(--hp-accent-soft); }
.hp-tabs button:hover { color: var(--hp-accent); background: var(--hp-surface); }
.hp-tabs button[aria-selected="true"]:hover { background: var(--hp-accent-soft); }
.hp-tabs .hp-icon { width: 19px; height: 19px; }
.hp-product-panel { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; padding-top: 22px; scroll-margin-top: 130px; }
.hp-panel-copy h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; }
.hp-panel-copy > p { max-width: 550px; font-size: 13px; line-height: 1.9; color: var(--hp-muted); }
.hp-check-list { display: grid; gap: 11px; font-size: 14px; margin-bottom: 16px; }
.hp-check-list li { display: flex; gap: 9px; align-items: flex-start; }
.hp-check-list .hp-icon { width: 17px; height: 17px; margin-top: 2px; color: var(--hp-accent); }
.hp-panel-detail .hp-text-link { font-size: 13px; }
.hp-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 26px; border-top: 1px solid var(--hp-line); }
.hp-service { display: flex; align-items: flex-start; gap: 13px; padding-block: 22px; scroll-margin-top: 90px; }
.hp-service:nth-child(n+3) { border-top: 1px solid var(--hp-line); }
.hp-service > .hp-icon { width: 21px; height: 21px; margin-top: 2px; color: var(--hp-accent); }
.hp-service h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.hp-service p { max-width: 440px; font-size: 14px; line-height: 1.85; color: var(--hp-muted); }
.hp-addons { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hp-line); }
.hp-service-grid + .hp-addons { margin-top: 0; }
.hp-addons h3 { font-size: 15px; margin-bottom: 8px; }
.hp-addons p { color: var(--hp-muted); font-size: 14px; line-height: 1.85; }
.hp-businesses { border-block: 1px solid var(--hp-line); }
.hp-business-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.hp-business-list h3 { font-size: 15px; margin-bottom: 8px; }
.hp-business-list p { font-size: 14px; line-height: 1.8; color: var(--hp-muted); }
.hp-pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.hp-quote-intro > p { max-width: 480px; font-size: 13px; line-height: 1.9; color: var(--hp-muted); margin-block: 20px 24px; }
.hp-quote-intro .hp-quote-note { font-size: 14px; margin-bottom: 0; }
.hp-faq-list details { border-bottom: 1px solid var(--hp-line); }
.hp-faq-list details:first-child { border-top: 1px solid var(--hp-line); }
.hp-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 21px; font-size: 14px; font-weight: 400; cursor: pointer; list-style: none; }
.hp-faq-list summary::-webkit-details-marker { display: none; }
.hp-faq-list summary span { flex: none; font-size: 22px; font-weight: 300; color: var(--hp-accent); }
.hp-faq-list details[open] summary span { transform: rotate(45deg); }
.hp-faq-list details > p { color: var(--hp-muted); font-size: 13px; line-height: 1.9; padding-bottom: 22px; padding-inline-end: 28px; }
.hp-contact { padding-block: 48px; border-block: 1px solid var(--hp-line); }
.hp-contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hp-contact-copy p { max-width: 430px; color: var(--hp-muted); margin-top: 12px; font-size: 13px; line-height: 1.8; }
.hp-contact-form label { display: block; font-size: 13px; margin-bottom: 9px; }
.hp-callback-fields { display: flex; gap: 10px; }
.hp-callback-fields input { min-width: 0; width: 100%; min-height: 38px; border: 1px solid var(--hp-line); border-radius: 7px; padding: 10px 12px; background: #fff; color: var(--hp-ink); font-size: 16px; outline-offset: 3px; }
.hp-callback-fields input::placeholder { color: var(--hp-muted); }
.hp-callback-fields .hp-button { flex: none; }
.hp-direct-contact { margin-top: 16px; font-size: 14px; color: var(--hp-muted); }
.hp-direct-contact a { margin-inline-start: 6px; color: var(--hp-ink); text-decoration: underline; text-underline-offset: 3px; }
.hp-form-error { margin-top: 12px; padding: 10px 12px; background: #fff0f0; color: #8c1733; border-radius: 6px; font-size: 14px; }
.hp-form-success { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--hp-line); background: #fff; color: var(--hp-ink); border-radius: 8px; }
.hp-form-success .hp-icon { color: var(--hp-accent); }
.hp-footer { padding-block: 28px 20px; background: #fff; border-top: 1px solid var(--hp-line); }
.hp-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 26px; }
.hp-footer-top p { font-size: 14px; color: var(--hp-muted); margin-top: 12px; }
.hp-footer nav { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: 13px; }
.hp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid var(--hp-line); color: var(--hp-muted); font-size: 13px; }
.hp-footer-bottom nav { font-size: 13px; }
@media (max-width: 1150px) {
    .hp-nav { gap: 20px; }
    .hp-nav-links, .hp-nav-actions .hp-login, .hp-nav-actions .lang { display: none; }
    .home-menu-ready .hp-menu-button { display: flex; }
    .hp-mobile-fallback { display: flex; gap: 24px; padding-bottom: 15px; font-size: 14px; }
    .home-menu-ready .hp-mobile-fallback { display: none; }
    .hp-hero { gap: 26px; }
    .hp-pricing-grid, .hp-contact-panel { gap: 26px; }
    .hp-product-panel { gap: 26px; }
}
@media (max-width: 900px) {
    .hp-shell { padding-inline: 28px; }
    .hp-hero { grid-template-columns: 1.4fr 1fr; gap: 24px; }
    .hp-content { padding-inline: 18px; }
    .hp-hero h1 { font-size: 30px; }
    .hp-intro { font-size: 14px; }
    .hp-overview { padding-inline-start: 18px; }
    .hp-overview a { gap: 12px; }
    .hp-overview strong { font-size: 13px; }
    .hp-overview small { font-size: 11px; }
    .hp-section-heading { gap: 30px; }
    .hp-section-heading > p { max-width: 320px; font-size: 13px; }
    .hp-product-panel { gap: 28px; }
    .hp-pricing-grid, .hp-contact-panel { gap: 36px; }
    .hp-addons { gap: 28px; }
    .hp-business-list { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
    .hp-callback-fields { flex-direction: column; }
}
@media (max-width: 640px) {
    .hp-shell { padding-inline: 22px; }
    .hp-nav { min-height: 56px; gap: 12px; }
    .hp-logo img { width: 122px; }
    .hp-nav-actions { gap: 9px; }
    .hp-nav-actions .hp-button { min-height: 38px; font-size: 12px; padding: 9px 13px; }
    .hp-content { padding: 24px 12px 32px; }
    .hp-content > section, .hp-content > .hp-hero { padding: 20px; margin-bottom: 12px; }
    .hp-hero { grid-template-columns: 1fr; gap: 24px; }
    .hp-hero h1 { font-size: 27px; }
    .hp-intro { margin-top: 18px; font-size: 14px; }
    .hp-hero-actions { gap: 20px; margin-top: 23px; }
    .hp-hero-actions .hp-text-link { font-size: 13px; }
    .hp-hero-note { font-size: 11px; margin-top: 17px; }
    .hp-overview { border-inline-start: 0; border-top: 1px solid var(--hp-line); padding: 20px 0 0; }
    .hp-overview a { padding-block: 16px; }
    .hp-overview strong { font-size: 13px; }
    .hp-overview small { font-size: 11px; }
    .hp-section { padding-block: 38px; }
    .home-page h2 { font-size: 20px; }
    .hp-overview h2 { font-size: 15px; }
    .hp-section-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
    .hp-section-heading > p { max-width: 450px; }
    .hp-product-explorer { padding: 0; }
    .hp-tabs-ready .hp-tabs { gap: 0; justify-content: space-between; }
    .hp-tabs button { font-size: 11px; gap: 5px; padding: 9px 8px; }
    .hp-tabs .hp-icon { width: 16px; height: 16px; }
    .hp-product-panel { grid-template-columns: 1fr; gap: 22px; padding-top: 23px; }
    .hp-panel-copy h3 { font-size: 18px; margin-bottom: 12px; }
    .hp-panel-copy > p { font-size: 13px; }
    .hp-check-list { margin-bottom: 18px; font-size: 12px; }
    .hp-service-grid { grid-template-columns: 1fr; gap: 0; margin-top: 23px; }
    .hp-service { padding-block: 20px; gap: 11px; }
    .hp-service + .hp-service { border-top: 1px solid var(--hp-line); }
    .hp-service h3 { font-size: 16px; }
    .hp-addons { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
    .hp-addons h3 { margin-bottom: 7px; font-size: 15px; }
    .hp-addons p { font-size: 12px; }
    .hp-business-list { gap: 24px 22px; }
    .hp-business-list h3 { font-size: 15px; margin-bottom: 7px; }
    .hp-business-list p { font-size: 12px; }
    .hp-pricing-grid, .hp-contact-panel { grid-template-columns: 1fr; gap: 28px; }
    .hp-quote-intro > p { font-size: 13px; margin-block: 18px 22px; }
    .hp-quote-intro .hp-quote-note { font-size: 12px; }
    .hp-faq-list summary { font-size: 13px; padding-block: 20px; gap: 16px; }
    .hp-faq-list details > p { font-size: 12px; }
    .hp-contact { padding-block: 36px; }
    .hp-contact-copy p { font-size: 13px; }
    .hp-callback-fields { flex-direction: row; }
    .hp-direct-contact { line-height: 1.9; }
    .hp-footer { padding-top: 28px; }
    .hp-footer-top, .hp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
    .hp-footer nav { gap: 16px 22px; font-size: 13px; }
    .hp-footer-bottom nav { font-size: 11px; gap: 14px 18px; }
}
@media (max-width: 370px) {
    .hp-shell { padding-inline: 17px; }
    .hp-nav { gap: 8px; }
    .hp-nav-actions .hp-button { padding-inline: 10px; font-size: 11px; }
    .hp-logo img { width: 108px; }
    .hp-hero h1 { font-size: 27px; }
    .hp-hero-actions { gap: 17px; }
    .hp-hero-actions .hp-button { padding-inline: 17px; }
    .hp-hero-actions .hp-text-link { font-size: 12px; }
    .hp-content > section, .hp-content > .hp-hero { padding-inline: 16px; }
    .hp-tabs button { font-size: 10px; gap: 4px; padding-inline: 6px; }
    .hp-tabs .hp-icon { width: 14px; height: 14px; }
    .hp-callback-fields { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.home-page) { scroll-behavior: auto; }
}

/* The ordering demo in miniature: real pages inside device frames, scaled to fit (21.10.2026) */
.hp-devices-row { display: grid; grid-template-columns: .9fr 1.3fr 1.3fr .75fr; gap: 22px; align-items: end; }
.hp-device--stand .hp-device-frame { background: transparent; box-shadow: none; border-radius: 0; margin: 0; width: 100%; }
.hp-device--stand .hp-device-scale iframe { background: transparent; }
.hp-device { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hp-device-frame { position: relative; width: calc(100% - 14px); overflow: hidden; background: #0f1420; border-radius: 18px; padding: 0; box-shadow: 0 24px 50px -28px rgba(15,20,32,.55), 0 0 0 6px #0f1420, 0 0 0 7px rgba(255,255,255,.08); margin: 7px; }
.hp-device--phone .hp-device-frame { border-radius: 26px; max-width: 250px; margin-inline: auto; }
.hp-device-scale { position: absolute; top: 0; inset-inline-start: 0; transform-origin: top right; }
[dir="ltr"] .hp-device-scale { transform-origin: top left; }
.hp-device-scale iframe { border: 0; display: block; background: #fff; pointer-events: none; }
.hp-device-open { position: absolute; inset: 0; z-index: 2; }
.hp-device figcaption strong { display: block; font-size: 16px; font-weight: 700; }
.hp-device figcaption span { display: block; font-size: 13px; color: var(--hp-muted); margin-top: 2px; }
@media (max-width: 900px) { .hp-devices-row { grid-template-columns: 1fr 1fr; } .hp-device--phone, .hp-device--stand { grid-column: auto; } .hp-device--phone .hp-device-frame { max-width: 230px; } }
@media (max-width: 560px) { .hp-devices-row { grid-template-columns: 1fr; } .hp-device--phone { grid-column: auto; } }

/* Solutions: tabs on the start side, the live demo on the stage (21.10.2026) */
.hp-sol { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.hp-sol-tabs { display: flex; flex-direction: column; gap: 8px; }
.hp-sol-tabs [role="tab"] { text-align: start; padding: 14px 16px; border: 1px solid var(--hp-line); border-radius: 12px; background: #fff; display: grid; gap: 3px; transition: border-color .15s, background .15s; }
.hp-sol-tabs [role="tab"] strong { font-size: 16px; font-weight: 700; }
.hp-sol-tabs [role="tab"] span { font-size: 13px; color: var(--hp-muted); line-height: 1.5; }
.hp-sol-tabs [role="tab"]:hover { border-color: var(--hp-accent); }
.hp-sol-tabs [role="tab"][aria-selected="true"] { border-color: var(--hp-accent); background: #eef2ff; box-shadow: inset 3px 0 0 var(--hp-accent); }
[dir="rtl"] .hp-sol-tabs [role="tab"][aria-selected="true"] { box-shadow: inset -3px 0 0 var(--hp-accent); }
.hp-sol-stage { min-width: 0; }
.hp-sol-panel { display: grid; gap: 18px; }
.hp-sol-device { position: relative; width: 100%; overflow: hidden; display: flex; justify-content: center; }
.hp-sol-scale { position: absolute; top: 0; transform-origin: top center; }
.hp-sol-scale iframe { border: 0; display: block; background: #fff; }
.hp-sol-device--tablet .hp-sol-scale iframe, .hp-sol-device--screen .hp-sol-scale iframe { border-radius: 14px; box-shadow: 0 0 0 8px #0f1420, 0 0 0 9px rgba(255,255,255,.1), 0 30px 60px -30px rgba(15,20,32,.6); }
.hp-sol-device--phone .hp-sol-scale iframe { border-radius: 30px; box-shadow: 0 0 0 9px #0f1420, 0 0 0 10px rgba(255,255,255,.1), 0 30px 60px -30px rgba(15,20,32,.6); }
.hp-sol-device--none .hp-sol-scale iframe { background: transparent; }
.hp-sol-device--tablet, .hp-sol-device--screen, .hp-sol-device--phone { padding: 10px; }
.hp-sol-notes { display: grid; gap: 14px; }
.hp-sol-notes .hp-check-list { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hp-sol-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hp-sol-note { font-size: 12px; color: var(--hp-muted); }
@media (max-width: 900px) { .hp-sol { grid-template-columns: 1fr; } .hp-sol-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; } .hp-sol-tabs [role="tab"] { min-width: 180px; } }

/* v8 (21.10.2026): mega-menus, wide hero with chips, business-type cards, product grid */
.hp-mega { position: relative; }
.hp-mega > button { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 600; color: inherit; padding: 8px 2px; }
.hp-mega > button .hp-icon { width: 14px; height: 14px; transition: transform .15s; }
.hp-mega[data-open] > button .hp-icon { transform: rotate(180deg); }
.hp-mega-panel { position: absolute; top: calc(100% + 10px); inset-inline-start: -16px; display: none; grid-template-columns: repeat(2, 230px); gap: 6px 18px; padding: 16px; background: #fff; border: 1px solid var(--hp-line); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(21,37,32,.3), 0 2px 8px rgba(21,37,32,.06); z-index: 50; }
.hp-mega-panel--wide { grid-template-columns: repeat(3, 220px); }
.hp-mega[data-open] .hp-mega-panel { display: grid; }
.hp-mega-panel a { display: grid; gap: 2px; padding: 9px 10px; border-radius: 9px; }
.hp-mega-panel a:hover { background: #f3f6ff; }
.hp-mega-panel strong { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.hp-mega-panel span { font-size: 12px; color: var(--hp-muted); line-height: 1.45; }
.hp-new { display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--hp-accent); color: #fff; vertical-align: middle; }
.hp-hero--wide { grid-template-columns: 1fr; text-align: center; }
.hp-hero--wide .hp-hero-copy { max-width: 820px; margin-inline: auto; }
.hp-hero--wide h1 { font-size: clamp(36px, 4.4vw, 54px); }
.hp-hero--wide .hp-intro { margin-inline: auto; font-size: 18px; }
.hp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hp-chips span { padding: 7px 14px; border: 1px solid var(--hp-line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--hp-ink, #1b2141); }
.hp-hero--wide .hp-hero-actions { justify-content: center; }
.hp-biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hp-biz-card { border: 1px solid var(--hp-line); border-radius: 14px; padding: 18px; background: #fff; display: grid; gap: 8px; align-content: start; transition: border-color .15s, transform .15s; }
.hp-biz-card:hover { border-color: var(--hp-accent); transform: translateY(-2px); }
.hp-biz-card > .hp-icon { width: 26px; height: 26px; color: var(--hp-accent); }
.hp-biz-card h3 { font-size: 17px; font-weight: 700; }
.hp-biz-card p { font-size: 13.5px; color: var(--hp-muted); line-height: 1.6; }
.hp-biz-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.hp-biz-tags a { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #eef2ff; color: var(--hp-accent); }
.hp-prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hp-prod-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--hp-line); border-radius: 12px; background: #fff; }
.hp-prod-icon { width: 40px; height: 40px; border-radius: 10px; background: #eef2ff; color: var(--hp-accent); display: inline-grid; place-items: center; flex: none; }
.hp-prod-icon .hp-icon { width: 20px; height: 20px; }
.hp-prod-card h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.hp-prod-card p { font-size: 13px; color: var(--hp-muted); line-height: 1.5; margin-top: 2px; }
@media (max-width: 1000px) { .hp-biz-grid, .hp-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hp-biz-grid, .hp-prod-grid { grid-template-columns: 1fr; } }

/* Solutions, selector on top (Ofir): a horizontal strip of tabs, the stage under it */
.hp-sol--top { grid-template-columns: 1fr; gap: 18px; }
.hp-sol--top .hp-sol-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.hp-sol--top .hp-sol-tabs [role="tab"] { flex: 1 1 150px; padding: 12px 14px; }
.hp-sol--top .hp-sol-tabs [role="tab"] strong { font-size: 15px; }
.hp-sol--top .hp-sol-tabs [role="tab"] span { font-size: 12px; }
.hp-sol--top .hp-sol-tabs [role="tab"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--hp-accent); }
[dir="rtl"] .hp-sol--top .hp-sol-tabs [role="tab"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--hp-accent); }
.hp-sol--top .hp-sol-panel { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.hp-sol--top .hp-sol-notes .hp-check-list { flex-direction: column; gap: 8px; }
.hp-sol--top .hp-sol-device--phone { justify-content: center; }
@media (max-width: 900px) { .hp-sol--top .hp-sol-panel { grid-template-columns: 1fr; } .hp-sol--top .hp-sol-tabs { overflow-x: visible; } }

/* Ofir 21.10.2026: header and mega-menu text darker; one short line per item */
.hp-nav-links a, .hp-mega > button { color: #111827; }
.hp-mega-panel strong { color: #0b1220; font-size: 14.5px; }
.hp-mega-panel span { color: #374151; font-size: 12.5px; white-space: nowrap; }
.hp-mega-panel { grid-template-columns: repeat(2, auto); }
.hp-mega-panel--wide { grid-template-columns: repeat(3, 220px); }
.hp-mega-panel--wide span { white-space: normal; }
.hp-biz-card p, .hp-prod-card p { color: #374151; }
.hp-biz-card h3, .hp-prod-card h3 { color: #0b1220; }

/* Systems by business type (Ofir 21.10.2026): tabs on top, systems grid below */
.hp-sys-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--hp-line); border-radius: 14px; background: #f7f8fb; margin-bottom: 18px; }
.hp-sys-tabs button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; color: #111827; padding: 10px 14px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; transition: background .15s, color .15s; }
.hp-sys-tabs button .hp-icon { width: 18px; height: 18px; color: var(--hp-accent); }
.hp-sys-tabs button:hover { background: #fff; }
.hp-sys-tabs button[aria-selected="true"] { background: var(--hp-accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(17,52,160,.6); }
.hp-sys-tabs button[aria-selected="true"] .hp-icon { color: #fff; }
.hp-sys-lead { font-size: 15px; color: #1f2937; margin: 0 0 14px; }
.hp-sys-panel .hp-prod-card { animation: hp-sys-in .25s ease both; }
@keyframes hp-sys-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hp-sys-panel .hp-prod-card { animation: none; } }
@media (max-width: 700px) { .hp-sys-tabs { flex-wrap: nowrap; overflow-x: auto; } .hp-sys-tabs button { white-space: nowrap; } }

/* Ofir 21.10.2026: no exaggerated rounding. Sections, cards, tabs and controls get small, consistent corners. */
.hp-content > section { border-radius: 8px; }
.hp-sol-tabs [role="tab"], .hp-biz-card, .hp-prod-card, .hp-mega-panel, .hp-sys-tabs { border-radius: 6px; }
.hp-sys-tabs button, .hp-mega-panel a, .hp-nav-links a, .hp-button, .hp-prod-icon { border-radius: 5px; }
.hp-new { border-radius: 3px; }
.hp-sol--top .hp-sol-tabs [role="tab"][aria-selected="true"], [dir="rtl"] .hp-sol--top .hp-sol-tabs [role="tab"][aria-selected="true"] { box-shadow: none; border-color: var(--hp-accent); background: #eef2ff; outline: 1px solid var(--hp-accent); outline-offset: -2px; }
.hp-sol-device--tablet .hp-sol-scale iframe, .hp-sol-device--screen .hp-sol-scale iframe { border-radius: 6px; }

/* Hero: two lines */
.hp-hero h1 .hp-hero-l2 { display: block; color: var(--hp-accent); }

/* Package form (right) + FAQ (left) */
.hp-lead-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.hp-lead-card { border: 1px solid var(--hp-line); border-radius: 8px; padding: 26px; background: #fbfcfe; }
.hp-lead-card h2 { font-size: 24px; font-weight: 800; color: #0b1220; }
.hp-lead-sub { font-size: 14.5px; color: #374151; margin: 6px 0 20px; line-height: 1.6; }
.hp-lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.hp-field { display: grid; gap: 6px; }
.hp-field--full { grid-column: 1 / -1; }
.hp-field label { font-size: 13px; font-weight: 600; color: #111827; }
.hp-field label small { font-weight: 400; color: var(--hp-muted); }
.hp-field input, .hp-field select, .hp-field textarea { font: inherit; font-size: 15px; color: #0b1220; width: 100%; padding: 11px 12px; border: 1px solid #d5dbe5; border-radius: 5px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.hp-field textarea { resize: vertical; min-height: 88px; }
.hp-field input:focus, .hp-field select:focus, .hp-field textarea:focus { outline: none; border-color: var(--hp-accent); box-shadow: 0 0 0 3px rgba(17,52,160,.12); }
.hp-field input:user-invalid, .hp-field textarea:user-invalid { border-color: #c2410c; }
.hp-lead-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.hp-lead-actions .hp-button { min-height: 46px; padding-inline: 26px; font-size: 15px; }
.hp-lead-actions .hp-direct-contact { margin: 0; font-size: 13.5px; color: #374151; }
.hp-lead-faq h3 { font-size: 20px; font-weight: 800; color: #0b1220; margin-bottom: 8px; }
@media (max-width: 900px) { .hp-lead-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hp-lead-form { grid-template-columns: 1fr; } .hp-lead-card { padding: 18px; } }

/* Footer */
.hp-footer--v8 { background: #0e1626; color: #c9d1de; border-top: 0; padding-block: 48px 22px; margin-top: 24px; }
.hp-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hp-foot-brand p { font-size: 14px; line-height: 1.7; color: #aeb8c8; margin: 14px 0 16px; max-width: 320px; }
.hp-foot-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.hp-foot-contact a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; color: #fff; font-size: 13.5px; font-weight: 600; }
.hp-foot-contact a:hover { border-color: #fff; }
.hp-footer--v8 nav { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.hp-footer--v8 h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.hp-footer--v8 nav a { color: #c9d1de; }
.hp-footer--v8 a:hover { color: #fff; }
.hp-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 18px; font-size: 13px; color: #8f9bb0; flex-wrap: wrap; }
.hp-foot-bottom nav { flex-direction: row; gap: 20px; font-size: 13px; }
@media (max-width: 900px) { .hp-foot-grid { grid-template-columns: 1fr 1fr; } .hp-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hp-foot-grid { grid-template-columns: 1fr; } }

/* Photo strip selector for business types (Ofir 21.10.2026): chosen type opens wide, hover previews on desktop */
.hp-sys-tabs.hp-strip { display: flex; flex-wrap: nowrap; gap: 8px; padding: 0; border: 0; background: none; height: 340px; margin-bottom: 22px; }
.hp-strip [role="tab"] { position: relative; flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border-radius: 8px; overflow: hidden; background: #1b2333 var(--img) center / cover no-repeat; color: #fff; text-align: start; align-items: stretch; transition: flex-grow .45s cubic-bezier(.2,.7,.2,1), box-shadow .2s; }
.hp-strip [role="tab"]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,22,.15) 0%, rgba(8,12,22,.25) 45%, rgba(8,12,22,.78) 100%); transition: background .3s; }
.hp-strip [role="tab"][aria-selected="true"] { flex-grow: 3.6; background-color: #1b2333; box-shadow: none; }
.hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) { flex-grow: 1; }
.hp-strip [role="tab"]:hover { flex-grow: 3.6; background-color: #1b2333; }
.hp-strip [role="tab"]:focus-visible { outline: 3px solid var(--hp-accent); outline-offset: 2px; }
.hp-strip-tag, .hp-strip-full { position: absolute; inset-inline: 14px; bottom: 16px; z-index: 1; transition: opacity .25s; }
.hp-strip-tag { font-size: 15px; font-weight: 700; line-height: 1.25; }
.hp-strip-full { display: grid; gap: 4px; opacity: 0; pointer-events: none; }
.hp-strip-full strong { font-size: 22px; font-weight: 800; }
.hp-strip-full small { font-size: 14px; opacity: .9; }
.hp-strip [role="tab"][aria-selected="true"] .hp-strip-full, .hp-strip [role="tab"]:hover .hp-strip-full { opacity: 1; }
.hp-strip [role="tab"][aria-selected="true"] .hp-strip-tag, .hp-strip [role="tab"]:hover .hp-strip-tag { opacity: 0; }
.hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) .hp-strip-full { opacity: 0; }
.hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) .hp-strip-tag { opacity: 1; }
.hp-strip [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--hp-accent); z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hp-strip [role="tab"] { transition: none; } }
@media (max-width: 800px) {
  .hp-sys-tabs.hp-strip { height: 220px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .hp-strip [role="tab"], .hp-strip [role="tab"]:hover, .hp-strip [role="tab"][aria-selected="true"], .hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) { flex: 0 0 62%; scroll-snap-align: start; }
  .hp-strip [role="tab"] .hp-strip-full { opacity: 1; } .hp-strip [role="tab"] .hp-strip-tag { opacity: 0; }
  .hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) .hp-strip-full { opacity: 1; }
  .hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) .hp-strip-tag { opacity: 0; }
}
.hp-sys-tabs.hp-strip [role="tab"] { background-image: var(--img); background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Device bodies (Ofir 21.10.2026): a real iPad / iPhone around the live demo; body and screen scale together */
.hp-sol-device { position: relative; width: 100%; overflow: visible; display: block; padding: 0; }
.hp-sol-device .hp-sol-scale { position: absolute; top: 0; left: 50%; right: auto; width: auto; transform-origin: top center; }
.hp-dev { position: relative; display: inline-block; vertical-align: top; }
.hp-dev iframe { display: block; border: 0; background: #fff; }
.hp-dev--ipad { padding: 26px; border-radius: 42px; background: linear-gradient(145deg, #2b2f36, #121418 60%); box-shadow: inset 0 0 0 2px #3b4048, inset 0 0 0 5px #0b0c0f, 0 40px 80px -30px rgba(10,15,30,.55), 0 12px 24px -12px rgba(10,15,30,.35); }
.hp-dev--ipad::before { content: ""; position: absolute; top: 10px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3d4a66, #0a0c10 70%); }
.hp-dev--ipad iframe { border-radius: 16px; }
.hp-dev--iphone { padding: 14px; border-radius: 64px; background: linear-gradient(145deg, #30343b, #15171b 55%); box-shadow: inset 0 0 0 2px #454a53, inset 0 0 0 5px #0b0c0f, 0 40px 70px -28px rgba(10,15,30,.55), 0 10px 20px -10px rgba(10,15,30,.35); }
.hp-dev--iphone::before { content: ""; position: absolute; z-index: 2; top: 26px; left: 50%; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #000; }
.hp-dev--iphone::after { content: ""; position: absolute; right: -3px; top: 190px; width: 4px; height: 90px; border-radius: 0 3px 3px 0; background: #2a2d33; }
.hp-dev--iphone iframe { border-radius: 50px; }
.hp-dev--none iframe { background: transparent; }
.hp-sol-device--tablet .hp-sol-scale iframe, .hp-sol-device--phone .hp-sol-scale iframe, .hp-sol-device--screen .hp-sol-scale iframe { box-shadow: none; }
.hp-zoom-btn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 600; color: #111827; padding: 9px 14px; border: 1px solid #d5dbe5; border-radius: 5px; background: #fff; cursor: pointer; }
.hp-zoom-btn .hp-icon { width: 16px; height: 16px; }
.hp-zoom-btn:hover { border-color: var(--hp-accent); color: var(--hp-accent); }
.hp-zoom { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.hp-zoom::backdrop { background: rgba(8,12,22,.82); backdrop-filter: blur(4px); }
.hp-zoom[open] { display: grid; place-items: center; }
.hp-zoom-stage { width: 92vw; }
.hp-zoom-close { position: fixed; top: 16px; inset-inline-end: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: #0b1220; font-size: 18px; cursor: pointer; z-index: 3; }

/* Systems cards: livelier (Ofir 21.10.2026: "outdated and boring") */
.hp-sys-panel .hp-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hp-sys-panel .hp-prod-card { position: relative; flex-direction: column; gap: 14px; padding: 20px; border-radius: 8px; border: 1px solid #e3e8f0; background: linear-gradient(180deg, #fff 0%, #f8faff 100%); transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.hp-sys-panel .hp-prod-card::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--c, var(--hp-accent)); opacity: .9; }
.hp-sys-panel .hp-prod-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(17,40,110,.35); border-color: transparent; }
.hp-sys-panel .hp-prod-icon { width: 46px; height: 46px; border-radius: 8px; background: var(--c, var(--hp-accent)); color: #fff; box-shadow: 0 8px 18px -8px var(--c, var(--hp-accent)); }
.hp-sys-panel .hp-prod-icon .hp-icon { width: 22px; height: 22px; stroke-width: 1.8; }
.hp-sys-panel .hp-prod-card h3 { font-size: 17px; }
.hp-sys-panel .hp-prod-card p { font-size: 14px; line-height: 1.55; }
.hp-sys-lead { font-size: 16px; font-weight: 600; color: #0b1220; }
@media (max-width: 900px) { .hp-sys-panel .hp-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hp-sys-panel .hp-prod-grid { grid-template-columns: 1fr; } }

/* Package form + FAQ, v2 (Ofir 21.10.2026: "ugly, should be better") — dark section, raised form card, FAQ as cards */
.hp-content > section.hp-lead--dark { position: relative; overflow: hidden; border: 0; padding: 40px; color: #e6ebf5; background:
    radial-gradient(600px 320px at 85% 0%, rgba(99,124,255,.35), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(56,189,248,.18), transparent 70%),
    linear-gradient(160deg, #0f1a33 0%, #0b1224 100%); box-shadow: 0 30px 60px -36px rgba(10,18,40,.6); }
.hp-lead--dark .hp-lead-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hp-lead--dark .hp-lead-card { background: #fff; border: 0; border-radius: 10px; padding: 30px; color: #0b1220; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.hp-lead--dark .hp-lead-card h2 { font-size: 26px; }
.hp-lead-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -6px 0 22px; padding: 0; }
.hp-lead-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #1f2937; }
.hp-lead-points .hp-icon { width: 16px; height: 16px; color: #16a34a; stroke-width: 2.2; }
.hp-lead--dark .hp-field input, .hp-lead--dark .hp-field select, .hp-lead--dark .hp-field textarea { background: #f7f9fc; border-color: #dfe5ee; }
.hp-lead--dark .hp-field input:focus, .hp-lead--dark .hp-field select:focus, .hp-lead--dark .hp-field textarea:focus { background: #fff; }
.hp-lead--dark .hp-lead-actions .hp-button { min-height: 50px; padding-inline: 30px; background: linear-gradient(90deg, #1d4ed8, #4f46e5); border: 0; box-shadow: 0 14px 28px -14px rgba(79,70,229,.8); }
.hp-lead--dark .hp-lead-faq { padding-top: 6px; }
.hp-lead--dark .hp-lead-faq h3 { color: #fff; font-size: 22px; margin-bottom: 16px; }
.hp-lead--dark .hp-faq-list { display: grid; gap: 10px; }
.hp-lead--dark .hp-faq-list details, .hp-lead--dark .hp-faq-list details:first-child { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.04); padding-inline: 18px; transition: background .2s, border-color .2s; }
.hp-lead--dark .hp-faq-list details:hover { background: rgba(255,255,255,.07); }
.hp-lead--dark .hp-faq-list details[open] { background: rgba(255,255,255,.08); border-color: rgba(129,140,248,.5); }
.hp-lead--dark .hp-faq-list summary { padding-block: 17px; font-size: 15px; font-weight: 600; color: #fff; }
.hp-lead--dark .hp-faq-list summary span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(129,140,248,.18); color: #c7d2fe; font-size: 18px; transition: transform .2s; }
.hp-lead--dark .hp-faq-list details > p { color: #b8c2d6; font-size: 14px; line-height: 1.75; padding-bottom: 16px; }
.hp-lead--dark .hp-form-success { background: #fff; color: #0b1220; }
@media (max-width: 900px) { .hp-content > section.hp-lead--dark { padding: 24px 18px; } .hp-lead--dark .hp-lead-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Mega-menu items with icon tiles */
.hp-mega-panel a { display: flex; align-items: flex-start; gap: 12px; }
.hp-mega-tx { display: grid; gap: 2px; }
.hp-mega-ic { flex: none; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(145deg, #eef2ff, #e0e7ff); color: #3046c5; transition: background .15s, color .15s; }
.hp-mega-ic .hp-icon { width: 19px; height: 19px; stroke-width: 1.8; }
.hp-mega-panel a:hover .hp-mega-ic { background: linear-gradient(145deg, #4f63ff, #3046c5); color: #fff; }
.hp-mega-panel span.hp-mega-tx > span { white-space: nowrap; }
.hp-mega-panel--wide span.hp-mega-tx > span { white-space: normal; }
.hp-mega-panel .hp-mega-ic { font-size: 0; }
.hp-mega-panel .hp-mega-ic { color: #3046c5; }

/* Systems panel v2 (Ofir 21.10.2026: "the bottom, not really"): one panel, intro on the right, a clean two-column list on the left, no boxes */
.hp-sys-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: start; padding: 28px 30px; border-radius: 8px; background: linear-gradient(135deg, #f5f7ff 0%, #fbfcff 60%); border: 1px solid #e6eaf5; animation: hp-sys-in .3s ease both; }
.hp-sys-intro { display: grid; gap: 10px; align-content: start; justify-items: start; position: sticky; top: 90px; }
.hp-sys-count { font-size: 12.5px; font-weight: 700; color: var(--hp-accent); letter-spacing: .01em; }
.hp-sys-intro h3 { font-size: 30px; font-weight: 800; color: #0b1220; line-height: 1.1; }
.hp-sys-intro p { font-size: 15px; line-height: 1.7; color: #374151; }
.hp-sys-intro .hp-button { margin-top: 6px; }
.hp-sys-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.hp-sys-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e3e8f3; animation: hp-sys-in .35s ease both; }
.hp-sys-list li:nth-child(2) { animation-delay: .04s; } .hp-sys-list li:nth-child(3) { animation-delay: .08s; } .hp-sys-list li:nth-child(4) { animation-delay: .12s; }
.hp-sys-list li:nth-child(5) { animation-delay: .16s; } .hp-sys-list li:nth-child(6) { animation-delay: .2s; } .hp-sys-list li:nth-child(7) { animation-delay: .24s; } .hp-sys-list li:nth-child(8) { animation-delay: .28s; }
.hp-sys-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ic, #3046c5); background: var(--icbg, #e8ecff); }
.hp-sys-ic .hp-icon { width: 20px; height: 20px; stroke-width: 1.8; }
.hp-sys-list li:nth-child(8n+1) { --ic: #3046c5; --icbg: #e6eaff; }
.hp-sys-list li:nth-child(8n+2) { --ic: #0e8a6a; --icbg: #dcf5ec; }
.hp-sys-list li:nth-child(8n+3) { --ic: #c2410c; --icbg: #ffeadb; }
.hp-sys-list li:nth-child(8n+4) { --ic: #7c3aed; --icbg: #efe5ff; }
.hp-sys-list li:nth-child(8n+5) { --ic: #0369a1; --icbg: #dcf0fb; }
.hp-sys-list li:nth-child(8n+6) { --ic: #be185d; --icbg: #fde3ef; }
.hp-sys-list li:nth-child(8n+7) { --ic: #a16207; --icbg: #fdf1cf; }
.hp-sys-list li:nth-child(8n+8) { --ic: #334155; --icbg: #e7ebf1; }
.hp-sys-tx { display: grid; gap: 3px; }
.hp-sys-tx strong { font-size: 16px; font-weight: 700; color: #0b1220; display: flex; align-items: center; gap: 6px; }
.hp-sys-tx > span { font-size: 14px; line-height: 1.55; color: #4b5563; }
@media (max-width: 900px) { .hp-sys-panel:not([hidden]) { grid-template-columns: 1fr; gap: 18px; padding: 20px; } .hp-sys-intro { position: static; } }
@media (max-width: 560px) { .hp-sys-list { grid-template-columns: 1fr; } }

/* Form section: lighter gradient instead of near-black (Ofir 21.10.2026) */
.hp-content > section.hp-lead--dark { background:
    radial-gradient(560px 300px at 90% 0%, rgba(255,255,255,.18), transparent 70%),
    radial-gradient(520px 320px at 0% 100%, rgba(125,211,252,.28), transparent 70%),
    linear-gradient(135deg, #2c4bd6 0%, #4a5ae6 50%, #6e62ee 100%); box-shadow: 0 30px 60px -36px rgba(44,75,214,.55); }
.hp-lead--dark .hp-faq-list details, .hp-lead--dark .hp-faq-list details:first-child { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.hp-lead--dark .hp-faq-list details:hover { background: rgba(255,255,255,.16); }
.hp-lead--dark .hp-faq-list details[open] { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); }
.hp-lead--dark .hp-faq-list summary span { background: rgba(255,255,255,.22); color: #fff; }
.hp-lead--dark .hp-faq-list details > p { color: #e8ecff; }
.hp-lead--dark .hp-lead-sub { margin-bottom: 22px; }

/* iPhone screen: status bar + home indicator (Ofir 21.10.2026: island sat on the app header) */
.hp-screen { position: relative; width: 390px; border-radius: 50px; overflow: hidden; background: var(--bar, #fff); }
.hp-dev--iphone .hp-screen iframe { border-radius: 0; background: var(--bar, #fff); }
.hp-statusbar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; color: var(--ink, #0b1220); background: var(--bar, #fff); direction: ltr; font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif; }
.hp-sb-time { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.hp-sb-icons { display: inline-flex; align-items: center; gap: 6px; }
.hp-sb-icons svg { height: 11px; width: auto; fill: currentColor; }
.hp-home-ind { position: absolute; left: 50%; bottom: 7px; width: 128px; height: 5px; margin-left: -64px; border-radius: 3px; background: rgba(15,23,42,.55); pointer-events: none; z-index: 3; }
.hp-dev--iphone::before { top: 25px; width: 112px; height: 32px; margin-left: -56px; }

/* Mega-menu calmer (Ofir 21.10.2026: too much colour): neutral icon tiles, accent only on hover; softer "new" badge */
.hp-mega-panel .hp-mega-ic { background: #f3f4f6; color: #4b5563; }
.hp-mega-panel a:hover .hp-mega-ic { background: #e8ecff; color: #3046c5; }
.hp-mega-panel a:hover { background: #f8f9fb; }
.hp-new { background: #ecfdf3; color: #067647; border: 1px solid #c6f1d9; font-weight: 700; }

/* Form section: calmer colour with a dot pattern (Ofir 21.10.2026: "the neon colour, no") */
.hp-content > section.hp-lead--dark { background:
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px) 0 0 / 18px 18px,
    radial-gradient(640px 340px at 92% 0%, rgba(94,234,212,.16), transparent 70%),
    linear-gradient(135deg, #12384a 0%, #17505f 55%, #1c6470 100%); box-shadow: 0 30px 60px -36px rgba(18,56,74,.6); }
.hp-lead--dark .hp-faq-list details[open] { border-color: rgba(255,255,255,.4); }
.hp-lead--dark .hp-faq-list details > p { color: #dbeceb; }

/* Demo notes centred vertically beside the device */
.hp-sol--top .hp-sol-panel:not([hidden]) { align-items: center; }

/* Footer contact: icon rows instead of bordered boxes */
.hp-foot-contact { display: grid; gap: 12px; }
.hp-foot-contact a { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; color: #fff; font-size: 15px; font-weight: 700; }
.hp-foot-contact a > span:last-child { display: grid; line-height: 1.25; }
.hp-foot-contact small { font-size: 12px; font-weight: 500; color: #8f9bb0; }
.hp-fc-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.hp-fc-ic svg { width: 18px; height: 18px; }
.hp-fc-ic--wa { color: #25d366; }
.hp-foot-contact a:hover .hp-fc-ic { background: rgba(255,255,255,.16); }

/* ===== Mobile (Ofir 21.10.2026: "super mobile friendly without losing what makes it unique") ===== */
@media (max-width: 700px) {
  /* Demos: tabs become a swipeable strip of short titles */
  .hp-sol--top .hp-sol-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px; margin-inline: -24px; padding: 2px 24px 6px; scrollbar-width: none; }
  .hp-sol--top .hp-sol-tabs::-webkit-scrollbar { display: none; }
  .hp-sol--top .hp-sol-tabs [role="tab"] { flex: 0 0 auto; min-width: 0; padding: 10px 14px; scroll-snap-align: start; }
  .hp-sol--top .hp-sol-tabs [role="tab"] span { display: none; }
  .hp-sol--top .hp-sol-tabs [role="tab"] strong { font-size: 14px; white-space: nowrap; }
  .hp-sol--top .hp-sol-panel:not([hidden]) { gap: 14px; }
  .hp-sol-notes .hp-check-list li { font-size: 14px; }
  .hp-sol-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .hp-sol-actions > * { flex: 1 1 140px; justify-content: center; }
  /* Photo strip: wider cards, the short name only on the narrow ones */
  .hp-strip [role="tab"], .hp-strip [role="tab"]:hover, .hp-strip [role="tab"][aria-selected="true"], .hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) { flex: 0 0 72%; }
  .hp-strip [role="tab"] .hp-strip-full { opacity: 0; }
  .hp-strip [role="tab"] .hp-strip-tag { opacity: 1; font-size: 18px; }
  .hp-strip [role="tab"][aria-selected="true"] .hp-strip-full, .hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) .hp-strip-full { opacity: 1; }
  .hp-strip [role="tab"][aria-selected="true"] .hp-strip-tag, .hp-strip:hover [role="tab"][aria-selected="true"]:not(:hover) .hp-strip-tag { opacity: 0; }
  .hp-sys-tabs.hp-strip { margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; }
  .hp-sys-tabs.hp-strip::-webkit-scrollbar { display: none; }
  .hp-sys-intro h3 { font-size: 26px; }
  .hp-sys-list li { padding: 13px 0; }
  /* Form section */
  .hp-lead--dark .hp-lead-card { padding: 22px 18px; }
  .hp-lead--dark .hp-lead-card h2 { font-size: 22px; }
  .hp-lead-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hp-lead-actions .hp-button { width: 100%; }
  /* Footer: link lists side by side */
  .hp-footer--v8 { padding-block: 36px 20px; }
  .hp-foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .hp-foot-brand { grid-column: 1 / -1; }
  .hp-footer--v8 nav[aria-label] { font-size: 13.5px; gap: 8px; }
  .hp-foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hp-foot-bottom nav { flex-wrap: wrap; gap: 8px 16px; }
  /* Hero */
  .hp-hero--wide .hp-intro { font-size: 16px; }
}

/* Mega-menu: an invisible bridge over the gap between the button and the panel */
.hp-mega-panel::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }

/* In-page links land below the sticky header (Ofir 21.10.2026: "צרו קשר" scrolled too far) */
html { scroll-padding-top: 84px; }
.hp-content > section, #contact, #products, [id^="biz-"] { scroll-margin-top: 84px; }

/* POS demo locks: transparent covers over the iframe (inside the iPad's 26px bezel) */
.hp-lock { position: absolute; left: 26px; top: 26px; width: 1180px; height: 820px; pointer-events: none; direction: ltr; z-index: 2; }
.hp-lock > span { position: absolute; pointer-events: auto; cursor: not-allowed; background: transparent; }
.hp-lock-tip { position: absolute; left: 50%; bottom: 40px; transform: translate(-50%, 10px); max-width: 760px; padding: 16px 26px; border-radius: 14px; background: rgba(11,18,32,.92); color: #fff; font: 600 22px/1.4 'Assistant', system-ui, sans-serif; font-style: normal; text-align: center; direction: rtl; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.hp-lock-tip.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Business-type and system pages (Ofir 21.10.2026) ===== */
.hp-sys-list li > a { display: flex; align-items: flex-start; gap: 14px; color: inherit; flex: 1; }
.hp-sys-list li > a:hover strong { color: var(--hp-accent); }
.hp-sys-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hp-content > section.sp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 44px 40px; background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 55%); }
.sp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--hp-accent); background: #eef1ff; padding: 6px 12px; border-radius: 6px; }
.sp-eyebrow .hp-icon { width: 18px; height: 18px; }
.sp-hero h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 800; color: #0b1220; margin: 16px 0 12px; letter-spacing: -.02em; }
.sp-lead { font-size: 17px; line-height: 1.7; color: #374151; max-width: 520px; }
.sp-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.sp-actions .hp-button { min-height: 46px; padding-inline: 24px; font-size: 15px; }
.sp-hero-media { position: relative; }
.sp-hero-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 30px 60px -34px rgba(15,23,42,.45); }
.sp-float { list-style: none; margin: 0; padding: 0; position: absolute; inset-inline-start: -18px; bottom: 22px; display: grid; gap: 8px; }
.sp-float li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: #fff; border-radius: 8px; font-size: 14px; font-weight: 700; color: #0b1220; box-shadow: 0 12px 26px -14px rgba(15,23,42,.4); animation: sp-up .5s ease both; }
.sp-float li:nth-child(2) { animation-delay: .12s; } .sp-float li:nth-child(3) { animation-delay: .24s; }
.sp-float .hp-sys-ic { width: 32px; height: 32px; }
.sp-float li:nth-child(1) .hp-sys-ic { --ic: #3046c5; --icbg: #e6eaff; } .sp-float li:nth-child(2) .hp-sys-ic { --ic: #0e8a6a; --icbg: #dcf5ec; } .sp-float li:nth-child(3) .hp-sys-ic { --ic: #c2410c; --icbg: #ffeadb; }
@keyframes sp-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hp-content > section.sp-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; background: transparent; border: 0; box-shadow: none; padding: 0; }
.sp-benefit { background: #fff; border: 1px solid var(--hp-line); border-radius: 8px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.sp-num { font-size: 13px; font-weight: 800; color: var(--hp-accent); letter-spacing: .04em; }
.sp-benefit h2 { font-size: 19px; font-weight: 800; color: #0b1220; }
.sp-benefit p { font-size: 15px; line-height: 1.65; color: #4b5563; }
.sp-sys-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; }
.sp-demo-grid .hp-sol-notes h3 { font-size: 20px; font-weight: 800; color: #0b1220; margin-bottom: 12px; }
.sp-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.sp-steps-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 8px; background: linear-gradient(180deg, #f7f9ff, #fff); border: 1px solid #e6eaf5; }
.sp-step-n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--hp-accent); color: #fff; font-weight: 800; font-size: 16px; }
.sp-steps-list h3 { font-size: 17px; font-weight: 800; color: #0b1220; margin-bottom: 4px; }
.sp-steps-list p { font-size: 14.5px; line-height: 1.6; color: #4b5563; }
.sp-others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sp-other { position: relative; height: 150px; border-radius: 8px; overflow: hidden; background: #1b2333 var(--img) center / cover no-repeat; display: flex; align-items: flex-end; padding: 12px; color: #fff; font-weight: 800; font-size: 15px; transition: transform .2s; }
.sp-other::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,22,.05), rgba(8,12,22,.75)); }
.sp-other span { position: relative; }
.sp-other:hover { transform: translateY(-3px); }
/* system hero: features panel */
.sp-hero-panel { position: relative; padding: 30px; border-radius: 10px; color: #fff; overflow: hidden; background: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(135deg, #12384a 0%, #17505f 55%, #1c6470 100%); box-shadow: 0 30px 60px -34px rgba(18,56,74,.6); }
.sp-hero-ic { width: 60px; height: 60px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); margin-bottom: 16px; }
.sp-hero-ic .hp-icon { width: 30px; height: 30px; stroke-width: 1.7; }
.sp-hero-panel h2 { font-size: 15px; font-weight: 700; color: #cfe7ea; margin-bottom: 12px; }
.sp-hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-hero-panel li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); animation: sp-up .45s ease both; }
.sp-hero-panel li:nth-child(2) { animation-delay: .08s; } .sp-hero-panel li:nth-child(3) { animation-delay: .16s; } .sp-hero-panel li:nth-child(4) { animation-delay: .24s; }
.sp-hero-panel li .hp-icon { width: 18px; height: 18px; color: #5eead4; stroke-width: 2.2; flex: none; }
@media (prefers-reduced-motion: reduce) { .sp-float li, .sp-hero-panel li { animation: none; } }
@media (max-width: 900px) {
  .hp-content > section.sp-hero { grid-template-columns: 1fr; padding: 28px 22px; gap: 26px; }
  .sp-float { inset-inline-start: 10px; bottom: 10px; }
  .hp-content > section.sp-benefits, .sp-steps-list, .sp-sys-list { grid-template-columns: 1fr; }
  .sp-demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sp-others-grid { grid-template-columns: 1fr 1fr; } .sp-other { height: 120px; } .sp-float li { font-size: 13px; } }
.sp-others-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.sp-sys-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .sp-sys-list--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sp-others-grid { grid-template-columns: 1fr 1fr; } }


/* ===== About page on the white frame (23.10.2026) ===== */
.sp-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; }
.sp-story-text { display: grid; gap: 14px; font-size: 16px; line-height: 1.8; color: #374151; max-width: 680px; }
.sp-story-year { display: grid; justify-items: center; gap: 4px; padding: 28px 20px; border-radius: 8px; background: linear-gradient(180deg, #f7f9ff, #fff); border: 1px solid #e6eaf5; text-align: center; }
.sp-story-year strong { font-size: 56px; line-height: 1; font-weight: 800; color: var(--hp-accent); letter-spacing: -.03em; }
.sp-story-year span { font-size: 14px; color: #4b5563; }
.sp-steps-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sp-steps-list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sp-story-grid { grid-template-columns: 1fr; gap: 18px; } .sp-story-year { padding: 20px; } .sp-story-year strong { font-size: 44px; } }
@media (max-width: 560px) { .sp-steps-list--4 { grid-template-columns: 1fr; } }

/* Solution tabs fit the width (Ofir 24.10.2026: "on mobile it doesn't fit"): never a sideways strip that cuts the
   last tab. Wide: one row, equal parts. Narrower: rows of three equal parts; a short last row splits the width
   equally too (2 tabs = halves, 1 tab = whole row). Titles wrap instead of being cut. */
.hp-sol--top .hp-sol-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.hp-sol--top .hp-sol-tabs [role="tab"] { min-width: 0; }
@media (max-width: 900px) {
  .hp-sol--top .hp-sol-tabs { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .hp-sol--top .hp-sol-tabs [role="tab"] { grid-column: span 2; }
  .hp-sol--top .hp-sol-tabs [role="tab"]:nth-child(3n+1):nth-last-child(2),
  .hp-sol--top .hp-sol-tabs [role="tab"]:nth-child(3n+1):nth-last-child(2) + [role="tab"] { grid-column: span 3; }
  .hp-sol--top .hp-sol-tabs [role="tab"]:nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .hp-sol--top .hp-sol-tabs { gap: 6px; }
  .hp-sol--top .hp-sol-tabs [role="tab"] { padding: 9px 6px; align-content: center; text-align: center; }
  .hp-sol--top .hp-sol-tabs [role="tab"] strong { white-space: normal; font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
}

/* Device screens clip their demo to the rounded glass (Ofir 24.10.2026: the menu's "שתייה" showed below the iPhone's
   screen). overflow + border-radius alone does not clip a scrolling iframe on iOS Safari; clip-path does. */
.hp-screen { clip-path: inset(0 round 50px); isolation: isolate; }
.hp-dev--ipad iframe { clip-path: inset(0 round 16px); }
