/* Basira: jade on night for Personal, daylight bone for Business. Alexandria from thin to bold.
   Clean first: big type, generous space, real photography, simple rounded panels, one signature interaction per page. */
:root {
  --bg: #08110E; --ink: #ECEAE2; --muted: #93A099; --line: #1E2C27; --surface: #0E1A16; --surface-2: #15241F;
  --accent: #0E9F7E; --accent-ink: #04120D; --accent-t: #2DBB96; --au: #D4CEBC;
  --font-d: "Alexandria", system-ui, sans-serif; --font-u: "Alexandria", system-ui, sans-serif; --font-n: "Alexandria", system-ui, sans-serif;
  --r: 28px; --max: 1360px; --bar-h: 76px; --sec: clamp(104px, 13vw, 200px);
  --pa-bg: #0A1310; --pa-ink: #ECEAE2; --pa-mut: #8E9B95; --pa-card: #13211C; --pa-line: #1B2A24; --pa-track: #22332C;
}
html { background: #08110E; }
html[data-aud="business"] { background: #ECEAE2; }
.bs-business {
  --bg: #ECEAE2; --ink: #0B1612; --muted: #5B6661; --line: #D3D0C6; --surface: #F8F7F3; --surface-2: #E4E1D8;
  --accent: #0E9F7E; --accent-ink: #04120D; --accent-t: #087258;
  --pa-bg: #F6F5F1; --pa-ink: #0B1612; --pa-mut: #69736E; --pa-card: #FFFFFF; --pa-line: #E4E1D8; --pa-track: #E4E1D8;
}
body { font-weight: 400; }
[dir="ltr"] body { letter-spacing: -.008em; }
[dir="rtl"] body { font-size: 18px; line-height: 1.7; }
::selection { background: var(--accent); color: var(--accent-ink); }
.bs-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Audience switch: day breaks when you arrive at Business, night falls when you go back. */
@keyframes bs-dawn { from { clip-path: circle(0% at 50% 100%); } to { clip-path: circle(150% at 50% 100%); } }
html[data-aud="business"]::view-transition-new(root) { animation: bs-dawn .8s var(--ease) both; }
html[data-aud="business"]::view-transition-old(root) { animation: none; }

/* ---------- Bar: everything sits on one hairline horizon ---------- */
.ff-bar { background: var(--bg); gap: 6px; }
.ff-bar::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--line); }
.ff-bar::before { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--accent); transform: scaleX(var(--bs-p, 0)); transform-origin: 0 0; z-index: 1; }
[dir="rtl"] .ff-bar::before { transform-origin: 100% 0; }
.ff-brand { margin-inline-end: 22px; }
.bs-logo { display: inline-flex; align-items: center; gap: 10px; }
.bs-logo-m { width: 28px; height: 16px; flex: none; }
.bs-logo-w { font: 400 21px/1 var(--font-d); letter-spacing: -.02em; }
[dir="rtl"] .bs-logo-w { font-size: 23px; font-weight: 500; }
.ff-bar .ff-aud { border: 0; padding: 0; gap: 0; border-radius: 0; align-self: stretch; }
.ff-bar .ff-aud a { display: flex; align-items: center; padding: 0 14px; border-radius: 0; font-size: 15px; color: var(--muted); position: relative; background: none; }
.ff-bar .ff-aud a:hover { color: var(--ink); }
.ff-bar .ff-aud a[aria-current] { background: none; color: var(--ink); }
.ff-bar .ff-aud a[aria-current]::after { content: ""; position: absolute; inset-inline: 14px; inset-block-end: 0; height: 2px; background: var(--accent); z-index: 2; }
.ff-menu-btn { font-size: 15px; padding-inline: 12px; }
.ff-ask-btn, [dir="rtl"] .ff-ask-btn { padding: 9px 14px; font-size: 15px; gap: 10px; border-color: var(--line); background: var(--surface); }
.ff-ask-btn:hover { border-color: var(--accent); }
.ff-ask-btn kbd { border-color: var(--line); font-family: var(--font-u); }
.ff-ask-mark { width: 12px; height: 6px; border-radius: 12px 12px 0 0; transform: none; background: var(--accent); }
.ff-lang { font-size: 18px; }
.ff-lang:hover { background: var(--surface); }

/* ---------- Menu ---------- */
.ff-menu { background: var(--bg); border-block-end: 1px solid var(--line); }
.ff-menu-in { padding-block: 28px 40px; }
.ff-menu-kicker { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ff-menu-switch { color: var(--accent-t); }
.ff-menu-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ff-mi { padding: 12px; border-radius: 24px; gap: 4px; }
a.ff-mi:hover, a.ff-mi:focus-visible { background: var(--surface); border-color: transparent; }
.ff-mi[aria-current] { border-color: var(--line); }
.ff-mi-pre { aspect-ratio: 16 / 8; border-radius: 16px; background: var(--surface-2); color: var(--ink); margin-block-end: 10px; }
.ff-mi-t { font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.ff-mi-p { font-size: 14px; }
.ff-mi.is-soon { opacity: .5; }
.ff-mi-soon { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--accent-t); }

/* ---------- Ask (shared anatomy, Basira look) ---------- */
.ff-ask { gap: 14px; }
.ff-ask-label { font-size: 14px; color: var(--muted); }
.ff-ask-field { border-radius: 999px; border-color: var(--line); background: var(--surface-2); padding: 5px; }
.ff-ask-field:focus-within { border-color: var(--accent); }
.ff-ask-field input { padding: 10px 16px; }
.ff-ask-field input::placeholder { color: var(--muted); opacity: .8; }
.ff-ask-go { border-radius: 999px; background: var(--accent); color: var(--accent-ink); padding: 11px 22px; font-weight: 500; }
.ff-chip { border-color: var(--line); padding: 8px 14px; color: var(--ink); background: transparent; unicode-bidi: plaintext; }
.ff-chip:hover, .ff-chip:focus-visible { border-color: var(--accent); }
.ff-answer { font-size: 16px; }
.ff-answer-go { color: var(--accent-t); font-weight: 500; }
.ff-asksheet::backdrop { background: rgba(3, 8, 6, .66); }
.ff-asksheet-in { border-radius: 28px; background: var(--surface); border-color: var(--line); padding: 26px; }

/* ---------- Type and buttons ---------- */
.bs-kick { font-size: 15px; font-weight: 500; color: var(--accent-t); margin-block-end: 22px; }
.bs-h1 { font: 250 clamp(54px, 8.6vw, 136px)/.96 var(--font-d); letter-spacing: -.055em; }
[dir="rtl"] .bs-h1 { font-weight: 300; font-size: clamp(48px, 7.6vw, 118px); line-height: 1.25; }
.bs-h2 { font: 300 clamp(40px, 5.2vw, 82px)/1.02 var(--font-d); letter-spacing: -.045em; }
[dir="rtl"] .bs-h2 { font-size: clamp(36px, 4.6vw, 70px); line-height: 1.32; }
.bs-lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--muted); max-width: 42ch; font-weight: 300; }
[dir="rtl"] .bs-lede { line-height: 1.85; font-weight: 400; font-size: clamp(18px, 1.5vw, 22px); }
.bs-l { display: block; overflow: hidden; padding-block-end: .08em; margin-block-end: -.08em; }
[dir="rtl"] .bs-l { padding-block: .12em; margin-block: -.12em; }
.bs-l > span { display: block; animation: bs-rise 1.1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 60ms); }
@keyframes bs-rise { from { transform: translateY(108%); } }
.bs-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font: 500 16px/1.1 var(--font-u); border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.bs-btn:hover { background: color-mix(in srgb, var(--accent) 84%, var(--ink)); }
.bs-btn:disabled { opacity: .45; cursor: default; }
.bs-btn-q { background: transparent; color: var(--ink); border-color: var(--line); }
.bs-btn-q:hover { background: var(--surface); }
.bs-arr { width: 18px; height: 12px; flex: none; }
[dir="rtl"] .bs-arr { transform: scaleX(-1); }
.bs-note { padding: 20px 22px; border-radius: 20px; background: var(--surface); color: var(--muted); font-size: 15px; line-height: 1.6; }
.bs-fine { font-size: 13px; color: var(--muted); }
.bs-cz-k { font-size: 14px; font-weight: 500; color: var(--accent-t); margin-block-end: 14px; }
.bs-st-k { display: block; font-size: 14px; color: var(--muted); margin-block-end: 6px; }
.bs-sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-block-end: clamp(36px, 5vw, 64px); }

