/* Sennoric for Business. Loads after /assets/paper.css and borrows the chat
   sign-in card (chat.html, "Sign in"): warm paper, a near-white card surface,
   12px radii, 48px+ controls in ink, the marigold focus glow, Archivo titles.
   Phone first: one action per screen, the main button pinned to the bottom. */

:root {
  /* The chat page's extra tokens, which paper.css does not define. */
  --card: #fdfbf6;
  --ink-3: #857e6c;
  --red: #b3261e;
  --bubble: #e8e2d2;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --lift: 0 18px 44px -18px rgba(23, 20, 13, .34), 0 2px 8px rgba(23, 20, 13, .06);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 2px rgba(23, 20, 13, .05), 0 12px 32px -16px rgba(23, 20, 13, .22);
  --glow: 0 0 0 4px rgba(232, 181, 52, .22);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  color-scheme: light;
}

/* clip, not hidden: hidden would make body a scroll box and break the sticky bottom button. */
html, body { overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font-size: 16px; -webkit-tap-highlight-color: transparent; }
nav { padding-left: max(var(--gut), var(--safe-l)); padding-right: max(var(--gut), var(--safe-r)); padding-top: env(safe-area-inset-top, 0px); height: calc(66px + env(safe-area-inset-top, 0px)); }
nav .bz-nav-note { margin-left: auto; font-size: 14px; color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Page frames ─────────────────────────────────────────────────────── */
.bz-page { max-width: 480px; margin: 0 auto; padding: 28px max(16px, var(--safe-r)) 40px max(16px, var(--safe-l)); }
.bz-page.wide { max-width: 1080px; }
.bz-center { text-align: center; }

/* ── Type: the sign-in card's scale ──────────────────────────────────── */
.bz-title { font-family: var(--disp); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 12px; text-wrap: balance; }
.bz-title:focus { outline: none; }
.bz-sub { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin-bottom: 22px; max-width: none; }
.bz-sub strong { color: var(--ink); font-weight: 600; }
.bz-h2 { font-family: var(--disp); font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 30px 0 10px; }
.bz-small { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: none; }
.bz-step p, .bz-step li { max-width: none; }

/* ── Buttons: the ink btn-full and the quiet outline ─────────────────── */
.bz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 0 22px;
  border: 0; border-radius: 12px; background: var(--ink); color: var(--paper); font: 600 16.5px/1.2 var(--sans);
  cursor: pointer; text-align: center; text-decoration: none; transition: background .15s, opacity .2s, transform .12s;
}
.bz-btn:hover:not(:disabled) { background: #3a3326; }
.bz-btn:active:not(:disabled) { transform: scale(.985); }
.bz-btn:disabled { opacity: .5; cursor: not-allowed; }
.bz-btn-line { background: var(--card); color: var(--ink); border: 1px solid var(--rule-2); }
.bz-btn-line:hover:not(:disabled) { background: var(--paper-3); border-color: var(--ink-2); }
.bz-btn-quiet { background: transparent; color: var(--ink-2); min-height: 48px; font-weight: 500; }
.bz-btn-quiet:hover:not(:disabled) { background: var(--paper-2); color: var(--ink); }
.bz-btn.inline { width: auto; }
.bz-btn .bz-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: bz-spin .8s linear infinite; }
.bz-link { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }

.bz-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -6px 0 8px -10px; padding: 0 10px;
  border: 0; border-radius: 10px; background: none; color: var(--ink-2); font: 500 15px var(--sans); cursor: pointer;
}
.bz-back:hover { background: var(--paper-2); color: var(--ink); }
.bz-back svg { width: 16px; height: 16px; }

/* The main action: pinned to the bottom on phones, inline on wider screens. */
.bz-actions { display: grid; gap: 10px; margin-top: 26px; }
@media (max-width: 640px) {
  .bz-actions.sticky {
    position: sticky; bottom: 0; z-index: 20; margin: 22px -16px 0; padding: 18px max(16px, var(--safe-r)) calc(14px + var(--safe-b)) max(16px, var(--safe-l));
    background: linear-gradient(to bottom, rgba(243, 240, 230, 0), var(--paper) 22px);
  }
  body.bz-undo-open .bz-actions.sticky { visibility: hidden; }
}

