/* ============================================================
   series_b.html — Series B launch hub (/b and /b/*).
   Light cobalt-on-white identity (DESIGN_SYSTEM.md): white page,
   warm-rose bands, cobalt the only accent, Manrope display.

   The password gate is opt-in per page: set `gated: true` in a page's
   frontmatter and the content region is AES-GCM encrypted at build time,
   with only the gate and the decryptor shipping in plaintext. No page
   is gated today; the machinery stays wired for the next embargo.
   ============================================================ */



/* ---- Embargo ribbon: states when the news goes public, and removes itself
       the moment it does (see the countdown script at the foot of the page).
       Hidden until that script confirms we are still before go-live, so a
       cached page can never flash a stale notice. ---- */
.bz-ribbon[hidden] { display: none; }
.bz-ribbon {
  background: var(--color-cobalt-50);
  border-bottom: 1px solid var(--color-cobalt-border);
}
/* Centered rather than aligned to a column: /b pages run at two different
   content widths (744px letter, 1120px everything else), so a left-aligned
   bar would line up with one of them and look adrift on the other. */
.bz-ribbon__inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14.5px; line-height: 1.45; color: var(--ink-2);
  text-align: center;
}
.bz-ribbon__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-cobalt-400);
}
.bz-ribbon__text strong { color: var(--ink); font-weight: 700; }

/* ---- Page shell ---- */
.bz-wrap { background: var(--paper); color: var(--ink); overflow-x: clip; }
.bz-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---- Hero ---- */
.bz-hero { padding: 72px 0 8px; }
.bz-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-cobalt-400); margin: 0 0 14px;
}
.bz-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.04;
  letter-spacing: -0.03em; color: var(--ink); margin: 0;
  text-wrap: balance; max-width: 16ch;
}
.bz-sub {
  max-width: 60ch; margin: 18px 0 0; font-size: 18px;
  line-height: 1.6; color: var(--ink-2); text-wrap: pretty;
}
.bz-sub--italic { font-style: italic; }
.bz-hero-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--color-cobalt-400);
  text-decoration: none; margin: 0 0 22px;
}
.bz-hero-back:hover { color: var(--color-accent-hover); }
.bz-hero-back svg { stroke: currentColor; }

/* ---- Sections / banding (white <-> warm rose) ---- */
.bz-section { padding: 64px 0; }
.bz-section--band { background: var(--paper-2); }

/* ---- Announcement video: sits between the hero title and the letter, so it
       runs tight to the headline rather than carrying a full section gap. ---- */
.bz-section--video { padding: 28px 0 4px; }
.bz-video { margin: 0; }
.bz-video video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-elevated);
}
.bz-video__caption { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }
.bz-section-head { max-width: 60ch; margin: 0 0 32px; }
.bz-section-title {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  line-height: 1.12; letter-spacing: -0.025em; color: var(--ink);
  margin: 0; text-wrap: balance;
}
.bz-section-sub { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* ---- Card grid (social persona kits) ---- */
.bz-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.bz-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-control); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bz-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-light);
}
.bz-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--color-cobalt-50); border: 1px solid var(--color-cobalt-border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.bz-card__icon svg { display: block; color: var(--color-cobalt-400); }
.bz-card__title {
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); margin: 0 0 8px;
}
.bz-card__body { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
.bz-card__learn {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--color-cobalt-400);
}
.bz-card__learn svg { stroke: currentColor; transition: transform .18s ease; }
.bz-card:hover .bz-card__learn svg { transform: translateX(3px); }

/* ---- Featured assets (wide cards, no checklist numbering) ---- */
.bz-features { display: flex; flex-direction: column; gap: 16px; }
.bz-feature {
  display: flex; align-items: center; gap: 24px;
  background: var(--paper); border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg); padding: 26px 28px;
  box-shadow: var(--shadow-control); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bz-feature:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-light);
}
.bz-feature__icon {
  flex: none; width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-cobalt-50); border: 1px solid var(--color-cobalt-border);
  display: flex; align-items: center; justify-content: center;
}
.bz-feature__icon svg { display: block; color: var(--color-cobalt-400); }
.bz-feature__body { flex: 1; min-width: 0; display: block; }
.bz-feature__title {
  display: block;
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); margin: 0 0 6px;
}
.bz-feature__note { display: block; font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.bz-feature__cta {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--color-cobalt-400);
}
.bz-feature__cta svg { stroke: currentColor; transition: transform .18s ease; }
.bz-feature:hover .bz-feature__cta svg { transform: translateX(3px); }

