/* Drop 751: the home page's brand look on every website page — navy dark theme, page headers with the logo's pixel
   pattern, a gold glow and the emblem in particles. Switched on in Website → Look & motion (<body data-brand="1">). */
body[data-brand="1"] { --sb-navy: #0F294C; --sb-navy2: #16386A; --sb-gold: #D4A03A; --sb-glow: rgba(212,160,58,.14); }
[data-theme="dark"] body[data-brand="1"] { --bg: #061326; --bg-2: #0A1B33; --bg-card: #0A1B33; --bg-glass: rgba(6,19,38,.92); --sb-navy2: #4F77B5; --sb-glow: rgba(212,160,58,.1); }

body[data-brand="1"] .page-hero:not(.page-hero-banner-wrap), body[data-brand="1"] .pd-hero { position: relative; overflow: hidden; isolation: isolate; }
body[data-brand="1"] .page-hero:not(.page-hero-banner-wrap) { padding-bottom: 4.5rem; min-height: 340px; display: flex; align-items: flex-end; }
body[data-brand="1"] .page-hero:not(.page-hero-banner-wrap) > .container { width: 100%; }
body[data-brand="1"] .page-hero:not(.page-hero-banner-wrap)::before, body[data-brand="1"] .pd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--sb-navy2) 38%, transparent) 1.1px, transparent 1.6px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 82% 40%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 60% 90% at 82% 40%, #000 15%, transparent 72%); }
[dir="rtl"] body[data-brand="1"] .page-hero:not(.page-hero-banner-wrap)::before, [dir="rtl"] body[data-brand="1"] .pd-hero::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 18% 40%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 60% 90% at 18% 40%, #000 15%, transparent 72%); }
body[data-brand="1"] .page-hero:not(.page-hero-banner-wrap)::after, body[data-brand="1"] .pd-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 44vw; height: 44vw; max-width: 640px; max-height: 640px; inset-inline-end: -10vw; top: -14vw; border-radius: 50%; background: radial-gradient(circle, var(--sb-glow), transparent 62%); }
body[data-brand="1"] .page-hero .section-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.1; max-width: 18ch; }
body[data-brand="1"] .page-hero .section-subtitle { max-width: 40rem; }
body[data-brand="1"] .page-hero .section-title::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 1.2rem; border-radius: 3px; background: linear-gradient(90deg, var(--sb-gold), var(--sb-navy2)); transform-origin: left; animation: sb-bar .9s cubic-bezier(.2,.8,.2,1) .2s both; }
[dir="rtl"] body[data-brand="1"] .page-hero .section-title::after { transform-origin: right; }
@keyframes sb-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body[data-brand="1"] .page-hero .container > * { animation: sb-rise .7s cubic-bezier(.2,.8,.2,1) both; }
body[data-brand="1"] .page-hero .container > *:nth-child(2) { animation-delay: .08s; } body[data-brand="1"] .page-hero .container > *:nth-child(3) { animation-delay: .16s; }
@keyframes sb-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* the emblem in particles and drifting pixels, added by site-brand.js */
.sb-emb { position: absolute; z-index: -1; inset-inline-end: clamp(1rem, 6vw, 7rem); top: 50%; width: clamp(180px, 22vw, 300px); aspect-ratio: 1 / 1; transform: translateY(-40%); pointer-events: auto; }
.sb-emb canvas { width: 100%; height: 100%; display: block; }
.sb-drift { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sb-drift i { position: absolute; bottom: -12px; border-radius: 1.5px; opacity: 0; animation: sb-up linear infinite; }
@keyframes sb-up { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .6; } 80% { opacity: .3; } 100% { transform: translateY(-420px); opacity: 0; } }
@media (max-width: 900px) { .sb-emb { display: none; } }
@media (prefers-reduced-motion: reduce) { body[data-brand="1"] .page-hero *, .sb-drift i { animation: none !important; } }
/* Drop 754: the version and build line in the footer */
.footer-build { margin: .3rem 0 0; font-size: .74rem; color: var(--fg-subtle); font-variant-numeric: tabular-nums; letter-spacing: .02em; user-select: all; }
/* Drop 767: the footer's bottom — copyright | version, links | badges; each row on one line, the end column flush right (left in Arabic) */
.footer-bottom.footer-bottom-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; row-gap: .75rem; align-items: center;
  padding-bottom: 4.5rem; /* room for the floating back-to-top and chat buttons at the very end of the page */ }
.footer-bottom-grid > div:empty { display: none; }
.footer-bottom-grid .fbg-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; min-width: 0; }
.footer-bottom-grid .fbg-end { justify-self: end; text-align: end; }
.footer-bottom-grid .footer-copy, .footer-bottom-grid .footer-build, .footer-bottom-grid .footer-powered { margin: 0; }
.footer-bottom-grid .footer-badges { justify-content: flex-end; flex-wrap: wrap; }
.footer-bottom-grid.is-beside .fbg-copy .footer-build { position: relative; padding-inline-start: 1rem; }
.footer-bottom-grid.is-beside .fbg-copy .footer-build::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; transform: translateY(-50%); }
.footer-bottom-grid.is-below .fbg-copy { flex-direction: column; gap: .3rem; }
@media (max-width: 760px) {
  .footer-bottom.footer-bottom-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom-grid .fbg-end { justify-self: start; text-align: start; }
  .footer-bottom-grid .footer-badges { justify-content: flex-start; }
}