/* ---------- iPhone (390x844), sized in container units so it reads true at any width ---------- */
.bs-phone { aspect-ratio: 390 / 844; background: #030605; border-radius: 15.6% / 7.2%; padding: 2.4%; border: 1px solid #2B3732; }
.bs-phone-scr { position: relative; height: 100%; border-radius: 13.6% / 6.3%; overflow: hidden; background: var(--pa-bg); color: var(--pa-ink); container-type: inline-size; font-family: var(--font-u); text-align: start; }
.bs-sb { display: flex; justify-content: space-between; align-items: center; height: 13.4cqw; padding-inline: 9cqw 7.4cqw; font: 600 4.3cqw/1 -apple-system, "SF Pro Text", system-ui, sans-serif; position: relative; z-index: 2; }
.bs-sb-i { display: flex; gap: 1.4cqw; align-items: center; }
.bs-sb-i svg { height: 3.1cqw; width: auto; fill: currentColor; }
.bs-di { position: absolute; inset-block-start: 2.9cqw; inset-inline-start: 50%; width: 31cqw; height: 9.2cqw; margin-inline-start: -15.5cqw; border-radius: 99px; background: #000; z-index: 3; }
.bs-hi { position: absolute; inset-block-end: 2.1cqw; inset-inline-start: 50%; width: 35cqw; height: 1.3cqw; margin-inline-start: -17.5cqw; border-radius: 99px; background: var(--pa-ink); opacity: .85; z-index: 3; }
.bs-app { display: flex; flex-direction: column; height: calc(100% - 13.4cqw); padding: 1cqw 5.6cqw 0; font-size: 3.8cqw; line-height: 1.35; }
.bs-a-top { display: flex; justify-content: space-between; align-items: center; margin-block: 1.5cqw 4cqw; }
.bs-a-av { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--accent); color: #04120D; display: grid; place-items: center; font: 500 3.8cqw/1 var(--font-u); flex: none; }
.bs-a-bell { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--pa-card); }
.bs-a-h { font: 600 8.4cqw/1.1 var(--font-d); letter-spacing: -.02em; margin-block-end: 4.5cqw; }
.bs-a-k { font-size: 3.5cqw; color: var(--pa-mut); }
.bs-a-big { font: 300 9.2cqw/1.15 var(--font-d); letter-spacing: -.03em; margin-block: .6cqw; }
.bs-a-up { font-size: 3.4cqw; color: var(--accent-t); }
.bs-a-ch { width: 100%; height: 22cqw; margin-block: 4cqw 1.4cqw; color: var(--pa-ink); }
.bs-a-yrs { display: flex; justify-content: space-between; font-size: 2.9cqw; color: var(--pa-mut); }
.bs-a-sec { font: 500 4.2cqw/1 var(--font-u); margin-block: 6cqw 3cqw; }
.bs-a-goals { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2cqw; }
.bs-a-goals li { display: grid; grid-template-columns: 1fr auto; gap: 2cqw; padding: 3.2cqw 4cqw; background: var(--pa-card); border-radius: 4.6cqw; }
.bs-a-gt { display: grid; gap: .4cqw; }
.bs-a-gt b { font-weight: 500; font-size: 3.7cqw; }
.bs-a-gt span { font-size: 2.9cqw; color: var(--pa-mut); }
.bs-a-gp { font-size: 3.7cqw; align-self: center; }
.bs-a-bar { grid-column: 1 / -1; height: 1.2cqw; border-radius: 9px; background: var(--pa-track); position: relative; overflow: hidden; }
.bs-a-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p) * 100%); background: var(--accent); border-radius: inherit; }
.bs-a-brief, .bs-a-why { margin-block-start: 3.4cqw; display: flex; gap: 2.4cqw; align-items: center; font-size: 3.1cqw; color: var(--pa-mut); }
.bs-a-dot { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--accent); flex: none; }
.bs-a-tabs { margin-block-start: auto; display: flex; justify-content: space-around; padding-block: 2.6cqw 9cqw; border-block-start: 1px solid var(--pa-line); margin-inline: -5.6cqw; }
.bs-a-tabs span { display: grid; justify-items: center; gap: .8cqw; font-size: 2.6cqw; color: var(--pa-mut); }
.bs-a-tabs svg { width: 6.6cqw; height: 6.6cqw; }
.bs-a-tabs .is-on { color: var(--accent); }
.bs-a-tabs b { font-weight: 500; }
.bs-a-nav { font-size: 3.6cqw; color: var(--accent-t); margin-block: 2cqw 3cqw; }
.bs-a-card { background: var(--pa-card); border-radius: 5cqw; padding: 5cqw; display: grid; gap: 1cqw; }
.bs-a-sm { font-size: 3.2cqw; color: var(--pa-mut); }
.bs-a-sig { list-style: none; margin: 4cqw 0 0; padding: 0; display: grid; gap: 2.2cqw; }
.bs-a-sig li { display: flex; gap: 3cqw; align-items: center; padding: 3.4cqw 4cqw; background: var(--pa-card); border-radius: 4.6cqw; }
.bs-a-sig li > span:last-child { display: grid; gap: .3cqw; }
.bs-a-sig b { font-weight: 500; font-size: 3.6cqw; }
.bs-a-sig span span { font-size: 3cqw; color: var(--pa-mut); }
.bs-a-sig li:not(.is-done) .bs-a-av { background: var(--pa-track); color: var(--pa-ink); }
.bs-a-cta { margin-block: auto 11cqw; display: grid; place-items: center; height: 13cqw; border-radius: 99px; background: var(--accent); color: #04120D; font-weight: 500; font-size: 4cqw; }

/* ================= Personal home ================= */
.bs-hero { padding-block-start: clamp(56px, 8vw, 112px); }
.bs-hero .bs-h1 { max-width: 16ch; }
.bs-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 64px; flex-wrap: wrap; margin-block-start: clamp(28px, 4vw, 52px); }
.bs-hero-stage { position: relative; margin-block-start: clamp(48px, 7vw, 96px); padding-block-end: clamp(72px, 9vw, 130px); }
.bs-hero-film { border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface); }
.bs-hero-film .ff-frame { height: 100%; }
.bs-hero-phone { position: absolute; inset-inline-end: 8%; inset-block-end: 0; width: clamp(220px, 20vw, 290px); }
.js .bs-hero-phone { animation: bs-up 1.2s var(--ease) .35s both; }
.js .bs-hero-film { animation: bs-in 1.2s var(--ease) .2s both; }
@keyframes bs-up { from { opacity: 0; transform: translateY(60px); } }
@keyframes bs-in { from { opacity: 0; transform: scale(.98); } }

