/* Design option B ("Horizon"): warm paper, big light type, soft sky and desert-dune art, dark product windows.
   Loaded after site.css on site/b/ pages (<html class="theme-b">). Brand tokens from itranks-ds.css. */

.theme-b {
  --paper: color-mix(in oklab, var(--it-gray-50) 50%, var(--it-amber-25) 50%);
  --paper-2: color-mix(in oklab, var(--paper) 70%, white);
  --ink: var(--it-gray-950);
  --mute: var(--it-gray-500);
  --line-b: color-mix(in oklch, var(--ink) 10%, transparent);
  --soft: color-mix(in oklab, var(--brand-50) 70%, var(--paper));
  --r-xl: 28px;
}
.theme-b body { background: var(--paper); color: var(--ink); }
.theme-b :is(h1, h2) { font-weight: 500; letter-spacing: -0.045em; }
html.theme-b[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; }

/* buttons: pills, monochrome */
.theme-b .btn { border-radius: 999px; font-weight: 500; }
.theme-b .btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.theme-b .btn-primary:hover { background: var(--brand-800); }
.theme-b .btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-b); }
.theme-b .btn-secondary:hover { background: #fff; border-color: var(--ink); }
.theme-b .btn .btn-arrow { display: none; }
.theme-b .link { color: var(--ink); }

/* header floats over the hero art */
.theme-b .site-header { position: fixed; inset-inline: 0; top: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.theme-b .site-header.is-scrolled { background: color-mix(in oklch, var(--paper) 82%, transparent); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom-color: var(--line-b); box-shadow: none; }
.theme-b .nav-link { color: var(--ink); font-weight: 500; }
.theme-b .nav-link:hover, .theme-b .nav-trigger[aria-expanded="true"] { background: rgb(255 255 255 / 45%); color: var(--ink); }
.theme-b .nav-link[aria-current="page"], .theme-b .nav-link.is-section { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.theme-b .lang-link { color: var(--ink); }
.theme-b .lang-link:hover { background: rgb(255 255 255 / 45%); color: var(--ink); }
.theme-b .menu-btn { background: rgb(255 255 255 / 70%); border-color: var(--line-b); }
.theme-b .mega { border-radius: 20px; border-color: var(--line-b); }
.theme-b .mm-icon { background: var(--paper); color: var(--ink); }
@media (max-width: 1080px) { .theme-b .main-nav { background: var(--paper); } }

/* ---------- hero ---------- */
.bh { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: var(--ink);
  padding-block: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0; }
.bh-plain { padding-bottom: clamp(56px, 8vw, 120px); }
.bh-art { position: absolute; inset: 0; z-index: -2; }
.hz-svg { display: block; width: 100%; height: 100%; }
.bh-fog { position: absolute; inset-inline: 0; bottom: 0; height: 38%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--paper) 0%, transparent) 0%, color-mix(in oklab, var(--paper) 70%, transparent) 55%, var(--paper) 100%); }
.bh-has-visual .bh-fog { height: 9%; }
.bh-copy { display: grid; justify-items: center; }
.bh .crumbs { margin-bottom: 18px; }
.bh .crumbs li, .bh .crumbs a { color: color-mix(in oklch, var(--ink) 70%, transparent); }
.bh .crumbs [aria-current] { color: var(--ink); }
.chip-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 500;
  background: rgb(255 255 255 / 55%); border: 1px solid rgb(255 255 255 / 70%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 22px; }