/* ── Inputs: the sign-in fields ──────────────────────────────────────── */
.bz-field { margin-bottom: 18px; }
.bz-field label, .bz-label { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.bz-field .hint { display: block; font-size: 14.5px; font-weight: 400; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
.bz-input, .bz-field input[type=text], .bz-field input[type=url], .bz-field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--rule-2); background: var(--card);
  color: var(--ink); font: 400 17px/1.45 var(--sans); outline: none; transition: border-color .15s, box-shadow .15s;
}
.bz-field textarea { min-height: 112px; resize: vertical; }
.bz-field textarea.tall { min-height: 300px; font-size: 16px; }
.bz-input::placeholder, .bz-field input::placeholder, .bz-field textarea::placeholder { color: var(--ink-3); }
.bz-input:focus, .bz-field input:focus, .bz-field textarea:focus { border-color: var(--ink-2); box-shadow: var(--glow); }
.bz-field.bad input, .bz-field.bad textarea { border-color: var(--red); }

/* ── Messages ────────────────────────────────────────────────────────── */
.bz-err { display: flex; gap: 10px; align-items: flex-start; background: rgba(179, 38, 30, .07); border: 1px solid rgba(179, 38, 30, .3); color: #8c1d17; font-size: 15.5px; line-height: 1.5; padding: 12px 14px; border-radius: 12px; margin: 16px 0; }
.bz-err[hidden] { display: none; }
.bz-err::before { content: '!'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font: 700 13px/22px var(--sans); text-align: center; margin-top: 1px; }
.bz-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: 15.5px; line-height: 1.5; margin: 16px 0; color: var(--ink); }
.bz-note::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--marigold); }
.bz-note.good::before { background: var(--green); }
.bz-note .bz-link { margin-left: 4px; }
.bz-toast { position: fixed; left: 50%; bottom: calc(18px + var(--safe-b)); transform: translateX(-50%); z-index: 90; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; box-shadow: var(--lift); animation: bz-rise .3s var(--ease-out); }

/* ── Cards ───────────────────────────────────────────────────────────── */
.bz-card { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 20px; box-shadow: var(--card-shadow); }

/* ── Progress: a path of eight segments plus a plain sentence ────────── */
.bz-progress { margin-bottom: 22px; }
.bz-progress-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 14px; color: var(--ink-2); }
.bz-progress-row b { color: var(--ink); font-weight: 600; }
.bz-segs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.bz-segs span { height: 5px; border-radius: 3px; background: var(--rule); overflow: hidden; position: relative; }
.bz-segs span::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.bz-segs span.done::after { transform: scaleX(1); }
.bz-segs span.now::after { background: var(--marigold); transform: scaleX(1); }

/* Steps slide in gently. */
.bz-step { animation: bz-in .38s var(--ease-out) both; }

/* ── Choice cards (radio-style) ──────────────────────────────────────── */
.bz-choices { display: grid; gap: 10px; margin: 6px 0 4px; border: 0; padding: 0; }
.bz-choices legend { font-family: var(--disp); font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 10px; padding: 0; }
.bz-choice { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 16px 16px 16px 14px; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--card); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.bz-choice:hover { border-color: var(--ink-2); }
.bz-choice > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bz-choice .tick { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--rule-2); background: #fff; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.bz-choice .tick::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); transform: scale(0); transition: transform .2s var(--ease-out); }
.bz-choice input[type=checkbox] ~ .tick { border-radius: 7px; }
.bz-choice input[type=checkbox] ~ .tick::after { width: 11px; height: 6px; border-radius: 0; background: none; border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper); transform: rotate(-45deg) scale(0); margin-top: -3px; }
.bz-choice:has(> input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper-3); }
.bz-choice:has(> input:checked) .tick { border-color: var(--ink); background: var(--ink); }
.bz-choice:has(> input:checked) .tick::after { transform: scale(1); }
.bz-choice:has(> input[type=checkbox]:checked) .tick::after { transform: rotate(-45deg) scale(1); }
.bz-choice:has(> input:focus-visible) { box-shadow: var(--glow), inset 0 0 0 1px var(--ink); }
.bz-choice strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; }
.bz-choice .desc { display: block; margin-top: 3px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.bz-choice .tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(26, 92, 53, .1); color: var(--green); font-size: 12.5px; font-weight: 600; vertical-align: 2px; }
.bz-choice .bz-input { margin-top: 10px; min-height: 48px; }