/* The foresight scroll */
.bs-fore { padding-block-start: var(--sec); }
.bs-fore-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-block-end: clamp(32px, 4vw, 56px); }
.bs-fore-intro .bs-kick { grid-column: 1 / -1; margin: 0; }
.bs-fore-track.is-live { height: 440vh; }
.bs-stage { padding-block: 12px; }
.bs-fore-track.is-live .bs-stage { position: sticky; inset-block-start: var(--bar-h); height: calc(100svh - var(--bar-h)); }
.bs-stage-wrap { height: 100%; }
.bs-stage-in { height: 100%; background: var(--surface); border-radius: var(--r); padding: clamp(20px, 3vw, 44px); display: grid;
  grid-template-columns: minmax(300px, 4fr) 8fr; grid-template-rows: auto minmax(0, 1fr); gap: 24px clamp(32px, 4vw, 64px); }
.bs-st-head { grid-column: 1; grid-row: 1; display: grid; gap: 28px; align-content: start; }
.bs-yr { display: block; font: 200 clamp(72px, 8.4vw, 132px)/.88 var(--font-d); letter-spacing: -.06em; }
.bs-age { display: block; font-size: 15px; color: var(--muted); margin-block-start: 12px; }
.bs-val { display: block; font: 300 clamp(28px, 2.8vw, 44px)/1.05 var(--font-d); letter-spacing: -.035em; }
.bs-st-note { display: block; font-size: 13px; color: var(--muted); margin-block-start: 8px; }
.bs-chart { grid-column: 2; grid-row: 1 / span 2; position: relative; min-height: 260px; margin-block: 8px 30px; }
.bs-ch-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bs-ch-base { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bs-ch-line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.bs-ch-area { fill: var(--accent); fill-opacity: .09; }
.bs-ch-ghost { fill: none; stroke: var(--ink); stroke-opacity: 0; stroke-width: 1.25; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; transition: stroke-opacity .4s; }
.bs-ch-ghost.is-on { stroke-opacity: .4; }
.bs-ticks { position: absolute; inset-inline: 0; inset-block-start: calc(100% + 10px); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.bs-ms { position: absolute; inset-inline-start: calc(var(--x) * 1%); inset-block-start: calc(var(--y) * 1%); width: 0; height: 0; transition: inset-inline-start .9s var(--ease), inset-block-start .9s var(--ease); }
.bs-ms-dot { position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); transition: transform .4s var(--ease); }
.bs-ms-stem { position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 1px; height: 64px; background: color-mix(in srgb, var(--ink) 38%, transparent); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.bs-ms-lab { position: absolute; inset-inline-start: -1px; inset-block-end: 74px; display: grid; gap: 1px; white-space: nowrap; font-size: 13px; color: var(--muted); transition: opacity .5s var(--ease) .15s, transform .6s var(--ease) .15s; }
.bs-ms-lab b { font-weight: 500; font-size: 16px; color: var(--ink); }
.bs-ms-c { color: var(--accent-t); }
.bs-ms.is-end .bs-ms-lab { inset-inline-start: auto; inset-inline-end: -1px; text-align: end; }
.bs-ms.is-short .bs-ms-c { color: var(--ink); text-decoration: line-through; }
.bs-fore-track.is-live .bs-ms:not(.is-up) .bs-ms-stem { transform: scaleY(0); }
.bs-fore-track.is-live .bs-ms:not(.is-up) .bs-ms-lab { opacity: 0; transform: translateY(14px); }
.bs-fore-track.is-live .bs-ms:not(.is-up) .bs-ms-dot { transform: scale(0); }
.bs-ms-end .bs-ms-dot { background: var(--accent); }
.bs-front { position: absolute; inset-block: 0; inset-inline-start: calc(var(--x) * 1%); width: 0; pointer-events: none; transition: opacity .3s; }
.bs-front::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: color-mix(in srgb, var(--accent) 45%, transparent); }
.bs-front i { position: absolute; inset-inline-start: 0; inset-block-start: calc(var(--y) * 1%); width: 13px; height: 13px; margin: -6.5px; border-radius: 50%; background: var(--accent); }
.bs-fore-track:not(.is-live) .bs-front, .bs-fore-track.is-end .bs-front { opacity: 0; }
.bs-rail { grid-column: 1; grid-row: 2; align-self: end; display: grid; min-height: 0; max-height: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
.bs-narr { display: grid; gap: 10px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; font-weight: 300; }
.bs-narr-k { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--accent-t); }
.bs-narr-t.is-swap { animation: bs-fade .6s var(--ease); }
@keyframes bs-fade { from { opacity: 0; transform: translateY(8px); } }
.bs-fore-track.is-live .bs-narr, .bs-fore-track.is-live .bs-wi { grid-area: 1 / 1; align-self: end; transition: opacity .45s var(--ease), visibility .45s; }
.bs-fore-track.is-live:not(.is-end) .bs-wi, .bs-fore-track.is-live.is-end .bs-narr { opacity: 0; visibility: hidden; }
.bs-fore-track:not(.is-live) .bs-rail { gap: 28px; }
.bs-wia { display: grid; gap: 14px; padding-block-start: 4px; }
@media (min-width: 901px) {
  .bs-stage-in { position: relative; }
  .bs-wi .ff-ask-out { position: absolute; z-index: 4; inset-block-start: clamp(20px, 3vw, 44px); inset-inline: 38.5% clamp(20px, 3vw, 44px);
    max-height: calc(100% - 96px); overflow: auto; scrollbar-width: none; padding: 20px 24px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); }
  .bs-chart { transition: margin-block-start .7s var(--ease); }
  .bs-stage-in:has(.ff-ask.is-answered) .bs-chart { margin-block-start: 232px; }
  .bs-wia-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; }
  .bs-wia-g { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
  .bs-wia-g div { flex-direction: column; gap: 2px; }
}
.bs-wia-t { font: 300 20px/1.4 var(--font-d); letter-spacing: -.01em; }
.bs-wia-g { margin: 0; display: grid; }
.bs-wia-g div { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-block-start: 1px solid var(--line); font-size: 14px; }
.bs-wia-g dt { color: var(--muted); }
.bs-wia-g dd { margin: 0; color: var(--accent-t); font-weight: 500; }
.bs-wia-row { display: grid; gap: 12px; }
.bs-wia-g .is-short { color: var(--ink); }
.bs-wi-reset { justify-self: start; border: 1px solid var(--line); background: none; border-radius: 99px; padding: 8px 14px; font-size: 14px; }
.bs-wi-reset:hover { border-color: var(--accent); }

