.bb-hero { min-height: min(76vh, 720px); padding-bottom: clamp(72px, 10vh, 120px); }
.bb-hero-in { flex: 1; display: grid; place-items: center; text-align: center; }
.bb-hero-copy { max-width: 920px; display: grid; justify-items: center; }
.bb-hero .rc-title { font-size: clamp(48px, 5.6vw, 92px); letter-spacing: -0.038em; }
.bb-hero .rc-lede { max-width: 34em; margin-left: auto; margin-right: auto; }

.bb-cap { position: relative; isolation: isolate; padding: clamp(80px, 8.4vw, 116px) 0; background: #0C0D0D; }
.bb-cap-2 { background: radial-gradient(52% 70% at 74% 50%, rgba(36, 120, 86, .14) 0%, rgba(36, 120, 86, 0) 70%), #0E100F; }
html[data-hero-theme="light"] .bb-cap { background: #EDF3EE; }
html[data-hero-theme="light"] .bb-cap-2 { background: radial-gradient(52% 70% at 74% 50%, rgba(23, 122, 85, .07) 0%, rgba(23, 122, 85, 0) 70%), #F2F6F5; }
.bb-cap + .bb-cap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rc-rule); }
.bb-cap-in { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 44px; align-items: center; }
@media (min-width: 1100px) {
  .bb-cap-in { column-gap: clamp(56px, 6.4vw, 112px); }
  .bb-cap-1 .bb-cap-in, .bb-cap-3 .bb-cap-in { grid-template-columns: minmax(0, clamp(580px, 48vw, 680px)) minmax(0, 1fr); }
  .bb-cap-2 .bb-cap-in { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(580px, 48vw, 680px)); }
  .bb-cap-1 .bbw, .bb-cap-3 .bbw { grid-column: 1; grid-row: 1; }
  .bb-cap-1 .bb-copy, .bb-cap-3 .bb-copy { grid-column: 2; grid-row: 1; }
  .bb-cap-2 .bb-copy { grid-column: 1; grid-row: 1; }
  .bb-cap-2 .bbw { grid-column: 2; grid-row: 1; }
}
.bb-copy { max-width: 470px; }
.bb-id { margin: 0 0 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--rc-accent); }
.bb-copy .rc-h2 { margin: 0 0 20px; }
.bb-p { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--rc-ink-2); }
.bb-keys { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bb-keys li { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 8px; box-sizing: border-box;
  font-size: 13px; line-height: 1; letter-spacing: -0.003em; color: var(--rc-ink-2); white-space: nowrap;
  background: linear-gradient(180deg, rgba(127, 209, 168, .045), rgba(127, 209, 168, .015)); box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .16), inset 0 1px 0 rgba(242, 241, 236, .04); }
html[data-hero-theme="light"] .bb-keys li { background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(23, 122, 85, .16), 0 1px 2px rgba(15, 36, 27, .04); }
.bb-note { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--rc-rule); font-size: 13.5px; line-height: 1.5; color: var(--rc-ink-3); }
.bb-chip-l { flex: none; padding: 2px 7px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--rc-ink-2); box-shadow: inset 0 0 0 1px var(--rc-border-2); }

