/* =========================================================================
   braze.warren.digital · v2, "the journey build"

   Braze's published design language, read from braze.com's shipped
   stylesheet and rebuilt by hand: Braze purple #801ed7, orange #ffa524,
   pink #ffa4fb, lavender #c9c4ff, deep purple #300266, hot #e9371f,
   radial gradients as the recurring motif, pill shapes, a gray ramp.
   Type is Hanken Grotesk, a free substitute for Aribau Grotesk.

   Motion policy: nothing loops forever except the two SMIL pulses in the
   Relay diagram, which pause off screen via app.js. Everything else either
   runs once on reveal or is driven by the reader's own scroll
   (animation-timeline, feature-gated with @supports, decorative only, so
   browsers without support simply see the static layout). All of it
   respects prefers-reduced-motion. No style attributes carry position or
   animation: the CSP has no unsafe-inline.
   ========================================================================= */

:root {
  --purple: #801ed7;
  --purple-deep: #300266;
  --purple-ink: #1d0140;
  --purple-soft: #f3e9fd;
  --orange: #ffa524;
  --pink: #ffa4fb;
  --lavender: #c9c4ff;
  --hot: #e9371f;
  --ok: #12b76a;

  --ink: #101828;
  --ink-2: #0c111d;
  --mut: #475467;
  --mut-2: #667085;
  --faint: #98a2b3;
  --line: #eaecf0;
  --line-2: #d0d5dd;

  --bg: #ffffff;
  --bg-alt: #fbf8fe;
  --bg-soft: #f9fafb;

  --grad-brand: linear-gradient(101deg, #c9c4ff -12%, #801ed7 42%, #ffa524 94%);
  --grad-text: linear-gradient(96deg, #c9c4ff 0%, #ffa4fb 34%, #ffa524 100%);

  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --r-card: 22px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid rgba(255, 164, 251, 0.9);
  outline-offset: 2px;
  border-radius: 4px;
}

kbd {
  font-family: var(--font);
  font-size: 0.78em;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 1px 7px;
}

.bz-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.bz-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--purple-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
}
.bz-skip:focus { left: 0; }

.bz-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

.bz-h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: -0.025em;
  margin: 22px 0 20px;
  color: #fff;
}
.bz-h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bz-h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: -0.018em;
  margin: 10px 0 0;
  color: var(--ink-2);
}
.bz-h2 em { font-style: normal; }
.bz-grad-text {
  background: linear-gradient(96deg, #801ed7 0%, #e9371f 60%, #ffa524 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bz-h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
  color: var(--ink-2);
}
.bz-h4 {
  font-size: 1.16rem;
  line-height: 1.3;
  font-weight: 680;
  margin: 0 0 10px;
  color: var(--ink-2);
}
.bz-h5 {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 680;
  margin: 0 0 8px;
  color: var(--ink-2);
}

.bz-lead {
  font-size: 1.07rem;
  line-height: 1.65;
  color: var(--mut);
  margin: 14px 0 0;
}
.bz-body {
  font-size: 0.98rem;
  color: var(--mut);
  margin: 12px 0 0;
}
.bz-fine {
  font-size: 0.8rem;
  color: var(--mut-2);
  margin: 18px 0 0;
}
.bz-cap {
  font-size: 0.8rem;
  color: var(--mut-2);
  margin: 12px 0 0;
  line-height: 1.5;
}
.bz-muted { color: var(--mut-2); }

.bz-kick {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 6px;
}

.bz-measure { max-width: 46rem; }

.bz-mt-8  { margin-top: 8px; }
.bz-mt-12 { margin-top: 12px; }
.bz-mt-16 { margin-top: 16px; }
.bz-mt-24 { margin-top: 24px; }
.bz-mt-32 { margin-top: 32px; }
.bz-mt-40 { margin-top: 40px; }

@media (max-width: 720px) {
  .bz-br { display: none; }
}

/* ---------- journey nodes ---------- */

.bz-node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: #fff;
  border: 1px solid var(--lavender);
  border-radius: var(--r-pill);
  padding: 7px 16px;
}
.bz-node i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex: none;
}
.bz-node-split { border-color: #ffd699; color: #b25e00; }
.bz-node-split i { background: linear-gradient(120deg, #ffa524, #e9371f); }
.bz-node-wait { border-color: var(--line-2); color: var(--mut); }
.bz-node-wait i { background: var(--mut-2); }
.bz-node-conv { border-color: #a6e9c8; color: #067647; }
.bz-node-conv i { background: var(--ok); }
.bz-node-entry {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(6px);
}
.bz-node-cta {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.bz-sec { position: relative; }

/* ---------- reveal ---------- */

.bz-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.bz-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bz-reveal { opacity: 1; transform: none; transition: none; }
}

/* staggered decision cards */
.bz-decisions article {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- banner ---------- */

.bz-banner {
  background: var(--purple-ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.74rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
  position: relative;
  z-index: 5;
}
.bz-banner p { margin: 0; padding: 9px 0; }
.bz-banner strong { color: #fff; }

/* ---------- nav ---------- */

.bz-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 1, 64, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bz-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
}
.bz-logo {
  font-weight: 780;
  font-size: 1.02rem;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.bz-logo span { color: var(--orange); }
.bz-logo:hover { text-decoration: none; }

.bz-nav nav { flex: 1; min-width: 0; }
.bz-nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.bz-nav-links a {
  display: inline-block;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 560;
  color: rgba(255, 255, 255, 0.75);
}
.bz-nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 1020px) {
  .bz-nav-links { display: none; }
}

.bz-kbtn {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.bz-kbtn:hover { background: rgba(255, 255, 255, 0.2); }
@media (max-width: 560px) { .bz-kbtn { display: none; } }

/* scroll progress: gradient bar under the nav, driven by scroll */
.bz-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bz-progress i {
  display: block;
  height: 100%;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes bz-grow { to { transform: scaleX(1); } }
    .bz-progress i {
      animation: bz-grow auto linear;
      animation-timeline: scroll();
    }
  }
}

/* ---------- buttons ---------- */

.bz-btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-weight: 680;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--purple);
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.bz-btn:hover {
  background: #6913b6;
  border-color: #6913b6;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(128, 30, 215, 0.35);
}
.bz-btn-sm { padding: 8px 16px; font-size: 0.84rem; }
.bz-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.bz-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  box-shadow: none;
}
.bz-btn-invert {
  background: #fff;
  color: var(--purple-deep);
  border-color: #fff;
}
.bz-btn-invert:hover {
  background: var(--lavender);
  border-color: var(--lavender);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.bz-btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.bz-btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.bz-row-btn {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- hero ---------- */

.bz-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 600px at 82% -20%, rgba(128, 30, 215, 0.55), transparent 65%),
    radial-gradient(700px 500px at -10% 40%, rgba(255, 164, 251, 0.18), transparent 65%),
    radial-gradient(700px 520px at 62% 118%, rgba(233, 55, 31, 0.3), transparent 70%),
    radial-gradient(500px 400px at 100% 90%, rgba(255, 165, 36, 0.22), transparent 70%),
    var(--purple-ink);
  color: #fff;
}
.bz-hero-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(340px 340px at var(--gx, 70%) var(--gy, 30%), rgba(201, 196, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.bz-hero .bz-lead { color: rgba(255, 255, 255, 0.78); }
.bz-lead-strong { color: #fff !important; font-weight: 560; }
.bz-hero-hint {
  margin-top: 22px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.bz-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .bz-hero-grid { grid-template-columns: 1fr; }
}

/* ---------- the phone ---------- */

.bz-hero-phone { justify-self: center; width: min(340px, 100%); }
.bz-phone {
  position: relative;
  border-radius: 44px;
  background: linear-gradient(160deg, #3a3a45, #17171d);
  padding: 10px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 120px rgba(128, 30, 215, 0.35);
}
.bz-phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  border-radius: var(--r-pill);
  background: #0b0b0f;
  z-index: 2;
}
.bz-phone-screen {
  border-radius: 36px;
  min-height: 520px;
  padding: 60px 14px 22px;
  background:
    radial-gradient(300px 240px at 80% -5%, rgba(255, 165, 36, 0.35), transparent 70%),
    radial-gradient(360px 300px at 10% 110%, rgba(255, 164, 251, 0.3), transparent 70%),
    linear-gradient(170deg, #4d18a8, #300266 65%, #24014d);
  overflow: hidden;
}
.bz-phone-time {
  margin: 0;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #fff;
}
.bz-phone-date {
  margin: 2px 0 18px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.bz-notifs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bz-notif {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.bz-notif > div { min-width: 0; flex: 1; position: relative; }
.bz-notif b {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut);
}
.bz-notif em {
  position: absolute;
  right: 0;
  top: 1px;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--faint);
}
.bz-notif p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink);
}
.bz-napp {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.na-relay { background: var(--grad-brand); }
.na-asana { background: #f06a6a; }
.na-vizor { background: #0e1726; }
.na-cal { background: #fff; color: var(--hot); border: 1px solid var(--line-2); font-size: 0.8rem; }
.na-ref { background: linear-gradient(135deg, #4285f4, #34a853); }

/* notifications drop in once, when the hero is seen */
@media (prefers-reduced-motion: no-preference) {
  .bz-notif {
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  }
  [data-phone].is-live .bz-notif { opacity: 1; transform: none; }
  [data-phone].is-live .bz-notif:nth-child(1) { transition-delay: 0.15s; }
  [data-phone].is-live .bz-notif:nth-child(2) { transition-delay: 0.75s; }
  [data-phone].is-live .bz-notif:nth-child(3) { transition-delay: 1.35s; }
  [data-phone].is-live .bz-notif:nth-child(4) { transition-delay: 1.95s; }
  [data-phone].is-live .bz-notif:nth-child(5) { transition-delay: 2.55s; }
}
.bz-phone-cap {
  margin: 14px 4px 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- segments ---------- */

.bz-segbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 40px;
}
.bz-seg-head .bz-h4 { margin: 2px 0 6px; }
.bz-seg-sub { margin: 0; font-size: 0.92rem; color: var(--mut-2); max-width: 44rem; }
.bz-seg-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.bz-seg-pills button {
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 650;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--mut);
  cursor: pointer;
  transition: all 0.16s ease;
}
.bz-seg-pills button:hover { border-color: var(--purple); color: var(--purple); }
.bz-seg-pills button[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.bz-seg-msg { margin-top: 16px; min-height: 3em; }
.bz-seg-msg p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  max-width: 52rem;
  border-left: 3px solid;
  border-image: var(--grad-brand) 1;
  padding-left: 14px;
}

/* segment emphasis on the audit */
.bz-group { transition: opacity 0.3s ease; }
body[data-seg="fin"] .bz-group:not([data-g~="fin"]),
body[data-seg="cd"]  .bz-group:not([data-g~="cd"]),
body[data-seg="mkt"] .bz-group:not([data-g~="mkt"]),
body[data-seg="rec"] .bz-group:not([data-g~="rec"]) { opacity: 0.42; }
body[data-seg="fin"] .bz-group[data-g~="fin"] .bz-acc-group,
body[data-seg="cd"]  .bz-group[data-g~="cd"] .bz-acc-group,
body[data-seg="mkt"] .bz-group[data-g~="mkt"] .bz-acc-group,
body[data-seg="rec"] .bz-group[data-g~="rec"] .bz-acc-group { color: var(--purple); }

/* ---------- ticker (moves only when the reader scrolls) ---------- */

.bz-ticker {
  background: var(--purple-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  overflow: hidden;
}
.bz-ticker-row {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  will-change: transform;
}
.bz-ticker-row span {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  flex: none;
}
.bz-ticker-b { margin-top: 10px; }
.bz-ticker-b span { color: var(--lavender); border-color: rgba(201, 196, 255, 0.3); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes bz-tick-l { to { transform: translateX(-12%); } }
    @keyframes bz-tick-r { from { transform: translateX(-12%); } to { transform: translateX(0); } }
    .bz-ticker-a { animation: bz-tick-l auto linear both; animation-timeline: scroll(); }
    .bz-ticker-b { animation: bz-tick-r auto linear both; animation-timeline: scroll(); }
  }
}

/* ---------- stat strip ---------- */

.bz-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.bz-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
}
@media (max-width: 980px) {
  .bz-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bz-strip-grid { grid-template-columns: 1fr; }
}
.bz-stat-fig {
  font-size: 1.5rem;
  font-weight: 780;
  letter-spacing: -0.015em;
  background: linear-gradient(96deg, #801ed7 0%, #b03fe0 55%, #e9371f 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bz-stat-lab {
  font-size: 0.84rem;
  color: var(--mut);
  margin-top: 4px;
  line-height: 1.5;
}

/* ---------- sections ---------- */

.bz-sec { padding: 92px 0 84px; }
.bz-sec-alt { background: var(--bg-alt); }
.bz-head { max-width: 52rem; }
.bz-head .bz-h2 { margin-top: 16px; }

.bz-note {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid;
  border-image: var(--grad-brand) 1;
  border-radius: 4px 16px 16px 4px;
  padding: 18px 22px;
  font-size: 0.96rem;
  color: var(--mut);
  max-width: 52rem;
}

/* ---------- decisions ---------- */

.bz-decisions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .bz-decisions { grid-template-columns: 1fr; }
}
.bz-decisions article {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.bz-decisions article::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(201, 196, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.bz-decisions article:hover {
  border-color: var(--lavender);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(48, 2, 102, 0.1);
}
.bz-decisions article:hover::after { opacity: 1; }
.bz-dec-n {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 780;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: var(--r-pill);
  padding: 3px 11px;
  margin-bottom: 12px;
}
.bz-decisions p { margin: 0; font-size: 0.92rem; color: var(--mut); }

/* ---------- relay walkthrough ---------- */

.bz-relay { margin-top: 44px; position: relative; }
.bz-relay-in {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bz-relay-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bz-relay-tabs label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 640;
  color: var(--mut);
  cursor: pointer;
  transition: all 0.18s ease;
}
.bz-relay-tabs label:hover { border-color: var(--purple); color: var(--purple); }
.bz-relay-n {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  font-size: 0.72rem;
  font-weight: 750;
  padding: 0 4px;
}
.bz-tab-lock .bz-relay-n { background: transparent; border: none; font-size: 0.84rem; }

#rs1:checked ~ .bz-relay-tabs label[for="rs1"],
#rs2:checked ~ .bz-relay-tabs label[for="rs2"],
#rs3:checked ~ .bz-relay-tabs label[for="rs3"],
#rs4:checked ~ .bz-relay-tabs label[for="rs4"] {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
#rs1:checked ~ .bz-relay-tabs label[for="rs1"] .bz-relay-n,
#rs2:checked ~ .bz-relay-tabs label[for="rs2"] .bz-relay-n,
#rs3:checked ~ .bz-relay-tabs label[for="rs3"] .bz-relay-n,
#rs4:checked ~ .bz-relay-tabs label[for="rs4"] .bz-relay-n {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
#rs2:checked ~ .bz-relay-tabs label[for="rs2"] {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}

.bz-relay-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .bz-relay-body { grid-template-columns: 1fr; }
}

.bz-relay-pane {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 32px;
}
#rs1:checked ~ .bz-relay-body #rp1,
#rs2:checked ~ .bz-relay-body #rp2,
#rs3:checked ~ .bz-relay-body #rp3,
#rs4:checked ~ .bz-relay-body #rp4 { display: block; }

.bz-relay-pane--lock {
  background:
    radial-gradient(420px 200px at 90% -10%, rgba(201, 196, 255, 0.35), transparent 70%),
    #fff;
  border: 1.5px dashed var(--lavender);
}

.bz-sheets {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.bz-sheets span {
  border-radius: 8px;
  border: 1px solid var(--lavender);
  background: var(--purple-soft);
  height: 44px;
}
.bz-sheets span:nth-child(2) { height: 58px; background: #fff3e0; border-color: #ffd699; }
.bz-sheets span:nth-child(3) { height: 38px; }
.bz-sheets span:nth-child(4) { height: 52px; background: #ffeef9; border-color: var(--pink); }
.bz-sheets span:nth-child(5) { height: 42px; background: #fff3e0; border-color: #ffd699; }
.bz-sheets span:nth-child(6) { height: 62px; }
.bz-sheets-out {
  margin-top: 12px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 680;
  text-align: center;
  padding: 10px;
}

.bz-cell-lbl {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.bz-rank { list-style: none; margin: 20px 0 0; padding: 0; }
.bz-rank li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.bz-rank-t { flex: 1; color: var(--ink); font-weight: 560; }
.bz-rank b { color: var(--mut-2); font-weight: 500; font-size: 0.8rem; white-space: nowrap; }
.bz-lane {
  font-size: 0.72rem;
  font-weight: 750;
  padding: 2px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.bz-lane.now { background: var(--purple-soft); color: var(--purple); }
.bz-lane.next { background: #eef0ff; color: #4411d6; }
.bz-lane.hold { background: #fff3e0; color: #b25e00; }

.bz-handoff {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.bz-handoff > div {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.bz-handoff p { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink); }
.bz-handoff-arrow { color: var(--purple); font-weight: 700; font-size: 1.2rem; }

/* the record inspector */

.bz-record {
  position: sticky;
  top: 86px;
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(128, 30, 215, 0.5), transparent 70%),
    var(--purple-ink);
  color: #fff;
  border-radius: var(--r-card);
  padding: 24px 26px;
}
.bz-record-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender);
}
.bz-record-step { font-weight: 500; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.6); text-align: right; }
.bz-record-n::after { content: "step 1 of 6"; }
#rs2:checked ~ .bz-relay-body .bz-record-n::after { content: "steps 2 to 4 · withheld"; }
#rs3:checked ~ .bz-relay-body .bz-record-n::after { content: "step 5 of 6"; }
#rs4:checked ~ .bz-relay-body .bz-record-n::after { content: "step 6 of 6"; }

.bz-record-fields { margin: 16px 0 0; }
.bz-record-fields .f {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.28;
  transition: opacity 0.35s ease;
  font-size: 0.88rem;
}
.bz-record-fields dt { color: rgba(255, 255, 255, 0.55); margin: 0; }
.bz-record-fields dd { color: #fff; margin: 0; font-weight: 620; text-align: right; }
.bz-record .bz-cap { color: rgba(255, 255, 255, 0.5); }

/* fields light cumulatively; the middle rows stay blurred forever */
.bz-record-fields .f1 { opacity: 1; }
#rs2:checked ~ .bz-relay-body .f2,
#rs3:checked ~ .bz-relay-body .f2,
#rs4:checked ~ .bz-relay-body .f2,
#rs3:checked ~ .bz-relay-body .f3,
#rs4:checked ~ .bz-relay-body .f3,
#rs4:checked ~ .bz-relay-body .f4 { opacity: 1; }

.bz-record-fields .redact dd {
  filter: blur(5px);
  user-select: none;
}
.bz-record-fields .redact dt::after {
  content: " ·  off-page";
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* the resolved rows only appear from Rank onward */
.bz-record-fields .f3, .bz-record-fields .f4 { display: none; }
#rs3:checked ~ .bz-relay-body .f3,
#rs4:checked ~ .bz-relay-body .f3 { display: flex; }
#rs4:checked ~ .bz-relay-body .f4 { display: flex; }

/* ---------- carousels ---------- */

.bz-carousel { margin-top: 44px; }
.bz-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(560px, 90%);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--lavender) transparent;
}
.bz-carousel-track > * { scroll-snap-align: start; }

/* tool slides: visual on top, words below */
.bz-slide {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.bz-slide-art {
  aspect-ratio: 1200 / 630;
  background: var(--bg-alt);
  overflow: hidden;
}
.bz-slide-art img { width: 100%; height: 100%; object-fit: cover; }
.bz-slide-art--diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}
.bz-relayviz { width: 100%; max-height: 100%; }

.bz-rv-sheet rect { fill: #fff; stroke: #ded2f2; }
.bz-rv-row rect { fill: #d9cdef; }
.bz-rv-path use { fill: none; stroke: var(--lavender); stroke-width: 1; }
.bz-rv-pulse use {
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 20 240;
  animation: bz-pulse 3s linear infinite;
}
.bz-rv-pulse use:nth-child(2) { animation-delay: 1s; stroke: var(--orange); }
.bz-rv-pulse use:nth-child(3) { animation-delay: 2s; stroke: var(--pink); }
@keyframes bz-pulse {
  from { stroke-dashoffset: 260; }
  to   { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bz-rv-pulse use { animation: none; stroke-dasharray: none; opacity: 0.3; }
}
.bz-relayviz.is-paused .bz-rv-pulse use { animation-play-state: paused; }
.bz-rv-panel { fill: #fff; stroke: #ded2f2; }
.bz-rv-cap { fill: var(--lavender); }
.bz-rv-plan rect { fill: var(--purple-soft); }
.bz-rv-ok { fill: var(--purple); }
.bz-rv-tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.bz-slide-body { padding: 24px 28px 28px; }
.bz-slide-body header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.bz-slide-body h3 { margin: 0; }
.bz-slide-body dl { margin: 0; }
.bz-slide-body dt {
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-top: 14px;
}
.bz-slide-body dd {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--mut);
}

.bz-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  white-space: nowrap;
}

.bz-carousel-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.bz-carousel-count { margin: 0; font-size: 0.84rem; color: var(--mut-2); }
.bz-carousel-count b { color: var(--ink-2); }
.bz-carousel-btns { display: flex; gap: 8px; }
.bz-circ {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}
.bz-circ:hover:not(:disabled) {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-1px);
}
.bz-circ:disabled { opacity: 0.35; cursor: default; }
.bz-carousel.is-static .bz-carousel-ctl { display: none; }

/* ---------- fit: donut + filters ---------- */

.bz-fit-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  max-width: 56rem;
}
@media (max-width: 720px) {
  .bz-fit-top { grid-template-columns: 1fr; }
}
.bz-donut-fig { margin: 0; display: flex; gap: 20px; align-items: center; }
.bz-donut { width: 150px; height: 150px; flex: none; }
.bz-donut circle {
  fill: none;
  stroke-width: 14;
  transform: rotate(-90deg);
  transform-origin: 70px 70px;
}
.bz-donut-bg { stroke: var(--line); }
/* circumference of r=54 is ~339.3 */
.bz-donut-part {
  stroke: var(--orange);
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  transition: stroke-dashoffset 1.1s ease 0.9s;
}
.bz-donut-met {
  stroke: var(--purple);
  stroke-dasharray: 254.5 339.3; /* 15/20 of the ring */
  stroke-dashoffset: 254.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.1s ease 0.2s;
}
.is-in .bz-donut-met { stroke-dashoffset: 0; }
.is-in .bz-donut-part { stroke-dashoffset: 254.6; } /* remaining 5/20 arc */
@media (prefers-reduced-motion: reduce) {
  .bz-donut-met { stroke-dashoffset: 0; transition: none; }
  .bz-donut-part { stroke-dashoffset: 254.6; transition: none; }
}
.bz-donut-big {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 780;
  fill: var(--ink-2);
}
.bz-donut-sm {
  font-family: var(--font);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  fill: var(--mut-2);
}
.bz-donut-fig figcaption { font-size: 0.82rem; color: var(--mut-2); max-width: 15rem; }

.bz-fit-filters .bz-cell-lbl { display: block; margin-bottom: 8px; }
.bz-fit-filters button {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 650;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--mut);
  cursor: pointer;
  margin-right: 8px;
  transition: all 0.16s ease;
}
.bz-fit-filters button:hover { border-color: var(--purple); color: var(--purple); }
.bz-fit-filters button.on {
  background: var(--ink-2);
  border-color: var(--ink-2);
  color: #fff;
}
.bz-fit-note { margin: 12px 0 0; font-size: 0.82rem; color: var(--mut-2); }

[data-audit].f-met .bz-item[data-mark="part"],
[data-audit].f-part .bz-item[data-mark="met"] { display: none; }

/* ---------- audit accordion ---------- */

.bz-acc { margin-top: 28px; max-width: 56rem; }
.bz-acc-group {
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mut-2);
  margin: 34px 0 10px;
  transition: color 0.3s ease;
}
.bz-group:first-child .bz-acc-group { margin-top: 0; }

.bz-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.bz-item:hover { border-color: var(--line-2); }
.bz-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.93rem;
  font-weight: 580;
  color: var(--ink);
  transition: background 0.15s ease;
}
.bz-item summary::-webkit-details-marker { display: none; }
.bz-item summary:hover { background: var(--bg-alt); }
.bz-item[open] summary { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.bz-item-t { flex: 1; }
.bz-item-b { padding: 16px 20px 18px; }
.bz-item-b p { margin: 0; font-size: 0.92rem; color: var(--mut); }

.bz-mark {
  font-size: 0.72rem;
  font-weight: 780;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.bz-mark.met { background: #e7f8f0; color: #067647; }
.bz-mark.part { background: #fff3e0; color: #b25e00; }

/* ---------- proof / split ---------- */

.bz-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px;
  margin-top: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .bz-split { grid-template-columns: 1fr; }
}

.bz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 28px;
  margin: 0;
}

.bz-bars-plot {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  height: 220px;
  padding: 0 12px;
}
.bz-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.bz-bar i {
  display: block;
  width: 100%;
  border-radius: 12px 12px 4px 4px;
  background: #e6def5;
  height: 78%;
  order: 3;
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.15s;
}
.bz-bar-hero i {
  background: var(--grad-brand);
  height: 17%;
  transition-delay: 0.5s;
}
.is-in .bz-bar i, .bz-reveal.is-in .bz-bar i { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .bz-bar i { transform: scaleY(1); transition: none; }
}
.bz-bar-v { font-weight: 780; color: var(--ink-2); order: 1; font-size: 0.95rem; }
.bz-bar-l { font-size: 0.75rem; color: var(--mut-2); order: 2; margin-bottom: 8px; text-align: center; }

.bz-consol {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.bz-consol-lab, .bz-consol-n {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--mut);
  white-space: nowrap;
}
.bz-consol-pills {
  flex: 1;
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bz-consol-pills li {
  flex: 1;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--line);
}
.bz-consol-pills li.on { background: var(--purple); }

/* ---------- work cards ---------- */

.bz-carousel-scroller {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--lavender) transparent;
}
.bz-carousel-scroller > * { scroll-snap-align: start; }
.bz-work { grid-auto-columns: min(430px, 88%); }
.bz-quotes { grid-auto-columns: min(400px, 88%); }

/* cards scale up slightly as they enter the horizontal scroller */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes bz-card-in { from { scale: 0.94; opacity: 0.55; } }
    @keyframes bz-card-out { to { scale: 0.94; opacity: 0.55; } }
    .bz-carousel-scroller > *,
    .bz-carousel-track > * {
      animation:
        bz-card-in auto linear backwards,
        bz-card-out auto linear forwards;
      animation-timeline: view(inline);
      animation-range: entry, exit;
    }
  }
}

.bz-wcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bz-wcard-art {
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  overflow: hidden;
}
.bz-wcard-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bz-wcard:hover .bz-wcard-art img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .bz-wcard:hover .bz-wcard-art img { transform: none; }
}
.bz-wcard-art--doc img { object-fit: contain; padding: 12px; }
.bz-wcard-b { padding: 20px 24px 24px; }
.bz-wcard-b h3 { margin: 10px 0 8px; }
.bz-wcard-b p { margin: 0; font-size: 0.88rem; color: var(--mut); }

.bz-q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bz-q blockquote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ink);
}
.bz-q blockquote::before { content: "\201C"; color: var(--purple); font-weight: 700; }
.bz-q blockquote::after { content: "\201D"; color: var(--purple); font-weight: 700; }
.bz-q figcaption { margin-top: 14px; font-size: 0.82rem; }
.bz-cite-name { font-weight: 750; color: var(--ink-2); }
.bz-cite-role { color: var(--mut-2); margin-left: 8px; }

/* ---------- history + plan spine ---------- */

.bz-spine { list-style: none; margin: 48px 0 0; padding: 0; position: relative; }
.bz-spine > li {
  position: relative;
  padding: 0 0 28px 32px;
  border-left: 2px solid var(--line);
  margin-left: 8px;
}
.bz-spine > li:last-child { padding-bottom: 4px; }
.bz-spine > li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: 3px solid #fff;
}
.bz-sec-alt .bz-spine > li::before { border-color: var(--bg-alt); }

.bz-hist li { font-size: 0.9rem; color: var(--mut); }
.bz-hist li > span:first-child {
  display: block;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.bz-hist li b { display: block; color: var(--ink-2); margin: 2px 0; font-size: 0.95rem; }

.bz-plan .bz-when {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  margin-bottom: 8px;
}
.bz-plan h3 { margin: 4px 0 6px; }
.bz-plan p { margin: 0 0 6px; font-size: 0.92rem; color: var(--mut); max-width: 44rem; }
.bz-out { font-size: 0.88rem; }
.bz-out b { color: var(--ink-2); }

.bz-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 32px;
}
.bz-panel-forge {
  background:
    radial-gradient(480px 220px at 95% -20%, rgba(255, 165, 36, 0.18), transparent 70%),
    #fff;
  border-color: #ffd699;
}
.bz-not-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b25e00;
  background: #fff3e0;
  border-radius: var(--r-pill);
  padding: 3px 12px;
  margin-bottom: 10px;
}

/* ---------- CTA ---------- */

.bz-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(800px 500px at 85% 0%, rgba(128, 30, 215, 0.6), transparent 65%),
    radial-gradient(600px 460px at 0% 100%, rgba(233, 55, 31, 0.35), transparent 70%),
    radial-gradient(500px 380px at 55% 120%, rgba(255, 165, 36, 0.25), transparent 70%),
    var(--purple-ink);
  color: #fff;
}
.bz-cta .bz-h2 { color: #fff; margin-top: 18px; }
.bz-cta .bz-lead { color: rgba(255, 255, 255, 0.8); }
.bz-cta .bz-fine { color: rgba(255, 255, 255, 0.55); }
.bz-cta .bz-fine a { color: var(--lavender); }

.bz-contact {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 720px) {
  .bz-contact { grid-template-columns: 1fr; }
  .bz-portrait { margin: 0 auto; }
}
.bz-portrait {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(201, 196, 255, 0.4), 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* ---------- footnotes ---------- */

.bz-footnotes {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 72px 0;
}
.bz-fnlist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 54rem;
}
.bz-fnlist li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--mut);
  line-height: 1.6;
}
.bz-fnlist li:target {
  background: var(--purple-soft);
  border-radius: 10px;
  padding-left: 12px;
  padding-right: 12px;
}
.bz-fnnum { font-weight: 780; color: var(--purple); }
.bz-fnlist b { color: var(--ink-2); }
.bz-fnback {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.82rem;
  font-weight: 680;
}

a.bz-fn {
  font-size: 0.66em;
  vertical-align: super;
  line-height: 0;
  font-weight: 780;
  color: var(--purple);
  padding: 0 2px;
}
a.bz-fn:hover { text-decoration: none; background: var(--purple-soft); border-radius: 4px; }
.bz-fn-light { color: var(--pink); }
.bz-fn-light:hover { background: rgba(255, 164, 251, 0.2); }

.bz-fn-inline {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.bz-fn-inline > div { overflow: hidden; }
.bz-fn-inline.is-open { grid-template-rows: 1fr; }
.bz-fn-body {
  margin: 10px 0 4px;
  background: var(--purple-soft);
  border: 1px solid var(--lavender);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--mut);
  line-height: 1.55;
}
.bz-fn-body b { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .bz-fn-inline { transition: none; }
}

/* ---------- footer ---------- */

.bz-footer {
  background: var(--purple-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 44px 0 28px;
}
.bz-footer .bz-logo { color: #fff; }
.bz-footer .bz-fine { color: rgba(255, 255, 255, 0.55); }
.bz-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.bz-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.bz-footer-links a { color: rgba(255, 255, 255, 0.82); font-size: 0.88rem; font-weight: 620; }
.bz-footer-links a:hover { color: #fff; }
.bz-footer-bar {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ---------- command palette ---------- */

.bz-palette {
  border: none;
  border-radius: 18px;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  background: transparent;
  margin: auto;
}
.bz-palette::backdrop {
  background: rgba(29, 1, 64, 0.55);
  backdrop-filter: blur(4px);
}
.bz-palette-box {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(29, 1, 64, 0.4);
  overflow: hidden;
}
.bz-palette-in {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--font);
  font-size: 1rem;
  padding: 18px 20px;
  outline: none;
  color: var(--ink);
}
.bz-palette-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 320px;
  overflow-y: auto;
}
.bz-palette-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}
.bz-palette-list li em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bz-palette-list li.sel,
.bz-palette-list li:hover { background: var(--purple-soft); color: var(--purple-deep); }
.bz-palette-hint {
  margin: 0;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--mut-2);
  display: flex;
  gap: 10px;
  align-items: center;
}
.bz-palette-hint kbd {
  background: var(--bg-soft);
  border-color: var(--line-2);
  color: var(--mut);
}