/* Three ways */
.bs-three { padding-block-start: var(--sec); }
.bs-three-h { margin-block-end: clamp(40px, 5vw, 72px); }
.bs-bento { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.bs-tile { display: flex; flex-direction: column; gap: 14px; text-decoration: none; background: var(--surface); border-radius: var(--r); padding: clamp(26px, 3vw, 44px); overflow: hidden; transition: background .3s; }
.bs-tile:hover { background: var(--surface-2); }
.bs-tile-inv { grid-row: span 2; }
.bs-tile-k { font-size: 14px; font-weight: 500; color: var(--accent-t); }
.bs-tile-t { font: 300 clamp(28px, 2.7vw, 42px)/1.08 var(--font-d); letter-spacing: -.035em; max-width: 15ch; }
[dir="rtl"] .bs-tile-t { line-height: 1.35; }
.bs-tile-p { color: var(--muted); max-width: 42ch; }
.bs-tile-go { margin-block-start: auto; display: inline-flex; gap: 10px; align-items: center; font-weight: 500; padding-block-start: 18px; }
.bs-tile-sky { flex: 1 1 auto; width: 100%; min-height: 220px; margin-block: 20px 0; }
.bs-tile-sky .bs-sky-l line { stroke: var(--ink); stroke-opacity: .18; }
.bs-tile-sky circle { fill: var(--ink); fill-opacity: .82; }
.bs-tile-sky circle.is-on { fill: var(--accent); fill-opacity: 1; }
.bs-tile-gold { padding: 0; }
.bs-tile-media { display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.bs-tile-media .ff-frame { min-height: 0; height: 100%; }
.bs-tile-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); flex: 1; }
.bs-tile-sum { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 17px; color: var(--muted); margin-block-start: 8px; }
.bs-tile-sum strong { flex-basis: 100%; font: 200 clamp(40px, 4vw, 60px)/1.05 var(--font-d); letter-spacing: -.05em; color: var(--ink); }

/* Family */
.bs-family { padding-block-start: var(--sec); }
.bs-family-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 104px); align-items: center; }
.bs-family-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.bs-family-photo .ff-frame { height: 100%; }
.bs-family-copy { display: grid; gap: 28px; }

/* ================= Page heads ================= */
.bs-phead { padding-block: clamp(56px, 8vw, 116px) clamp(40px, 5vw, 72px); }
.bs-phead .bs-lede { margin-block-start: 28px; }

