:root {
    --ink: #07121f;
    --ink-2: #0c1b2c;
    --panel: #102338;
    --line: rgba(255,255,255,.11);
    --paper: #f2f5f7;
    --white: #ffffff;
    --muted: #647384;
    --muted-light: #9fb0c1;
    --brand: #33e19b;
    --brand-dark: #17b978;
    --on-brand: #04140e;
    --blue: #53a3ff;
    --warning: #f6c453;
    --radius: 20px;
    --shadow: 0 28px 70px rgba(7,18,31,.14);
}

html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1,h2,h3,strong,.navbar-brand { letter-spacing: -.025em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.6rem); line-height: .98; font-weight: 760; }

.page-loader { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--ink); color: var(--white); transition: opacity .35s ease, visibility .35s ease; }
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader strong { font-size: 1.2rem; }
.page-loader small { color: var(--muted-light); }
.loader-core { display: flex; gap: 7px; height: 28px; align-items: end; }
.loader-core span { width: 6px; height: 10px; background: var(--brand); border-radius: 4px; animation: loader-bars .8s ease-in-out infinite alternate; }
.loader-core span:nth-child(2) { height: 24px; animation-delay: .15s; }
.loader-core span:nth-child(3) { height: 16px; animation-delay: .3s; }
@keyframes loader-bars { to { height: 28px; opacity: .55; } }