/* ── Email shown like an email; the reply in a "from you" bubble ─────── */
.bz-mail { display: block; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--card-shadow); overflow: hidden; }
.bz-mail-head { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px 16px 12px; border-bottom: 1px solid var(--rule); }
.bz-av { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--ink-2); display: grid; place-items: center; font: 600 15px var(--sans); }
.bz-mail-from { font-weight: 600; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.bz-mail-meta { font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.bz-mail-subject { padding: 12px 16px 0; font-weight: 600; font-size: 16.5px; }
.bz-mail-body { display: block; padding: 8px 16px 16px; font-size: 16px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; color: var(--ink); }
.bz-mail-body.clip { max-height: 190px; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.bz-more-btn { margin: -6px 16px 12px; }

.bz-reply { margin: 18px 0 0 auto; max-width: 92%; }
.bz-reply-label { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.bz-reply-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); }
.bz-bubble { background: var(--bubble); border-radius: 20px 20px 6px 20px; padding: 14px 16px; font-size: 16px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.bz-bubble.fresh { animation: bz-pop .45s var(--ease-out); }
.bz-unsure { margin-top: 18px; }

/* Feedback chips. */
.bz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.bz-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink); font: 500 15px var(--sans); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.bz-chip:hover { border-color: var(--ink-2); }
.bz-chip[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bz-rules { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.bz-rules li { display: flex; gap: 8px; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.bz-rules li::before { content: '\2713'; color: var(--green); font-weight: 700; }

/* Voice examples: real sent emails, each one a toggle. */
.bz-example .bz-mail-body { max-height: 150px; font-size: 15px; padding-top: 0; }
.bz-example { display: block; cursor: pointer; }
.bz-example input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bz-example .bz-mail { transition: border-color .15s, box-shadow .15s, opacity .2s; }
.bz-example-top { display: flex; position: relative; align-items: center; gap: 10px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.bz-example-top .tick { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--rule-2); display: grid; place-items: center; background: #fff; flex: none; }
.bz-example-top .tick::after { content: ''; width: 11px; height: 6px; border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper); transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease-out); }
.bz-example:has(input:checked) .bz-mail { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--card-shadow); }
.bz-example:has(input:checked) .tick { background: var(--ink); border-color: var(--ink); }
.bz-example:has(input:checked) .tick::after { transform: rotate(-45deg) scale(1); }
.bz-example:not(:has(input:checked)) .bz-mail { opacity: .62; }
.bz-example:has(input:focus-visible) .bz-mail { box-shadow: var(--glow); }
.bz-examples { display: grid; gap: 12px; margin-bottom: 16px; }

/* Info sheet review: lines laid out like a printed sheet. */
.bz-sheet { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--card-shadow); padding: 4px 18px; margin-bottom: 14px; }
.bz-sheet-row { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.55; }
.bz-sheet-row:first-child { border-top: 0; }
.bz-sheet-row b { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; margin-bottom: 2px; }
.bz-sheet-row span { white-space: pre-wrap; overflow-wrap: anywhere; }
.bz-sheet-missing { color: var(--ink-3); font-style: italic; }

/* Question cards on the five-questions step. */
.bz-q { counter-increment: q; }
.bz-qs { counter-reset: q; }
.bz-q label::before { content: counter(q) '. '; color: var(--ink-3); }

/* ── Waiting: skeleton shimmer plus a rotating line ──────────────────── */
.bz-wait { padding: 6px 0; }
.bz-skel { display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); }
.bz-skel span { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--paper-2) 0%, #f4f0e4 40%, var(--paper-2) 80%); background-size: 300% 100%; animation: bz-shimmer 1.6s ease-in-out infinite; }
.bz-skel span.short { width: 62%; }
.bz-skel span.tall { height: 44px; border-radius: 12px; }
.bz-skel span.head { height: 20px; width: 45%; }
.bz-wait-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 16px; color: var(--ink-2); min-height: 24px; }
.bz-wait-text { transition: opacity .22s, transform .22s; }
.bz-wait-text.out { opacity: 0; transform: translateY(4px); }
.bz-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--marigold); flex: none; animation: bz-breathe 1.2s ease-in-out infinite; }