/* ================= Invest: the constellation ================= */
.bs-sky-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; align-items: start; }
.bs-sky-wrap { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); position: sticky; inset-block-start: calc(var(--bar-h) + 16px); }
.bs-sky { position: relative; aspect-ratio: 10 / 8; margin: 6px 4% 34px; }
.bs-sky-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bs-sky-svg line { stroke: var(--ink); stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.js .bs-sky-svg { animation: bs-in 1.4s var(--ease) .3s both; }
.bs-node { --d: calc(var(--s) * 1px); position: absolute; inset-inline-start: calc(var(--x) * 1%); inset-block-start: calc(var(--y) * 1%);
  width: calc(var(--d) + 22px); height: calc(var(--d) + 22px); margin: calc((var(--d) + 22px) / -2); border: 0; padding: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.js .bs-node { animation: bs-pop .7s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 200ms); }
@keyframes bs-pop { from { opacity: 0; transform: scale(.3); } }
.bs-node-d { width: var(--d); height: var(--d); border-radius: 50%; background: var(--c); transition: transform .35s var(--ease); }
.bs-node:hover .bs-node-d { transform: scale(1.1); }
.bs-node-l { position: absolute; inset-block-start: calc(100% - 6px); inset-inline-start: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; color: var(--muted); transition: color .2s; }
[dir="rtl"] .bs-node-l { transform: translateX(50%); }
.bs-node[aria-pressed="true"] .bs-node-d { outline: 1.5px solid var(--accent); outline-offset: 6px; }
.bs-node[aria-pressed="true"] .bs-node-l { color: var(--ink); font-weight: 500; }
.bs-g-eq { --c: #DCDAD1; } .bs-g-in { --c: var(--accent); } .bs-g-au { --c: var(--au); } .bs-g-ca { --c: #5D6D66; } .bs-g-out { --c: transparent; }
.bs-node.bs-g-out .bs-node-d { border: 1px solid var(--muted); }
.bs-key { list-style: none; margin: 0; padding: 18px 0 0; border-block-start: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.bs-key li { display: inline-flex; align-items: center; gap: 8px; }
.bs-key i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.bs-key i.bs-g-out { border: 1px solid var(--muted); }
.bs-np-col { display: grid; gap: 16px; }
.bs-np-box { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.bs-np-k { font-size: 14px; color: var(--muted); }
.bs-np-t { font: 300 clamp(30px, 2.8vw, 44px)/1.06 var(--font-d); letter-spacing: -.035em; margin-block: 8px 12px; }
[dir="rtl"] .bs-np-t { line-height: 1.35; }
.bs-np-w { font-size: 18px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.bs-np-w span { color: var(--muted); font-size: 14px; }
.bs-np-role { color: var(--muted); margin-block: 10px 22px; }
.bs-vd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 500; color: var(--accent-t); padding-block: 14px; border-block-start: 1px solid var(--line); }
.bs-vd::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.bs-vd small { font-weight: 400; color: var(--muted); font-size: 13px; margin-inline-start: auto; }
.bs-vd.is-fail { color: var(--ink); }
.bs-vd.is-fail::before { background: transparent; border: 1.5px solid var(--ink); }
.bs-mts { list-style: none; margin: 0; padding: 0; display: grid; }
.bs-mt { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding-block: 13px; border-block-start: 1px solid var(--line); font-size: 15px; }
.bs-mt-v small { color: var(--muted); font-size: 12px; }
.bs-mt-bar { grid-column: 1 / -1; position: relative; height: 4px; border-radius: 4px; background: var(--surface-2); }
.bs-mt-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--accent); }
.bs-mt-bar b { position: absolute; inset-block: -4px; inset-inline-start: calc(var(--t) * 100%); width: 1.5px; background: var(--ink); opacity: .7; }
.bs-mt.is-fail .bs-mt-bar i { background: var(--ink); }
.bs-mt.is-fail .bs-mt-v { font-weight: 500; }
.bs-mt-act { grid-template-columns: 1fr; gap: 4px; }
.bs-mt-txt { color: var(--muted); }
.bs-mt-f { grid-template-columns: auto 1fr; align-items: center; }
.bs-mt-ok { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.bs-np-watch { margin-block-start: 16px; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); font-size: 15px; }
.bs-np-pur { margin-block-start: 16px; font-size: 15px; color: var(--muted); }
.bs-ask-np, .bs-z-ask, .bs-gzak .bs-ask { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.bs-hv, .bs-ga, .bs-ta, .bs-za { display: grid; gap: 14px; }
.bs-hv-t, .bs-ga-t, .bs-ta-t, .bs-za-t { font: 300 20px/1.45 var(--font-d); letter-spacing: -.01em; }
.bs-hv-l, .bs-ta-l, .bs-za-l { list-style: none; margin: 0; padding: 0; display: grid; }
.bs-hv-l li, .bs-ta-l li, .bs-za-l li { display: flex; justify-content: space-between; gap: 14px; padding-block: 9px; border-block-start: 1px solid var(--line); font-size: 14px; }
.bs-hv-l li > :last-child, .bs-ta-l bdi, .bs-za-l bdi { white-space: nowrap; }
.bs-hv-l small { color: var(--muted); }
.bs-hv-l li.is-fail { font-weight: 500; }
.bs-hv-n, .bs-ga-n, .bs-ta-n, .bs-za-n { font-size: 14px; color: var(--muted); }
.bs-ta-n a { color: var(--accent-t); }
.bs-ta-mv { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-ta-mv li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; gap: 8px; }
.bs-ta-mv bdi.is-up { color: var(--accent-t); }
.bs-ta-mv:empty { display: none; }

/* Rules */
.bs-rules { padding-block-start: var(--sec); }
.bs-rule-list { list-style: none; margin: 0 0 24px; padding: 0; }
.bs-rule-list li { display: grid; grid-template-columns: 5fr 7fr; gap: 12px 48px; padding-block: clamp(24px, 3vw, 40px); border-block-start: 1px solid var(--line); align-items: baseline; }
.bs-rule-n { font: 200 clamp(48px, 6vw, 96px)/1 var(--font-d); letter-spacing: -.055em; }
.bs-rule-list h3 { font: 400 clamp(20px, 1.8vw, 26px)/1.3 var(--font-d); letter-spacing: -.02em; margin-block-end: 8px; }
.bs-rule-list p { color: var(--muted); max-width: 52ch; }

/* ================= Gold: the scale ================= */
.bs-gold-panel { background: var(--surface); border-radius: var(--r); padding: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.bs-scale { display: grid; justify-items: center; gap: 14px; padding-inline: 34px 80px; }
.bs-scale-track { position: relative; width: 84px; height: clamp(340px, 40vw, 480px); touch-action: none; cursor: ns-resize; }
.bs-scale-tube { position: absolute; inset: 0; border-radius: 22px; background: var(--surface-2); overflow: hidden; }
.bs-scale-fill { position: absolute; inset-inline: 0; inset-block-end: 0; height: calc(var(--p) * 100%); background: linear-gradient(180deg, #EFEBE1, #D2CBB8 55%, #B8B19D); transition: height .25s var(--ease); }
.bs-scale-track.is-drag .bs-scale-fill, .bs-scale-track.is-drag .bs-scale-h { transition: none; }
.bs-scale-t { position: absolute; inset-inline-end: calc(100% + 12px); inset-block-end: calc(var(--p) * 100%); transform: translateY(50%); font-size: 12px; color: var(--muted); }
.bs-scale-nisab { position: absolute; inset-inline: -6px; inset-block-end: calc(var(--p) * 100%); height: 0; border-block-start: 1px solid var(--accent); }
.bs-scale-nisab b { position: absolute; inset-inline-start: calc(100% + 10px); transform: translateY(-50%); white-space: nowrap; font-size: 12px; color: var(--accent-t); font-weight: 500; }
.bs-scale-h { position: absolute; inset-inline: -12px; inset-block-end: calc(var(--p) * 100%); height: 28px; margin-block-end: -14px; border: 0; padding: 0; background: none; cursor: grab; display: grid; place-items: center; transition: inset-block-end .25s var(--ease); }
.bs-scale-h span { width: 100%; height: 6px; border-radius: 6px; background: var(--ink); }
.bs-scale-h:focus-visible { outline-offset: 2px; border-radius: 8px; }
.bs-scale-u { font-size: 13px; color: var(--muted); }
.bs-gw { font: 200 clamp(72px, 8.6vw, 140px)/.9 var(--font-d); letter-spacing: -.06em; }
.bs-gw-u { font-size: .34em; letter-spacing: 0; color: var(--muted); font-weight: 300; }
.bs-gc { font: 300 clamp(26px, 2.6vw, 38px)/1.1 var(--font-d); letter-spacing: -.03em; margin-block: 18px 10px; }
.bs-gp { color: var(--muted); font-size: 15px; }
.bs-tag { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); margin-inline-end: 6px; }
.bs-gq { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 26px; }
.bs-gq-b { border: 1px solid var(--line); background: none; border-radius: 99px; padding: 8px 14px; font-size: 14px; }
.bs-gq-b:hover, .bs-gq-b[aria-pressed="true"] { border-color: var(--accent); }
.bs-gbuy-n { margin-block-start: 14px; font-size: 14px; color: var(--muted); max-width: 40ch; }
.bs-ingot-box { display: grid; justify-items: center; gap: 14px; text-align: center; }
.bs-ingot-stage { height: 260px; display: grid; place-items: center; width: 100%; }
.bs-ingot { width: min(330px, 100%); transform: scale(var(--k)); transition: transform .5s var(--ease); }
.bs-bars { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 300px; min-height: 28px; }
.bs-bars li { height: 28px; min-width: calc(34px + var(--s) * .5px); padding-inline: 8px; border-radius: 6px; background: var(--au); color: #5D584A; font-size: 11px; display: grid; place-items: center; font-weight: 500; }
.bs-bars-r { font-size: 13px; color: var(--muted); }
.bs-gzak { padding-block-start: var(--sec); }
.bs-gzak-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bs-gzak-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; position: sticky; inset-block-start: calc(var(--bar-h) + 24px); background: var(--surface); }
.bs-gzak-photo .ff-frame { height: 100%; }
.bs-gzak-copy { display: grid; gap: 32px; }
.bs-conds { list-style: none; padding: 0; margin: 0; display: grid; }
.bs-conds li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-block: 22px; border-block-start: 1px solid var(--line); }
.bs-conds bdi { font-size: 14px; color: var(--accent-t); padding-block-start: 5px; }
.bs-conds b { display: block; font: 400 22px/1.3 var(--font-d); letter-spacing: -.02em; margin-block-end: 6px; }
.bs-conds span { color: var(--muted); }
.bs-ga-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bs-ga-tl li { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); font-size: 13px; color: var(--muted); }
.bs-ga-tl b { color: var(--ink); font-weight: 500; font-size: 14px; }

/* ================= Zakat: the calculator ================= */
.bs-z-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-zin, .bs-zw { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3.4vw, 48px); }
.bs-zr { display: grid; grid-template-columns: 1fr minmax(150px, 210px); gap: 12px 20px; align-items: center; padding-block: 18px; border-block-start: 1px solid var(--line); }
.bs-zr label { display: grid; gap: 2px; }
.bs-zr label b { font-weight: 500; }
.bs-zr label span { font-size: 14px; color: var(--muted); }
.bs-zf { display: flex; align-items: center; gap: 8px; height: 52px; padding-inline: 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid transparent; }
.bs-zf:focus-within { border-color: var(--accent); }
.bs-zf-u { font-size: 13px; color: var(--muted); }
.bs-zf input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; font: 400 18px/1 var(--font-u); text-align: end; outline: none; font-variant-numeric: tabular-nums; }
.bs-seg { grid-column: 1 / -1; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--surface-2); }
.bs-seg button { flex: 1; border: 0; background: none; border-radius: 99px; padding: 9px 12px; font-size: 13px; color: var(--muted); }
.bs-seg button[aria-checked="true"] { background: var(--bg); color: var(--ink); }
.bs-work { list-style: none; margin: 0; padding: 0; display: grid; }
.bs-work li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-block-start: 1px solid var(--line); font-size: 15px; }
.bs-work li > span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.bs-work li.is-sum { font-weight: 500; border-block-start-color: var(--ink); }
.bs-work li.is-flash > span:last-child { animation: bs-flash 1s var(--ease); }
@keyframes bs-flash { from { color: var(--accent-t); } }
.bs-nis { margin-block: 26px 18px; }
.bs-nis-bar { display: block; position: relative; height: 8px; border-radius: 8px; background: var(--surface-2); margin-block-end: 12px; }
.bs-nis-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p) * 100%); border-radius: inherit; background: var(--accent); transition: width .6s var(--ease); }
.bs-nis-bar b { position: absolute; inset-block: -5px; inset-inline-start: calc(var(--n) * 100%); width: 2px; background: var(--ink); border-radius: 2px; }
.bs-nis.is-below .bs-nis-bar i { background: var(--muted); }
.bs-nis-t { font-size: 14px; color: var(--muted); }
.bs-zres { margin-block-start: 30px; }
.bs-zres-v { font: 200 clamp(52px, 6vw, 96px)/1 var(--font-d); letter-spacing: -.055em; margin-block: 6px 14px; }
.bs-zres-n { color: var(--muted); font-size: 15px; max-width: 46ch; }
.bs-z-ask { margin-block-start: 16px; }
.bs-za-k { font-size: 14px; color: var(--muted); }
.bs-za-v { font: 200 44px/1 var(--font-d); letter-spacing: -.04em; }
.bs-za-l li.is-sum { font-weight: 500; }
.bs-za[dir="rtl"] { font-family: var(--font-u); }
.bs-znote { padding-block-start: var(--sec); }
.bs-znote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 96px; align-items: start; }
.bs-znote .bs-lede { margin-block-start: 24px; }
.bs-znot { list-style: none; margin: 0; padding: 0; display: grid; }
.bs-znot li { display: grid; gap: 6px; padding-block: 22px; border-block-start: 1px solid var(--line); }
.bs-znot b { font: 400 20px/1.3 var(--font-d); letter-spacing: -.02em; }
.bs-znot span { color: var(--muted); }