.site-header { position: fixed !important; top: 0; right: 0; left: 0; z-index: 1040; width: 100%; background: rgba(7,18,31,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); transition: box-shadow .25s ease,background-color .25s ease; }
.site-header.is-scrolled { background: rgba(7,18,31,.96); box-shadow: 0 12px 34px rgba(0,0,0,.2); }
.site-header .navbar { min-height: 78px; }
body { padding-top: 79px; }
.navbar-brand { color: var(--white) !important; display: inline-flex; align-items: center; gap: 11px; font-weight: 760; font-size: 1.2rem; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 11px; color: var(--on-brand); background: var(--brand); box-shadow: 0 0 0 5px rgba(51,225,155,.08); }
.site-header .nav-link { color: #b7c5d2; font-size: .92rem; font-weight: 620; padding: .65rem .8rem !important; }
.site-header .nav-link:hover,.site-header .nav-link:focus { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: 1rem; }
.btn-language { display: inline-flex; align-items: center; gap: 8px; color: #c9d5df; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; font-size: .82rem; white-space: nowrap; }
.btn-language:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-brand-sm { color: var(--on-brand); background: var(--brand); border-color: var(--brand); border-radius: 10px; font-weight: 730; font-size: .86rem; padding: .58rem .9rem; }
.btn-brand-sm:hover,.btn-brand-sm:focus,.btn-brand-sm:active,.btn-brand-sm.active,.btn-brand-sm:focus-visible { color: var(--on-brand) !important; border-color: #59e9af !important; background: #59e9af !important; }

.hero-section { min-height: 720px; display: flex; align-items: center; position: relative; overflow: hidden; padding: 96px 0 110px; color: var(--white); background: radial-gradient(circle at 72% 32%, rgba(40,121,255,.17), transparent 28%), radial-gradient(circle at 16% 80%, rgba(51,225,155,.1), transparent 30%), var(--ink); }
.hero-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero-grid::after { content: ""; position: absolute; width: 440px; height: 440px; right: 9%; top: 12%; border: 1px solid rgba(51,225,155,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(51,225,155,.018), 0 0 0 160px rgba(83,163,255,.015); }
.eyebrow,.section-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--brand-dark); font-size: .72rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.hero-section .eyebrow { color: #8af0c5; margin-bottom: 20px; }
.pulse-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(51,225,155,.12); }
.hero-section h1 { max-width: 780px; margin: 0 0 24px; font-size: clamp(3.6rem, 7.4vw, 7.3rem); line-height: .86; font-weight: 780; }
.hero-section h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.48); }
.hero-lead { max-width: 700px; color: #adbac7; font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .btn { border-radius: 11px; padding: .78rem 1.1rem; font-size: .92rem; font-weight: 720; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-color: var(--on-brand); --bs-btn-hover-bg: #55e8ad; --bs-btn-hover-border-color: #55e8ad; --bs-btn-hover-color: var(--on-brand); --bs-btn-focus-shadow-rgb: 51,225,155; --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark); --bs-btn-active-color: var(--on-brand); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); --bs-btn-disabled-color: var(--on-brand); }
.btn-primary,.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary:disabled { color: var(--on-brand); }
.btn-link-light { color: #d4dee7; text-decoration: none; }
.btn-link-light:hover { color: var(--brand); }
.hero-proof { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #7f92a4; font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.hero-proof i { color: var(--brand); margin-inline-end: 4px; }

.terminal-card { position: relative; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(9,25,42,.82); box-shadow: 0 35px 100px rgba(0,0,0,.35); transform: perspective(1100px) rotateY(-4deg) rotateX(2deg); overflow: hidden; }
[dir="rtl"] .terminal-card { transform: perspective(1100px) rotateY(4deg) rotateX(2deg); }
[dir="rtl"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: .25rem !important; }
.terminal-card::before { content: ""; position: absolute; inset: -1px; pointer-events: none; border-radius: inherit; background: linear-gradient(135deg, rgba(51,225,155,.3), transparent 35%, transparent 65%, rgba(83,163,255,.22)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.terminal-top { height: 52px; padding: 0 20px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); color: #76899b; }
.terminal-top span { width: 9px; height: 9px; border-radius: 50%; background: #ff6961; }
.terminal-top span:nth-child(2) { background: var(--warning); }
.terminal-top span:nth-child(3) { background: var(--brand); }
.terminal-top strong { margin-inline-start: auto; font: 500 .7rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; }
.terminal-body { padding: 28px 28px 22px; font: 500 .84rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; min-height: 365px; }
.terminal-body p { margin: 0 0 9px; }
.terminal-body em { color: var(--blue); font-style: normal; }
.terminal-body b { color: var(--brand); }
.terminal-muted { color: #60768a; padding-bottom: 10px; }
.terminal-ready { margin-top: 22px !important; color: var(--brand); }
.terminal-footer { display: flex; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); color: #53687b; font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; }

.signal-strip { color: #c0ccd7; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: 12px; border-inline-start: 1px solid var(--line); }
.signal strong { color: var(--brand); font-size: 1.6rem; }
.signal span { max-width: 110px; color: #7f92a4; font-size: .72rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.section-pad { padding: 120px 0; }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.section-heading h2 { margin: 13px 0 18px; }
.section-heading p,.lead-copy { color: var(--muted); font-size: 1.08rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.65fr); align-items: end; gap: 60px; }
.split-heading p { margin: 0 0 5px; }

.feature-grid { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid #cfd8df; border-inline-start: 1px solid #cfd8df; }
.feature-card { min-height: 245px; padding: 28px 24px; border-inline-end: 1px solid #cfd8df; border-bottom: 1px solid #cfd8df; transition: background .25s ease, transform .25s ease; }
.feature-card:hover { z-index: 1; background: var(--white); transform: translateY(-4px); box-shadow: 0 18px 50px rgba(7,18,31,.1); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 32px; border-radius: 12px; color: var(--brand-dark); background: rgba(23,185,120,.1); font-size: 1.15rem; }
.feature-card h3 { font-size: 1rem; font-weight: 760; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .84rem; line-height: 1.55; margin: 0; }

.section-dark { color: var(--white); background: var(--ink); }
.section-dark .section-heading p { color: #8fa0b1; }
.screenshot-stack { display: grid; gap: 110px; }
.screenshot-row { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,.65fr); gap: 60px; align-items: center; }
.screenshot-row.reverse { grid-template-columns: minmax(290px,.65fr) minmax(0,1.65fr); }
.screenshot-row.reverse .screenshot-frame { order: 2; }
.screenshot-frame { display: block; position: relative; border-radius: 16px; border: 1px solid rgba(255,255,255,.13); overflow: hidden; background: #fff; box-shadow: 0 38px 90px rgba(0,0,0,.34); transition: transform .3s ease, box-shadow .3s ease; }
.screenshot-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: inherit; }
.screenshot-frame:hover { transform: translateY(-6px); box-shadow: 0 48px 110px rgba(0,0,0,.42); }
.screenshot-frame img { display: block; width: 100%; height: auto; }
.screenshot-frame,.secure-tool-shot { cursor: zoom-in; }
.screenshot-copy > span { color: var(--brand); font: 700 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.screenshot-copy h3 { font-size: 1.7rem; margin: 16px 0 20px; }
.screenshot-copy p { color: #8fa0b1; font-size: .91rem; }
.screenshot-copy strong { color: #dce5ec; }

.secure-tools-section { position: relative; overflow: hidden; background: #eef3f5; }
.secure-tools-section::before { content: ""; position: absolute; width: 520px; height: 520px; top: -260px; right: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(51,225,155,.14), transparent 68%); pointer-events: none; }
[dir="rtl"] .secure-tools-section::before { right: auto; left: -180px; }
.access-controls { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 44px 0 28px; overflow: hidden; border: 1px solid #cbd7dd; border-radius: 16px; background: #cbd7dd; }
.access-controls > div { min-height: 102px; display: flex; align-items: center; gap: 14px; padding: 20px; background: rgba(255,255,255,.88); }
.access-controls > div > i { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: #087b53; border-radius: 10px; background: rgba(51,225,155,.14); font-size: 1.05rem; }
.access-controls span { display: grid; gap: 3px; }
.access-controls strong { font-size: .8rem; }
.access-controls small { color: var(--muted); font-size: .69rem; line-height: 1.4; }
.secure-tool-grid { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.secure-tool-card { min-width: 0; overflow: hidden; border: 1px solid #cad6dc; border-radius: 18px; background: var(--white); box-shadow: 0 15px 45px rgba(9,28,42,.07); }
.secure-tool-shot { display: block; aspect-ratio: 16 / 9.4; overflow: hidden; border-bottom: 1px solid #d9e1e6; background: #f6f8f9; }
.secure-tool-shot img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top left; transition: transform .35s ease; }
[dir="rtl"] .secure-tool-shot img { object-position: top right; }
.secure-tool-card:hover .secure-tool-shot img { transform: scale(1.025); }
.secure-tool-body { padding: 25px; }
.secure-tool-heading { display: flex; align-items: center; gap: 9px; color: #087b53; font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.secure-tool-heading i { font-size: 1rem; }
.secure-tool-body h3 { margin: 12px 0 12px; font-size: 1.35rem; }
.secure-tool-body > p { min-height: 76px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.secure-tool-body ul { display: grid; gap: 11px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid #e1e7ea; list-style: none; }
.secure-tool-body li { display: grid; grid-template-columns: 19px 1fr; gap: 9px; color: #526675; font-size: .73rem; line-height: 1.48; }
.secure-tool-body li i { color: #0a8d60; }
.access-summary { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 28px; margin-top: 28px; padding: 34px; color: var(--white); border-radius: 18px; background: var(--ink); box-shadow: var(--shadow); }
.access-summary-icon { width: 74px; height: 74px; display: grid; place-items: center; color: var(--brand); border: 1px solid rgba(51,225,155,.26); border-radius: 18px; background: rgba(51,225,155,.08); font-size: 1.8rem; }
.access-summary h3 { max-width: 720px; margin: 10px 0 14px; font-size: 1.6rem; }
.access-summary p { max-width: 970px; margin: 0 0 9px; color: #93a6b6; font-size: .84rem; line-height: 1.7; }
.access-summary p:last-child { margin-bottom: 0; }

.image-lightbox { --bs-modal-width: min(1500px, calc(100vw - 32px)); background: rgba(2,8,14,.45); }
.image-lightbox .modal-dialog { width: var(--bs-modal-width); max-width: var(--bs-modal-width); margin: 16px auto; }
.image-lightbox .modal-content { overflow: hidden; color: var(--white); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #050d16; box-shadow: 0 40px 120px rgba(0,0,0,.65); }
.lightbox-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 8px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lightbox-close,.lightbox-zoom-controls button { display: grid; place-items: center; color: #d9e3eb; border: 0; background: transparent; transition: color .2s ease, background .2s ease; }
.lightbox-close { width: 38px; height: 38px; border-radius: 10px; font-size: 1.15rem; }
.lightbox-close:hover,.lightbox-zoom-controls button:hover { color: var(--brand); background: rgba(255,255,255,.07); }
.lightbox-zoom-controls { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.035); }
.lightbox-zoom-controls button { width: 36px; height: 32px; border-radius: 7px; font-size: 1rem; }
.lightbox-zoom-controls button:disabled { color: #52616e; background: transparent; }
.lightbox-zoom-controls .lightbox-zoom-reset { width: 58px; color: #9db0bf; font: 700 .68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.lightbox-stage { min-height: 260px; overflow: hidden; }
.lightbox-image-wrap { position: relative; width: 100%; min-width: 0; min-height: 260px; height: min(74vh, 880px); display: grid; place-items: center; overflow: hidden; padding: 12px; cursor: zoom-in; touch-action: none; user-select: none; }
.lightbox-image-wrap.is-zoomed { cursor: grab; }
.lightbox-image-wrap.is-zoomed:active { cursor: grabbing; }
.lightbox-image-wrap .spinner-border { position: absolute; color: var(--brand); }
.lightbox-image-wrap img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; opacity: 1; transform-origin: center center; will-change: transform; transition: opacity .15s ease; pointer-events: none; }
.lightbox-image-wrap img.is-loading { opacity: 0; }
.lightbox-caption { min-height: 50px; margin: 0; padding: 14px 24px 16px; color: #9eb0bf; border-top: 1px solid rgba(255,255,255,.1); font-size: .79rem; text-align: center; }

.open-source-section { background: var(--white); }
.open-source-section h2,.requirements-section h2,.installation-section h2,.contact-section h2 { margin: 14px 0 25px; }
.check-list { display: grid; gap: 22px; margin: 32px 0; }
.check-list > div { display: flex; gap: 16px; }
.check-list i { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; color: var(--on-brand); background: var(--brand); border-radius: 50%; font-weight: 900; }
.check-list span { display: grid; }
.check-list strong { font-size: 1rem; }
.check-list small { color: var(--muted); font-size: .86rem; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--brand-dark); font-weight: 740; text-decoration: none; }
.text-link:hover { color: var(--ink); }
.architecture-card { padding: 34px; border-radius: 28px; background: var(--ink); box-shadow: var(--shadow); }
.arch-node { min-height: 95px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #bdcad6; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.arch-node i { color: var(--brand); font-size: 1.25rem; }
.arch-node span { font-size: .83rem; font-weight: 700; }
.arch-node small { color: #607488; font-size: .67rem; }
.arch-node.primary { min-height: 130px; background: linear-gradient(135deg, rgba(51,225,155,.1), rgba(83,163,255,.08)); }
.arch-node.primary i { font-size: 1.8rem; }
.arch-node.primary span { color: var(--white); font-size: 1.2rem; }
.arch-line { width: 1px; height: 35px; margin: 0 auto; background: linear-gradient(var(--brand), rgba(51,225,155,.1)); }
.arch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }

.services-section { background: #e9eef1; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.price-card { position: relative; min-height: 410px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #cbd5dc; border-radius: 18px; background: rgba(255,255,255,.45); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.price-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.price-card.featured { color: var(--white); border-color: var(--ink); background: var(--ink); }
.price-tag { position: absolute; top: 18px; right: 18px; color: var(--on-brand); background: var(--brand); border-radius: 99px; padding: 5px 8px; font-size: .55rem; font-weight: 850; letter-spacing: .08em; }
[dir="rtl"] .price-tag { right: auto; left: 18px; }
.price-card > i { color: var(--brand-dark); font-size: 1.4rem; margin-bottom: 38px; }
.price-card.featured > i { color: var(--brand); }
.price-card h3 { min-height: 50px; font-size: 1.15rem; font-weight: 760; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 20px 0; }
.price strong { font-size: 2.4rem; line-height: 1; }
.price small { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.featured .price small,.featured p { color: #91a3b4; }
.price-card p { color: var(--muted); font-size: .86rem; }
.price-card a { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid #d3dce2; color: var(--ink); font-size: .82rem; font-weight: 760; text-decoration: none; }
.price-card.featured a { color: var(--brand); border-color: var(--line); }
.pricing-note { margin: 23px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.pricing-note i { color: var(--brand-dark); }

.requirements-section { background: var(--white); }
.spec-list { padding: 0; margin: 28px 0 0; list-style: none; }
.spec-list li { display: flex; gap: 17px; padding: 21px 0; border-top: 1px solid #dbe2e7; }
.spec-list li > i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--ink); background: var(--paper); border-radius: 12px; }
.spec-list li > div { display: grid; }
.spec-list strong { font-size: .95rem; }
.spec-list span { color: var(--muted); font-size: .84rem; }
.security-list li > i { color: var(--brand-dark); background: rgba(51,225,155,.1); }

.installation-section { background: var(--paper); }
.timeline-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #cfd8df; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.4); }
.timeline-step { min-height: 330px; position: relative; padding: 34px 28px; border-inline-end: 1px solid #cfd8df; }
.timeline-step:last-child { border-inline-end: 0; }
.timeline-step b { position: absolute; top: 24px; right: 24px; color: #bac5cd; font: 700 .72rem/1 ui-monospace, monospace; }
[dir="rtl"] .timeline-step b { right: auto; left: 24px; }
.timeline-step > i { width: 54px; height: 54px; display: grid; place-items: center; color: var(--brand-dark); background: var(--white); border-radius: 15px; box-shadow: 0 8px 22px rgba(7,18,31,.08); font-size: 1.3rem; }
.timeline-step h3 { margin: 50px 0 13px; font-size: 1.14rem; }
.timeline-step p { color: var(--muted); font-size: .85rem; }
.install-cta { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; border-radius: 16px; color: var(--white); background: var(--ink); }
.install-cta > div { display: flex; align-items: center; gap: 15px; }
.install-cta > div > i { color: var(--brand); font-size: 1.5rem; }
.install-cta span { display: grid; }
.install-cta small { color: #8fa0b1; }
.install-cta .btn { color: var(--on-brand); background: var(--brand); border: 0; font-weight: 740; }
.install-cta .btn:hover,.install-cta .btn:focus,.install-cta .btn:active { color: var(--on-brand) !important; background: #59e9af !important; }

.faq-section { background: var(--white); }
.faq-section h2 { margin: 14px 0 24px; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: #d7dfe5; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-color: var(--ink); --bs-accordion-active-bg: transparent; }
.accordion-button { padding: 25px 0; font-size: 1.02rem; font-weight: 740; }
.accordion-button:not(.collapsed)::after { filter: none; }
.accordion-body { padding: 0 45px 25px 0; color: var(--muted); font-size: .9rem; }
[dir="rtl"] .accordion-body { padding-right: 0; padding-left: 45px; }

.contact-section { color: var(--white); background: radial-gradient(circle at 10% 15%, rgba(51,225,155,.09), transparent 25%), var(--ink); }
.contact-section .lead-copy { color: #9aabba; }
.security-callout,.access-callout { display: flex; gap: 14px; margin-top: 25px; padding: 18px; border: 1px solid rgba(246,196,83,.18); border-radius: 14px; background: rgba(246,196,83,.05); }
.access-callout { border-color: rgba(51,225,155,.17); background: rgba(51,225,155,.045); }
.security-callout > i { color: var(--warning); }
.access-callout > i { color: var(--brand); }
.security-callout strong,.access-callout strong { font-size: .9rem; }
.security-callout p,.access-callout p { margin: 4px 0 0; color: #8ea0b0; font-size: .78rem; }
.contact-email { margin-top: 25px; display: inline-flex; align-items: center; gap: 9px; color: var(--brand); text-decoration: none; font-weight: 700; }
.service-form { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.045); box-shadow: 0 30px 70px rgba(0,0,0,.18); }
.service-form .form-label { margin-bottom: 6px; color: #dce5ec; font-size: .75rem; font-weight: 720; }
.service-form .form-control { min-height: 49px; color: var(--white); border-color: rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.045); }
.service-form textarea.form-control { min-height: 150px; }
.service-form .form-control:focus { color: var(--white); border-color: var(--brand); background: rgba(255,255,255,.065); box-shadow: 0 0 0 3px rgba(51,225,155,.1); }
.service-form .form-control::placeholder { color: #5d7184; }
.service-form .form-text,.form-privacy { color: #718598; font-size: .68rem; }
.service-form .invalid-feedback { color: #ff9994; font-size: .7rem; }
.service-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.service-options label { cursor: pointer; }
.service-options input { position: absolute; opacity: 0; pointer-events: none; }
.service-options label > span { min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; color: #aab9c6; font-size: .75rem; font-weight: 650; transition: .2s ease; }
.service-options label > span > span { min-height: 0; display: inline; padding: 0; color: inherit; border: 0; border-radius: 0; font: inherit; }
.service-options input:checked + span { color: var(--on-brand); border-color: var(--brand); background: var(--brand); }
.service-options input:checked + span > i,.service-options input:checked + span > span { color: var(--on-brand) !important; }
.service-options input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.authorization-check { padding: 16px 16px 16px 42px; border-radius: 11px; background: rgba(255,255,255,.04); }
[dir="rtl"] .authorization-check { padding: 16px 42px 16px 16px; }
.authorization-check .form-check-input { margin-inline-start: -26px; }
.authorization-check .form-check-label { color: #aebdca; font-size: .78rem; }
.submit-button { min-width: 210px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 11px; font-size: .86rem; font-weight: 760; }
.service-form .alert { font-size: .82rem; border-radius: 10px; }
.request-context { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; padding: 14px 15px; color: var(--on-brand); border-radius: 12px; background: var(--brand); }
.request-context > i { font-size: 1.15rem; }
.request-context > div { min-width: 0; display: grid; }
.request-context small { font-size: .62rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.request-context strong { overflow-wrap: anywhere; font-size: .85rem; }
.request-context button { width: 34px; height: 34px; display: grid; place-items: center; margin-inline-start: auto; color: var(--on-brand); border: 0; border-radius: 9px; background: rgba(4,20,14,.09); }

.commercial-page { --page-accent: var(--brand); background: var(--paper); }
.commercial-page-business { --page-accent: #53a3ff; }
.commercial-page-hosting { --page-accent: #a883ff; }
.commercial-page-managed { --page-accent: #2ed6d0; }
.commercial-page-migration { --page-accent: #f6c453; }
.commercial-page-support { --page-accent: #ff8a72; }
.commercial-page-development { --page-accent: #64b5ff; }
.commercial-page-integrations { --page-accent: #5ee0b0; }
.commercial-page-white-label { --page-accent: #d38cff; }
.commercial-page-partners { --page-accent: #63c7ff; }
.commercial-page-sponsor { --page-accent: #ffbe5c; }
.commercial-hero { position: relative; overflow: hidden; padding: 45px 0 0; color: var(--white); background: radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--page-accent) 18%, transparent), transparent 29%), var(--ink); }
.commercial-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to bottom,black,transparent 95%); }
.commercial-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 64px; color: #7f92a4; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.commercial-breadcrumb a { color: #a9b8c5; text-decoration: none; }
.commercial-breadcrumb a:hover { color: var(--page-accent); }
.commercial-breadcrumb i { font-size: .58rem; }
.commercial-hero .eyebrow { margin-bottom: 20px; color: var(--page-accent); }
.commercial-hero .pulse-dot { background: var(--page-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--page-accent) 15%, transparent); }
.commercial-hero h1 { max-width: 860px; margin: 0 0 24px; font-size: clamp(3.3rem,6.4vw,6.8rem); line-height: .9; font-weight: 780; }
.commercial-lead { max-width: 740px; margin: 0 0 32px; color: #aab9c6; font-size: clamp(1.05rem,1.6vw,1.24rem); }
.commercial-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.commercial-actions .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: .72rem 1.05rem; border-radius: 11px; font-size: .86rem; font-weight: 750; }
.commercial-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.commercial-visual::before,.commercial-visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--page-accent) 25%, transparent); border-radius: 50%; }
.commercial-visual::before { width: 335px; height: 335px; }
.commercial-visual::after { width: 240px; height: 240px; box-shadow: 0 0 75px color-mix(in srgb, var(--page-accent) 10%, transparent); }
.commercial-visual-core { z-index: 1; width: 168px; height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid color-mix(in srgb, var(--page-accent) 35%, transparent); border-radius: 32px; background: color-mix(in srgb, var(--page-accent) 9%, var(--ink)); transform: rotate(4deg); box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.commercial-visual-core > i { color: var(--page-accent); font-size: 2.2rem; }
.commercial-visual-core strong { font-size: 1.05rem; }
.commercial-visual-core span { max-width: 130px; color: #8194a5; font-size: .66rem; text-align: center; }
.commercial-price { position: absolute; z-index: 2; right: 5%; bottom: 13%; display: grid; padding: 15px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(5,15,25,.9); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
[dir="rtl"] .commercial-price { right: auto; left: 5%; }
.commercial-price strong { color: var(--page-accent); font-size: 1.65rem; line-height: 1; }
.commercial-price span { margin-top: 5px; color: #8295a5; font-size: .62rem; text-transform: uppercase; }
.commercial-metrics { position: relative; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 75px; border-top: 1px solid var(--line); }
.commercial-metrics > div { min-height: 102px; display: flex; align-items: center; gap: 11px; padding: 20px; border-inline-end: 1px solid var(--line); }
.commercial-metrics > div:last-child { border-inline-end: 0; }
.commercial-metrics strong { color: var(--page-accent); font-size: 1rem; }
.commercial-metrics span { max-width: 150px; color: #718597; font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.commercial-content-section { background: var(--white); }
.commercial-content-section.section-alt { background: #eaf0f3; }
.commercial-content-section .section-heading { margin-bottom: 45px; }
.commercial-content-section .section-kicker { color: color-mix(in srgb, var(--page-accent) 78%, #087b53); }
.commercial-items { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.commercial-item { min-height: 245px; padding: 27px; border: 1px solid #ccd7dd; border-radius: 17px; background: rgba(255,255,255,.58); transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.commercial-item:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--page-accent) 55%, #ccd7dd); box-shadow: 0 20px 55px rgba(7,18,31,.1); }
.commercial-item > i { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 34px; color: color-mix(in srgb, var(--page-accent) 75%, #087b53); border-radius: 13px; background: color-mix(in srgb, var(--page-accent) 12%, white); font-size: 1.15rem; }
.commercial-item h3 { font-size: 1.02rem; font-weight: 760; }
.commercial-item p { margin: 9px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.62; }
.section-type-list .commercial-items { grid-template-columns: repeat(2,1fr); }
.section-type-list .commercial-item { min-height: 0; display: grid; grid-template-columns: 50px 1fr; gap: 17px; padding: 23px; }
.section-type-list .commercial-item > i { margin: 0; }
.section-type-split .commercial-items { grid-template-columns: repeat(2,1fr); }
.section-type-split .commercial-item { min-height: 280px; padding: 34px; }
.section-type-process .commercial-items { grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid #ccd7dd; border-radius: 18px; overflow: hidden; }
.section-type-process .commercial-item { position: relative; min-height: 285px; border: 0; border-inline-end: 1px solid #ccd7dd; border-radius: 0; box-shadow: none; }
.section-type-process .commercial-item:last-child { border-inline-end: 0; }
.section-type-process .commercial-item::before { content: counter(process); counter-increment: process; position: absolute; top: 23px; right: 23px; color: #a9b6bf; font: 700 .65rem/1 ui-monospace,monospace; }
[dir="rtl"] .section-type-process .commercial-item::before { right: auto; left: 23px; }
.section-type-process .commercial-items { counter-reset: process; }
.section-type-notice { color: var(--white); background: var(--ink) !important; }
.section-type-notice .section-heading { max-width: 1050px; grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); margin: 0; padding: 48px; border: 1px solid color-mix(in srgb, var(--page-accent) 28%, transparent); border-radius: 22px; background: linear-gradient(135deg,color-mix(in srgb,var(--page-accent) 8%,transparent),transparent 60%); }
.section-type-notice .section-heading p { color: #92a5b5; }
.section-type-notice .commercial-items { display: none; }
.related-section { background: #e8eef1; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.related-card { min-height: 135px; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 13px; padding: 22px; color: var(--ink); border: 1px solid #cbd6dc; border-radius: 15px; background: rgba(255,255,255,.6); text-decoration: none; }
.related-card > i { width: 44px; height: 44px; display: grid; place-items: center; color: #087b53; border-radius: 12px; background: rgba(51,225,155,.13); }
.related-card span { font-size: .84rem; font-weight: 760; }
.related-card b { color: #82929e; text-align: end; }
.related-card:hover { color: var(--ink); border-color: var(--brand-dark); background: var(--white); }
.commercial-final-cta { padding: 58px 0; color: var(--white); background: #0b1b2b; }
.commercial-final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.commercial-final-cta h2 { max-width: 760px; margin: 10px 0 0; font-size: clamp(2rem,4vw,3.8rem); }
.commercial-final-cta .btn { min-width: 230px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 11px; font-weight: 760; }

.site-footer { padding: 62px 0 28px; color: #8fa0b1; background: #040b13; border-top: 1px solid var(--line); }
.footer-brand-row { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,2.25fr); gap: 70px; padding-bottom: 55px; }
.footer-brand-row > div:first-child > p { max-width: 310px; margin: 22px 0 0; font-size: .82rem; }
.site-footer .contact-email { margin-top: 20px; font-size: .8rem; }
.footer-columns { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.footer-columns > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-columns h3 { margin: 5px 0 10px; color: #617589; font-size: .65rem; font-weight: 820; letter-spacing: .12em; }
.footer-columns a { color: #b4c1cc; font-size: .76rem; text-decoration: none; }
.footer-columns a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.footer-bottom button { padding: 0; color: #91a3b3; border: 0; background: transparent; font-size: inherit; text-transform: inherit; letter-spacing: inherit; }
.footer-bottom button:hover { color: var(--brand); }
.footer-bottom button i { margin-inline-end: 6px; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1030; width: 50px; height: 50px; display: grid; place-items: center; padding: 0; color: var(--on-brand); border: 1px solid rgba(4,20,14,.16); border-radius: 14px; background: var(--brand); box-shadow: 0 14px 35px rgba(7,18,31,.24); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); transition: opacity .22s ease,visibility .22s ease,transform .22s ease,background-color .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover,.back-to-top:focus-visible { color: var(--on-brand); background: #59e9af; }
.back-to-top:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.back-to-top i { font-size: 1.25rem; line-height: 1; }
[dir="rtl"] .back-to-top { right: auto; left: 22px; }

.language-modal .modal-content { border: 0; border-radius: 20px; box-shadow: var(--shadow); }
.language-modal .modal-header { padding: 26px 28px 18px; border-bottom: 0; }
.language-modal .modal-title { margin-top: 5px; font-size: 1.55rem; }
.language-modal .modal-body { padding: 0 28px 30px; }
.language-search { position: relative; margin-bottom: 18px; }
.language-search i { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: var(--muted); }
[dir="rtl"] .language-search i { left: auto; right: 15px; }
.language-search .form-control { padding-inline-start: 42px; min-height: 48px; border-color: #d4dde3; border-radius: 11px; }
[dir="rtl"] .language-search .form-control { padding-inline-start: 12px; padding-inline-end: 42px; }
.language-grid { max-height: 430px; overflow: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 2px; }
.language-option { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 12px; color: var(--ink); border: 1px solid #dce3e8; border-radius: 9px; font-size: .78rem; text-decoration: none; }
.language-option small { color: #8c9aa5; }
.language-option:hover,.language-option.active { border-color: var(--brand-dark); background: rgba(51,225,155,.08); }
.language-option i { color: var(--brand-dark); }
.language-empty { padding: 30px 0; color: var(--muted); text-align: center; }
.legal-copy { color: var(--ink); }
.legal-copy h3 { margin: 1.6rem 0 .55rem; font-size: 1.05rem; }
.legal-copy p { color: var(--muted); }

@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { padding: 18px 0 10px; }
    .site-header .navbar-nav { margin-bottom: 15px; }
    .site-header .nav-actions { flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
    .feature-grid { grid-template-columns: repeat(3,1fr); }
    .pricing-grid { grid-template-columns: repeat(2,1fr); }
    .access-controls { grid-template-columns: repeat(2,1fr); }
    .commercial-items { grid-template-columns: repeat(2,1fr); }
    .section-type-process .commercial-items { grid-template-columns: repeat(2,1fr); }
    .section-type-process .commercial-item:nth-child(2) { border-inline-end: 0; }
    .section-type-process .commercial-item:nth-child(-n+2) { border-bottom: 1px solid #ccd7dd; }
    .footer-brand-row { grid-template-columns: 1fr; gap: 42px; }
}

@media (min-width: 1200px) {
    [dir="rtl"] .ms-xl-2 { margin-right: .5rem !important; margin-left: 0 !important; }
    [dir="rtl"] .ms-xl-3 { margin-right: 1rem !important; margin-left: 0 !important; }
}

@media (max-width: 991.98px) {
    .section-pad { padding: 90px 0; }
    .hero-section { padding: 85px 0; }
    .terminal-card { transform: none; max-width: 620px; }
    [dir="rtl"] .terminal-card { transform: none; }
    .split-heading { grid-template-columns: 1fr; gap: 15px; }
    .screenshot-row,.screenshot-row.reverse { grid-template-columns: 1fr; gap: 34px; }
    .screenshot-row.reverse .screenshot-frame { order: 0; }
    .screenshot-stack { gap: 75px; }
    .secure-tool-grid { grid-template-columns: 1fr; }
    .secure-tool-card { display: grid; grid-template-columns: minmax(280px,.85fr) 1fr; }
    .secure-tool-shot { height: 100%; aspect-ratio: auto; border-bottom: 0; border-inline-end: 1px solid #d9e1e6; }
    .secure-tool-body > p { min-height: 0; }
    .timeline-grid { grid-template-columns: repeat(2,1fr); }
    .timeline-step:nth-child(2) { border-inline-end: 0; }
    .timeline-step:nth-child(-n+2) { border-bottom: 1px solid #cfd8df; }
    .commercial-breadcrumb { margin-bottom: 40px; }
    .commercial-visual { min-height: 320px; }
    .commercial-metrics { margin-top: 40px; }
    .related-grid { grid-template-columns: repeat(2,1fr); }
    .section-type-notice .section-heading { grid-template-columns: 1fr; padding: 38px; }
    .footer-columns { grid-template-columns: repeat(2,1fr); gap: 38px; }
}

@media (max-width: 767.98px) {
    h2 { font-size: 2.65rem; }
    .hero-section h1 { font-size: 4.2rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-proof { display: grid; grid-template-columns: repeat(2,1fr); }
    .signal { min-height: 90px; border-bottom: 1px solid var(--line); }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .feature-card { min-height: 235px; }
    .arch-grid { grid-template-columns: repeat(2,1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card { min-height: 360px; }
    .service-form { padding: 24px 18px; }
    .language-grid { grid-template-columns: repeat(2,1fr); }
    .secure-tool-card { display: block; }
    .secure-tool-shot { aspect-ratio: 16 / 9.4; border-inline-end: 0; border-bottom: 1px solid #d9e1e6; }
    .access-summary { grid-template-columns: 1fr; }
    .commercial-hero { padding-top: 30px; }
    .commercial-hero h1 { font-size: clamp(3rem,15vw,4.6rem); }
    .commercial-actions .btn { width: 100%; }
    .commercial-visual { min-height: 275px; }
    .commercial-visual::before { width: 250px; height: 250px; }
    .commercial-visual::after { width: 185px; height: 185px; }
    .commercial-visual-core { width: 145px; height: 145px; }
    .commercial-price { right: 0; bottom: 5%; }
    [dir="rtl"] .commercial-price { right: auto; left: 0; }
    .commercial-metrics { grid-template-columns: 1fr; }
    .commercial-metrics > div { min-height: 74px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .commercial-metrics > div:last-child { border-bottom: 0; }
    .commercial-items,.section-type-list .commercial-items,.section-type-split .commercial-items { grid-template-columns: 1fr; }
    .section-type-process .commercial-items { grid-template-columns: 1fr; }
    .section-type-process .commercial-item,.section-type-process .commercial-item:nth-child(2) { border-inline-end: 0; border-bottom: 1px solid #ccd7dd; }
    .section-type-process .commercial-item:last-child { border-bottom: 0; }
    .related-grid { grid-template-columns: 1fr; }
    .commercial-final-cta .container { align-items: flex-start; flex-direction: column; }
    .commercial-final-cta .btn { width: 100%; }
    .footer-bottom { flex-direction: column; }
    .footer-legal { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 1.25rem; }
    .section-pad { padding: 72px 0; }
    .hero-section { min-height: auto; padding: 72px 0; }
    .hero-section h1 { font-size: clamp(3.1rem, 17vw, 4.1rem); }
    .hero-section h1 span { overflow-wrap: anywhere; }
    .terminal-body { min-height: 0; padding: 22px 18px; font-size: .71rem; }
    .terminal-footer { font-size: .56rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .screenshot-copy h3 { font-size: 1.45rem; }
    .access-controls { grid-template-columns: 1fr; }
    .access-summary { padding: 26px 22px; }
    .architecture-card { padding: 20px; }
    .timeline-grid { grid-template-columns: 1fr; }
    .timeline-step,.timeline-step:nth-child(2) { border-inline-end: 0; border-bottom: 1px solid #cfd8df; }
    .timeline-step:last-child { border-bottom: 0; }
    .install-cta { align-items: flex-start; flex-direction: column; }
    .service-options { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    .section-type-notice .section-heading { padding: 26px 22px; }
    .language-grid { grid-template-columns: 1fr; }
    .image-lightbox { --bs-modal-width: calc(100vw - 12px); }
    .image-lightbox .modal-dialog { margin: 6px auto; }
    .image-lightbox .modal-content { border-radius: 13px; }
    .lightbox-toolbar { min-height: 52px; padding: 6px 8px; }
    .lightbox-stage,.lightbox-image-wrap { min-height: 220px; }
    .lightbox-image-wrap { height: min(70vh, 620px); padding: 8px; }
    .lightbox-caption { min-height: 44px; padding: 11px 14px 13px; font-size: .7rem; }
    .back-to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 12px; }
    [dir="rtl"] .back-to-top { right: auto; left: 14px; }
}

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