.bbw {
  --w-ink: #F2F1EC; --w-ink-2: #BDC0BA; --w-ink-3: #9D9E9D; --w-acc: #7FD1A8; --w-line: rgba(242, 241, 236, .08); --w-line-2: rgba(242, 241, 236, .14);
  --cs-dot: rgba(242, 241, 236, .10); --cs-dot-edge: rgba(242, 241, 236, .12);
  position: relative; margin: 0; width: 100%; border-radius: var(--cs-r-1, 18px); overflow: hidden; color: var(--w-ink);
  background: radial-gradient(70% 60% at 82% -6%, rgba(127, 209, 168, .07) 0%, rgba(127, 209, 168, 0) 70%), linear-gradient(180deg, #151A18 0%, #111513 100%);
  border: 1px solid var(--w-line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(0, 0, 0, .35), 0 24px 48px -24px rgba(0, 0, 0, .55), 0 64px 120px -56px rgba(0, 0, 0, .6);
}
.bbw::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, rgba(242, 241, 236, 0) 8%, rgba(242, 241, 236, .14) 46%, rgba(127, 209, 168, .34) 80%, rgba(127, 209, 168, 0) 100%); }
html[data-hero-theme="light"] .bbw { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(15, 36, 27, .16), 0 26px 52px -26px rgba(15, 36, 27, .4), 0 60px 110px -60px rgba(15, 36, 27, .32); }
.bbw-bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--w-line); background: rgba(0, 0, 0, .12); }
.bbw-title { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--w-ink); }
.bbw-case { margin: 0; font-size: 13px; color: var(--w-ink-3); }
.bbw-tag { margin: 0 0 0 auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-3); }
.bbp { padding: 22px 24px 24px; }
.bbp-k { margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-3); }
.bbp-k b { font-weight: 500; color: var(--w-ink-2); }
.bb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; white-space: nowrap; color: var(--w-ink-3); background: rgba(242, 241, 236, .035); box-shadow: inset 0 0 0 1px var(--w-line); }
.bb-chip-h { color: var(--w-acc); background: linear-gradient(180deg, rgba(127, 209, 168, .14), rgba(127, 209, 168, .05)); box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .34); }
.bb-tick { position: relative; display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #C9EEDA 0%, #A6E0C2 32%, #7FD1A8 58%, #4FA67F 100%); }
.bb-tick::after { content: ""; position: absolute; left: 4.6px; top: 2.4px; width: 3.4px; height: 6.4px; border: solid #0F241B; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bb-ease { --e: cubic-bezier(.22, 1, .36, 1); }

.bbt { position: relative; list-style: none; margin: 0; padding: 0; }
.bbt::before, .bbt::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 30px; width: 1px; }
.bbt::before { background: rgba(242, 241, 236, .1); }
.bbt::after { background: linear-gradient(180deg, rgba(127, 209, 168, .7), rgba(127, 209, 168, .35)); transform-origin: top; }
.bbt li { position: relative; display: grid; grid-template-columns: 13px 64px 32px minmax(0, 1fr) auto; column-gap: 14px; align-items: center; padding: 11px 0; }
.bbt li + li { border-top: 1px solid rgba(242, 241, 236, .045); }
.bbt li::before { content: ""; grid-column: 1; width: 13px; height: 13px; border-radius: 50%; box-sizing: border-box; position: relative; z-index: 1;
  background: radial-gradient(circle at 34% 28%, #C9EEDA 0%, #A6E0C2 32%, #7FD1A8 58%, #4FA67F 100%); border: 1px solid rgba(201, 238, 218, .6); box-shadow: 0 0 0 3px #131816; transition: background .4s, border-color .4s, box-shadow .6s; }
.bbt-time { font-family: var(--mono); font-size: 11.5px; color: var(--w-ink-3); }
.bbt-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--w-acc); background: radial-gradient(circle at 50% 30%, rgba(127, 209, 168, .12), rgba(127, 209, 168, 0) 70%), #121614; box-shadow: inset 0 0 0 1px rgba(242, 241, 236, .09); }
.bbt-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bbt-ev { min-width: 0; }
.bbt-kind { display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-3); }
.bbt-txt { display: block; font-size: 14.5px; line-height: 1.35; color: var(--w-ink); }
.bbt .bbt-out { margin-top: 2px; border-radius: 10px; background: linear-gradient(90deg, rgba(127, 209, 168, .1), rgba(127, 209, 168, .02) 75%, rgba(127, 209, 168, 0)); }
.bbt .bbt-out::before { box-shadow: 0 0 0 3px rgba(127, 209, 168, .14), 0 0 14px rgba(127, 209, 168, .45); }
.bbt .bbt-out .bbt-kind { color: var(--w-acc); }
.bbt .bbt-out .bbt-ic { box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .36), 0 0 16px -4px rgba(127, 209, 168, .45); }
.bbt-foot { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--w-line); font-size: 13px; color: var(--w-ink-2); }

