/* Secondary pages extend the homepage's project-story design. */
.bb-story-page {
  --story-navy: #16233b;
  --story-green: #0b7a6f;
  --story-mint: #75ddcd;
  --story-paper: #edf7f5;
  --story-muted: #52616b;
  --story-edge: #d4e2df;
  --story-width: 1180px;
  --story-gutter: clamp(20px, 5vw, 64px);
  background: #fff;
  color: var(--story-navy);
}
.bb-story-page .bb-header { background: #fffffff5; color: var(--story-navy); border-bottom: 1px solid #e3e8ee; backdrop-filter: blur(12px); }
.bb-story-page .bb-header-inner { height: 80px; }
.bb-story-page .bb-brand, .bb-story-page .bb-menu-button { color: var(--story-navy); }
.bb-story-page .bb-brand svg { fill: var(--story-navy); }
.bb-story-page .bb-brand > span > span { color: var(--story-green); }
.bb-story-page .bb-nav a, .bb-story-page .bb-login, .bb-story-page .bb-languages a { color: var(--story-muted); }
.bb-story-page .bb-languages, .bb-story-page .bb-languages > * + * { border-color: var(--story-edge); }
.bb-story-page .bb-nav a:hover, .bb-story-page .bb-nav a[aria-current=page], .bb-story-page .bb-login:hover { color: var(--story-green); }
.bb-story-page :focus-visible { outline: 3px solid var(--story-green); outline-offset: 5px; }
.bb-story-page h1, .bb-story-page h2, .bb-story-page h3 { color: var(--story-navy); font-weight: 550; letter-spacing: -.04em; text-wrap: balance; }
.bb-story-page h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; }
.bb-story-page h3 { font-size: 23px; line-height: 1.25; }
.bb-story-page main > section {
  padding-inline: max(var(--story-gutter), calc((100% - var(--story-width)) / 2));
  padding-block: 80px;
  border-bottom: 0;
}
.bb-story-page main > .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-content: center;
  align-items: start;
  min-height: 470px;
  padding-top: 70px;
  padding-bottom: 64px;
  background: #fff;
  color: var(--story-muted);
}
.bb-story-page .page-hero .eyebrow { grid-column: 1/-1; margin: 0 0 8px; color: var(--story-green); font-size: 13px; }
.bb-story-page .page-hero .eyebrow a { color: inherit; }
.bb-story-page .page-hero h1 { grid-column: 1; grid-row: 2 / span 3; font-size: clamp(38px, 4.7vw, 66px); max-width: 20ch; line-height: 1.06; letter-spacing: -.055em; }
.bb-story-page .page-hero .line-accent { color: inherit; }
.bb-story-page .page-hero h1 .line + .line { margin-top: 0; }
.bb-story-page .page-hero .hero-lede { grid-column: 2; margin: 5px 0 0; font-size: 17px; line-height: 1.8; max-width: 52ch; }
.bb-story-page .page-hero .chain { grid-column: 2; margin: 0; padding: 18px 0; border-block: 1px solid var(--story-edge); color: var(--story-green); font-size: 12px; line-height: 2; }
.bb-story-page .page-hero .chain li { white-space: normal; }
.bb-story-page .page-hero .chain li:last-child, .bb-story-page .page-hero .chain li + li::before { color: var(--story-green); }
.bb-story-page .page-hero .actions { grid-column: 2; align-self: end; margin: 0; gap: 12px; flex-wrap: wrap; }
.bb-story-page .page-hero .pill-accent { background: var(--story-mint); color: var(--story-navy); }
.bb-story-page .page-hero .pill-ghost { color: var(--story-navy); border-color: var(--story-edge); }
.bb-story-page .page-hero .pill-ghost:hover { background: var(--story-paper); }
.bb-story-page .pill { font-size: 13px; padding-inline: 22px; min-height: 46px; text-align: center; }
.bb-story-page .pill-accent { background: var(--story-mint); color: var(--story-navy); }
.bb-story-page .pill-accent:hover { background: #a0e9de; }
.story-page-index { margin: 0 max(var(--story-gutter), calc((100% - var(--story-width)) / 2)); border-block: 1px solid var(--story-edge); font-size: 13px; }
.story-page-index summary { cursor: pointer; padding: 18px 0; color: var(--story-green); font-weight: 600; }
.story-page-index nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 28px; padding: 0 0 20px; }
.story-page-index a { padding: 9px 0; color: var(--story-muted); line-height: 1.6; text-decoration: none; }
.story-page-index a:hover { color: var(--story-green); text-decoration: underline; text-underline-offset: 4px; }
.bb-story-page h2[id] { scroll-margin-top: 110px; }
.bb-story-page .section-head { grid-template-columns: 1.1fr 1fr; gap: 28px 80px; align-items: start; }
.bb-story-page .section-head h2 { max-width: 22ch; }
.bb-story-page .section-head p { color: var(--story-muted); font-size: 16px; line-height: 1.85; }
.bb-story-page .pain-grid { gap: 0 56px; margin-top: 36px; }
.bb-story-page .pain-grid li { padding: 26px 0; border: 0; border-top: 1px solid var(--story-edge); border-radius: 0; }
.bb-story-page .pain-grid li::before { display: none; }
.bb-story-page .pain-grid h3 { max-width: 30ch; }
.bb-story-page .pain-grid p { font-size: 15px; line-height: 1.8; color: var(--story-muted); }
.bb-story-page main > .process { background: var(--story-paper); }
.bb-story-page .process .spine { counter-reset: story-step; max-width: none; margin-top: 44px; gap: 0; padding: 0; }
.bb-story-page .process .spine::before { width: 2px; left: 22px; background: #bddbd4; }
.bb-story-page .process .spine li { counter-increment: story-step; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 48px; margin: 0; padding: 30px 0 30px 86px; border-top: 1px solid #d4e6e1; }
.bb-story-page .process .spine li:first-child { border-top: 0; }
.bb-story-page .process .spine li::before { content: counter(story-step, decimal-leading-zero); left: 0; top: 24px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--story-mint); color: var(--story-navy); font-size: 12px; }
.bb-story-page .process .spine h3 { font-size: 25px; }
.bb-story-page .process .spine h3 .now, .bb-story-page .process .spine h3 .soon { display: table; margin: 12px 0 0; }
.bb-story-page .process .spine p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--story-muted); }
.bb-story-page .process .spine .today { grid-column: 2; }
.bb-story-page .now, .bb-story-page .soon, .bb-story-page .kept { font-size: 11px; font-weight: 500; letter-spacing: 0; padding: 4px 9px; white-space: normal; }
.bb-story-page .now { background: #e5f6ef; color: #086155; border-color: #d2eade; }
.bb-story-page .soon { color: #50617c; background: #f0f3f8; border: 1px solid #dce3ef; }
.bb-story-page .focus-box { background: var(--story-paper); color: var(--story-muted); padding: 48px; gap: 40px 64px; border-radius: 24px; border: 1px solid #e0ece8; }
.bb-story-page .focus-box h2, .bb-story-page .focus-body strong { color: var(--story-navy); }
.bb-story-page .focus-box .pillar-no { color: var(--story-green); font-size: 12px; letter-spacing: 0; text-transform: none; }
.bb-story-page .focus-box .claim { color: var(--story-green); font-size: 20px; font-weight: 500; line-height: 1.6; }
.bb-story-page .focus-box .claim::before, .bb-story-page .focus-box .claim::after { content: none; }
.bb-story-page .focus-body { font-size: 16px; line-height: 1.85; }
.bb-story-page .focus-box a:not(.pill) { color: var(--story-green); }
.bb-story-page .focus-box .now { color: #086155; background: #d6eee5; }
.bb-story-page .focus-box .soon { color: #50617c; }
.bb-story-page main > .ahead { background: #fff; }
.bb-story-page .ahead-grid { gap: 24px; margin-top: 36px; }
.bb-story-page .ahead-grid li { background: #f6f9f8; border: 1px solid #e0e9e6; border-radius: 16px; padding: 30px; }
.bb-story-page .ahead-grid .steps { font-size: 12px; color: var(--story-green); line-height: 1.7; }
.bb-story-page .ahead-grid h3 { margin: 16px 0 12px; font-size: 25px; }
.bb-story-page .ahead-grid p:last-child { line-height: 1.85; color: var(--story-muted); }
.bb-story-page .decide { font-size: 14px; line-height: 1.85; color: var(--story-muted); max-width: 80ch; }
.bb-story-page main > .decide { max-width: var(--story-width); margin: 0 auto 60px; padding-inline: var(--story-gutter); }
.bb-story-page .others .trade-grid, .bb-story-page .others .trade-grid.three { max-width: none; }
.bb-story-page .trade-card { padding: 30px; border-radius: 16px; box-shadow: none; background: #fff; border: 1px solid var(--story-edge); gap: 14px; }
.bb-story-page .trade-card:hover { background: var(--story-paper); border-color: #8fc4b8; }
.bb-story-page .trade-card h3 { font-size: 27px; }
.bb-story-page .trade-card p { color: var(--story-muted); line-height: 1.8; }
.bb-story-page .trade-card .steps, .bb-story-page .trade-card .more { color: var(--story-green); font-size: 12px; }
.bb-story-page .feature-list { gap: 0 56px; margin-top: 34px; }
.bb-story-page .feature-list li { padding-block: 28px; border-color: var(--story-edge); }
.bb-story-page .feature-list .feature-head { flex-direction: column; gap: 12px; }
.bb-story-page .feature-list h3 { font-size: 24px; }
.bb-story-page .feature-list p { color: var(--story-muted); font-size: 15px; line-height: 1.85; max-width: 65ch; }
.bb-story-page .feature-list .detail { font-size: 13px; }
.bb-story-page .feature-list:empty { display: none; }
.bb-story-page .features-sec:nth-of-type(even) { background: #f6f9f8; }
.bb-story-page .features-sec#demo-2 { background: var(--story-paper); }
.bb-story-page .features-sec > p { margin-top: 28px; }
.bb-story-page .features-sec#demo-privacy .section-head { grid-template-columns: 1fr; max-width: 80ch; }
.bb-story-page .features-sec#demo-privacy .section-head h2 { max-width: none; }
.bb-story-page .legend { padding-top: 30px; }
.bb-story-page .origin { gap: 48px 80px; }
.bb-story-page .origin .statement { max-width: 20ch; }
.bb-story-page .origin-body { font-size: 16px; line-height: 1.9; color: var(--story-muted); }
.bb-story-page .makers { gap: 28px; grid-template-columns: 1.2fr 1fr 1fr; }
.bb-story-page .makers-head { padding-right: 30px; }
.bb-story-page .makers-head p { line-height: 1.85; }
.bb-story-page .person { padding: 30px; border: 1px solid var(--story-edge); border-radius: 16px; background: #f6f9f8; font-size: 14px; line-height: 1.85; }
.bb-story-page .person::before { width: 50px; height: 6px; border-radius: 4px; margin-bottom: 24px; }
.bb-story-page .person h3 { font-size: 30px; }
.bb-story-page .person .role { color: var(--story-green); font-size: 12px; }
.bb-story-page .remus { background: var(--story-paper); gap: 56px; }
.bb-story-page .remus-copy p { font-size: 16px; line-height: 1.85; }
.bb-story-page main > .demo { margin: 24px max(var(--story-gutter), calc((100% - var(--story-width)) / 2)) 80px; padding: 52px; border: 0; border-radius: 26px; gap: 24px 70px; background: var(--story-navy); }
.bb-story-page .demo h2 { font-size: clamp(34px, 4.1vw, 54px); color: #fff; max-width: 20ch; }
.bb-story-page .demo p { font-size: 16px; line-height: 1.85; color: #cbd9e3; margin-bottom: 12px; }
.bb-story-page .demo .actions { flex-wrap: wrap; gap: 12px; }
.bb-story-page .demo .pill-ghost { border-color: #6c7c8b; color: #fff; }
.bb-story-page main > .compare { padding-top: 20px; }
.bb-story-page .cmp-box { gap: 40px; align-items: start; }
.bb-story-page .cmp-list { gap: 10px; }
.bb-story-page .cmp-list li { padding: 22px; border: 1px solid var(--story-edge); border-radius: 12px; background: #fff; }
.bb-story-page .cmp-list li.picked { background: var(--story-paper); border-color: #71b5a6; }
.bb-story-page .cmp-list label { min-height: 28px; align-items: start; }
.bb-story-page .cmp-tool strong { font-size: 18px; font-weight: 600; }
.bb-story-page .cmp-tool span { display: block; margin: 4px 0 0; font-size: 12px; }
.bb-story-page .cmp-what { font-size: 14px; line-height: 1.8; margin-top: 12px; }
.bb-story-page .cmp-out { top: 104px; border-radius: 20px; padding: 32px; background: var(--story-navy); color: #cbd9e3; }
.bb-story-page .cmp-total output { color: var(--story-mint); font-weight: 550; letter-spacing: -.055em; }
.bb-story-page .cmp-out .calc-note { line-height: 1.9; }
.bb-story-page main > .request-layout { max-width: var(--story-width); margin: 0 auto; padding: 70px 0 90px; gap: 36px 70px; }
.bb-story-page .request-intro h1 { font-size: clamp(38px, 4.7vw, 62px); max-width: 16ch; letter-spacing: -.055em; }
.bb-story-page .request-lede { color: var(--story-muted); }
.bb-story-page .request-card { background: var(--story-paper); padding: 38px; border: 1px solid var(--story-edge); border-radius: 22px; }
.bb-story-page .request-card h2 { font-size: 30px; }
.bb-story-page .request-expectations h2 { font-size: 19px; }
.bb-story-page #demo-request input:not([type=checkbox]), .bb-story-page #demo-request textarea { border-color: #b7cec7; border-radius: 8px; }
.bb-story-page .request-submit { margin-top: 10px; }
.bb-story-page .bb-footer { background: #f3f8f6; padding-top: 64px; }
.bb-story-page .bb-footer-grid nav h2 { letter-spacing: 0; font-size: 12px; }
.bb-story-page .bb-footer-grid nav > a { font-size: 12px; }
.bb-story-page .bb-footer-intro p { font-size: 12px; max-width: 32ch; }
@media (max-width: 1250px) {
  .bb-story-page main > .request-layout { margin-inline: var(--story-gutter); }
}
@media (max-width: 1000px) {
  .bb-story-page main > .page-hero { gap: 24px 36px; }
  .bb-story-page .page-hero h1 { font-size: 46px; }
  .bb-story-page .section-head { gap: 28px 40px; }
  .bb-story-page .focus-box { padding: 36px; }
  .bb-story-page .makers { grid-template-columns: 1fr 1fr; }
  .bb-story-page .makers-head { grid-column: 1/-1; }
  .bb-story-page .makers-head p { max-width: 70ch; }
  .bb-story-page .ahead-grid { grid-template-columns: 1fr; }
  .bb-story-page .process .spine li { grid-template-columns: 1fr; gap: 18px; }
  .bb-story-page .process .spine .today { grid-column: 1; }
  .bb-story-page .cmp-box { gap: 24px; }
}
@media (max-width: 760px) {
  .bb-story-page .bb-header-inner { height: 70px; }
  .bb-story-page main > section { padding-block: 54px; }
  .bb-story-page main > .page-hero { display: block; min-height: 0; padding-top: 44px; padding-bottom: 42px; }
  .bb-story-page .page-hero h1 { font-size: clamp(34px, 6.5vw, 48px); max-width: 23ch; }
  .bb-story-page .page-hero .eyebrow { margin-bottom: 22px; }
  .bb-story-page .page-hero .hero-lede { margin-top: 26px; font-size: 16px; }
  .bb-story-page .page-hero .chain { margin-top: 24px; }
  .bb-story-page .page-hero .actions { margin-top: 26px; }
  .story-page-index nav { grid-template-columns: 1fr 1fr; }
  .bb-story-page .section-head, .bb-story-page .origin { grid-template-columns: 1fr; gap: 24px; }
  .bb-story-page .section-head h2 { max-width: 25ch; }
  .bb-story-page .feature-list { grid-template-columns: 1fr; }
  .bb-story-page .focus-box { grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .bb-story-page main > .demo { display: block; padding: 34px; margin-block: 16px 54px; }
  .bb-story-page .demo h2 { max-width: none; margin-bottom: 26px; }
  .bb-story-page .demo p { margin-bottom: 24px; }
  .bb-story-page .cmp-box { grid-template-columns: 1fr; }
  .bb-story-page .cmp-out { position: static; }
  .bb-story-page main > .request-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "more"; padding-block: 44px 54px; gap: 32px; }
  .bb-story-page .request-intro h1 { max-width: 23ch; }
  .bb-story-page .request-lede { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .bb-story-page .bb-header-inner { padding-inline: 18px; gap: 10px; }
  .bb-story-page .bb-brand > span { font-size: 18px; }
  .bb-story-page .bb-brand svg { width: 21px; height: 26px; }
  .bb-story-page .bb-header-actions { gap: 8px; }
  .bb-story-page .bb-header-actions > .bb-cta { display: none; }
  .bb-story-page .page-hero h1 { font-size: 36px; }
  .bb-story-page .page-hero .actions { align-items: stretch; flex-direction: column; }
  .bb-story-page .page-hero .pill { width: fit-content; max-width: 100%; }
  .story-page-index nav { grid-template-columns: 1fr; }
  .bb-story-page .pain-grid, .bb-story-page .makers { grid-template-columns: 1fr; }
  .bb-story-page .process .spine li { padding-left: 62px; }
  .bb-story-page .process .spine h3 { font-size: 23px; }
  .bb-story-page .process .spine li::before { width: 38px; height: 38px; }
  .bb-story-page .process .spine::before { left: 18px; }
  .bb-story-page .focus-box, .bb-story-page .ahead-grid li, .bb-story-page .trade-card, .bb-story-page .person { padding: 24px; }
  .bb-story-page main > .demo { padding: 28px 24px; }
  .bb-story-page .demo h2 { font-size: 34px; }
  .bb-story-page .cmp-list li { padding: 18px; }
  .bb-story-page .cmp-out { padding: 26px; }
  .bb-story-page .request-intro h1 { font-size: 36px; }
  .bb-story-page .request-card { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-story-page *, .bb-story-page *::before, .bb-story-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