/* ── Google walkthrough: three drawn screens ─────────────────────────── */
.bz-gsteps { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 18px; }
.bz-gstep { display: grid; gap: 10px; }
.bz-gstep-head { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.bz-num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 15px var(--sans); }
.bz-gstep-head p { font-size: 16.5px; line-height: 1.5; padding-top: 4px; }
.bz-gstep-head strong { font-weight: 700; }
.bz-gshot { margin-left: 44px; max-width: 320px; border-radius: 14px; border: 1px solid #dadce0; background: #fff; box-shadow: var(--card-shadow); padding: 14px 14px 12px; font-family: Arial, Helvetica, sans-serif; color: #202124; overflow: hidden; }
.bz-gshot .g-logo { display: flex; gap: 2px; font: 700 14px Arial, sans-serif; margin-bottom: 8px; }
.bz-gshot .g-logo i { font-style: normal; }
.bz-gshot .g-logo i:nth-child(1), .bz-gshot .g-logo i:nth-child(4) { color: #4285f4; }
.bz-gshot .g-logo i:nth-child(2), .bz-gshot .g-logo i:nth-child(6) { color: #ea4335; }
.bz-gshot .g-logo i:nth-child(3) { color: #fbbc05; }
.bz-gshot .g-logo i:nth-child(5) { color: #34a853; }
.bz-gshot .g-h { font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.bz-gshot .g-line { height: 7px; border-radius: 4px; background: #e8eaed; margin: 6px 0; }
.bz-gshot .g-line.s { width: 70%; }
.bz-gshot .g-acct { display: flex; align-items: center; gap: 8px; padding: 8px; border-top: 1px solid #e8eaed; font-size: 12.5px; }
.bz-gshot .g-acct .g-av { width: 22px; height: 22px; border-radius: 50%; background: #1a73e8; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.bz-gshot .g-acct .g-av.b { background: #9aa0a6; }
.bz-gshot .g-warn { display: flex; gap: 8px; align-items: center; font-size: 14px; line-height: 1.3; margin-bottom: 6px; }
.bz-gshot .g-warn::before { content: '!'; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #d93025; color: #fff; font: 700 12px/20px Arial, sans-serif; text-align: center; }
.bz-gshot .g-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.bz-gshot .g-small { font-size: 12px; color: #5f6368; text-decoration: underline; padding: 3px 5px; border-radius: 6px; }
.bz-gshot .g-blue { font-size: 12px; background: #1a73e8; color: #fff; padding: 6px 10px; border-radius: 6px; }
.bz-gshot .g-check { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-top: 1px solid #e8eaed; font-size: 12.5px; border-radius: 6px; }
.bz-gshot .g-box { width: 15px; height: 15px; border-radius: 3px; background: #1a73e8; flex: none; position: relative; }
.bz-gshot .g-box::after { content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* The exact thing to tap: a marigold ring. */
.bz-gshot .hit { outline: 3px solid var(--marigold); outline-offset: 2px; position: relative; }
.bz-gshot .hit::after { content: ''; position: absolute; inset: -7px; border-radius: 10px; border: 2px solid rgba(232, 181, 52, .55); animation: bz-ring 1.8s ease-out infinite; pointer-events: none; }
.bz-gshot .g-check.hit::after, .bz-gshot .g-acct.hit::after { border-radius: 9px; }
.bz-reassure { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: rgba(26, 92, 53, .07); border: 1px solid rgba(26, 92, 53, .18); margin: 4px 0 6px; }
.bz-reassure strong { font-size: 16px; color: var(--forest); }
.bz-reassure p { font-size: 15px; line-height: 1.55; color: var(--ink); }

/* ── Welcome ─────────────────────────────────────────────────────────── */
.bz-hello-mark { width: 54px; height: 54px; margin-bottom: 20px; background: var(--marigold); -webkit-mask: url("/assets/logo-spiral.svg") center / contain no-repeat; mask: url("/assets/logo-spiral.svg") center / contain no-repeat; }
.bz-points { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 12px; }
.bz-points li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16.5px; line-height: 1.5; }
.bz-points li::before { content: '\2713'; width: 24px; height: 24px; border-radius: 50%; background: rgba(26, 92, 53, .12); color: var(--green); font: 700 13px/24px var(--sans); text-align: center; margin-top: 1px; }
.bz-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--paper); display: grid; place-items: center; margin: 4px 0 20px; animation: bz-pop .5s var(--ease-out); }
.bz-done-mark svg { width: 30px; height: 30px; }

/* ── Dashboard ───────────────────────────────────────────────────────── */
.bz-dash-head { margin: 4px 0 20px; }
.bz-hello { font-size: 15.5px; color: var(--ink-2); margin-bottom: 6px; }
.bz-headline { font-family: var(--disp); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(34px, 9vw, 52px); text-wrap: balance; }
.bz-headline .sep { color: var(--marigold); padding: 0 .12em; }
.bz-headline .need { color: var(--ink); }
.bz-headline .calm { color: var(--green); }
.bz-head-sub { margin-top: 8px; font-size: 14.5px; color: var(--ink-3); }
.bz-list { display: grid; gap: 14px; }
.bz-item { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--card-shadow); overflow: hidden; animation: bz-in .35s var(--ease-out) both; }
.bz-item.leaving { animation: bz-out .3s ease-in forwards; }
.bz-item-top { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 16px 16px 4px; }
.bz-item-who { font-weight: 600; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.bz-item-when { font-size: 13.5px; color: var(--ink-3); }
.bz-reason { display: inline-flex; align-items: center; gap: 6px; margin: 8px 16px 0 70px; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.bz-item-subject { padding: 8px 16px 0 70px; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.bz-item-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 16px; }
.bz-item-acts .bz-btn { min-height: 50px; font-size: 15.5px; }
.bz-item-acts .wide { grid-column: 1 / -1; }
.bz-panel { padding: 0 16px 16px; }
.bz-panel:empty { display: none; }
.bz-panel .bz-mail { box-shadow: none; background: var(--paper-3); }
.bz-opts { display: grid; gap: 10px; margin: 4px 0 12px; }
.bz-opts-label { font-size: 14px; color: var(--ink-2); margin: 2px 0 8px; }
.bz-opt {
  display: block; width: 100%; min-height: 60px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--rule-2); background: var(--card);
  color: var(--ink); font: 400 16px/1.5 var(--sans); text-align: left; cursor: pointer; white-space: pre-wrap; overflow-wrap: anywhere; transition: border-color .15s, background .15s, transform .12s;
}
.bz-opt:hover { border-color: var(--ink); background: var(--paper-3); }
.bz-opt:active { transform: scale(.99); }
.bz-opt .send-hint { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--green); }
.bz-own { margin-top: 6px; }
.bz-empty { text-align: center; padding: 48px 20px 40px; }
.bz-empty-mark { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: rgba(26, 92, 53, .1); display: grid; place-items: center; color: var(--green); }
.bz-empty-mark svg { width: 32px; height: 32px; }
.bz-empty h2 { font-family: var(--disp); font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.bz-empty p { margin: 0 auto; color: var(--ink-2); font-size: 16px; max-width: 24em; }
.bz-foot { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); display: grid; gap: 14px; }
.bz-quiet { font-size: 14.5px; color: var(--ink-3); }
.bz-switch { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; cursor: pointer; }
.bz-switch strong { display: block; font-size: 16px; font-weight: 600; }
.bz-switch .desc { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.bz-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bz-switch .knob { width: 52px; height: 32px; border-radius: 999px; background: var(--rule-2); position: relative; transition: background .2s; }
.bz-switch .knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease-out); }
.bz-switch input:checked + .knob { background: var(--green); }
.bz-switch input:checked + .knob::after { transform: translateX(20px); }
.bz-switch input:focus-visible + .knob { box-shadow: var(--glow); }
.bz-switch input:disabled + .knob { opacity: .5; }
.bz-switch:has(input:disabled) { cursor: default; }

/* Add to Home Screen nudge (once). */
.bz-home { position: relative; padding: 18px 18px 16px; border-radius: 18px; background: var(--forest); color: var(--paper); margin-bottom: 18px; box-shadow: var(--lift); animation: bz-in .4s var(--ease-out) both; }
.bz-home strong { display: block; font-family: var(--disp); font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.bz-home p { font-size: 15px; line-height: 1.5; color: #dfe7dc; }
.bz-home b { color: var(--marigold); font-weight: 600; }
.bz-home button { margin-top: 12px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--marigold); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }

/* Undo bar: a floating ink card above the home indicator. */
.bz-undo { position: fixed; left: max(12px, var(--safe-l)); right: max(12px, var(--safe-r)); bottom: calc(12px + var(--safe-b)); z-index: 80; max-width: 520px; margin: 0 auto; border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: var(--lift); overflow: hidden; animation: bz-rise .3s var(--ease-out); }
.bz-undo-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 18px; font-size: 16px; }
.bz-undo-text b { font-variant-numeric: tabular-nums; }
.bz-undo-btn { min-height: 48px; min-width: 96px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--marigold); color: var(--ink); font: 700 16px var(--sans); cursor: pointer; }
.bz-undo-track { display: block; height: 3px; background: rgba(243, 240, 230, .16); }
.bz-undo-track span { display: block; height: 100%; background: var(--marigold); transform-origin: left; animation: bz-drain linear forwards; }

/* ── Landing (internal) ──────────────────────────────────────────────── */
.bz-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 40px 0 56px; }
.bz-hero h1 { font-family: var(--disp); font-size: clamp(40px, 6.4vw, 68px); line-height: .98; letter-spacing: -.04em; margin-bottom: 18px; text-wrap: balance; }
.bz-hero .bz-sub { font-size: 18px; max-width: 30em; }
.bz-hero .bz-btn { width: auto; padding: 0 28px; }
.bz-demo { padding: 16px; border-radius: 22px; background: var(--side, #ebe6d7); position: relative; overflow: hidden; }
.bz-demo::before { content: ''; position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; background: var(--marigold); opacity: .9; -webkit-mask: url("/assets/logo-spiral.svg") center / contain no-repeat; mask: url("/assets/logo-spiral.svg") center / contain no-repeat; }
.bz-demo > * { position: relative; }
.bz-demo .bz-headline { font-size: 30px; margin: 4px 4px 12px; }
.bz-demo .bz-item { animation: none; }
.bz-demo .bz-item + .bz-item { margin-top: 10px; }
.bz-band { padding: 52px 0; border-top: 1px solid var(--rule); }
.bz-band h2 { font-family: var(--disp); font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.025em; margin-bottom: 18px; }
.bz-band p { font-size: 17px; line-height: 1.6; margin-bottom: 12px; max-width: 36em; }
.bz-how { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: h; }
.bz-how li { counter-increment: h; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); font-size: 15.5px; line-height: 1.55; }
.bz-how li::before { content: counter(h); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 14px var(--sans); margin-bottom: 12px; }
.bz-how li strong { display: block; font-size: 16.5px; margin-bottom: 4px; }
.bz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bz-two .bz-card h3 { font-family: var(--disp); font-size: 19px; margin-bottom: 10px; }
.bz-two .bz-card ul { padding-left: 18px; display: grid; gap: 6px; font-size: 15.5px; line-height: 1.5; }
.bz-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.bz-tier { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--card-shadow); }
.bz-tier h3 { font-family: var(--disp); font-size: 20px; }
.bz-tier .price { font-family: var(--disp); font-size: 38px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0 12px; }
.bz-tier .price small { font: 500 15px var(--sans); color: var(--ink-2); letter-spacing: 0; }
.bz-tier ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; font-size: 15.5px; }
.bz-tier li::before { content: '\2713'; color: var(--green); font-weight: 700; margin-right: 8px; }
.bz-tier .bz-btn { margin-top: auto; }
.bz-legal { font-size: 13.5px; color: var(--ink-2); margin-top: 18px; }
.bz-legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .bz-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .bz-how { grid-template-columns: 1fr 1fr; }
  .bz-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .bz-title { font-size: 30px; }
  .bz-how, .bz-two { grid-template-columns: 1fr; }
  .bz-hero .bz-btn { width: 100%; }
  .bz-gshot { margin-left: 0; max-width: none; }
  .bz-band { padding: 40px 0; }
}

/* ── Not found (looks like the site 404) ─────────────────────────────── */
.bz-404 { max-width: 560px; margin: 0 auto; padding: 72px 20px 96px; }
.bz-404-num { font-family: var(--disp); font-weight: 700; font-size: clamp(96px, 26vw, 160px); line-height: .82; letter-spacing: -.05em; padding-bottom: 18px; margin-bottom: 22px; background: linear-gradient(var(--marigold), var(--marigold)) left bottom / 72px 4px no-repeat; }
.bz-404 h1 { font-size: 30px; margin-bottom: 8px; }
.bz-404 p { color: var(--ink-2); font-size: 17px; }
.bz-404-home { width: auto; margin-top: 24px; }
.bz-boot { padding: 80px 20px; display: grid; place-items: center; }
.bz-boot .bz-dot { width: 12px; height: 12px; }

/* ── Motion ──────────────────────────────────────────────────────────── */
@keyframes bz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bz-out { to { opacity: 0; transform: translateX(24px); height: 0; margin: 0; } }
@keyframes bz-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bz-toast { animation-name: bz-toast; }
@keyframes bz-toast { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes bz-pop { 0% { transform: scale(.92); opacity: 0; } 60% { transform: scale(1.02); opacity: 1; } 100% { transform: none; } }
@keyframes bz-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes bz-breathe { 0%, 100% { transform: scale(.75); opacity: .6; } 50% { transform: scale(1); opacity: 1; } }
@keyframes bz-ring { 0% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes bz-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes bz-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .bz-undo-track { display: none; }
  .bz-skel span { animation: none !important; }
  .bz-gshot .hit::after { display: none; }
}

/* Animated Google walkthrough */
.bz-gplayer { margin: 18px 0 8px; padding: 14px 14px 12px; background: var(--card); border: 1px solid var(--rule-2); border-radius: 16px; box-shadow: var(--card-shadow); }
.bz-gp-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.bz-gp-dots { display: inline-flex; gap: 6px; }
.bz-gp-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-2); transition: background .25s, transform .25s; }
.bz-gp-dots i.done { background: var(--ink-2); }
.bz-gp-dots i.on { background: var(--marigold); transform: scale(1.35); }
.bz-gp-stage { position: relative; background: var(--paper-2); border-radius: 12px; padding: 14px; min-height: 196px; overflow: hidden; }
.bz-gplayer .bz-gshot.bz-gp-screen { margin: 0 auto; max-width: 320px; animation: bzgpin .35s var(--ease-out); }
.bz-gplayer .g-box.off { background: #fff; border: 2px solid #5f6368; }
.bz-gplayer .g-blue.dim { opacity: .45; }
.bz-gp-tap { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(232, 181, 52, .55); border: 2px solid var(--marigold); box-shadow: 0 0 0 6px rgba(232, 181, 52, .2); pointer-events: none; transition: left .65s var(--ease-out), top .65s var(--ease-out); left: 50%; top: 50%; }
.bz-gp-tap.press { animation: bzgppress .6s ease-out; }
.bz-gp-cap { margin: 12px 2px 4px; font-size: 17px; line-height: 1.4; font-weight: 600; min-height: 48px; }
.bz-gp-ctl { display: flex; gap: 10px; margin-top: 6px; }
.bz-gp-btn { min-height: 44px; padding: 10px 18px; font-size: 15px; flex: 1; }
@keyframes bzgpin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bzgppress { 0% { transform: scale(1); } 40% { transform: scale(.7); box-shadow: 0 0 0 14px rgba(232, 181, 52, .12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bz-gp-tap, .bz-gplayer .bz-gshot.bz-gp-screen { animation: none; transition: none; } }

/* Check inbox now */
.bz-check { margin-top: 14px; min-height: 48px; }
@media (max-width: 560px) { .bz-check { width: 100%; } }