.chip-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); }
.bh h1 { font-size: clamp(2.5rem, .9rem + 5.4vw, 6.25rem); line-height: .98; font-weight: 400; letter-spacing: -0.055em; max-width: 14ch; }
.bh:not(.bh-home) h1 { font-size: clamp(2.25rem, 1rem + 3.8vw, 4.5rem); max-width: 18ch; line-height: 1.02; }
html.theme-b[lang="ar"] .bh h1 { line-height: 1.25; letter-spacing: 0; max-width: 16ch; }
.bh .lead { margin-top: 22px; max-width: 640px; color: color-mix(in oklch, var(--ink) 78%, transparent); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.bh .hero-logo { height: 30px; margin-bottom: 18px; }
.bh .hero-message { color: var(--ink); font-weight: 600; }
.bh .btn-row { margin-top: 30px; }
.bh .btn-primary { background: var(--ink); }
.bh .btn-ghost { background: rgb(255 255 255 / 65%); color: var(--ink); border-color: rgb(255 255 255 / 80%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bh .btn-ghost:hover { background: #fff; border-color: #fff; }

/* the "ask" field on the home hero (decorative, cycles real tasks) */
.prompt { display: flex; align-items: center; gap: 4px; width: min(600px, 100%); margin-top: 30px; padding: 8px 8px 8px 22px; border-radius: 999px; text-align: start;
  background: rgb(255 255 255 / 72%); border: 1px solid rgb(255 255 255 / 85%); box-shadow: 0 18px 40px -22px rgb(20 30 50 / 45%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
[dir="rtl"] .prompt { padding: 8px 22px 8px 8px; }
.prompt-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: color-mix(in oklch, var(--ink) 80%, transparent); font-size: 1rem; }
.prompt-caret { width: 2px; height: 1.2em; background: var(--ink); animation: caret 1s steps(1) infinite; flex: none; }
.prompt-go { margin-inline-start: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.prompt-go .icon { width: 18px; height: 18px; }
@keyframes caret { 50% { opacity: 0; } }

/* product window rising from the dunes */
.bh-visual { margin-top: clamp(40px, 6vw, 72px); max-width: 1180px; }
.bh-devices { position: relative; padding-inline: 4%; }
.bh-devices .bh-phone { position: absolute; inset-inline-end: 0; bottom: -2%; width: 21%; min-width: 120px; }
.bh-card { max-width: 860px; margin-inline: auto; padding: clamp(16px, 2.5vw, 28px); border-radius: var(--r-xl); background: rgb(255 255 255 / 55%);
  border: 1px solid rgb(255 255 255 / 75%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); margin-bottom: clamp(48px, 7vw, 96px); }
.bh-card .pdiag-bar { background: var(--ink); border: 0; }
.bh-card .pdiag-found { background: #fff; }
.bh .illus { margin-bottom: clamp(48px, 7vw, 96px); text-align: start; }
.js [data-rise] { opacity: 0; transform: translateY(60px) scale(.98); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-rise].is-in { opacity: 1; transform: none; }

.win { margin: 0; border-radius: 16px; overflow: hidden; background: #0d0f13; box-shadow: 0 50px 100px -40px rgb(10 14 22 / 60%), 0 20px 40px -24px rgb(10 14 22 / 40%); border: 1px solid rgb(255 255 255 / 8%); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 14px; background: #16191f; border-bottom: 1px solid rgb(255 255 255 / 6%); direction: ltr; }
.win-bar .tl { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar .tl:nth-child(2) { background: #febc2e; }
.win-bar .tl:nth-child(3) { background: #28c840; }
.win-bar i { margin-inline: auto; font-style: normal; font-size: .75rem; color: rgb(255 255 255 / 55%); background: rgb(255 255 255 / 7%); border-radius: 7px; padding: 3px 60px; }
.win .shot-zoom { background: rgb(255 255 255 / 85%); color: var(--ink); }

/* chips under the hero */
.bstrip { padding-block: 8px clamp(32px, 4vw, 56px); }
.strip-b { justify-content: center; }
.strip-b li { background: transparent; color: color-mix(in oklch, var(--ink) 70%, transparent); padding: 6px 12px; }
.strip-b .icon { color: var(--ink); }

/* ---------- section heads ---------- */
.theme-b .section { padding-block: clamp(72px, 9vw, 136px); }
.theme-b .section-soft { background: transparent; }
.theme-b .section + .section-soft, .theme-b .section-soft + .section { border-top: 0; }
.theme-b .sec-head { text-align: center; margin-inline: auto; max-width: 860px; }
.theme-b .sec-head h2 { font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem); line-height: 1.02; font-weight: 500; }
html.theme-b[lang="ar"] .sec-head h2 { line-height: 1.3; }
.theme-b .sec-intro { margin-inline: auto; max-width: 620px; color: var(--mute); }
.theme-b .eyebrow { color: var(--mute); letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: .9375rem; }
.theme-b .split-copy h2 { font-size: clamp(2rem, 1rem + 2.8vw, 3.5rem); line-height: 1.05; }

/* ---------- dimension sky cards ---------- */
.bdims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bdim { display: grid; gap: 18px; align-content: start; }
.sky { position: relative; aspect-ratio: 4 / 4.2; border-radius: 22px; overflow: hidden; display: grid; place-content: center; gap: 10px; padding: 18px;
  background:
    radial-gradient(60% 40% at 25% 30%, rgb(255 255 255 / 85%), transparent 70%),
    radial-gradient(50% 35% at 80% 20%, rgb(255 255 255 / 70%), transparent 70%),
    radial-gradient(70% 45% at 60% 75%, rgb(255 255 255 / 55%), transparent 70%),
    linear-gradient(180deg, #a9bccb 0%, #c9d4dc 55%, #e8e1d4 100%); }
.sky-2 { background:
    radial-gradient(55% 40% at 70% 28%, rgb(255 255 255 / 85%), transparent 70%),
    radial-gradient(45% 30% at 20% 60%, rgb(255 255 255 / 60%), transparent 70%),
    linear-gradient(170deg, #b8c4cd 0%, #d8d5cf 60%, #ecdcc4 100%); }
.sky-3 { background:
    radial-gradient(60% 35% at 40% 22%, rgb(255 255 255 / 80%), transparent 70%),
    radial-gradient(50% 40% at 85% 70%, rgb(255 255 255 / 55%), transparent 70%),
    linear-gradient(190deg, #9fb6c8 0%, #c3cfd8 50%, #e3d9c7 100%); }
.sky-4 { background:
    radial-gradient(55% 45% at 30% 70%, rgb(255 255 255 / 70%), transparent 70%),
    radial-gradient(45% 35% at 75% 25%, rgb(255 255 255 / 80%), transparent 70%),
    linear-gradient(180deg, #b3c1cc 0%, #d2d6d6 55%, #eadfcc 100%); }
.bdim-num { position: absolute; top: 14px; inset-inline-start: 16px; font-family: var(--brand-font-mono); font-size: .8125rem; color: rgb(13 17 23 / 55%); }
.snip { background: #fff; border-radius: 16px; box-shadow: 0 16px 32px -18px rgb(20 30 50 / 40%); padding: 12px 14px; font-size: .8125rem; color: var(--ink); text-align: start; min-width: 200px; }
.snip .icon { width: 18px; height: 18px; }
.snip-search { display: flex; align-items: center; gap: 10px; border-radius: 999px; padding: 8px 8px 8px 14px; }
[dir="rtl"] .snip-search { padding: 8px 14px 8px 8px; }
.snip-search span { flex: 1; }
.snip-search b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; }
.snip-search b .icon { width: 15px; height: 15px; }
.snip-list { display: grid; gap: 6px; padding: 10px 12px; }
.snip-list span { padding: 6px 8px; border-radius: 8px; background: var(--it-gray-50); }
.snip-list span:first-child { background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.snip-offer { display: flex; align-items: center; gap: 10px; }
.snip-offer b { display: block; font-size: .875rem; }
.snip-offer div span { color: var(--mute); font-size: .75rem; }
.snip-tag { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: .75rem; flex: none; }
.snip-chip { margin-inline-start: auto; padding: 3px 8px; border-radius: 999px; background: color-mix(in oklch, var(--success, #16a34a) 14%, white); color: color-mix(in oklch, var(--success, #16a34a) 75%, black); font-weight: 600; font-size: .6875rem; }
.snip-points { display: flex; align-items: center; gap: 8px; justify-self: center; min-width: 0; border-radius: 999px; padding: 8px 14px; }
.snip-points b { font-size: 1rem; }
.snip-points span { color: var(--mute); }
.snip-check { display: flex; align-items: center; gap: 10px; }
.snip-check > .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); }
.snip-check b { display: block; font-size: .875rem; }
.snip-check div span { color: var(--mute); font-size: .75rem; }
.snip-ok { margin-inline-start: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--success, #16a34a); color: #fff; }
.snip-ok .icon { width: 14px; height: 14px; }
.snip-shift { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-size: .75rem; color: var(--mute); }
.snip-shift i { height: 6px; border-radius: 999px; background: var(--it-gray-100); overflow: hidden; }
.snip-shift i b { display: block; height: 100%; width: var(--w); background: var(--brand-600); border-radius: inherit; }
.snip-toggles { display: grid; gap: 4px; padding: 8px; }
.snip-toggles span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; }
.snip-toggles span:nth-child(odd) { background: var(--it-gray-50); }
.snip-toggles b { flex: 1; font-weight: 600; }
.mini-sw { position: relative; width: 28px; height: 16px; border-radius: 999px; background: var(--it-gray-300); }
.mini-sw::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: inset-inline-start .3s; }
.mini-sw.on { background: var(--brand-600); }
.mini-sw.on::after { inset-inline-start: 14px; }
.bdim:hover .snip { transform: translateY(-3px); }
.snip { transition: transform .4s var(--ease); }
.bdim-cap h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
html.theme-b[lang="ar"] .bdim-cap h3 { letter-spacing: 0; }
.bdim-cap p { color: var(--mute); font-size: .9375rem; }
.bdim-cap p b { color: var(--ink); font-weight: 600; }
.bdim-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.theme-b .switch[aria-checked="true"] .switch-track { background: var(--ink); }
.bfound { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.bfound b { font-weight: 500; color: var(--mute); margin-inline-end: 6px; }
.bfound span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-b); font-size: .875rem; font-weight: 500; background: rgb(255 255 255 / 45%); }
.theme-b .mix { margin-top: 24px; border-radius: 22px; background: var(--ink); }
.theme-b .mix .btn-primary { background: #fff; color: var(--ink); }

/* ---------- tour: tabs over a sky panel ---------- */
.btour { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 64px) 0; text-align: center; }
.btour-sky { position: absolute; inset: 0; z-index: -1; }
.btour-sky .hz-svg { height: 100%; }
.btour-tabs { display: inline-flex; margin: 0 auto 28px; background: rgb(255 255 255 / 55%); border: 1px solid rgb(255 255 255 / 80%); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }
.theme-b .tour-tabs [role="tab"] { border-radius: 999px; color: color-mix(in oklch, var(--ink) 70%, transparent); font-weight: 500; }
.theme-b .tour-tabs [role="tab"]:hover { background: rgb(255 255 255 / 60%); color: var(--ink); }
.theme-b .tour-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgb(20 30 50 / 35%); }
.btour-panel { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; justify-items: center; }
.btour-cap h3 { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); font-weight: 500; letter-spacing: -0.04em; }
html.theme-b[lang="ar"] .btour-cap h3 { letter-spacing: 0; }
.btour-cap p { margin-top: 10px; color: color-mix(in oklch, var(--ink) 75%, transparent); max-width: 560px; margin-inline: auto; }
.btour .win { width: min(1040px, 100%); border-end-start-radius: 0; border-end-end-radius: 0; }
.btour .win .shot { max-height: 560px; overflow: hidden; }

/* ---------- roles: big list + screen ---------- */
.broles { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.broles-title { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem) !important; letter-spacing: -0.02em !important; margin-bottom: 28px; max-width: 22ch; font-weight: 500; }
.broles-list { display: grid; gap: 2px; justify-items: start; }
.broles-list [role="tab"] { border: 0; background: none; padding: 2px 0; cursor: pointer; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.2;
  color: color-mix(in oklch, var(--ink) 28%, transparent); text-align: start; transition: color .25s var(--ease); }
html.theme-b[lang="ar"] .broles-list [role="tab"] { letter-spacing: 0; line-height: 1.5; }
.broles-list [role="tab"]:hover { color: color-mix(in oklch, var(--ink) 60%, transparent); }
.broles-list [role="tab"][aria-selected="true"] { color: var(--ink); }
.theme-b .broles-panel { display: block; grid-template-columns: none; }
.broles .tour-panels { min-width: 0; }
.broles-media { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 6% 7% 16%; }
.broles-media .btour-sky { z-index: -1; }
.broles-media .win { width: 100%; }
.broles-media .media-phone .phone { width: min(230px, 46%); }
.broles-card { position: absolute; inset-inline: 7%; bottom: 5%; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px;
  background: rgb(255 255 255 / 92%); box-shadow: 0 16px 36px -18px rgb(20 30 50 / 45%); text-align: start; font-size: .9375rem; }
.broles-card .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ink); color: #fff; }

/* ---------- closing block over the dusk dunes ---------- */
.bcta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(88px, 10vw, 150px) clamp(170px, 19vw, 280px); }
.bcta .bh-art { z-index: -1; }
.bcta-inner { max-width: 900px; }
.bcta h2 { font-size: clamp(2.5rem, 1rem + 5vw, 5.5rem); line-height: 1; font-weight: 400; letter-spacing: -0.05em; text-shadow: 0 2px 30px rgb(20 20 40 / 25%); }
html.theme-b[lang="ar"] .bcta h2 { line-height: 1.3; letter-spacing: 0; }
.bcta p { margin-top: 18px; color: rgb(255 255 255 / 88%); font-size: 1.125rem; max-width: 620px; margin-inline: auto; }
.bcta .btn-primary { background: #fff; color: var(--ink); }
.bcta .btn-primary:hover { background: var(--brand-100); }
.bcta .btn-ghost { background: rgb(15 20 40 / 35%); color: #fff; border-color: rgb(255 255 255 / 55%); backdrop-filter: blur(6px); }
.bcta .btn-ghost:hover { background: rgb(15 20 40 / 55%); border-color: #fff; }

/* ---------- other sections, quieter ---------- */
.theme-b :is(.card, .dim, .modcard, .uc, .journey, .role, .step, .sysbox, .if-who, .if-sys, .ic-col, .adiag-box, .safeguards, .qa, .table-wrap) { box-shadow: none; border-color: var(--line-b); border-radius: 20px; background: rgb(255 255 255 / 55%); }
.theme-b :is(.card, .modcard, .uc, .dim):hover { box-shadow: 0 20px 40px -28px rgb(20 30 50 / 35%); border-color: color-mix(in oklch, var(--ink) 22%, transparent); }
.theme-b :is(.dim-icon, .card-icon, .step-icon) { background: var(--ink); box-shadow: none; border-radius: 14px; }
.theme-b .role-icon { background: var(--paper); color: var(--ink); }
.theme-b :is(.dim-num, .step-num) { color: color-mix(in oklch, var(--ink) 22%, transparent); }
.theme-b .step:not(:last-child)::after { border-color: color-mix(in oklch, var(--ink) 30%, transparent); }
.theme-b :is(.chips li, .modchips a, .ic-sys span, .if-sys > div span, .pdiag-found span) { background: rgb(255 255 255 / 70%); color: var(--ink); border: 1px solid var(--line-b); }
.theme-b .ticks .icon { background: var(--ink); color: #fff; }
.theme-b .ic-core, .theme-b .if-core { border-color: var(--ink); background: rgb(255 255 255 / 70%); }
.theme-b .ic-who .icon, .theme-b .if-who .icon { background: var(--ink); }
.theme-b .adiag-core { background: var(--ink); }
.theme-b .split-media { border-radius: var(--r-xl); }
.theme-b .chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.theme-b .callout, .theme-b .foundation { background: rgb(255 255 255 / 60%); border-color: var(--line-b); }
.theme-b .note { border-inline-start-color: var(--ink); }

/* FAQ: hairlines and plus signs */
.theme-b .faq-list { gap: 0; }
.theme-b .qa { border: 0; border-bottom: 1px solid var(--line-b); border-radius: 0; background: transparent; }
.theme-b .qa:first-child { border-top: 1px solid var(--line-b); }
.theme-b .qa[open] { box-shadow: none; }
.theme-b .qa summary { padding-inline: 4px; font-weight: 500; }
.theme-b .qa-chev { display: none; }
.theme-b .qa summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--mute); transition: transform .3s var(--ease); }
.theme-b .qa[open] summary::after { transform: rotate(45deg); }
.theme-b .qa-body { padding-inline: 4px; }

/* footer on paper */
.theme-b .site-footer { background: var(--paper-2); color: var(--mute); border-top: 1px solid var(--line-b); }
.theme-b .footer-brand .f-logo-dark { display: none; }
.theme-b .footer-brand .f-logo-light { display: block; }
.theme-b .footer-tag, .theme-b .footer-nav h2 { color: var(--ink); }
.theme-b .footer-nav a { color: var(--mute); }
.theme-b .footer-nav a:hover { color: var(--ink); }
.theme-b .footer-brand .btn-light { background: var(--ink); color: #fff; }
.theme-b .footer-bottom { border-top-color: var(--line-b); }
.theme-b .footer-bottom .lang-link { color: var(--ink); }

/* demo page header area on option B */
.theme-b .hero-demo { padding-top: calc(var(--header-h) + 40px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bdims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .broles { grid-template-columns: minmax(0, 1fr); }
  .broles-list { grid-auto-flow: column; overflow-x: auto; gap: 18px; padding-bottom: 6px; scrollbar-width: none; }
  .broles-list [role="tab"] { font-size: 1.375rem; white-space: nowrap; }
}
@media (max-width: 640px) {
  .bdims { grid-template-columns: minmax(0, 1fr); }
  .sky { aspect-ratio: 4 / 3; }
  .bh-devices { padding-inline: 0 14%; }
  [dir="rtl"] .bh-devices { padding-inline: 0 14%; }
  .bh-devices .bh-phone { width: 30%; }
  .win-bar i { padding: 3px 24px; }
  .prompt-text { font-size: .875rem; }
  .btour { padding-inline: 12px; }
  .broles-card { border-radius: 16px; font-size: .8125rem; }
  .bcta { padding-block: 80px 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; }
  .prompt-caret { animation: none; }
}

/* Magnific photos (when present) replace the drawn art */
.hz-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.bcta .hz-img { object-position: 50% 70%; }
.sky-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sky > :not(.sky-img) { position: relative; z-index: 1; }
.sky .bdim-num { position: absolute; }
.sky-img { filter: saturate(1.2) contrast(1.06) brightness(.93); }
.btour-sky .hz-img, .broles-media .hz-img { object-position: 50% 30%; filter: saturate(1.15) brightness(.95); }
