:root {
    --mb-primary: #0EA5E9;
    --mb-primary-dark: #0284C7;
    --mb-secondary: #0F172A;
    --mb-accent: #10B981;
    --mb-accent-dark: #059669;
    --mb-bg: #F8FAFC;
    --mb-white: #FFFFFF;
    --mb-text: #1E293B;
    --mb-muted: #64748B;
    --mb-border: #E2E8F0;
    --mb-light: #F0F9FF;
    --mb-radius: 12px;
    --mb-shadow: 0 1px 3px rgba(0,0,0,.08);
    --mb-shadow-md: 0 4px 16px rgba(0,0,0,.08);
    /* Aliases for inline styles in .cshtml templates */
    --med-primary: #0EA5E9;
    --mb-shadow-lg: 0 8px 32px rgba(0,0,0,.10);
}

body { font-family: 'Inter', sans-serif; color: var(--mb-text); background: var(--mb-bg); }
.he-body, .he-body * { font-family: 'Heebo', sans-serif; }
/* Heebo ships up to 700 - clamp 800-weighted elements in HE context */
.he-body .mb-brand,
.he-body .mb-hero h1,
.he-body .mb-step-num,
.he-body .mb-pricing-price,
.he-body .mb-cta h2 { font-weight: 700; }

/* Buttons */
.btn-mb { background: var(--mb-accent); color: #fff; border: none; padding: 12px 28px; border-radius: var(--mb-radius); font-weight: 700; font-size: .95rem; text-decoration: none; display: inline-block; transition: background .2s; }
.btn-mb:hover { background: var(--mb-accent-dark); color: #fff; }
.btn-mb-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); padding: 10px 28px; border-radius: var(--mb-radius); font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-mb-outline:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }
.btn-mb-outline-dark { background: transparent; color: var(--mb-primary); border: 2px solid var(--mb-primary); padding: 10px 28px; border-radius: var(--mb-radius); font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-mb-outline-dark:hover { background: var(--mb-primary); color: #fff; }

/* Navbar */
.mb-brand { font-size: 1.3rem; font-weight: 800; color: var(--mb-primary) !important; text-decoration: none; }
.mb-nav-cta { background: var(--mb-accent); color: #fff !important; padding: 8px 20px; border-radius: var(--mb-radius); font-weight: 700; font-size: .85rem; text-decoration: none; transition: background .2s; }
.mb-nav-cta:hover { background: var(--mb-accent-dark); }

/* Hero (dark) */
.mb-hero { background: var(--mb-secondary); color: #fff; padding: 80px 0 60px; position: relative; overflow: hidden; }
.mb-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.mb-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; position: relative; z-index: 1; }
.mb-hero .lead { font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }

/* Widget preview */
.mb-widget-preview { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--mb-radius); padding: 24px; position: relative; z-index: 1; }
.mb-widget-q { background: rgba(14,165,233,.15); border: 1px solid rgba(14,165,233,.25); border-radius: 8px; padding: 10px 16px; font-size: .88rem; color: rgba(255,255,255,.85); margin-bottom: 8px; cursor: pointer; transition: background .2s; }
.mb-widget-q:hover { background: rgba(14,165,233,.25); }
.mb-widget-note { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 14px; text-align: center; }

/* Trust badges row */
.mb-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; position: relative; z-index: 1; }
.mb-trust-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); }
.mb-trust-item .check { color: var(--mb-accent); font-weight: 700; }

/* Section */
.mb-section { padding: 80px 0; }
.mb-section-alt { background: var(--mb-white); }
.mb-section-light { background: var(--mb-light); }