.bba-q { display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 14px; border-radius: 12px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--w-line-2); font-size: 15px; color: var(--w-ink); min-height: 22px; }
.bba-q svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--w-ink-3); stroke-width: 1.6; stroke-linecap: round; }
.bba-qt::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--w-acc); opacity: 0; }
.bbw.is-typing .bba-qt::after { opacity: 1; animation: bb-caret .9s steps(1) infinite; }
@keyframes bb-caret { 50% { opacity: 0; } }
.bba-wait { display: flex; gap: 5px; margin-left: auto; opacity: 0; transition: opacity .2s; }
.bba-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--w-acc); opacity: .35; }
.bbw.is-wait .bba-wait { opacity: 1; }
.bbw.is-wait .bba-wait i { animation: bb-dot 1s ease-in-out infinite; }
.bbw.is-wait .bba-wait i:nth-child(2) { animation-delay: .15s; } .bbw.is-wait .bba-wait i:nth-child(3) { animation-delay: .3s; }
@keyframes bb-dot { 50% { opacity: 1; transform: translateY(-2px); } }
.bba-a { margin: 14px 0 0; padding: 16px 16px 15px; border-radius: 12px; background: linear-gradient(180deg, #1B211E 0%, #161B19 100%); box-shadow: inset 0 0 0 1px var(--w-line-2); }
.bba-who { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-size: 13px; font-weight: 500; color: var(--w-ink); }
.bba-who svg { width: 15px; height: 16px; fill: var(--w-acc); }
.bba-txt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--w-ink); }
.bba-ref { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; margin: 0 1px; padding: 0 5px; border-radius: 5px; vertical-align: 1px; box-sizing: border-box;
  font-family: var(--mono); font-size: 10.5px; color: #0F241B; background: var(--w-acc); transition: box-shadow .5s; }
.bba-rec { margin: 14px 0 0; padding: 12px 14px 8px; border-radius: 12px; background: rgba(0, 0, 0, .16); box-shadow: inset 0 0 0 1px var(--w-line); }
.bba-rec-k { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-3); }
.bba-rows { list-style: none; margin: 0; padding: 0; }
.bba-rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; margin: 0 -8px; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; color: var(--w-ink-3); transition: background .5s, color .5s, box-shadow .5s; }
.bba-n { display: inline-grid; place-items: center; width: 20px; height: 18px; border-radius: 5px; font-family: var(--mono); font-size: 10.5px; color: var(--w-ink-3); box-shadow: inset 0 0 0 1px var(--w-line-2); transition: background .5s, color .5s, box-shadow .5s; }
.bba-k { font-family: var(--mono); font-size: 10.5px; color: var(--w-ink-3); }

.bbe { display: grid; gap: 16px; }
.bbe-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--w-line); }
.bbe-h { margin: 0 0 3px; font-size: 20px; font-weight: 500; letter-spacing: -0.012em; color: var(--w-ink); }
.bbe-sub { margin: 0; font-size: 13px; color: var(--w-ink-3); }
.bbe-out { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 0; padding: 5px 10px 5px 7px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--w-acc); white-space: nowrap;
  background: linear-gradient(180deg, rgba(127, 209, 168, .14), rgba(127, 209, 168, .05)); box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .3); }
.bbe-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.bbe-dl > div { padding: 12px 13px; border-radius: 10px; background: rgba(242, 241, 236, .03); box-shadow: inset 0 0 0 1px var(--w-line); }
.bbe-dl dt { margin: 0 0 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-3); }
.bbe-dl dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--w-ink); }
.bbe-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bbe-steps li { display: grid; gap: 7px; }
.bbe-steps i { display: block; height: 4px; border-radius: 2px; background: rgba(242, 241, 236, .1); overflow: hidden; position: relative; }
.bbe-steps i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #4FA67F, #7FD1A8); transform-origin: left; }
.bbe-steps span { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--w-ink-3); }
.bbe-check { display: flex; align-items: center; gap: 12px; margin: 2px 0 0; padding: 13px 14px; border-radius: 12px; font-size: 14px; color: var(--w-ink);
  background: linear-gradient(90deg, rgba(127, 209, 168, .12), rgba(127, 209, 168, .03)); box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .3); transition: box-shadow .8s; }
.bbe-check b { font-weight: 500; color: var(--w-acc); }
.bbe-check-k { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-ink-3); }

