/* AIR brand book (/brand/, /en/brand/, /ar/brand/). Builds on style.css tokens. */
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.bb-page { --toc-h: 0px; }
.bb-page main { overflow-x: clip; }

/* ---------- hero ---------- */
.bb-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(620px 320px at 85% 10%, rgba(19, 181, 194, .12), transparent 70%),
    radial-gradient(520px 300px at 10% 110%, rgba(108, 92, 231, .08), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg-soft);
}
.bb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-soft) 0%, rgba(244,247,250,.6) 60%, rgba(244,247,250,.35) 100%); pointer-events: none; }
.bb-hero-inner { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.bb-hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.3; max-width: 760px; }
.bb-hero-intro { margin-top: 18px; max-width: 640px; color: var(--muted); font-size: 17.5px; }
.bb-hero .hero-cta { margin-top: 34px; }
.bb-hero .btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bb-btn-size { font-weight: 500; opacity: .8; font-size: 13px; }
.bb-hero-mark {
  position: absolute; z-index: 1; top: 50%; transform: translateY(-50%);
  inset-inline-end: max(24px, calc((100vw - var(--container)) / 2 + 40px));
  width: 250px; height: auto; padding: 34px; box-sizing: content-box;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}

/* ---------- layout + toc ---------- */
.bb-layout { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 24px; padding-bottom: 24px; }
.bb-main { min-width: 0; }
.bb-toc { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 48px; }
.bb-toc-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; padding-inline-start: 14px; }
.bb-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-inline-start: 1px solid var(--line); }
.bb-toc a {
  display: flex; align-items: baseline; gap: 10px; padding: 7px 14px; margin-inline-start: -1px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-inline-start: 2px solid transparent;
  transition: color .2s, border-color .2s, background-color .2s;
}
.bb-toc a:hover { color: var(--brand-deep); }
.bb-toc a[aria-current="true"] { color: var(--brand-deep); font-weight: 700; border-inline-start-color: var(--warm); background: linear-gradient(to left, transparent, transparent); }
.bb-toc-n { font-size: 12px; color: var(--muted); font-weight: 600; min-width: 18px; }

/* ---------- sections ---------- */
.bb-sec { padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.bb-sec:first-child { border-top: 0; padding-top: 56px; }
.bb-head { margin-bottom: 36px; }
.bb-head .eyebrow { margin-bottom: 10px; }
.bb-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.4; }
.bb-intro { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 720px; }
.bb-sub { font-size: 20px; font-weight: 800; margin: 56px 0 18px; line-height: 1.5; }
.bb-lead { color: var(--ink-2); font-size: 16px; max-width: 760px; margin: -6px 0 22px; }
.bb-note { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 760px; }
.bb-grid { display: grid; gap: 16px; }
.bb-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; }
.bb-card h3 { font-size: 16px; font-weight: 700; color: var(--brand-deep); margin-bottom: 8px; }
.bb-card p { color: var(--ink-2); font-size: 15.5px; }
.bb-card-name { background: var(--brand-soft); border-color: #CDEBEE; }
.bb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.bb-list li { position: relative; padding-inline-start: 22px; color: var(--ink-2); font-size: 15.5px; }
.bb-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .78em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }

