/* ==========================================================================
   Privacy policy — "bailrbet-privacy-policy" (1440) / "bailrbet-privacy-policy-mobile" (390)
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.pp-hero { background: var(--navy); }
.pp-hero__left { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 31px 15px; background: var(--navy-3); border: 1px solid var(--line); }
.pp-hero__kicker-wrap { display: flex; flex-direction: column; gap: 4px; }
.pp-kicker { font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: 13px; color: var(--yellow); }
.pp-title { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 38px; color: var(--white); }
.pp-lead { font-size: 14px; line-height: 22px; color: var(--ink-4); }
.pp-lead strong { color: var(--white); }
.pp-stamps { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-stamp { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: var(--navy-2); border: 1px solid var(--line); border-radius: 4px; font-family: var(--font-mono); font-weight: 700; font-size: 9px; line-height: 12px; color: var(--white); }
.pp-stamp__icon { width: 12px; height: 12px; }
.pp-stamp--lock .pp-stamp__icon { color: var(--yellow); }
.pp-stamp--shield .pp-stamp__icon { color: var(--blue); }
.pp-pipeline { display: flex; flex-direction: column; gap: 16px; margin: 16px; padding: 15px; background: var(--navy-2); border: 1px solid var(--line); border-radius: 6px; }
.pp-pipeline__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 24px; color: var(--white); }
.pp-pipeline__list { display: flex; flex-direction: column; gap: 8px; }
.pp-step { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.pp-step__dot { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 1px solid var(--line); font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 14px; color: var(--ink-4); }
.pp-step__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-step__label { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 17px; color: var(--white); }
.pp-step__desc { font-size: 11px; line-height: 14px; color: var(--ink-4); }
.pp-step--active .pp-step__dot { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.pp-step--active .pp-step__label { color: var(--yellow); }
@media (min-width: 1024px) {
  .pp-hero { background: var(--navy-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
  .pp-hero__inner { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
  .pp-hero__left { flex: 0 0 720px; gap: 24px; padding: 0; background: transparent; border: 0; }
  .pp-hero__kicker-wrap { gap: 8px; }
  .pp-kicker { font-size: 12px; line-height: 16px; }
  .pp-title { font-size: 64px; line-height: 60px; }
  .pp-lead { font-size: 15px; line-height: 26px; }
  .pp-stamps { gap: 16px; }
  .pp-stamp { gap: 8px; padding: 7px 11px; font-size: 10px; line-height: 13px; }
  .pp-stamp__icon { width: 14px; height: 14px; }
  .pp-pipeline { flex: 0 0 440px; margin: 0; padding: 23px; }
  .pp-pipeline__list { gap: 0; }
  .pp-step { gap: 16px; }
}

/* Workspace ------------------------------------------------------------- */
.pp-work { background: var(--cream); color: var(--legal-slate); }
.pp-work__inner { display: flex; flex-direction: column; gap: 24px; padding: 16px; }
.pp-index { order: 0; }
.pp-ledger { order: 1; }
.pp-doc { order: 2; display: flex; flex-direction: column; gap: 24px; }
.pp-index__sticky, .pp-ledger__sticky { display: flex; flex-direction: column; gap: 12px; padding: 15px; background: var(--white); border: 1px solid var(--line-light); border-radius: 6px; }
.pp-index__title, .pp-ledger__title { padding-bottom: 8px; border-bottom: 1px solid var(--line-light); font-family: var(--font-display); font-weight: 900; font-size: 18px; line-height: 22px; color: var(--navy); }
.pp-index__list { display: flex; flex-direction: column; gap: 4px; }
.pp-index__link { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 6px 8px; border-radius: 4px; }
.pp-index__num { flex: none; font-family: var(--font-mono); font-weight: 700; font-size: 12px; line-height: 16px; color: var(--legal-slate); }
.pp-index__label { flex: 1 1 auto; min-width: 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--legal-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-index__link:hover { background: var(--cream); }
.pp-index__link.is-active { background: var(--navy); }
.pp-index__link.is-active .pp-index__num { color: var(--yellow); }
.pp-index__link.is-active .pp-index__label { color: var(--white); font-weight: 700; }
.pp-ledger__list { display: flex; flex-direction: column; gap: 6px; }
.pp-ledger__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 9px; background: var(--white); border: 1px solid var(--line-light); border-radius: 4px; }
.pp-ledger__tag { font-family: var(--font-mono); font-weight: 700; font-size: 12px; line-height: 16px; }
.pp-ledger__tag--yellow { color: var(--yellow); }
.pp-ledger__tag--blue { color: var(--blue); }
.pp-ledger__tag--grey { color: var(--legal-slate); }
.pp-ledger__tag--green { color: var(--green); }
.pp-ledger__ref { font-size: 11px; line-height: 14px; color: var(--legal-slate); }
@media (min-width: 1024px) {
  .pp-work__inner { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; flex-direction: row; align-items: flex-start; gap: 32px; padding: 48px 0; }
  .pp-index { order: 0; flex: 0 0 240px; min-width: 0; }
  .pp-doc { order: 1; flex: 1 1 0; min-width: 0; gap: 40px; }
  .pp-ledger { order: 2; flex: 0 0 240px; min-width: 0; }
  .pp-index__sticky, .pp-ledger__sticky { gap: 16px; padding: 0; background: transparent; border: 0; }
  .pp-index__title, .pp-ledger__title { padding-bottom: 12px; }
  .pp-index__list { gap: 6px; }
  .pp-index__link { min-height: 33px; padding: 8px 12px; }
  .pp-index__num { color: var(--ink-3); }
  .pp-index__label { font-size: 13px; line-height: 17px; }
  .pp-ledger__list { gap: 8px; }
  .pp-ledger__item { min-height: 40px; padding: 11px; }
  .pp-ledger__tag--grey { color: var(--ink-3); }
  .pp-ledger__ref { color: var(--ink-3); }
}