.bbw.is-armed .bbt li { opacity: .22; }
.bbw.is-armed .bbt li::before { background: #151A18; border-color: rgba(242, 241, 236, .22); box-shadow: 0 0 0 3px #131816; }
.bbw.is-armed .bbt::after { transform: scaleY(0); }
.bbw.is-armed .bbt-foot { opacity: 0; }
.bbw .bbt li, .bbw .bbt-foot { transition: opacity .6s cubic-bezier(.22, 1, .36, 1); }
.bbw.is-play .bbt li { opacity: 1; transition-delay: calc(.35s + var(--n) * .55s); }
.bbw.is-play .bbt li::before { transition-delay: calc(.35s + var(--n) * .55s); }
.bbw.is-play .bbt::after { transform: scaleY(1); transition: transform 2.4s cubic-bezier(.45, 0, .25, 1) .35s; }
.bbw.is-play .bbt-foot { opacity: 1; transition-delay: 3.1s; }
.bbw.is-armed .bba-a, .bbw.is-armed .bba-rec { opacity: 0; transform: translateY(8px); }
.bbw .bba-a, .bbw .bba-rec { transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1); }
.bbw.is-answer .bba-a { opacity: 1; transform: none; }
.bbw.is-answer .bba-rec { opacity: 1; transform: none; transition-delay: .25s; }
.bbw.is-cite .bba-rows .is-src { color: var(--w-ink); background: rgba(127, 209, 168, .07); box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .24); }
.bbw.is-cite .bba-rows .is-src .bba-n { color: #0F241B; background: var(--w-acc); box-shadow: none; }
.bbw.is-cite .bba-rows .is-src:nth-child(5), .bbw.is-cite .bba-rows .is-src:nth-child(5) .bba-n { transition-delay: .45s; }
.bbw.is-cite .bba-ref { animation: bb-ref 1.2s cubic-bezier(.22, 1, .36, 1) 1; }
.bbw.is-cite .bba-ref[data-r="5"] { animation-delay: .45s; }
@keyframes bb-ref { 30% { box-shadow: 0 0 0 4px rgba(127, 209, 168, .28); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 168, 0); } }
.bbw.is-armed .bbe > * { opacity: 0; transform: translateY(8px); }
.bbw.is-armed .bbe-dl > div { opacity: 0; transform: translateY(6px); }
.bbw.is-armed .bbe-steps i::after { transform: scaleX(0); }
.bbw .bbe > *, .bbw .bbe-dl > div { transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1); }
.bbw.is-play .bbe > * { opacity: 1; transform: none; }
.bbw.is-play .bbe-head { transition-delay: .15s; }
.bbw.is-play .bbe-dl { transition-delay: .45s; }
.bbw.is-play .bbe-dl > div { opacity: 1; transform: none; transition-delay: calc(.55s + var(--n) * .16s); }
.bbw.is-play .bbe-steps { transition-delay: 1s; }
.bbw .bbe-steps i::after { transition: transform .5s cubic-bezier(.45, 0, .25, 1); }
.bbw.is-play .bbe-steps i::after { transform: none; transition-delay: calc(1.15s + var(--n) * .2s); }
.bbw.is-play .bbe-check { transition-delay: 2.3s, 2.3s; }
.bbw.is-play.is-sealed .bbe-check { box-shadow: inset 0 0 0 1px rgba(127, 209, 168, .42), 0 0 34px -10px rgba(127, 209, 168, .5); }

.bb-trio { display: flex; justify-content: center; gap: 0; margin: 0 0 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--forest-ink-2); }
.bb-trio span + span::before { content: "→"; margin: 0 14px; color: var(--forest-quiet); letter-spacing: 0; }

@media (max-width: 1099px) {
  .bb-hero { min-height: min(60vh, 600px); }
  .bb-copy { max-width: 640px; }
  .bbw { max-width: 720px; }
}
@media (max-width: 640px) {
  .bb-hero { min-height: 0; padding-bottom: 88px; }
  .bb-cap { padding: 76px 0 84px; }
  .bb-cap-in { row-gap: 32px; }
  .bbw-case { display: none; }
  .bbp { padding: 18px 16px 18px; }
  .bbt li { grid-template-columns: 13px 32px minmax(0, 1fr); row-gap: 6px; column-gap: 12px; }
  .bbt-time { display: none; }
  .bbt li > .bb-chip { grid-column: 3; justify-self: start; }
  .bbt::before, .bbt::after { bottom: 46px; }
  .bba-rows li { grid-template-columns: 20px minmax(0, 1fr); }
  .bba-k { display: none; }
  .bbe-head { flex-direction: column; gap: 10px; }
  .bbe-dl { grid-template-columns: minmax(0, 1fr); }
  .bbe-dl > div { padding: 11px 13px; }
  .bbe-steps span { font-size: 9px; letter-spacing: 0; }
  .bb-trio span + span::before { margin: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bbw *, .bbw *::before, .bbw *::after { transition: none !important; animation: none !important; }
}
