/* Direction B: approved Chat to street composition. Marketing only. */
.direction-b { --b-max: 1440px; }
.b-wrap { width: calc(100% - 112px); max-width: calc(var(--b-max) - 112px); margin-inline: auto; }
.b-header { background: #fff; }
.b-header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.b-nav { display: flex; align-items: center; gap: 48px; font-size: 14px; font-weight: 500; }
.b-nav a { padding-block: 14px; }
.b-nav a:hover { color: var(--blue); }
.b-preview { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.b-menu { display: none; }
.b-label { font-size: 12px; line-height: 18px; font-weight: 500; text-transform: uppercase; letter-spacing: 0; }
.b-flow { display: grid; background: var(--blue); color: #fff; }
.b-intro { padding-top: 56px; }
.b-intro h1 { margin-top: 32px; font-size: clamp(64px, 7.5vw, 108px); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.b-description { font-size: 24px; line-height: 34px; margin-top: 32px; }
.b-brand-film { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 40px; align-items: center; padding-block: 40px 24px; }
.b-brand-film-copy h2 { font-size: clamp(30px,3.4vw,48px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; margin-block: 20px; }
.b-brand-film figure { margin: 0; min-width: 0; }
.b-brand-film video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 8px; background: var(--plum); box-shadow: 0 0 0 1px #c9c3d1, 0 14px 32px #21172f1f; }
.b-brand-film .b-caption { color: #fff; margin-top: 12px; }
.b-film-description { font-size: 14px; line-height: 22px; }
.b-film-description summary { min-height: 44px; padding-block: 11px; cursor: pointer; text-underline-offset: 4px; }
.b-film-description summary:hover { text-decoration: underline; }
.b-film-description p { margin-top: 12px; }
.b-brand-film :focus-visible { outline-color: #fff; }
.b-process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-block: 32px 56px; }
.b-step { color: var(--ink); background: #fff; padding: 24px; min-height: 332px; }
.b-step h2 { color: var(--blue); margin-bottom: 16px; }
.b-step blockquote { margin: 24px 0; font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -.02em; }
.b-caption { color: var(--muted); font-size: 12px; line-height: 18px; }
.b-intro > .b-caption { color: #fff; font-size: 14px; line-height: 21px; margin-top: 16px; }
.b-step img { width: 100%; }
.b-proof { aspect-ratio: 4/3; height: auto; object-fit: contain; }
.b-yard { aspect-ratio: 1672/941; height: auto; object-fit: contain; }
.b-step figcaption { margin-top: 16px; }
.b-starter { padding: 56px 0; background: #fff; color: var(--ink); }
.b-starter h2 { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; }
.b-tasks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.b-tasks > * { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 94px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font-size: 14px; font-weight: 600; line-height: 20px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.b-tasks span { color: var(--blue); }
.b-tasks > *:hover { border-color: var(--blue); box-shadow: 0 8px 20px #1825360a; transform: translateY(-2px); }
.b-tasks > *:active { transform: translateY(0); box-shadow: inset 0 1px 3px #18253614; }
.b-starter-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; align-items: baseline; }
.b-inline-link { font-size: 14px; font-weight: 600; line-height: 22px; color: var(--blue); }
.b-inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.b-work { padding-block: 56px; background: var(--paper); }
.b-work > .b-label { color: var(--muted); margin-bottom: 24px; }
.b-case { display: grid; grid-template-columns: 480fr 848fr; }
.b-case .document-photo { aspect-ratio: auto; min-height: 320px; }
.b-case .document-photo img { width: auto; height: 150%; object-fit: cover; }
.b-case-copy { background: var(--lilac); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
.b-case-copy .b-label, .b-case-copy .b-inline-link { color: var(--brand-link); }
.b-case-copy h2 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.03em; }
.b-case-copy > p:not(.b-label) { font-size: 16px; line-height: 25px; color: var(--muted); }
.b-work > .b-caption { margin-top: 24px; }
.b-footer { padding: 56px 0 28px; background: var(--plum); color: var(--on-plum); }
.b-footer h2 { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -.02em; }
.b-footer-intro { font-size: 14px; line-height: 22px; margin-top: 8px; color: var(--on-plum-muted); }
.b-footer-main { display: flex; justify-content: space-between; gap: 48px; }
.b-access .b-label { margin-bottom: 16px; }
.b-access-buttons { display: flex; gap: 12px; }
.b-access .b-caption { color: var(--on-plum-muted); margin-top: 16px; }
.b-footer-note { font-size: 12px; line-height: 18px; margin-top: 28px; color: var(--on-plum-muted); }
.b-footer-bottom { border-top: 1px solid var(--plum-line); padding-top: 24px; margin-top: 32px; display: flex; justify-content: space-between; gap: 20px; color: var(--on-plum-muted); font-size: 12px; line-height: 20px; }
.b-footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.b-footer-bottom button { border: 0; padding: 0; background: none; font: inherit; color: inherit; }
.b-footer a:hover, .b-footer-bottom button:hover { text-decoration: underline; text-underline-offset: 4px; }
.b-footer :focus-visible { outline-color: var(--apricot); }
.b-footer a:not(.button):hover, .b-footer-bottom button:hover { color: var(--apricot); }
.b-footer .button.secondary {
  color: var(--plum);
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: inset 0 1px 0 #ffffff99, 0 2px 0 #b8afc2, 0 4px 9px #25123926;
}
.b-footer .button.secondary:hover { background: #fff; border-color: #fff; }
.b-footer .button.secondary > span:not(.play-outline) { background: #3b21590f; box-shadow: inset 0 0 0 1px #3b215929; }
.direction-b dialog { max-height: calc(100dvh - 40px); overflow-y: auto; }
.b-dialog { width: calc(100% - 40px); max-width: 720px; padding: 40px; border-radius: 12px; }
.b-dialog > .b-label { color: var(--blue); padding-right: 30px; }
.b-dialog > h2 { font-size: 42px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; margin: 20px 0; padding-right: 15px; }
.b-dialog > p:not(.b-label,.b-caption) { color: var(--muted); font-size: 16px; line-height: 26px; margin-block: 20px; }
.b-dialog figure { margin-block: 24px; }
.b-dialog figure img { width: 100%; height: 335px; object-fit: cover; }
#task-dialog figure img { height: auto; object-fit: contain; }
.b-dialog figure figcaption { margin-top: 12px; }
.b-dialog-actions { display: flex; gap: 16px; align-items: center; margin-block: 24px; }
.b-wide-dialog { max-width: 1000px; }
.b-wide-dialog .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-block: 28px; }
.b-wide-dialog .product-grid img { height: auto; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f5f4ef; }
.b-wide-dialog > .button { margin-top: 24px; }
.b-wide-dialog .screen-window { aspect-ratio: auto; border: 1px solid var(--line); }
.b-wide-dialog .screen-window img { display: block; position: static; width: 100%; max-width: 100%; object-fit: contain; height: auto; max-height: 45vh; }
.b-wide-dialog .demo-toolbar { margin-top: 24px; }
.b-wide-dialog #screen-caption { margin-top: 12px; }
.b-benefits { padding: 0; list-style: none; margin-block: 28px; }
.b-benefits li { border-top: 1px solid var(--line); padding: 16px 0; font-size: 15px; line-height: 24px; color: var(--muted); }
.b-benefits strong { display: block; color: var(--ink); }
.b-team-note { background: var(--paper); padding: 24px; margin-bottom: 24px; }
.b-team-note h3 { font-size: 22px; letter-spacing: -.025em; }
.b-team-note p { font-size: 15px; line-height: 24px; margin-top: 12px; color: var(--muted); }
.b-dialog .faq { margin-top: 24px; }
@media (max-width: 1000px) {
  .b-nav { gap: 28px; }
  .b-step { padding: 20px; }
  .b-step blockquote { font-size: 23px; line-height: 31px; }
  .b-case { grid-template-columns: 1fr 1.3fr; }
  .b-case-copy { padding: 28px; }
  .b-case-copy h2 { font-size: 30px; line-height: 34px; }
  .b-tasks > * { padding: 20px; }
  .b-footer-main { flex-direction: column; gap: 32px; }
}
@media (max-width: 700px) {
  .b-wrap { width: calc(100% - 48px); }
  .b-header-inner { min-height: 84px; position: relative; }
  .b-header .wordmark { font-size: 27px; gap: 8px; }
  .b-header .wordmark img { width: 32px; height: 34px; }
  .b-menu { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: none; font-size: 13px; }
  .b-menu span { color: var(--blue); font-size: 20px; }
  .b-nav { display: none; position: absolute; z-index: 5; top: 84px; left: -24px; right: -24px; background: #fff; padding: 12px 24px 24px; border-top: 1px solid var(--line); box-shadow: 0 16px 24px #18253618; }
  .b-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .b-nav a { padding-block: 16px; }
  .b-preview { display: inline; margin-left: 8px; }
  .b-intro { padding-top: 32px; order: 0; }
  .b-intro .b-label { max-width: 310px; }
  .b-intro h1 { font-size: clamp(38px,11.8vw,70px); line-height: 1.065; margin-top: 24px; letter-spacing: -.04em; }
  .b-description { font-size: 18px; line-height: 27px; margin-top: 24px; max-width: 470px; }
  .b-brand-film { order: 0; grid-template-columns: 1fr; gap: 20px; padding-block: 32px 0; }
  .b-brand-film-copy h2 { font-size: 32px; margin-block: 16px 8px; }
  .b-starter { order: 1; background: var(--blue); color: #fff; padding: 32px 0; }
  .b-starter h2 { font-size: 24px; line-height: 32px; }
  .b-tasks { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .b-tasks > * { min-height: 72px; padding: 20px; color: var(--ink); font-size: 13px; }
  .b-starter-foot { display: block; margin-top: 20px; }
  .b-starter-foot .b-caption { color: #fff; }
  .b-starter-foot .b-inline-link { color: #fff; display: inline-block; margin-top: 16px; min-height: 32px; }
  .b-starter :focus-visible { outline-color: #fff; }
  .b-process { order: 2; grid-template-columns: 1fr; padding: 0 0 32px; }
  .b-step { min-height: 0; padding: 20px; }
  .b-prompt { min-height: 200px; }
  .b-step blockquote { font-size: 24px; line-height: 31px; margin-block: 20px; }
  .b-yard { aspect-ratio: 1672/941; }
  .b-work { padding-block: 40px; }
  .b-case { grid-template-columns: 1fr; }
  .b-case .document-photo { height: 260px; min-height: 0; }
  .b-case .document-photo img { height: 135%; }
  .b-case-copy { padding: 24px; gap: 24px; }
  .b-case-copy h2 { font-size: 30px; line-height: 34px; }
  .b-footer { padding: 32px 0 24px; }
  .b-footer h2 { font-size: 26px; line-height: 36px; }
  .b-footer-intro { font-size: 14px; line-height: 22px; margin-top: 8px; }
  .b-access-buttons { flex-wrap: wrap; }
  .b-access-buttons .button { flex: 1; white-space: nowrap; padding-inline: 15px; font-size: 13px; }
  .b-footer-bottom { flex-direction: column; }
  .b-footer-bottom nav { gap: 14px 24px; }
  .b-footer-bottom nav > * { padding-block: 8px; }
  .direction-b dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .b-dialog { padding: 24px; }
  .b-dialog > h2 { font-size: 34px; line-height: 38px; }
  .b-dialog figure img { height: 250px; }
  .b-dialog-actions { align-items: stretch; flex-direction: column; }
  .b-wide-dialog .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .b-wide-dialog .demo-toolbar { align-items: flex-start; gap: 12px; flex-wrap: wrap; }
  .b-wide-dialog .screen-window { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .b-tasks > * { transition: none; }
  .b-tasks > *:hover { transform: none; }
}
#task-title { white-space: pre-line; }

/* Complete assistant instructions stay with the copy action. */
.b-full-prompt { margin: 20px 0; border-top: 1px solid var(--line); padding-top: 16px; }
.b-full-prompt summary { cursor: pointer; font-size: 14px; line-height: 22px; font-weight: 600; }
.b-full-prompt p { font-size: 14px; line-height: 22px; margin: 14px 0; overflow-wrap: anywhere; }
.b-full-prompt .button { font-size: 13px; }
.b-full-prompt [role="status"]:empty { display: none; }