/* ================= Business (daylight) ================= */
.bs-bhero { padding-block-start: clamp(48px, 7vw, 96px); }
.bs-bhero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.bs-bhero-copy { display: grid; gap: 30px; }
.bs-bhero-copy .bs-kick { margin: 0; }
.bs-h1-b { font-size: clamp(44px, 5.4vw, 80px); }
[dir="rtl"] .bs-h1-b { font-size: clamp(42px, 5.2vw, 78px); }
.bs-bhero-media { position: relative; padding-block-end: 40px; }
.bs-bhero-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.bs-bhero-photo .ff-frame { height: 100%; }
.bs-pos { position: absolute; inset-inline-start: -14%; inset-block-end: 0; width: min(340px, 84%); background: var(--surface); border-radius: 22px; padding: 20px 22px 12px; border: 1px solid var(--line); }
.js .bs-pos { animation: bs-up 1s var(--ease) .5s both; }
.bs-pos-h { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-block-end: 10px; }
.bs-pos-h span:first-child { color: var(--ink); font-weight: 500; }
.bs-pos dl { margin: 0; display: grid; }
.bs-pos dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-block-start: 1px solid var(--line); font-size: 14px; }
.bs-pos dt { color: var(--muted); }
.bs-pos dd { margin: 0; font-weight: 500; }
.bs-ladder { padding-block-start: var(--sec); }
.bs-lad { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 3.4vw, 48px); display: grid; gap: clamp(28px, 3.4vw, 44px); }
.bs-lad-stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bs-lad-stats div { display: grid; gap: 8px; align-content: start; }
.bs-lad-stats dt { font-size: 13px; color: var(--muted); }
.bs-lad-stats dd { margin: 0; display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.bs-lad-stats dd > span { font: 300 clamp(26px, 2.6vw, 40px)/1 var(--font-d); letter-spacing: -.035em; }
.bs-lad-stats dd small { font-size: 13px; color: var(--muted); }
.bs-lad-chart { position: relative; padding-block-start: 52px; }
.bs-lad-unit { position: absolute; inset-block-start: 0; inset-inline-start: 0; font-size: 12px; color: var(--muted); }
.bs-lad-grid { position: absolute; inset-inline: 0; inset-block: 52px 46px; pointer-events: none; }
.bs-lad-grid span { position: absolute; inset-inline: 0; inset-block-start: calc(var(--y) * 1%); border-block-start: 1px solid var(--line); }
.bs-lad-grid b { position: absolute; inset-inline-end: 0; inset-block-end: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.bs-rungs { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, 1vw, 14px); padding-inline-end: 22px; }
.bs-rung { display: grid; grid-template-rows: clamp(220px, 26vw, 340px) 46px; min-width: 0; }
.bs-rung-track { position: relative; touch-action: pan-y; cursor: ns-resize; }
.bs-rung-bar { position: absolute; inset-inline: 0; inset-block-end: 0; height: max(6px, calc(var(--h) * 100%)); border: 0; padding: 0; border-radius: 10px 10px 4px 4px;
  background: color-mix(in srgb, var(--accent) 55%, var(--surface)); transition: height .45s var(--ease), background .2s; touch-action: none; cursor: grab; }
.bs-rung.is-sel .bs-rung-bar { background: var(--accent); }
.bs-rung-bar:focus-visible { outline-offset: 3px; }
.bs-rung-v { position: absolute; inset-inline: 0; inset-block-end: calc(100% + 6px); text-align: center; font-size: 12px; color: var(--muted); }
.bs-rung.is-sel .bs-rung-v { color: var(--ink); font-weight: 500; }
.bs-rung-q { display: grid; justify-items: center; align-content: start; padding-block-start: 10px; font-size: 12px; color: var(--muted); line-height: 1.3; }
.bs-rung.is-sel .bs-rung-q { color: var(--ink); font-weight: 500; }
.bs-ys { display: none; }
.bs-rung-need { position: absolute; inset-inline: -4px; inset-block-end: calc(var(--h) * 100%); height: 0; border-block-start: 2px solid var(--ink); z-index: 2; pointer-events: none; transition: inset-block-end .45s var(--ease); }
.bs-rung-gap { position: absolute; inset-inline: 0; inset-block-end: calc(var(--a) * 100%); height: calc((var(--b) - var(--a)) * 100%); border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent); border-block-end: 0; border-radius: 10px 10px 0 0; pointer-events: none; transition: all .45s var(--ease); }
.bs-needs-w { display: grid; }
.bs-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bs-nd { width: 100%; height: 100%; display: grid; gap: 2px; text-align: start; border: 1px solid var(--line); background: var(--bg); border-radius: 18px; padding: 14px 16px; }
.bs-nd.is-sel { border-color: var(--ink); }
.bs-nd-d { font-size: 12px; color: var(--muted); }
.bs-nd-t { font-weight: 500; font-size: 15px; }
.bs-nd-v { font-size: 14px; }
.bs-nd-s { margin-block-start: 6px; font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.bs-nd-s::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.bs-nd.is-ok .bs-nd-s { color: var(--accent-t); }
.bs-nd.is-ok .bs-nd-s::before { background: var(--accent); border-color: var(--accent); }
.bs-lad-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-block-start: 26px; border-block-start: 1px solid var(--line); }
.bs-rd { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.bs-rd-q { font: 400 20px/1.3 var(--font-d); letter-spacing: -.015em; }
.bs-rd-m { font-size: 14px; color: var(--muted); }
.bs-rd-n { font-size: 14px; margin-block-start: 4px; color: var(--accent-t); font-weight: 500; }
.bs-rd.is-short .bs-rd-n { color: var(--ink); }
.bs-rd-ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bs-step { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.bs-step:disabled { opacity: .35; cursor: default; }
.bs-rd-v { min-width: 118px; text-align: center; font: 300 24px/1 var(--font-d); letter-spacing: -.02em; }
.bs-ask-lad { padding-block-start: 26px; border-block-start: 1px solid var(--line); }
.bs-cz { padding-block-start: var(--sec); }
.bs-cz-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bs-cz-copy { display: grid; gap: 26px; }
.bs-cz-card { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 3.4vw, 48px); }
.bs-res { margin-block: 30px 18px; }
.bs-res-k { font-size: 14px; color: var(--muted); }
.bs-res-v { font: 200 clamp(44px, 5vw, 80px)/1 var(--font-d); letter-spacing: -.055em; margin-block: 8px 18px; }
.bs-res-bar { display: block; height: 8px; border-radius: 8px; background: var(--surface-2); position: relative; overflow: hidden; }
.bs-res-bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p) * 100%); background: var(--accent); border-radius: inherit; }
.bs-res-n { margin-block-start: 14px; font-size: 15px; color: var(--muted); }
.bs-sign { padding-block-start: var(--sec); }
.bs-sign-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.bs-sign-phone { width: min(310px, 78%); justify-self: center; }
.bs-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.bs-points li { padding-block: 20px; border-block-start: 1px solid var(--line); display: grid; gap: 4px; }
.bs-points b { font-weight: 500; font-size: 18px; }
.bs-points span { color: var(--muted); }