/* Pain cards */
.mb-pain { background: var(--mb-white); border: 1px solid var(--mb-border); border-left: 3px solid var(--mb-primary); border-radius: var(--mb-radius); padding: 28px 24px; height: 100%; transition: box-shadow .25s; }
.mb-pain:hover { box-shadow: var(--mb-shadow-md); }
[dir="rtl"] .mb-pain { border-left: 1px solid var(--mb-border); border-right: 3px solid var(--mb-primary); }
.mb-pain-icon { font-size: 2rem; margin-bottom: 12px; }
.mb-pain h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.mb-pain p { font-size: .88rem; color: var(--mb-muted); line-height: 1.65; margin: 0; }

/* Steps */
.mb-step { text-align: center; }
.mb-step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--mb-light); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 16px; }
.mb-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.mb-step p { font-size: .88rem; color: var(--mb-muted); line-height: 1.6; }
.mb-step-num { display: block; font-size: .72rem; font-weight: 800; color: var(--mb-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

/* Specialty cards */
.mb-spec { background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: var(--mb-radius); padding: 24px 20px; height: 100%; transition: box-shadow .25s; }
.mb-spec:hover { box-shadow: var(--mb-shadow-md); }
.mb-spec-icon { font-size: 2rem; margin-bottom: 10px; }
.mb-spec h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.mb-spec p { font-size: .85rem; color: var(--mb-muted); line-height: 1.6; margin: 0; }

/* Demo placeholder */
.mb-demo { background: var(--mb-white); border: 2px dashed var(--mb-border); border-radius: 16px; padding: 48px; text-align: center; }

/* Compliance badges */
.mb-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: 8px; padding: 12px 18px; font-size: .85rem; font-weight: 600; color: var(--mb-text); }
.mb-badge .icon { font-size: 1.1rem; }

/* Pricing cards */
.mb-pricing { background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: var(--mb-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s; }
.mb-pricing:hover { box-shadow: var(--mb-shadow-lg); }
.mb-pricing-pop { border: 2px solid var(--mb-accent); }
.mb-pricing-head { padding: 28px 24px 20px; }
.mb-pricing-name { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mb-muted); margin-bottom: 4px; }
.mb-pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--mb-text); }
.mb-pricing-price span { font-size: .95rem; font-weight: 500; color: var(--mb-muted); }
.mb-pricing-body { padding: 0 24px 24px; flex: 1; display: flex; flex-direction: column; }
.mb-pricing-body ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.mb-pricing-body li { padding: 7px 0; font-size: .88rem; color: var(--mb-text); border-bottom: 1px solid var(--mb-border); }
.mb-pricing-body li:last-child { border: none; }
.mb-pricing-body li .chk { color: var(--mb-accent); font-weight: 700; margin-right: 6px; }
[dir="rtl"] .mb-pricing-body li .chk { margin-right: 0; margin-left: 6px; }
.mb-pricing-body li .no { color: #CBD5E1; }
.mb-pop-badge { background: var(--mb-accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 16px; text-align: center; }

/* Feature cards (features page) */
.mb-feat { background: var(--mb-white); border: 1px solid var(--mb-border); border-left: 4px solid var(--mb-primary); border-radius: var(--mb-radius); padding: 28px 24px; margin-bottom: 20px; transition: box-shadow .25s; }
.mb-feat:hover { box-shadow: var(--mb-shadow-md); }
[dir="rtl"] .mb-feat { border-left: 1px solid var(--mb-border); border-right: 4px solid var(--mb-primary); }
.mb-feat-icon { font-size: 2rem; margin-bottom: 12px; }
.mb-feat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.mb-feat p { font-size: .9rem; color: var(--mb-muted); line-height: 1.65; margin-bottom: 0; }

/* CTA dark */
.mb-cta { background: var(--mb-secondary); padding: 64px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.mb-cta::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.mb-cta h2 { font-weight: 800; margin-bottom: 24px; position: relative; z-index: 1; }

/* Contact */
.mb-contact-card { background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: 16px; padding: 36px; box-shadow: var(--mb-shadow-md); }
.mb-contact-card label { font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.mb-contact-card .form-control, .mb-contact-card .form-select { border-radius: 8px; border: 1px solid var(--mb-border); padding: 10px 14px; }

/* Disclaimer */
.mb-disclaimer { font-size: .76rem; color: var(--mb-muted); border-top: 1px solid var(--mb-border); padding-top: 16px; margin-top: 24px; text-align: center; }

/* Comparison table */
.mb-compare { width: 100%; border-collapse: collapse; font-size: .88rem; }
.mb-compare th { background: var(--mb-secondary); color: #fff; padding: 14px 12px; text-align: center; font-weight: 700; font-size: .82rem; }
.mb-compare th:first-child { text-align: left; }
[dir="rtl"] .mb-compare th:first-child { text-align: right; }
.mb-compare td { padding: 12px; border-bottom: 1px solid var(--mb-border); text-align: center; }
.mb-compare td:first-child { text-align: left; font-weight: 500; }
[dir="rtl"] .mb-compare td:first-child { text-align: right; }
.mb-compare .pop-col { background: rgba(16,185,129,.04); }

/* Hero chat preview */
.hero-chat-preview {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.hcp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.hcp-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}
.hcp-online {
    font-size: 0.75rem;
    color: #4ade80;
}
.hcp-questions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.hcp-pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 10px 16px;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    font-family: inherit;
}
.hcp-pill:hover {
    background: rgba(255,255,255,0.15);
}
[dir="rtl"] .hcp-pill { text-align: right; }
.hcp-footer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

/* Hebrew text helper */
.he-text { text-align: right; }

/* Features grid (symmetric 2-column layout) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Interactive Demo Timeline (animated chat preview) ───────────────────── */
.demo-timeline {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}
.dt-header {
    background: var(--mb-primary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dt-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.dt-info { color: #fff; }
.dt-name { font-weight: 600; font-size: 0.9rem; }
.dt-status { font-size: 0.75rem; opacity: 0.85; color: #a7f3d0; }
.dt-messages {
    padding: 16px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}
.dt-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.dt-msg.visible {
    opacity: 1;
    transform: translateY(0);
}
.dt-msg-user {
    align-self: flex-end;
    background: var(--mb-primary);
    color: #fff;
    border-radius: 12px 12px 2px 12px;
}
.dt-msg-bot {
    align-self: flex-start;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 2px 12px 12px 12px;
}
.dt-typing {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 2px 12px 12px 12px;
    padding: 10px 14px;
    display: flex;
    gap: 4px;
    align-items: center;
}
.dt-dot {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: dtBounce 1.2s infinite;
}
.dt-dot:nth-child(2) { animation-delay: 0.2s; }
.dt-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dtBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}
.dt-input-row {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dt-input-mock {
    flex: 1;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
}
.dt-send {
    width: 32px;
    height: 32px;
    background: var(--mb-primary);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
}

/* WhatsApp convention: user RIGHT, bot LEFT (same in RTL as LTR) */
.he-body .dt-msg-user {
    align-self: flex-end;
    border-radius: 12px 12px 2px 12px;
}
.he-body .dt-msg-bot {
    align-self: flex-start;
    border-radius: 2px 12px 12px 12px;
}
.he-body .dt-typing {
    align-self: flex-start;
    border-radius: 2px 12px 12px 12px;
}

/* Demo timeline section wrapper (between Hero and the rest of the page) */
.mb-demo-timeline-section {
    padding: 64px 0;
    background: var(--mb-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .mb-hero { padding: 60px 0 40px; }
    .mb-trust { gap: 12px; }
    .mb-section { padding: 56px 0; }
}

/* ── Design fixes 2026-04-12 ── */
body{line-height:1.5;}
.mb-section{padding:80px 0;}
.mb-section h2,.mb-section h3{margin-bottom:24px;}
.mb-section p{max-width:65ch;margin-left:auto;margin-right:auto;}
.container{padding-left:16px;padding-right:16px;}
.mb-pain,.mb-step,.mb-spec,.mb-feat,.mb-card,[class*="mb-"][class*="-card"]{
  padding:20px;display:flex;flex-direction:column;height:100%;
}
.mb-pain > p,.mb-step > p,.mb-spec > p,.mb-feat > p{flex:1 1 auto;}
.mb-pain > a,.mb-step > a,.mb-feat > a,.mb-card > a[class*="btn"],.mb-card > button{margin-top:auto;}
[class*="-grid"],.row{align-items:stretch;}
@media (max-width:768px){
  body{font-size:14px;overflow-x:hidden;}
  .container{padding-left:16px;padding-right:16px;}
  .mb-hero{padding-top:48px !important;}
  .mb-section{padding:40px 0;}
  .btn,button,a.btn{min-height:44px;}
  [class*="-grid"]{grid-template-columns:1fr !important;}
  h1,.mb-hero h1{font-size:clamp(1.7rem,6vw,2.4rem);}
  h2{font-size:clamp(1.3rem,5vw,1.7rem);}
}

/* ── Hebrew form placeholder alignment ─────────────────────── */
.he-body input[type="email"]::placeholder,
.he-body input[type="url"]::placeholder,
.he-body input[type="tel"]::placeholder,
.he-body .form-control::placeholder {
    direction: rtl;
    text-align: right;
}

/* ── Section gap fix ────────────────────────────────────────── */
.he-body section {
    margin-bottom: 0;
    margin-top: 0;
}

/* ── Hebrew letter-spacing reset ────────────────────────────── */
.he-body .mb-hero h1,
.he-body .mb-trust-item,
.he-body .mb-feat h3 {
    letter-spacing: 0;
}

/* ── Resources Dropdown ─────────────────────────────────── */
.nav-resources-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.resources-dropdown {
    min-width: 230px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    padding: 6px 0;
    font-size: .875rem;
}
.resources-dropdown .dropdown-item {
    padding: 8px 18px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background .15s;
    white-space: nowrap;
}
.resources-dropdown .dropdown-item:hover { background: #f3f4f6; color: #111827; }
.resources-dropdown .dropdown-item .ext-icon { font-size: .72rem; opacity: .45; flex-shrink: 0; }
.resources-dropdown .dropdown-divider { margin: 4px 0; border-color: #e5e7eb; }


/* ── Mascot ───────────────────────────────────────────────── */
.hero-mascot-wrap {
    text-align: center;
    margin-bottom: -16px;
    position: relative;
    z-index: 3;
}
.hero-mascot {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(26,175,170,.35));
    animation: mascot-float 3.5s ease-in-out infinite;
}
@keyframes mascot-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
.chat-head-avatar img,
.cmsg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.cmsg-avatar.av-bot { font-size: 0; }


/* ── RTL overrides (Hebrew pages) ──────────────────────────── */
[dir="rtl"] .mb-trust        { flex-direction: row-reverse; justify-content: flex-start; }
[dir="rtl"] .mb-trust-item   { flex-direction: row-reverse; }
[dir="rtl"] .mb-step-num     { text-align: right; }
[dir="rtl"] .mb-step         { direction: rtl; }
[dir="rtl"] .mb-pain-icon    { text-align: right; }
[dir="rtl"] .hcp-header      { flex-direction: row-reverse; }
[dir="rtl"] .dt-header       { flex-direction: row-reverse; }
[dir="rtl"] .dt-info         { text-align: right; }

[dir="rtl"] .mb-section .text-center p,
[dir="rtl"] .mb-section .text-center .lead,
[dir="rtl"] .mb-section-alt .text-center p,
[dir="rtl"] .mb-section-alt .text-center .lead,
[dir="rtl"] .mb-section-light .text-center p,
[dir="rtl"] .mb-section-light .text-center .lead {
    text-align: center;
}

/* ── Section center text: full width fix ─────────────────── */
.mb-section .text-center p,
.mb-section .text-center .lead,
.mb-section-alt .text-center p,
.mb-section-alt .text-center .lead,
.mb-section-light .text-center p,
.mb-section-light .text-center .lead {
    max-width: 100%;
    width: 100%;
    text-align: center;
}

/* ═══════════════════════════════════════════
   Landing Pages — specialty + feature
   ═══════════════════════════════════════════ */

.lp-breadcrumb {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
}
.lp-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }
.lp-breadcrumb a { color: var(--teal-d); text-decoration: none; }
.lp-breadcrumb a:hover { text-decoration: underline; }

.lp-hero {
    background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 60%, rgba(26,175,170,.12) 100%);
    color: #fff;
    padding: 72px 0 56px;
}
.lp-eyebrow {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: var(--teal); margin-bottom: 14px;
}
.lp-h1 {
    font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800;
    line-height: 1.15; color: #fff; margin-bottom: 18px; letter-spacing: -.02em;
}
.lp-subtitle {
    font-size: 1rem; color: rgba(255,255,255,.7);
    line-height: 1.7; max-width: 520px;
}

.btn-lp-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--teal); color: #fff !important;
    font-weight: 700; font-size: .92rem; padding: 12px 26px;
    border-radius: var(--r-md); text-decoration: none !important;
    border: none; transition: background .2s, transform .18s;
}
.btn-lp-primary:hover { background: var(--teal-d); transform: translateY(-2px); }
.btn-lp-primary.btn-lp-lg { font-size: 1rem; padding: 15px 34px; }
.btn-lp-outline {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; color: rgba(255,255,255,.82) !important;
    font-weight: 600; font-size: .92rem; padding: 11px 22px;
    border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,.28);
    text-decoration: none !important; transition: all .18s;
}
.btn-lp-outline:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.55);
    color: #fff !important;
}

.lp-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-stat-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-md); padding: 18px 16px; text-align: center;
}
.lp-stat-value { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.lp-stat-label { font-size: .76rem; color: rgba(255,255,255,.52); margin-top: 4px; }

.lp-body { padding: 56px 0; background: var(--white); }

.lp-sidebar {
    position: sticky; top: 110px;
    background: var(--light); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 18px;
}
.lp-sidebar-title {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .09em; color: var(--muted);
    margin-bottom: 10px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.lp-sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.lp-sidebar-link {
    display: block; padding: 7px 10px; border-radius: var(--r-sm);
    font-size: .83rem; color: var(--dark);
    text-decoration: none; transition: background .14s, color .14s; line-height: 1.4;
}
.lp-sidebar-link:hover { background: rgba(26,175,170,.08); color: var(--teal-d); }
.lp-sidebar-link.active {
    background: rgba(26,175,170,.12); color: var(--teal-d);
    font-weight: 600; border-left: 3px solid var(--teal); padding-left: 7px;
}

.lp-section { margin-bottom: 48px; }
.lp-section-light {
    background: var(--light); border-radius: var(--r-lg);
    padding: 32px 28px;
}
.lp-section-title {
    font-size: 1.4rem; font-weight: 800; color: var(--dark);
    margin-bottom: 24px; padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.lp-pain-card {
    background: var(--white); border: 1px solid var(--border);
    border-left: 3px solid var(--navy); border-radius: var(--r-md);
    padding: 22px 18px; height: 100%; transition: box-shadow .2s;
}
.lp-pain-card:hover { box-shadow: var(--shadow-md); }
.lp-pain-icon { font-size: 1.8rem; margin-bottom: 10px; }
.lp-pain-card h3 { font-size: .92rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.lp-pain-card p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.65; }

.lp-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lp-feat-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 22px;
    transition: border-color .18s, transform .18s, box-shadow .18s;
}
.lp-feat-card:hover {
    border-color: var(--teal); transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,175,170,.11);
}
.lp-feat-icon { font-size: 1.7rem; margin-bottom: 10px; }
.lp-feat-card h3 { font-size: .92rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.lp-feat-card p { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.65; }

.lp-accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--r-sm) !important;
    margin-bottom: 6px; overflow: hidden;
}
.lp-accordion-item .accordion-button {
    font-weight: 600; font-size: .9rem; color: var(--dark); background: var(--white);
}
.lp-accordion-item .accordion-button:not(.collapsed) {
    color: var(--teal-d); background: rgba(26,175,170,.05); box-shadow: none;
}
.lp-accordion-item .accordion-body { font-size: .86rem; color: var(--muted); line-height: 1.7; }

.lp-related-card {
    display: flex; flex-direction: column; gap: 3px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 14px 18px;
    transition: border-color .18s, transform .18s;
}
.lp-related-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.lp-related-type {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--teal-d);
}
.lp-related-title { font-size: .88rem; font-weight: 600; color: var(--dark); }
.lp-related-arrow { font-size: .82rem; color: var(--teal); }

