.hero-copy { align-items: start; }
.hero-story { width: 100%; max-width: 460px; min-width: 0; }
.bolt-chat.bildor-chat-entry {
  --bolt-ink: #213d7d;
  --bolt-blue: #234db7;
  --bolt-paper: #fff9e9;
  --bolt-field-focus: #647695;
  color: var(--bolt-ink);
  font: 400 1rem/1.55 "Manrope", sans-serif;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  gap: 0 16px;
  width: max-content;
  margin-inline-start: auto;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 48px;
  transition: border-radius 280ms ease-out;
  position: relative;
  scroll-margin-top: 116px;
}
.bolt-chat.bildor-chat-entry.is-open {
  width: 100%;
  padding-right: 20px;
  border-radius: 28px;
  background: var(--bolt-paper);
}
.bolt-chat.is-open:hover { background: var(--bolt-paper); }
.bolt-chat.is-morphing { overflow: hidden; }
.bolt-chat.is-morphing .bolt-chat-panel { width: var(--chat-content-width, 100%); }
.bolt-chat > .bolt-home { grid-area: 1 / 1; }
.bolt-chat .bildor-chat-trigger { grid-area: 1 / 2; font-weight: 650; }
.bolt-chat.is-open .bolt-greeting { cursor: default; }
.bolt-chat ::selection { background: #f2d574; color: var(--bolt-ink); }
.bolt-chat-panel[hidden], .bolt-chat-close[hidden] { display: none; }
.bolt-chat-panel:not([hidden]) {
  animation: bildor-chat-reveal 280ms 110ms both;
}
.bolt-chat button, .bolt-chat input { font: inherit; }
.bolt-chat button, .bolt-chat a { -webkit-tap-highlight-color: transparent; }
.bolt-chat button { color: inherit; }
.bolt-chat button:focus-visible, .bolt-chat a:focus-visible {
  outline: 2px solid var(--bolt-blue); outline-offset: 3px;
}
.bolt-chat-panel {
  grid-column: 1 / -1;
  width: 100%; height: min(430px, 65svh); min-width: 0;
  margin-top: 12px;
  display: flex; flex-direction: column; overflow: hidden;
}
.bolt-chat-close { grid-area: 1 / 2; justify-self: end; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.bolt-chat-close:hover { background: #213d7d14; }
.bolt-chat svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; display: block; margin: auto; }
.bolt-chat-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 4px 24px 0; scrollbar-color: #a0acc9 var(--bolt-paper); scrollbar-width: thin; }
.bolt-chat-log { display: flex; flex-direction: column; gap: 20px; }
.bolt-message { overflow-wrap: anywhere; }
.bolt-message p { margin: 0; line-height: 1.6; }
.bolt-message p a { text-decoration: underline; text-underline-offset: .2em; }
.bolt-message--visitor { margin-left: 34px; padding: 10px 14px; background: #edf0f8; border-radius: 10px 10px 2px 10px; }
.bolt-message--bolt { padding-right: 8px; }
.bolt-message--pending { display: flex; gap: 5px; padding: 8px 0; }
.bolt-message--pending i { width: 6px; height: 6px; border-radius: 50%; background: #213d7d66; animation: bildor-writing 1s infinite ease-in-out; }
.bolt-message--pending i:nth-of-type(2) { animation-delay: .15s; }
.bolt-message--pending i:nth-of-type(3) { animation-delay: .3s; }
.bolt-message.is-entering { animation: bildor-message-rise 320ms cubic-bezier(.2, .8, .2, 1) both; }
.bolt-message > a { display: inline-block; margin-top: 10px; text-decoration: underline; }
.bolt-chat-primary:hover { background: #18398e; }
.bolt-contact-card { flex: 0 0 auto; margin: 12px 0; border-radius: 12px; background: #f5ebc9; }
.bolt-contact-card[hidden] { display: none; }
.bolt-contact-card summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; cursor: pointer; list-style: none; border-radius: inherit; }
.bolt-contact-card summary::-webkit-details-marker { display: none; }
.bolt-contact-card summary:hover { background: #213d7d08; }
.bolt-contact-card summary:focus-visible, .bolt-contact-card a:focus-visible, .bolt-contact-card button:focus-visible { outline: 2px solid var(--bolt-blue); outline-offset: -2px; }
.bolt-contact-name { display: block; font-size: .875rem; font-weight: 650; line-height: 1.5; }
.bolt-contact-role { display: block; font-size: .75rem; line-height: 1.5; }
.bolt-contact-card svg { flex: 0 0 20px; width: 20px; margin: 0; }
.bolt-contact-card[open] svg { transform: rotate(180deg); }
.bolt-contact-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 0 14px 12px; font-size: .8125rem; }
.bolt-contact-actions a { text-decoration: underline; text-underline-offset: .2em; padding-block: 9px; }
.bolt-contact-actions button { border: 1px solid #213d7d55; border-radius: 6px; background: transparent; padding: 9px 11px; cursor: pointer; }
.bolt-contact-actions button:hover { background: var(--bolt-paper); }
.bolt-chat-options { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 22px; }
.bolt-chat-options:empty { display: none; }
.bolt-chat-options button, .bolt-chat-topic { padding: 0; border: 0; background: transparent; text-align: left; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; cursor: pointer; }
.bolt-chat-options button { font-size: .875rem; line-height: 1.5; padding-block: 7px; }
.bolt-chat-options button:hover, .bolt-chat-topic:hover { color: var(--bolt-blue); }
.bolt-chat-compose { display: flex; flex-shrink: 0; margin: 0; padding: 6px; border: 1px solid #a3b3d3; border-radius: 12px; background: #fffdf6; }
.bolt-chat-compose input { min-width: 0; width: 100%; min-height: 40px; border: 0; border-radius: 4px; padding: 7px 9px; background: transparent; color: var(--bolt-ink); caret-color: var(--bolt-blue); }
.bolt-chat-compose:focus-within { border-color: var(--bolt-field-focus); }
.bolt-chat-compose input:focus { outline: none; }
.bolt-chat-compose input::placeholder { color: #566687; }
.bolt-chat-compose button { width: 40px; flex: 0 0 40px; border: 0; border-radius: 8px; background: #234db7; color: white; }
.bolt-chat-compose button:disabled { opacity: .4; cursor: default; }
.bolt-connect { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 0 24px; }
.bolt-connect h3 { font-size: 1.125rem; line-height: 1.4; margin: 0; }
.bolt-connect-heading { display: flex; align-items: start; gap: 12px; }
.bolt-connect-cancel, .bolt-review-actions button { border: 0; background: transparent; text-decoration: underline; padding: 4px 0; font-size: .875rem !important; }
.bolt-connect-cancel { margin-left: auto; }
.bolt-connect-context { margin: 14px 0 22px; }
.bolt-connect label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: 6px; }
.bolt-connect input { width: 100%; min-height: 44px; border: 1px solid #a3b3d3; border-radius: 6px; padding: 9px 12px; color: var(--bolt-ink); background: white; }
.bolt-connect input::placeholder { color: #566687; }
.bolt-chat .bolt-connect input:focus {
  border-color: var(--bolt-field-focus);
  outline: none;
}
.bolt-chat-fine { font-size: .8125rem; line-height: 1.55; margin-top: 12px; }
.bolt-chat-error { color: #9e2828; font-size: .875rem; margin-top: 8px; }
.bolt-chat-primary { display: block; width: 100%; border: 0; background: #234db7; color: white !important; text-align: center; border-radius: 6px; margin-top: 20px; padding: 12px 16px; font-weight: 650; font-size: .9375rem; }
.bolt-connect-review dl { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 5px 14px; font-size: .875rem; margin: 20px 0; }
.bolt-connect-review dd { margin: 0; overflow-wrap: anywhere; }
.bolt-review-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.65; }
.bolt-review-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 14px; }
@media (max-width: 640px) {
  .hero-story { max-width: none; }
  .bolt-chat.bildor-chat-entry { scroll-margin-top: 96px; }
  .bolt-chat.bildor-chat-entry.is-open { border-radius: 24px; }
  .bolt-chat-panel { height: min(420px, 65svh); }
}
@keyframes bildor-writing {
  0%, 60%, 100% { opacity: .3; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes bildor-message-rise {
  from { opacity: 0; transform: translateY(8px); }
}
@keyframes bildor-chat-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bolt-chat-panel:not([hidden]) { animation: none; }
  .bolt-message.is-entering { animation: none; }
  .bolt-message--pending i { animation: none; opacity: .6; }
  .bolt-chat.bildor-chat-entry { transition: none; }
}
.bolt-chat-ai-note { flex-shrink: 0; margin: 0 0 6px; font-size: .75rem; line-height: 1.5; color: #566687; }
.bolt-chat-ai-note[hidden] { display: none; }