/* ---------- essence ---------- */
.bb-tagline {
  margin-top: 40px; padding: 40px 44px; border-radius: 20px; color: #DCE6F0; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(19, 181, 194, .16), transparent 60%),
    radial-gradient(500px 280px at 0% 100%, rgba(108, 92, 231, .2), transparent 60%),
    var(--dark);
}
.bb-tagline .bb-sub { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--brand-2); }
.bb-tagline-text { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.4; color: #fff; }
.bb-tagline-text span { display: block; }
.bb-tagline-text .grad { background: linear-gradient(100deg, #8F84F0 0%, var(--brand-2) 60%, #5FD3DC 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-tagline .bb-note { color: #A9B9CA; margin-top: 18px; }
.bb-attrs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bb-attrs li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.bb-attrs li::before { content: ""; position: absolute; top: -1px; inset-inline-start: 18px; width: 22px; height: 2px; border-radius: 2px; background: var(--warm); }
.bb-attr-n { font-size: 12px; font-weight: 600; color: var(--muted); }
.bb-attrs b { font-size: 18px; font-weight: 800; color: var(--ink); }
.bb-attrs span:last-child { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.bb-principles { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bb-principles li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 12px; background: var(--bg-soft); }
.bb-principles b { color: var(--brand-deep); font-size: 15.5px; }
.bb-principles span { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.bb-voice { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bb-voice li { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-say { border-radius: 12px; padding: 14px 18px 16px; border: 1px solid var(--line); }
.bb-say p { font-size: 15.5px; color: var(--ink); margin-top: 6px; }
.bb-say-do { background: #F2FAFA; border-color: #CDEBEE; }
.bb-say-dont { background: #FFF6F5; border-color: #F6D4D0; }
.bb-say-dont p { color: var(--ink-2); }
.bb-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.bb-badge svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bb-badge-ok { color: var(--brand-deep); }
.bb-badge-no { color: #B42318; }

/* ---------- logo ---------- */
.bb-show { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bb-show figure { margin: 0; position: relative; border-radius: 20px; min-height: 300px; display: grid; place-items: center; padding: 64px 40px; }
.bb-show img { width: min(100%, 360px); height: auto; }
.bb-show figcaption { position: absolute; bottom: 16px; inset-inline-start: 20px; font-size: 13px; font-weight: 500; }
.bb-show-light { background: #fff; border: 1px solid var(--line); }
.bb-show-light figcaption { color: var(--muted); }
.bb-show-dark { background: var(--dark); }
.bb-show-dark figcaption { color: #A3B4C6; }

.bb-concept { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: 56px; }
.bb-concept .bb-sub { margin-top: 0; }
.bb-construct-fig { margin: 0; }
.bb-construct { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.bb-construct text { font: 600 1.5px "Outfit", sans-serif; fill: #607389; }
.bb-construct .bb-construct-dim { fill: var(--brand-deep); font-size: 1.4px; }
.bb-construct-fig figcaption, .bb-cs figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.bb-steps { list-style: none; margin: 0; padding: 0; }
.bb-steps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bb-steps li:last-child { border-bottom: 0; }
.bb-step-n { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--brand-deep); background: var(--brand-soft); margin-top: 2px; }
.bb-steps li:last-child .bb-step-n { background: var(--warm-soft); color: #8A5300; }
.bb-steps h4 { font-size: 16px; font-weight: 700; }
.bb-steps p { font-size: 15px; color: var(--muted); }

.bb-versions { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
.bb-ver { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bb-art { height: 170px; display: flex; align-items: center; justify-content: center; gap: 14px; background: #fff; position: relative; }
.bb-ver .bb-art { border-bottom: 1px solid var(--line); background: linear-gradient(var(--bg-soft) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, var(--bg-soft) 1px, transparent 1px) 0 0 / 16px 16px, #fff; }
.bb-ver .bb-art-photo, .bb-art-photo { background: radial-gradient(240px 140px at 80% 10%, rgba(19,181,194,.35), transparent 70%), linear-gradient(135deg, #0B5F68 0%, #0F1B28 75%); }
.bb-art-dark { background: var(--dark) !important; }
.bb-art-soft { background: var(--bg-soft) !important; }
.bb-art img { height: auto; }
.bb-w-50 { width: 50%; } .bb-w-62 { width: 62%; } .bb-w-86 { width: 86%; }
.bb-sym { width: 86px; }
.bb-art-icons img { width: 64px; height: 64px; }
.bb-art-icons .bb-icon-white { box-shadow: 0 0 0 1px var(--line); border-radius: 22.5%; }
.bb-art-stack { flex-direction: column; gap: 18px; }
.bb-ver-body { padding: 18px 20px 20px; }
.bb-ver h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.bb-ver p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.bb-cs { margin: 0; }
.bb-cs-svg, .bb-construct { direction: ltr; unicode-bidi: isolate; }
.bb-cs-svg { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.bb-cs-svg .cs-zone { fill: rgba(15, 163, 177, .07); stroke: #0B7F8A; stroke-width: 5; stroke-dasharray: 26 18; }
.bb-cs-svg .cs-box { fill: #fff; stroke: #B7C4D1; stroke-width: 4; stroke-dasharray: 12 10; }
.bb-cs-svg .cs-dim { stroke: #0B7F8A; stroke-width: 6; fill: none; }
.bb-cs-svg text { font: 600 82px "Outfit", sans-serif; fill: #0B7F8A; }
.bb-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.bb-specs div { padding: 16px 18px; border-radius: 12px; background: var(--bg-soft); }
.bb-specs dt { font-weight: 700; font-size: 15px; }
.bb-specs dd { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }

.bb-min { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bb-min li { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.bb-min li:last-child { border-bottom: 0; }
.bb-min b { display: block; font-size: 15.5px; }
.bb-min li > div:first-child span { color: var(--ink-2); font-size: 14.5px; }
.bb-min-art { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 52px; border-radius: 10px; padding: 8px 14px; background: linear-gradient(var(--bg-soft) 1px, transparent 1px) 0 0 / 8px 8px, linear-gradient(90deg, var(--bg-soft) 1px, transparent 1px) 0 0 / 8px 8px, #fff; border: 1px dashed var(--line); }
.bb-min-art img { height: auto; flex: none; image-rendering: auto; }
.bb-min-tag { font-size: 12px; color: var(--muted); margin-inline-end: auto; }

/* do / don't */
.bb-dd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-dd-do { margin-top: 22px; }
.bb-dd { margin: 0; }
.bb-dd-art { position: relative; height: 150px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bb-dd .bb-art { height: 100%; }
.bb-mark-ico { position: absolute; top: 10px; inset-inline-end: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 3px #fff; }
.bb-mark-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.bb-do .bb-mark-ico { background: var(--brand-deep); }
.bb-dont .bb-mark-ico { background: #D92D20; }
.bb-dont .bb-dd-art { border-color: #F3C7C2; }
.bb-dd figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.bb-dd figcaption b { font-weight: 700; margin-inline-end: 4px; }
.bb-do figcaption b { color: var(--brand-deep); }
.bb-dont figcaption b { color: #B42318; }
.bb-fx { display: block; width: 62%; filter: drop-shadow(0 5px 4px rgba(15, 27, 40, .45)) drop-shadow(0 0 10px rgba(108, 92, 231, .6)); }
.bb-mask { display: block; width: 62%; aspect-ratio: 2582 / 710; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.bb-fx .bb-mask { width: 100%; }
.bb-m-grad { background: linear-gradient(90deg, #6C5CE7, #13B5C2 55%, #F5A524); }
.bb-m-violet { background: #6C5CE7; }
.bb-f-hue { filter: hue-rotate(150deg) saturate(1.6); }
.bb-f-stretch { transform: scale(1.6, .62); }
.bb-retype { display: flex; align-items: flex-end; gap: 4px; }
.bb-retype img { width: 50px; }
.bb-retype span { font: italic 400 46px/0.82 Georgia, "Times New Roman", serif; color: var(--ink); }
.bb-art-busy { background: repeating-linear-gradient(-45deg, #0FA3B1 0 9px, #E6F6F7 9px 18px) !important; }
.bb-crowd { position: relative; display: block; width: 58%; }
.bb-crowd img { width: 100%; }
.bb-crowd i { position: absolute; display: block; }
.bb-crowd i:first-of-type { right: -12%; top: -24%; width: 30%; height: 34%; border-radius: 999px; background: #F5A524; }
.bb-crowd i:last-of-type { left: -10%; bottom: -26%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #6C5CE7; }

/* ---------- colour ---------- */
.bb-swatches { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.bb-sw { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bb-sw-chip { height: 104px; }
.bb-sw-light { box-shadow: inset 0 -1px 0 var(--line); }
.bb-sw-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.bb-sw h3 { font-size: 16.5px; font-weight: 800; }
.bb-sw-role { font-size: 13.5px; color: var(--muted); }
.bb-sw-codes { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 12px 0; }
.bb-copy {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  font: 600 12.5px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  transition: background-color .2s, border-color .2s, color .2s;
}
.bb-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bb-copy:hover { border-color: #9ED7DD; background: var(--brand-soft); color: var(--brand-deep); }
.bb-copy.is-copied { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.bb-sw-use { font-size: 14px; color: var(--ink-2); line-height: 1.75; margin-top: auto; }

.bb-prop { display: flex; height: 46px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.bb-prop span { min-width: 8px; }
.bb-prop .bb-prop-white { background: repeating-linear-gradient(90deg, #fff 0 18px, var(--bg-soft) 18px 36px) !important; }
.bb-prop-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.bb-prop-legend li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.bb-prop-legend b { color: var(--ink); }
.bb-dots { display: inline-flex; }
.bb-dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); margin-inline-end: -3px; }
.bb-dots i:last-child { margin-inline-end: 2px; }

.bb-pairs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.bb-pair { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.bb-pair-sample { height: 74px; display: grid; place-items: center; font-size: 24px; font-weight: 800; border-bottom: 1px solid var(--line); }
.bb-pair-meta { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.bb-pair-meta b { font-size: 16px; text-align: left; }
[dir="rtl"] .bb-pair-meta b { text-align: right; }
.bb-pair-level { font-size: 13px; font-weight: 600; }
.bb-pair-AAA .bb-pair-level, .bb-pair-AA .bb-pair-level { color: var(--brand-deep); }
.bb-pair-large .bb-pair-level { color: #8A5300; }
.bb-pair-decorative .bb-pair-level { color: #B42318; }
.bb-pair-codes { font: 500 12px ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--muted); text-align: end; }
[dir="rtl"] .bb-pair-codes { text-align: right; }

/* ---------- typography ---------- */
.bb-fam { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.bb-spec { padding: 26px 28px; background: var(--bg-soft); border-bottom: 1px solid var(--line); flex: 1; }
.bb-spec-outfit, .bb-spec-outfit * { font-family: "Outfit", sans-serif; }
.bb-spec-big { display: block; font-size: 92px; line-height: 1.1; font-weight: 800; color: var(--ink); }
.bb-spec-outfit .bb-spec-big { font-weight: 600; letter-spacing: -1px; }
.bb-spec-abc { font-size: 15px; color: var(--ink-2); margin-top: 8px; line-height: 1.9; word-spacing: 2px; overflow-wrap: anywhere; }
.bb-weights { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.bb-weights li { display: flex; align-items: baseline; gap: 12px; font-size: 19px; color: var(--ink); line-height: 1.7; }
.bb-w-n { flex: none; display: inline-block; min-width: 32px; font: 600 12px ui-monospace, Consolas, monospace; color: var(--muted); }
.bb-fam-body { padding: 20px 28px 24px; }
.bb-fam-body h3 { font: 600 24px/1.3 "Outfit", sans-serif; text-align: start; }
[dir="rtl"] .bb-fam-body h3 { text-align: right; }
.bb-fam-body > p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.bb-fam-body dl { margin: 14px 0 0; display: grid; gap: 6px; }
.bb-fam-body dl div { display: flex; gap: 12px; font-size: 14.5px; }
.bb-fam-body dt { color: var(--muted); min-width: 64px; }
.bb-fam-body dd { margin: 0; font-weight: 600; }

.bb-scale { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.bb-scale-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px 90px; gap: 12px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.bb-scale-row:last-child { border-bottom: 0; }
.bb-scale-head { background: var(--bg-soft); font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.bb-scale-sample { font-size: var(--fs); color: var(--ink); overflow-wrap: anywhere; }

/* ---------- graphics ---------- */
.bb-graphics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-gcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.bb-gcard-wide { grid-column: 1 / -1; flex-direction: row; }
.bb-gcard-wide .bb-g-art { flex: 1.3; height: auto; min-height: 180px; border-bottom: 0; border-inline-end: 1px solid var(--line); }
.bb-gcard-wide .bb-g-body { flex: 1; align-self: center; }
.bb-g-art { height: 150px; display: grid; place-items: center; background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.bb-gart-airflow { background: #fff; }
.bb-flow { width: 100%; height: 100%; }
[dir="rtl"] .bb-flow { transform: scaleX(-1); }
.bb-g-body { padding: 18px 22px 22px; }
.bb-g-body h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.bb-g-body p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.bb-g-rules { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.bb-g-rules span { position: relative; background: #fff; }
.bb-g-rules span + span { background: var(--dark); }
.bb-g-rules span::after { content: ""; position: absolute; left: 14%; right: 14%; top: 50%; height: 1px; background: var(--line); }
.bb-g-rules span + span::after { background: rgba(255, 255, 255, .1); }
.bb-g-eyebrow, .bb-g-card { width: 72%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.bb-g-eyebrow .eyebrow { margin: 0; }
.bb-skel { display: block; height: 9px; width: 70%; border-radius: 6px; background: var(--line); }
.bb-skel-s { width: 46%; }
.bb-skel-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); }
.bb-g-icons { display: flex; gap: 14px; }
.bb-g-icons .ico { margin: 0; }

/* ---------- family ---------- */
.bb-callout { padding: 20px 24px; border-radius: var(--radius); background: var(--brand-soft); border-inline-start: 3px solid var(--brand-deep); }
.bb-callout h3 { font-size: 16px; font-weight: 700; color: var(--brand-deep); }
.bb-callout p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.bb-lineup { margin-top: 22px; display: flex; align-items: center; gap: 24px; padding: 28px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.bb-lineup-air { flex: none; }
.bb-lineup-air img { height: 40px; width: auto; }
.bb-lineup-rule { flex: none; width: 1px; align-self: stretch; background: var(--line); }
.bb-products { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 22px; align-items: flex-end; }
.bb-products li, .bb-sister-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.bb-plogo { height: 46px; display: flex; align-items: center; justify-content: center; }
.bb-plogo img { height: 34px; width: auto; }
.bb-plogo[data-brand="aramin"] img { height: 24px; }
.bb-plogo[data-brand="devna"] img { height: 26px; }
.bb-plogo[data-brand="muno"] img { height: 40px; }
.bb-plogo[data-brand="netarz"] img { height: 38px; }
.bb-plogo[data-brand="nobatgir"] img { height: 40px; border-radius: 10px; }
.bb-pname { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bb-pcat { font-size: 12.5px; color: var(--muted); }
.bb-sister { margin-top: 12px; display: flex; align-items: center; gap: 22px; padding: 16px 24px; border: 1px dashed #C9D6E3; border-radius: 14px; }
.bb-sister-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
.bb-sister-item { flex-direction: row; gap: 12px; }
.bb-endorse { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.bb-endorse-demo { margin: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 44px 24px 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.bb-endorse-tag { position: absolute; top: 12px; inset-inline-start: 14px; font-size: 12px; color: var(--muted); }
.bb-endorse-logo img { height: 48px; }
.bb-endorse-line { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.bb-endorse-air { height: 18px; width: auto; }

/* ---------- downloads ---------- */
.bb-kit { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 18px; background: var(--dark); color: #fff; transition: background-color .2s, transform .2s; }
.bb-kit:hover { background: #142638; transform: translateY(-2px); }
.bb-kit-art { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--dark-2); display: grid; place-items: center; }
.bb-kit-art img { width: 38px; height: auto; }
.bb-kit-text { display: flex; flex-direction: column; }
.bb-kit-text b { font-size: 17px; }
.bb-kit-text small { font-size: 13.5px; color: #A3B4C6; }
.bb-kit-go { margin-inline-start: auto; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-deep); display: grid; place-items: center; }
.bb-kit-go svg, .bb-dl-btn svg, .bb-dl-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bb-dl { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bb-dl li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.bb-dl li:last-child { border-bottom: 0; }
.bb-dl-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; }
.bb-dl-text h3 { font-size: 15.5px; font-weight: 700; }
.bb-dl-text p { font-size: 14px; color: var(--muted); }
.bb-dl-fmt { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 9px; margin-inline-end: 8px; line-height: 1.8; }
.bb-dl-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.bb-dl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: border-color .2s, background-color .2s; }
.bb-dl-btn svg { color: var(--brand-deep); }
.bb-dl-btn > span { display: flex; flex-direction: column; line-height: 1.35; }
.bb-dl-btn small { font-size: 12px; color: var(--muted); font-weight: 500; }
.bb-dl-btn:hover { border-color: #9ED7DD; background: var(--brand-soft); }

/* ---------- contact ---------- */
#brand-use { border-top: 0; padding-top: 24px; padding-bottom: 88px; }
.bb-contact { padding: 44px 48px; }
.bb-contact .eyebrow { margin-bottom: 8px; }
.bb-contact .eyebrow-light { color: #fff; }
.bb-contact > div:first-child { max-width: 620px; position: relative; z-index: 1; }
.bb-contact-actions { grid-template-columns: auto; justify-items: center; }

/* ---------- logo motion ---------- */
.bb-motion-show img { width: min(100%, 400px); }
.bb-motion-bar { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bb-loader { margin: 0; display: flex; align-items: center; gap: 12px; }
.bb-loader-tile { width: 96px; height: 96px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.bb-loader-dark { background: var(--dark); border-color: var(--dark); }
.bb-loader-img { width: 64px; height: 64px; }
.bb-loader figcaption { font-size: 13.5px; color: var(--muted); margin-inline-start: 6px; }
.bb-motion-toggle { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.bb-motion-toggle[hidden] { display: none; }
.bb-motion-toggle:hover { border-color: #9ED7DD; background: var(--brand-soft); }
.bb-motion-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bb-motion-toggle .bb-i-play { display: none; fill: var(--brand-deep); }
.bb-motion-toggle[aria-pressed="true"] .bb-i-play { display: block; }
.bb-motion-toggle[aria-pressed="true"] .bb-i-pause { display: none; }
.bb-specs-motion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .bb-specs-motion { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .bb-loader-tile { width: 80px; height: 80px; } }

/* footer credit demo */
.bb-credit-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bb-credit-card { position: relative; display: grid; place-items: center; min-height: 140px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--muted); padding: 40px 20px; }
.bb-credit-card-dark { background: var(--dark); border-color: var(--dark); color: #A3B4C6; }
.bb-credit-card .air-credit { font-size: 14px; }
.bb-credit-light:hover { color: var(--ink); }
.bb-credit-cap { position: absolute; bottom: 12px; inset-inline-start: 16px; font-size: 12.5px; }
.bb-rule { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding-inline-start: 14px; border-inline-start: 3px solid var(--warm); }
.bb-snippets { margin-top: 18px; }
.bb-snippet { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; min-width: 0; }
.bb-snippet figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.bb-copy-code { font-family: inherit; font-size: 13px; }
.bb-code { margin: 0; padding: 14px 16px; overflow-x: auto; font: 12px/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink); background: #fff; text-align: left; white-space: pre; tab-size: 2; }

/* Teal Deep reaches 4.28-4.49:1 on the light tints; text on tinted backgrounds uses #096D77 (>= 5.3:1) */
.bb-hero .eyebrow, .bb-card-name h3, .bb-principles b, .bb-say-do .bb-badge-ok, .bb-step-n, .bb-callout h3,
.bb-toc a[aria-current="true"], .bb-copy:hover, .bb-dl-btn:hover, .bb-motion-toggle:hover, .bb-page .lang-current { color: #096D77; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .bb-hero-mark { width: 190px; padding: 26px; }
  .bb-hero h1, .bb-hero-intro { max-width: 600px; }
  .bb-attrs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bb-dd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .bb-hero-mark { display: none; }
  .bb-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .bb-toc {
    top: var(--header-h); z-index: 40; padding: 10px 24px; margin: 0 -24px;
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .bb-toc-title { display: none; }
  .bb-toc ol { display: flex; gap: 8px; border: 0; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 24px; }
  .bb-toc ol::-webkit-scrollbar { display: none; }
  .bb-toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; margin: 0; font-size: 14px; }
  .bb-toc a[aria-current="true"] { background: var(--brand-soft); border-color: #9ED7DD; }
  .bb-toc-n { display: none; }
  .bb-sec { scroll-margin-top: calc(var(--header-h) + 64px); padding: 56px 0; }
  .bb-sec:first-child { padding-top: 40px; }
  .bb-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-concept, .bb-endorse { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bb-specs { grid-template-columns: minmax(0, 1fr); }
  .bb-lineup { flex-direction: column; align-items: flex-start; }
  .bb-lineup-rule { width: 100%; height: 1px; }
}
@media (max-width: 640px) {
  .bb-hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .bb-hero .btn { width: 100%; }
  .bb-toc { margin: 0 -16px; padding: 10px 16px; }
  .bb-grid-2, .bb-show, .bb-graphics, .bb-credit-demo { grid-template-columns: minmax(0, 1fr); }
  .bb-attrs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-principles { grid-template-columns: minmax(0, 1fr); }
  .bb-voice li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-bottom: 8px; }
  .bb-tagline { padding: 30px 24px; }
  .bb-show figure { min-height: 210px; padding: 48px 28px; }
  .bb-min li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .bb-dd-grid { gap: 12px; }
  .bb-dd-art { height: 118px; }
  .bb-dd figcaption { font-size: 13.5px; }
  .bb-scale-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 16px; }
  .bb-scale-row > :first-child { grid-column: 1 / -1; }
  .bb-scale-head > :first-child { display: none; }
  .bb-scale-sample { font-size: min(var(--fs), 11vw); }
  .bb-gcard-wide { flex-direction: column; }
  .bb-gcard-wide .bb-g-art { border-inline-end: 0; border-bottom: 1px solid var(--line); min-height: 150px; }
  .bb-dl li { grid-template-columns: 42px minmax(0, 1fr); padding: 16px; }
  .bb-dl-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .bb-kit { padding: 16px; gap: 14px; }
  .bb-kit-text b { font-size: 15.5px; }
  .bb-contact { padding: 32px 22px; }
  .bb-spec { padding: 22px; }
  .bb-spec-big { font-size: 72px; }
  .bb-fam-body { padding: 18px 22px 22px; }
  .bb-sister { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 400px) {
  .bb-attrs { grid-template-columns: minmax(0, 1fr); }
  .bb-dd-art { height: 104px; }
}
@media (max-width: 330px) {
  .bb-dd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-kit:hover { transform: none; }
}