/* ---- Launch checklist (assets) ---- */
.bz-list { display: flex; flex-direction: column; gap: 0; }
.bz-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--paper-line);
}
.bz-item:last-child { border-bottom: 1px solid var(--paper-line); }
.bz-item__num {
  flex: none; font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1; color: var(--color-cobalt-400);
  width: 28px; padding-top: 2px;
}
.bz-item__body { flex: 1; min-width: 0; }
.bz-item__title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 4px;
}
.bz-item__note { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.bz-status {
  flex: none; align-self: center; padding: 5px 12px;
  border-radius: var(--radius-pill); font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.04em; white-space: nowrap;
  background: var(--color-cobalt-50); color: var(--color-cobalt-400);
  border: 1px solid var(--color-cobalt-border);
}
/* A launch-asset row that links to a finished piece */
a.bz-item { text-decoration: none; color: inherit; }
a.bz-item:hover .bz-item__title { color: var(--color-cobalt-400); }
a.bz-item .bz-item__title::after { content: " \2192"; color: var(--color-cobalt-400); }
/* Not-ready rows recede: everything grays out, including the status pill */
.bz-item--pending .bz-item__num,
.bz-item--pending .bz-item__title,
.bz-item--pending .bz-item__note { color: var(--ink-3); }
.bz-item--pending .bz-status {
  background: transparent; color: var(--ink-3);
  border-color: var(--paper-line);
}

/* ---- Closing CTA band (cobalt — the one deliberate dark accent) ---- */
.bz-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--color-accent); border-radius: var(--radius-lg); padding: 36px 40px;
}
.bz-cta__title {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.015em; color: #fff; margin: 0 0 6px;
}
.bz-cta__body { font-size: 15px; line-height: 1.5; color: var(--color-cobalt-100); margin: 0; }
.bz-cta__btn {
  flex: none; display: inline-flex; align-items: center; height: 48px;
  padding: 0 22px; background: #fff; color: var(--color-accent);
  border-radius: var(--radius-md); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: transform .15s ease;
}
.bz-cta__btn:hover { transform: translateY(-2px); }

/* ---- Extra prose ---- */
.bz-body { font-family: var(--font-body); color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.bz-body p { margin: 0 0 18px; max-width: 68ch; }
.bz-body h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--ink);
  margin: 36px 0 14px; text-wrap: balance;
}
.bz-body a { color: var(--color-cobalt-400); font-weight: 600; }
.bz-body .bz-section-head { margin-bottom: 26px; }
.bz-body h2[id] { scroll-margin-top: 24px; }
/* Verbatim customer quotes on the vertical launch hubs */
.bz-body blockquote {
  margin: 0 0 16px; padding: 18px 22px;
  background: var(--paper-2); border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
}
.bz-body blockquote p { margin: 0 0 8px; max-width: none; font-size: 17px; color: var(--ink); }
.bz-body blockquote footer { color: var(--ink-3); font-size: 14px; }

/* ---- Open items in a draft (press release) ----
   Unresolved copy is marked so a read-through can't mistake it for final.
   Cobalt wash, not a new accent color; the bracketed text carries the meaning
   on its own, so nothing depends on the highlight being seen. */
.bz-body mark.bz-todo {
  background: var(--color-cobalt-50); color: var(--color-cobalt-700);
  border: 1px dashed var(--color-cobalt-border); border-radius: var(--radius-sm);
  padding: 1px 6px; font-family: var(--font-mono); font-size: 0.82em;
  letter-spacing: 0.02em; white-space: nowrap;
}
.bz-body .bz-todo-block {
  padding: 16px 20px; border: 1px dashed var(--color-cobalt-border);
  border-radius: var(--radius-md); background: var(--color-cobalt-50);
  color: var(--color-cobalt-700); font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.02em;
}

/* ---- Photo grid (announcement letter) ----
   Notion-style: both photos uncropped at their natural aspect ratios,
   sized to the same height (portrait 2:3 beside landscape 3:2 → 4:9). */
.bz-photos {
  display: grid; grid-template-columns: 4fr 9fr; gap: 18px;
  align-items: start; margin: 40px 0 0;
}
.bz-photos__item {
  margin: 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--paper-line);
}
.bz-photos__item img {
  width: 100%; height: auto; display: block;
}