/* ---------- Footer ---------- */
.ff-foot-name { font-weight: 300; font-size: 34px; letter-spacing: -.035em; }
[dir="rtl"] .ff-foot-name { font-weight: 400; }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .bs-gold-panel { grid-template-columns: auto 1fr; }
  .bs-ingot-box { grid-column: 1 / -1; }
  .bs-needs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .bs-sky-grid, .bs-z-panel, .bs-gzak-grid, .bs-cz-grid, .bs-sign-grid, .bs-znote-grid, .bs-family-grid, .bs-bhero-grid, .bs-sec-head, .bs-fore-intro { grid-template-columns: 1fr; }
  .bs-sky-wrap, .bs-gzak-photo { position: relative; inset-block-start: auto; }
  .bs-gzak-photo { aspect-ratio: 4 / 3; }
  .bs-lad-stats { grid-template-columns: repeat(2, 1fr); }
  .bs-bhero-media { max-width: 560px; }
  .bs-pos { inset-inline-start: auto; inset-inline-end: 4%; }
  .bs-sign-copy { order: -1; }
}
@media (max-width: 900px) {
  .bs-stage-in { grid-template-columns: 1fr; grid-template-rows: auto minmax(160px, 1fr) auto; gap: 18px; }
  .bs-st-head { grid-column: 1; grid-row: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
  .bs-st-val { text-align: end; }
  .bs-chart { grid-column: 1; grid-row: 2; margin-block: 70px 30px; min-height: 0; }
  .bs-fore-track:not(.is-live) .bs-chart { height: 300px; }
  .bs-rail { grid-column: 1; grid-row: 3; max-height: 48svh; }
  .bs-wi .ff-ask-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bs-wi .ff-chip { flex: none; }
  .bs-wi .ff-ask.is-answered .ff-ask-chips { display: none; }
}
@media (max-width: 760px) {
  :root { --bar-h: 60px; --r: 22px; }
  .ff-menu-list { grid-template-columns: 1fr; }
  .ff-mi-pre { aspect-ratio: 16 / 10; margin: 0; border-radius: 12px; }
  .ff-mi-t { font-size: 18px; }
  .bs-hero .bs-h1 { max-width: none; }
  .bs-hero-film { aspect-ratio: 4 / 5; }
  .bs-hero-phone { inset-inline-end: 50%; margin-inline-end: -29%; width: 58%; }
  .bs-hero-stage { padding-block-end: 64px; }
  .bs-cta .bs-btn { flex: 1 1 auto; }
  .bs-yr { font-size: 64px; }
  .bs-val { font-size: 24px; }
  .bs-age { font-size: 13px; margin-block-start: 8px; }
  .bs-st-k { font-size: 12px; }
  .bs-st-note { display: none; }
  .bs-stage-in { padding: 18px; }
  .bs-ms-stem { height: 30px; }
  .bs-ms-lab { inset-block-end: 38px; font-size: 11px; }
  .bs-ms-lab b { font-size: 13px; }
  .bs-ms-lab > span:not(.bs-ms-c) { display: none; }
  .bs-ticks { font-size: 11px; }
  .bs-narr { font-size: 16px; }
  .bs-bento { grid-template-columns: 1fr; }
  .bs-tile-inv { grid-row: auto; }
  .bs-rule-list li { grid-template-columns: 1fr; }
  .bs-zr { grid-template-columns: 1fr; }
  .bs-sky { margin-inline: 2%; }
  .bs-node-l { font-size: 11px; }
  .bs-node { --d: calc(var(--s) * .78px); }
  .bs-gold-panel { grid-template-columns: auto 1fr; gap: 20px; padding: 24px 18px; }
  .bs-scale { padding-inline: 26px 4px; }
  .bs-scale-track { width: 60px; height: 300px; }
  .bs-scale-nisab b { inset-inline-start: auto; inset-inline-end: calc(100% + 8px); inset-block-end: 4px; transform: none; font-size: 10px; display: none; }
  .bs-gw { font-size: 60px; }
  .bs-gc { font-size: 22px; }
  .bs-gq { margin-block: 18px; }
  .bs-gq-b { padding: 7px 11px; font-size: 13px; }
  .bs-gbuy { width: 100%; }
  .bs-ga-tl { grid-template-columns: 1fr; }
  .bs-ingot-stage { height: 190px; }
  .bs-ingot { width: min(280px, 100%); }
  .bs-scale-tube { border-radius: 16px; }
  .bs-lad-stats { gap: 18px 12px; }
  .bs-rungs { gap: 3px; padding-inline-end: 0; }
  .bs-rung { grid-template-rows: 220px 40px; }
  .bs-rung-v, .bs-yl, .bs-lad-grid b { display: none; }
  .bs-ys { display: block; }
  .bs-rung-q { font-size: 10px; }
  .bs-needs { grid-template-columns: 1fr; }
  .bs-rd-ctl { width: 100%; }
  .bs-rebal { flex: 1 1 100%; }
  .bs-rd-v { flex: 1; }
  .bs-pos { position: relative; inset: auto; width: auto; margin: -64px 14px 0; }
  .bs-bhero-media { padding-block-end: 0; }
}

/* Photo grade: the brand has no orange, and gold stays a pale metallic neutral. */
.bs-hero-film .ff-media { filter: saturate(.38) brightness(.9) contrast(1.04); }
.bs-tile-media .ff-media, .bs-gzak-photo .ff-media { filter: saturate(.42) brightness(.96); }
.bs-family-photo .ff-media { filter: saturate(.8) brightness(.9); }
.bs-bhero-photo .ff-media { filter: saturate(.85); }