/* Chapters & sections ---------------------------------------------------- */
.pp-chapter { display: flex; flex-direction: column; gap: 24px; padding: 15px; background: var(--white); border: 1px solid var(--line-light); border-radius: 6px; }
.pp-chapter__kicker { padding-bottom: 8px; font-family: var(--font-mono); font-weight: 800; font-size: 11px; line-height: 14px; color: var(--blue); }
.pp-divider { height: 1px; background: var(--line-light); }
.pp-section { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pp-section > * { align-self: stretch; }
.pp-section--wide { gap: 16px; }
.pp-section__header { display: flex; align-items: center; gap: 8px; }
.pp-section__num { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 19px; color: var(--blue); }
.pp-section__bar { width: 1px; height: 12px; background: var(--blue); }
.pp-section__title { font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 14px; text-transform: uppercase; color: var(--legal-slate); }
.pp-p { font-size: 14px; line-height: 22px; }
.pp-stack { display: flex; flex-direction: column; gap: 8px; }
.pp-section--07 .pp-stack, #direct-marketing .pp-stack { gap: 12px; }
.pp-table { display: flex; flex-direction: column; gap: 8px; }
.pp-table__row { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--cream); border-radius: 4px; }
.pp-table__label { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--navy); }
.pp-table__text { margin: 0; font-size: 12px; line-height: 18px; }
.pp-paths { display: flex; flex-direction: column; gap: 8px; }
.pp-path { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--cream); border-radius: 4px; }
.pp-path__num { font-family: var(--font-mono); font-weight: 700; font-size: 13px; line-height: 17px; color: var(--blue); }
.pp-path__body { display: contents; }
.pp-path__title { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--navy); }
.pp-path__text { font-size: 12px; line-height: 18px; }
.pp-path { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 8px; align-items: center; }
.pp-path__text { grid-column: 1 / -1; }
.pp-diagram { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px; background: var(--navy); border-radius: 6px; color: var(--white); }
.pp-diagram__title { font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 14px; text-align: center; color: var(--yellow); }
.pp-diagram__nodes { display: flex; flex-direction: column; gap: 12px; }
.pp-diagram__core { display: flex; align-items: center; justify-content: center; padding: 8px 12px; background: var(--blue); border-radius: 4px; font-family: var(--font-display); font-weight: 400; font-size: 15px; line-height: 18px; }
.pp-diagram__arrow { display: flex; justify-content: flex-start; color: var(--yellow); }
.pp-diagram__arrow-right { display: none; }
.pp-diagram__list { display: flex; flex-direction: column; gap: 6px; }
.pp-diagram__node { display: flex; align-items: center; justify-content: center; padding: 5px 0; background: var(--navy-2); border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-mono); font-size: 10px; line-height: 13px; }
.pp-bullets { display: flex; flex-direction: column; gap: 8px; }
.pp-bullets__item { position: relative; padding-left: 13px; font-size: 13px; line-height: 18px; }
.pp-bullets__item::before { content: '•'; position: absolute; left: 0; top: 0; font-size: 14px; line-height: 18px; color: var(--blue); }
.pp-bullets__item strong { color: var(--navy); }
.pp-highlight { display: flex; align-items: center; gap: 12px; padding: 11px; background: var(--yellow-dim); border: 1px solid var(--yellow); border-radius: 4px; }
.pp-highlight__icon { width: 18px; height: 18px; color: var(--yellow); }
.pp-highlight__text { font-size: 12px; line-height: 18px; font-weight: 700; color: var(--navy); }
.pp-layers { display: flex; flex-direction: column; gap: 8px; padding: 11px; background: var(--cream); border: 1px solid var(--line-light); border-radius: 4px; }
.pp-layers__title { font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: 13px; color: var(--legal-slate); }
.pp-layers__list { display: flex; flex-direction: column; gap: 6px; }
.pp-layers__item { display: flex; align-items: center; gap: 8px; padding: 7px; background: var(--white); border: 1px solid var(--line-light); border-radius: 3px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--navy); }
.pp-layers__item::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pp-stages { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--cream); border-radius: 4px; }
.pp-stage { display: flex; flex-direction: column; gap: 2px; }
.pp-stage__num { font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: 13px; color: var(--blue); }
.pp-stage__label { font-size: 13px; line-height: 17px; font-weight: 700; color: var(--navy); }
.pp-stages__arrow { display: flex; justify-content: center; padding: 2px 0; color: var(--legal-slate); }
.pp-stages__arrow-right { display: none; }
.pp-motif { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--cream); border-radius: 4px; font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: 13px; color: var(--legal-slate); }
.pp-motif__icon { flex: none; color: var(--blue); }
.pp-agebox { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--cream); border-radius: 4px; }
.pp-agebox__badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 19px; color: var(--yellow); }
.pp-agebox__text { font-size: 13px; line-height: 20px; }
.pp-link { display: inline-block; align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 22px; color: var(--blue); transition: transform var(--t); }
.pp-link:hover { transform: translateX(2px); text-decoration: underline; }
@media (min-width: 1024px) {
  .pp-chapter { gap: 32px; padding: 23px; }
  .pp-chapter__kicker { padding-bottom: 0; }
  .pp-section, .pp-section--wide { gap: 16px; }
  .pp-section__num { font-size: 14px; line-height: 17px; }
  .pp-section__title { color: var(--ink-3); }
  .pp-p { line-height: 24px; }
  .pp-p--lead { line-height: 26px; }
  .pp-stack, #direct-marketing .pp-stack { gap: 12px; }
  .pp-table { gap: 1px; background: var(--line-light); border-radius: 4px; overflow: hidden; }
  .pp-table__row { flex-direction: row; gap: 16px; padding: 12px; background: var(--white); border-radius: 0; }
  .pp-table__label { flex: 0 0 180px; font-weight: 400; }
  .pp-table__text { flex: 1 1 auto; font-size: 13px; line-height: 17px; }
  .pp-paths { gap: 12px; }
  .pp-path { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
  .pp-path__num { flex: 0 0 24px; }
  .pp-path__body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
  .pp-path__title { font-weight: 400; }
  .pp-path__text { font-size: 13px; line-height: 17px; }
  .pp-diagram { align-items: center; gap: 16px; padding: 20px; background: var(--navy-3); }
  .pp-diagram__nodes { flex-direction: row; align-items: center; gap: 24px; }
  .pp-diagram__core { padding: 10px 16px; font-size: 16px; line-height: 19px; }
  .pp-diagram__arrow-right { display: block; }
  .pp-diagram__arrow-down { display: none; }
  .pp-diagram__list { gap: 8px; }
  .pp-diagram__node { justify-content: flex-start; padding: 5px 11px; }
  .pp-bullets { gap: 10px; }
  .pp-bullets__item { padding-left: 17px; font-size: 14px; line-height: 22px; }
  .pp-highlight { gap: 16px; padding: 15px; }
  .pp-highlight__icon { width: 20px; height: 20px; }
  .pp-highlight__text { font-size: 14px; line-height: 22px; }
  .pp-layers { padding: 15px; }
  .pp-layers__title { color: var(--ink-3); }
  .pp-layers__list { flex-direction: row; gap: 12px; }
  .pp-layers__item { flex: 1 1 0; padding: 11px; }
  .pp-stages { flex-direction: row; align-items: center; gap: 16px; }
  .pp-stage { flex: 1 1 0; gap: 4px; }
  .pp-stage__label { font-weight: 400; }
  .pp-stages__arrow { padding: 0; color: var(--ink-3); }
  .pp-stages__arrow-right { display: inline; font-family: var(--font-display); font-size: 18px; line-height: 22px; }
  .pp-stages__arrow-down { display: none; }
  .pp-motif { gap: 12px; padding: 8px 12px; font-weight: 400; font-size: 11px; line-height: 14px; }
  .pp-agebox { gap: 16px; padding: 16px; }
  .pp-agebox__badge { font-weight: 400; }
  .pp-agebox__text { font-size: 14px; line-height: 24px; }
}

/* Narrow desktop (1024–1279px): hero and three-column ledger only fit at 1280+.
   The hero copy flexes next to a narrower pipeline; the ledger rail moves under the document. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .pp-hero__inner { gap: 32px; }
  .pp-hero__left { flex: 1 1 0; min-width: 0; }
  .pp-pipeline { flex: 0 0 360px; }
  .pp-work__inner { flex-wrap: wrap; }
  .pp-index { flex-basis: 220px; }
  .pp-ledger { flex: 1 1 100%; order: 3; }
  .pp-ledger__sticky { position: static; }
}
