/* =============================================================
   Lighthouse homepage components. Tokens, chrome, the page frame and the shared
   primitives (bx-wrap, bx-h2, bx-btn …) live in brand.css, which every page loads.
   ============================================================= */
/* ---------- Hero ---------- */
.bx-hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 112px));
  background: radial-gradient(90% 60% at 50% 0%, #0F1D36 0%, #080F1E 55%, var(--bx-bg) 100%);
}
.bx-hero-img { display: none; }
.bx-hero-in { animation: bx-rise 0.9s var(--ease) both; }
.bx-hero-in .bx-display { margin-top: 22px; }
@keyframes bx-rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Score ring used in the How it works panels and the score breakdown (matches new_lighthouse_alpha) ---------- */
.ring:not(.vr) { position: relative; display: inline-grid; place-items: center; vertical-align: middle; }
.ring:not(.vr) svg { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ring:not(.vr) b { position: relative; font-family: "Inter", system-ui, sans-serif; font-size: 10px; font-weight: 700; color: #334155; }

/* ---------- Customers ---------- */
.bx-logos { position: relative; padding-block: var(--gap); text-align: center; }
.bx-marquee {
  overflow: hidden; margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.bx-track { display: flex; align-items: center; gap: 64px; width: max-content; padding-right: 64px; animation: bx-marquee 80s linear infinite; }
.bx-track img { flex: none; width: auto; opacity: 0.55; filter: invert(1); }
@keyframes bx-marquee { to { transform: translateX(-50%); } }

/* ---------- Statement + audience ---------- */
.bx-statement {
  margin-top: 18px; max-width: 1060px;
  font-size: clamp(1.85rem, 0.95rem + 3.2vw, 3.6rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.038em;
  color: var(--bx-text); text-wrap: pretty;
}
.bx-statement.js .w { color: #283246; transition: color 0.35s ease; }
.bx-statement.js .w.lit { color: var(--bx-text); }
.bx-statement.js .w.lit.g { color: var(--bx-gold); }
.bx-aud { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--gap); border-top: 1px solid var(--bx-line); }
.bx-aud > div { padding: 40px 48px 0 0; }
.bx-aud > div + div { padding: 40px 0 0 48px; border-left: 1px solid var(--bx-line); }
.bx-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; border: 1px solid rgba(251, 216, 72, 0.4); font-family: var(--bx-mono); font-size: 0.75rem; color: var(--bx-gold); }
.bx-aud h3 { margin-top: 22px; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.bx-aud p { margin-top: 10px; color: var(--bx-muted); max-width: 46ch; }
.bx-ticks { display: grid; gap: 10px; margin-top: 22px; }
.bx-ticks li { display: flex; align-items: center; gap: 12px; color: var(--bx-soft); font-size: 0.97rem; }
.bx-ticks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 4px; background: rgba(251, 216, 72, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBD848' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- How it works ---------- */
.bx-how { background: linear-gradient(180deg, var(--bx-bg), var(--bx-bg-2) 50%, var(--bx-bg)); }
.bx-steps { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bx-tab {
  position: relative; width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 0 12px;
  padding: 22px 0; text-align: left; color: inherit; border-top: 1px solid var(--bx-line);
}
.bx-tabs li:last-child .bx-tab { border-bottom: 1px solid var(--bx-line); }
.bx-tab .n { font-family: var(--bx-mono); font-size: 0.78rem; color: var(--bx-dim); padding-top: 5px; transition: color 0.3s ease; }
.bx-tab b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.025em; color: #6F7B90; transition: color 0.3s ease; }
.bx-tab .d { display: block; max-height: 0; opacity: 0; overflow: hidden; color: var(--bx-muted); font-size: 0.95rem; line-height: 1.55; transition: max-height 0.5s var(--ease), opacity 0.4s ease, margin 0.4s ease; }
.bx-tab:hover b { color: var(--bx-soft); }
.bx-tab.on b { color: #fff; }
.bx-tab.on .n { color: var(--bx-gold); }
.bx-tab.on .d { max-height: 160px; opacity: 1; margin-top: 8px; }
.bx-tab .prog { position: absolute; left: 0; right: 0; top: -1px; height: 1px; overflow: hidden; }
.bx-tab .prog i { display: block; width: 100%; height: 100%; background: var(--bx-gold); transform: scaleX(0); transform-origin: left; }
.bx-tab.on .prog i { animation: bx-fill 6s linear forwards; }
.paused .bx-tab.on .prog i { animation: none; transform: none; }
@keyframes bx-fill { to { transform: scaleX(1); } }

.bx-stage { position: relative; border-radius: var(--bx-r2); overflow: hidden; background: #f8fafc; border: 1px solid var(--bx-line-2); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8); }
.bx-panels { position: relative; height: 480px; }
.bx-panel {
  position: absolute; inset: 0; padding: 32px; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease), visibility 0s linear 0.4s;
}
.bx-panel.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s ease 0.1s, transform 0.5s var(--ease) 0.1s, visibility 0s; }
@keyframes bx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bx-panel .src, .bx-panel tbody tr, .bx-panel .sc-cat, .bx-panel .nd, .bx-panel .meas { opacity: 0; }
.bx-panel.on .src, .bx-panel.on tbody tr, .bx-panel.on .sc-cat, .bx-panel.on .nd { animation: bx-in 0.45s var(--ease) calc(var(--i, 0) * 0.1s + 0.15s) forwards; }
.bx-panel.on .meas { animation: bx-in 0.45s var(--ease) 0.6s forwards; }
/* overview-page visual inside a panel: play its row/ring reveal when the panel shows */
.bx-panel > .viz-app { width: 100%; max-width: 580px; }
.bx-panel.on .viz .v-row { opacity: 1; transform: none; }
.bx-panel.on .viz .ring .rf { stroke-dashoffset: var(--o, 100); }

/* app-styled panel contents (light) */
.pv { width: 100%; max-width: 580px; color: #0f172a; font-family: "Inter", system-ui, sans-serif; font-size: 13px; }
.pv svg { width: 15px; height: 15px; flex: none; }
.pv small { display: block; }
.pv-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pv-h small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.pv-h b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.pv-h .ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #047857; }
.pv-h .ok svg { color: var(--app-emerald); }

.pv-post .src { display: grid; grid-template-columns: 30px 110px 1fr 40px; align-items: center; gap: 12px; padding: 11px 14px; margin-top: 6px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.pv-post .lg { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: #f1f5f9; color: var(--app-blue); }
.pv-post .lg .logo-img { height: 18px; max-width: 18px; }
.pv-post .n { font-weight: 600; }
.pv-post .bar { margin: 0; height: 6px; border-radius: 3px; background: #f1f5f9; overflow: hidden; }
.pv-post .bar i { display: block; height: 100%; background: var(--app-blue); border-radius: 3px; }
.pv-post .src > b { text-align: right; font-weight: 700; }
.pv-post .src.st { grid-template-columns: 30px 1fr auto; }
.pv-post .src.st em { font-style: normal; font-size: 12px; color: #64748b; }
.pv-post .src.st em.live { padding: 2px 8px; border-radius: 4px; border: 1px solid #a7f3d0; background: #ecfdf5; font-weight: 700; color: #047857; }
.pv-post .tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding: 14px; border-top: 1px solid #e2e8f0; color: #64748b; }
.pv-post .tot b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: #0f172a; }


.pv-score .sc-cat { padding: 10px 14px; margin-top: 6px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.pv-score .top { display: flex; align-items: center; gap: 9px; }
.pv-score .sw { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.pv-score .top b { font-weight: 700; }
.pv-score .w { margin-left: auto; font-weight: 700; color: var(--ink); }
.pv-score .track { height: 6px; margin: 8px 0 6px; border-radius: 3px; background: #f1f5f9; overflow: hidden; }
.pv-score .track i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--c); }
.bx-panel.on .pv-score .track i { animation: bx-grow 0.8s var(--ease) calc(var(--i) * 0.1s + 0.25s) forwards; }
@keyframes bx-grow { to { width: var(--w); } }
.pv-score small { font-size: 11.5px; color: #64748b; }
.pv-score .pv-h .ring b { font-size: 14px; color: #0f172a; }
.c-hist { --c: var(--app-violet); --ink: #6d28d9; }
.c-skills { --c: var(--app-blue); --ink: var(--app-blue-ink); }
.c-edu { --c: var(--app-emerald); --ink: #047857; }
.c-attr { --c: var(--app-amber); --ink: #b45309; }


.pv-auto { max-width: 480px; }
.pv-auto .pv-h small svg { color: var(--app-amber); width: 13px; height: 13px; }
.pv-auto .nd { padding: 12px 14px; background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid var(--app-amber); border-radius: 6px; }
.pv-auto .nd small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.pv-auto .nd b { display: block; margin-top: 2px; font-weight: 600; white-space: pre-wrap; }
.pv-auto .wire { display: block; width: 2px; height: 16px; margin-left: 20px; background: #cbd5e1; }
.pv-auto .meas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.pv-auto .meas span { padding: 10px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.pv-auto .meas b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.pv-auto .meas small { font-size: 11px; color: #64748b; }

/* ---------- Explainable scores: a real-looking resume next to the app's score breakdown ---------- */
.bx-ev {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start;
  padding: clamp(16px, 3vw, 40px); border-radius: var(--bx-r2); background: #f8fafc; border: 1px solid var(--bx-line-2);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8); font-family: "Inter", system-ui, sans-serif;
}
/* resume paper */
.rz { padding: 30px 28px 22px; background: #fff; border: 1px solid #e3e8f0; border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.25); font-size: 0.78rem; line-height: 1.5; color: #475569; }
.rz-h { text-align: center; padding-bottom: 10px; border-bottom: 1.5px solid #1e293b; }
.rz-h b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 700; color: #0f172a; }
.rz-h span { display: block; margin-top: 2px; font-size: 0.7rem; color: #64748b; }
.rz .rz-t { margin: 16px 0 6px; padding-bottom: 3px; border-bottom: 1px solid #cbd5e1; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0f172a; }
.rz-job + .rz-job { margin-top: 10px; }
.rz-co, .rz-jr { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; }
.rz-co b { font-size: 0.82rem; font-weight: 700; color: #1e293b; }
.rz-jr { margin-top: 1px; }
.rz-jr > :first-child { margin-right: auto; }
.rz-jr i { font-weight: 600; color: #0f172a; }
.rz-jr > span:not(.lh) { font-size: 0.72rem; color: #64748b; }
.rz-jr > span:first-child { font-size: inherit; color: inherit; }
.rz-jr b { font-weight: 600; color: #0f172a; }
.rz ul { list-style: disc; padding-left: 15px; margin-top: 3px; }
.rz li { margin-top: 2px; }
.rz-fine { margin-top: 14px; font-size: 0.64rem; color: #94a3b8; }
/* evidence: the resume text is marked, and the label Lighthouse recorded appears beside it */
.rz [data-ev] { border-radius: 3px; transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; }
.bx-ev[data-active="skills"] [data-ev="skills"], .bx-ev[data-active="hist"] [data-ev="hist"],
.bx-ev[data-active="attr"] [data-ev="attr"], .bx-ev[data-active="edu"] [data-ev="edu"] { background: #DBEAFE; box-shadow: 0 0 0 2px #DBEAFE; color: #1E3A8A; }
.lh { display: none; align-items: center; margin-left: 6px; padding: 1px 6px; border-radius: 4px; border: 1px solid #a7f3d0; background: #ecfdf5; font-size: 0.64rem; font-weight: 700; line-height: 1.5; color: #047857; white-space: nowrap; vertical-align: 1px; }
.rz-co .lh, .rz-jr .lh { margin-left: 0; }
.bx-ev[data-active="skills"] .lh[data-for="skills"], .bx-ev[data-active="hist"] .lh[data-for="hist"],
.bx-ev[data-active="attr"] .lh[data-for="attr"], .bx-ev[data-active="edu"] .lh[data-for="edu"] { display: inline-flex; animation: bx-pop 0.35s var(--ease) both; }
@keyframes bx-pop { from { opacity: 0; transform: scale(0.9); } }
/* score breakdown (matches the app's breakdown: components, points, recorded evidence) */
.sb { padding: clamp(20px, 2.4vw, 28px); background: #fff; border: 1px solid #e2e8f0; border-radius: var(--bx-r2); color: #0f172a; box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.2); }
.sb-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.sb-h small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.sb-h b { display: block; margin-top: 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.sb-h em { display: block; font-style: normal; font-size: 0.85rem; color: #64748b; }
.sb-total { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sb-total .ring b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #0f172a; }
.sb-total small { font-size: 0.75rem; color: #64748b; }
.sb-g { border-bottom: 1px solid #f1f5f9; }
.sb-g:last-child { border-bottom: none; }
.sb .crit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; width: 100%; padding: 14px 2px; text-align: left; color: #0f172a; }
.sb .crit .l { font-size: 1rem; font-weight: 700; transition: color 0.2s ease; }
.sb .crit .l small { display: block; margin-top: 1px; font-size: 0.75rem; font-weight: 500; color: #64748b; }
.sb .crit b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sb .crit b span { font-size: 0.85rem; font-weight: 600; color: #94a3b8; }
.sb .crit .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #f1f5f9; overflow: hidden; }
.sb .crit .bar i { display: block; height: 100%; border-radius: 3px; background: #10b981; }
.sb .crit:not(.on):hover .l { color: #475569; }
.sb .crit:not(.on) .l { color: #475569; }
.sb-ev { display: none; padding: 0 2px 16px; }
.sb .crit.on + .sb-ev { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; animation: bx-in 0.35s var(--ease) both; }
.sb-ev small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.sb-ev span { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sb-ev em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; border: 1px solid #a7f3d0; background: #ecfdf5; font-style: normal; font-size: 0.78rem; font-weight: 700; color: #065f46; }
.sb-ev em svg { width: 12px; height: 12px; }

.bx-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: var(--gap); padding-top: 40px; border-top: 1px solid var(--bx-line); }
.bx-trust svg { width: 22px; height: 22px; color: var(--bx-gold); }
.bx-trust b { display: block; margin: 16px 0 6px; font-size: 1rem; font-weight: 600; color: #fff; }
.bx-trust p { font-size: 0.92rem; line-height: 1.55; color: var(--bx-muted); }

/* ---------- Stats ---------- */
.bx-stats { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent); }
.bx-stats .bx-wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.bx-stats .st { padding: var(--gap) 32px; border-left: 1px solid var(--bx-line); }
.bx-stats .st:first-child { border-left: none; padding-left: 0; }
.bx-stats .v { font-size: clamp(3.6rem, 1.8rem + 5.4vw, 7rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.065em; color: #fff; font-variant-numeric: tabular-nums; }
.bx-stats .u { color: var(--bx-gold); }
.bx-stats .u.w { font-size: 0.42em; letter-spacing: -0.03em; margin-left: 0.08em; white-space: nowrap; }
.bx-stats p { margin-top: 18px; font-family: var(--bx-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bx-muted); }

/* ---------- Products (editorial index) ---------- */
.bx-index { border-top: 1px solid var(--bx-line); }
.bx-index .row {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.5fr) 48px; gap: 28px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--bx-line);
}
.bx-index .row::before { content: ""; position: absolute; inset: 0 -24px; background: linear-gradient(90deg, rgba(251, 216, 72, 0.06), transparent 60%); opacity: 0; transition: opacity 0.3s ease; }
.bx-index .row:hover::before { opacity: 1; }
.bx-index .n { font-family: var(--bx-mono); font-size: 0.8rem; color: var(--bx-dim); }
.bx-index .t { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; color: #D5DDE9; transition: color 0.25s ease, transform 0.35s var(--ease); }
.bx-index .row:hover .t { color: #fff; transform: translateX(6px); }
.bx-index .d { font-size: 0.98rem; line-height: 1.55; color: var(--bx-muted); }
.bx-index .tags { display: block; margin-top: 10px; font-family: var(--bx-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bx-dim); }
.bx-index .go { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--bx-r); border: 1px solid var(--bx-line-2); color: var(--bx-soft); transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.bx-index .go svg { width: 20px; height: 20px; }
.bx-index .row:hover .go { background: var(--bx-gold); border-color: var(--bx-gold); color: #0A0F1C; }

/* ---------- Integrations orbit ---------- */
.bx-int { background: radial-gradient(60% 60% at 75% 50%, rgba(52, 152, 219, 0.08), transparent 70%); }
.bx-int-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.bx-partners { margin-top: 34px; border-top: 1px solid var(--bx-line); }
.bx-partners li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--bx-line); color: var(--bx-soft); font-size: 0.95rem; }
.bx-partners a { color: #fff; text-decoration: underline; text-decoration-color: rgba(251, 216, 72, 0.6); text-underline-offset: 3px; }
.bx-partners a:hover { color: var(--bx-gold); }

.bx-orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.bx-orbit .glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 216, 72, 0.14), transparent); }
.orb { position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); --R: 38cqw; animation: bx-spin 80s linear infinite; }
.orb .sat { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(-1 * var(--a))); }
.orb .lo { position: absolute; left: -29px; top: -29px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 8px; background: #F4F6FA; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.9); animation: bx-spin 80s linear infinite reverse; }
.orb .lo .logo-img { height: 28px; max-width: 30px; border-radius: 4px; }
.orb .lo .logo-mono { width: 28px; height: 28px; }
@keyframes bx-spin { to { transform: rotate(360deg); } }
.bx-orbit .hub {
  position: absolute; top: 50%; left: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; display: grid; place-items: center;
  border-radius: 12px; background: linear-gradient(180deg, #172846, #0B1426); border: 1px solid rgba(251, 216, 72, 0.35);
  box-shadow: 0 0 80px -10px rgba(251, 216, 72, 0.4);
}
.bx-orbit .hub img { width: 56px; height: 56px; }

/* ---------- Client stories ---------- */
.bx-quote blockquote { margin-top: 18px; max-width: 1040px; font-size: clamp(2.1rem, 1.1rem + 3.4vw, 4.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.045em; color: var(--bx-text); text-wrap: balance; }
.bx-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.bx-quote .av { width: 44px; height: 44px; border-radius: var(--bx-r); display: grid; place-items: center; font-size: 0.85rem; font-weight: 600; color: #0A0F1C; background: var(--bx-gold); }
.bx-quote figcaption b { display: block; color: #fff; font-weight: 600; }
.bx-quote figcaption small { display: block; font-size: 0.86rem; color: var(--bx-muted); }
.bx-link { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 0.93rem; font-weight: 500; color: var(--bx-gold); }
.bx-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.bx-link:hover svg { transform: translateX(3px); }
.bx-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: var(--gap); }
.bx-cases .case { display: flex; flex-direction: column; min-height: 220px; padding: 26px; border-radius: var(--bx-r2); border: 1px solid var(--bx-line-2); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)); transition: transform 0.3s var(--ease), border-color 0.25s ease; }
.bx-cases .case:hover { transform: translateY(-3px); border-color: rgba(251, 216, 72, 0.4); }
.bx-cases .m { font-size: clamp(2.3rem, 1.8rem + 1.4vw, 3rem); font-weight: 600; letter-spacing: -0.055em; line-height: 1; color: #fff; }
.bx-cases .l { flex: 1; margin-top: 10px; font-size: 0.94rem; line-height: 1.5; color: var(--bx-muted); }
.bx-cases .c { display: flex; align-items: center; gap: 7px; margin-top: 24px; font-family: var(--bx-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bx-soft); }
.bx-cases .c svg { width: 14px; height: 14px; margin-left: auto; color: var(--bx-dim); transition: color 0.2s ease, transform 0.2s ease; }
.bx-cases .case:hover .c svg { color: var(--bx-gold); transform: translateX(3px); }
.bx-industries { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--bx-line); }
.bx-industries .list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bx-industries .list a { font-size: 0.95rem; color: var(--bx-soft); border-bottom: 1px solid var(--bx-line-2); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.bx-industries .list a:hover { color: #fff; border-color: var(--bx-gold); }
.bx-industries a.all { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--bx-gold); font-weight: 500; }
.bx-industries a.all svg { width: 16px; height: 16px; }

/* ---------- Final CTA ---------- */
.bx-final {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: calc(var(--sec) * 1.3);
  background: radial-gradient(80% 70% at 50% 0%, #0F1D36, var(--bx-bg) 70%);
}
.bx-final .bx-display { max-width: 900px; }
.bx-final .bx-lead { margin-inline: 0; }
.bx-final .bx-ctas { justify-content: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bx-int-in { grid-template-columns: minmax(0, 1fr); }
  .bx-trust { grid-template-columns: 1fr 1fr; }
  .bx-cases { grid-template-columns: 1fr 1fr; }
  .bx-index .row { grid-template-columns: 48px minmax(0, 1fr) 46px; }
  .bx-index .d { grid-column: 2 / 3; }
  .bx-index .go { grid-row: 1; grid-column: 3; }
}
@media (max-width: 880px) {
  .bx-steps, .bx-ev { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .bx-aud { grid-template-columns: 1fr; }
  .bx-aud > div, .bx-aud > div + div { padding: 32px 0; border-left: none; }
  .bx-aud > div + div { border-top: 1px solid var(--bx-line); }
  .bx-stats .bx-wrap { grid-template-columns: 1fr; }
  .bx-stats .st, .bx-stats .st:first-child { padding: 36px 0; border-left: none; }
  .bx-stats .st + .st { border-top: 1px solid var(--bx-line); }
  .bx-panels { height: 480px; }
  .bx-panel { padding: 16px; }
  .pv-post .src { grid-template-columns: 30px 1fr 36px; }
  .pv-post .bar { display: none; }
  .rz { padding: 22px 18px 18px; }
  .bx-quote .bx-link { margin-left: 0; width: 100%; }
  .bx-industries a.all { margin-left: 0; }
  .bx-partners li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .bx-trust, .bx-cases { grid-template-columns: 1fr; }
  .bx-cases .case { min-height: 0; }
  .bx-index .n { display: none; }
  .bx-index .row { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px 16px; padding: 26px 0; }
  .bx-index .d { grid-column: 1 / -1; }
  .bx-index .go { grid-column: 2; width: 44px; height: 44px; }
  .bx-track { gap: 44px; padding-right: 44px; }
  .orb .lo { width: 44px; height: 44px; left: -22px; top: -22px; }
  .orb .lo .logo-img { height: 22px; max-width: 24px; }
  .bx-orbit .hub { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
  .bx-orbit .hub img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .orb .lo { animation: none !important; }
}