.lp-cta {
    background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 100%);
    padding: 72px 0; color: #fff;
}
.lp-cta-title { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.lp-cta-sub { font-size: .92rem; color: rgba(255,255,255,.62); margin-bottom: 30px; }

[dir="rtl"] .lp-h1,
[dir="rtl"] .lp-subtitle { text-align: right; }
[dir="rtl"] .lp-pain-card {
    border-left: 1px solid var(--border); border-right: 3px solid var(--navy);
}
[dir="rtl"] .lp-sidebar-link.active {
    border-left: none; border-right: 3px solid var(--teal);
    padding-left: 10px; padding-right: 7px;
}
[dir="rtl"] .lp-eyebrow { letter-spacing: 0; }
[dir="rtl"] .lp-related-arrow { transform: scaleX(-1); }
[dir="rtl"] .lp-feat-card,
[dir="rtl"] .lp-pain-card { text-align: right; }

@media (max-width: 767px) {
    .lp-hero { padding: 44px 0 36px; }
    .lp-features-grid { grid-template-columns: 1fr; }
    .lp-stats-grid { grid-template-columns: 1fr 1fr; }
    .lp-section-light { padding: 22px 14px; }
    .lp-cta { padding: 44px 0; }
}

/* ═══ Landing pages — SLAtech Medical color overrides ═══ */
.lp-hero {
    background: linear-gradient(135deg, #0c2340 0%, #0369a1 60%, rgba(56,189,248,.12) 100%);
}
.lp-eyebrow { color: #38bdf8; }
.btn-lp-primary { background: #0EA5E9; }
.btn-lp-primary:hover { background: #0284c7; }
.lp-pain-card { border-left-color: #0EA5E9; }
[dir="rtl"] .lp-pain-card { border-right-color: #0EA5E9; }
.lp-sidebar-link.active {
    color: #0284c7;
    background: rgba(14,165,233,.1);
    border-left-color: #0EA5E9;
}
[dir="rtl"] .lp-sidebar-link.active { border-right-color: #0EA5E9; }
.lp-feat-card:hover { border-color: #0EA5E9; }
.lp-related-type { color: #0284c7; }
.lp-related-arrow { color: #0EA5E9; }
.lp-cta { background: linear-gradient(135deg, #0c2340 0%, #0369a1 100%); }



/* Bundle F: Back-link to products hub (dark-text variant for light navbars) */

/* HOTFIX: Heebo font-weight cap at 700 for HE rendering — Heebo doesn't ship 800/900 weight,
   browsers fake-bold which renders muddy. Scope to HE pages only; EN/RU keep 800. */
html[lang="he"] .mb-brand,
html[lang="he"] .mb-hero h1,
html[lang="he"] .mb-step-num,
html[lang="he"] .mb-pricing-price,
html[lang="he"] .mb-cta h2,
html[lang="he"] .lp-h1,
html[lang="he"] .lp-stat-value,
html[lang="he"] .lp-section-title,
html[lang="he"] .lp-cta-title { font-weight: 700; }