/* ---- Lightbox: click a letter photo to view it full screen ---- */
.bz-photos__item img { cursor: zoom-in; }
.bz-lightbox {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin; background: rgba(10, 12, 24, 0.92);
  cursor: zoom-out; animation: bzFade .18s ease both;
}
.bz-lightbox img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: var(--radius-md);
}
@keyframes bzFade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Medium-style centered letter (body_first pages only) ----
   The hero title and the letter share one narrow centered column;
   the sections below keep the full-width layout. */
.bz-hero--letter .bz-inner,
.bz-section--letter .bz-inner { max-width: 744px; }
/* Keep the letter title on a single line: drop the 16ch cap and size it to
   fit the narrow column. */
.bz-hero--letter .bz-title {
  max-width: none;
  font-size: clamp(1.75rem, 4.2vw, 2.7rem);
}
.bz-section--letter { padding-top: 36px; }
.bz-section--letter .bz-body { font-size: 18px; line-height: 1.75; }
.bz-section--letter .bz-body p { max-width: none; margin-bottom: 24px; }

/* ---- Social share kits (/b/social and /b/social/*) ---- */
/* Persona chooser: the same card layer as the industry grid, one deliberate
   audience picker (not scaffolding). Slightly tighter min so 4 sit 2x2. */
.bz-grid--personas { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bz-social-note {
  margin: 32px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-3);
}
.bz-social-note a { color: var(--color-cobalt-400); font-weight: 600; }

/* Post list: a vertical stack of ready-to-post copy, each with its actions.
   Reads like the letter's quote blocks, not a repeating card grid. */
.bz-posts { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 0; }
.bz-post {
  background: var(--paper-2); border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg); padding: 24px;
}
/* Post image: a framed, real visual atop each post. Warm hairline border,
   tonal (no glow), 16:9 to match social share-image proportions. */
.bz-post__media {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  margin: 0 0 16px; border: 1px solid var(--paper-line);
  border-radius: var(--radius-md); background: var(--paper-2);
}
/* Vertical (9:16) video posts — Reels/Shorts/TikTok cuts. Capped width so a
   phone-shaped clip reads as a preview rather than stretching full width the
   way the 16:9 photo posts do. */
.bz-post__media--vertical {
  aspect-ratio: 9 / 16; max-width: 300px; margin-left: auto; margin-right: auto;
  background: #000;
}
video.bz-post__media { object-fit: cover; }

/* Channel badges: which platform(s) a post is meant for. Informational, not
   an action, so it reads as a neutral tag rather than a second button color. */
.bz-post__channels { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bz-channel {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  background: var(--paper); border: 1px solid var(--paper-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink-3);
}
.bz-channel svg { flex: none; }

.bz-post__text {
  margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink);
  max-width: 62ch;
}
.bz-post__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 16px 0 0;
}
.bz-post__copy { flex: none; }
.bz-post__copy.is-copied { background: var(--color-cobalt-700); border-color: var(--color-cobalt-700); }
.bz-post__hint { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
/* Share links: the secondary surface, compact, icon + label. Not a new button
   color, so the two-button rule holds. */
.bz-share {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  background: var(--paper); color: var(--ink-2);
  border: 1px solid var(--paper-line); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.bz-share:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-1px); }
.bz-share svg { flex: none; }
/* Native share starts hidden in markup and is only revealed once the script
   below confirms the browser can actually share a file, so unsupported
   browsers (most desktops) just see Download + Copy caption. */
.bz-share[hidden] { display: none; }
.bz-backlink { margin: 32px 0 0; }

/* Copy confirmation toast */
.bz-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(14px);
  z-index: var(--z-overlay);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-elevated);
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .22s cubic-bezier(0.22,1,0.36,1);
}
.bz-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 767px) {
  .bz-post { padding: 16px; }
  .bz-post__copy, .bz-share { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bz-share, .bz-toast { transition: opacity .12s linear; }
  .bz-share:hover { transform: none; }
}



@media (max-width: 767px) {
  .bz-inner { padding: 0 20px; }
  .bz-ribbon__inner { padding: 12px 20px; align-items: flex-start; text-align: left; }
  .bz-ribbon__dot { margin-top: 7px; }
  .bz-hero { padding: 48px 0 4px; }
  .bz-section { padding: 48px 0; }
  .bz-item { gap: 14px; }
  .bz-status { align-self: flex-start; }
  .bz-feature { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .bz-cta { padding: 28px 24px; }
  .bz-photos { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bz-card, .bz-card__learn svg, .bz-cta__btn { transition: none; }
  .bz-lightbox { animation: none; }
}
