/* Shared frontend/editor styles. Native blocks remain independent, editable content. */
:root {
  --bw-ink: #172439;
  --bw-blue: #2849eb;
  --bw-muted: #59677c;
  --bw-line: #e4e8ef;
  --bw-soft: #f4f7fc;
}
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
:where(.bw-home, .bw-header, .bw-footer, .bw-page) { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
:where(.bw-home, .bw-header, .bw-footer, .bw-page) *,
:where(.bw-home, .bw-header, .bw-footer, .bw-page) *::before,
:where(.bw-home, .bw-header, .bw-footer, .bw-page) *::after { box-sizing: border-box; }
:where(.bw-home, .bw-header, .bw-footer, .bw-page) img { max-width: 100%; height: auto; }
:where(.bw-home, .bw-header, .bw-footer) p { color: var(--bw-muted); line-height: 1.6; }
:where(.bw-home, .bw-header, .bw-footer) h1,
:where(.bw-home, .bw-header, .bw-footer) h2,
:where(.bw-home, .bw-header, .bw-footer) h3 { font-weight: 750; color: var(--bw-ink); }
:where(.bw-home, .bw-header, .bw-footer) a:focus-visible,
:where(.bw-home, .bw-header, .bw-footer) summary:focus-visible { outline: 3px solid var(--bw-blue); outline-offset: 5px; }
.bw-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
.bw-main, .bw-main > .wp-block-post-content, .bw-home { margin-block: 0; }
.bw-home > * { margin-block-start: 0; }
.bw-header { min-height: 112px; gap: 24px; padding-block: 25px; }
.bw-brand-lockup { gap: 11px; }
.bw-brand-image { flex: 0 0 36px; margin: 0; }
.bw-brand-image img { display: block; width: 36px; height: 36px; }
.bw-brand { margin: 0; color: var(--bw-ink); font-size: 27px; font-weight: 800; letter-spacing: -1.1px; line-height: 1.2; white-space: nowrap; }
.bw-brand a { color: var(--bw-ink); text-decoration: none; }
.bw-brand-dot { color: var(--bw-blue); }
.bw-header .wp-block-navigation { margin: 0; }
.bw-header .wp-block-navigation a { color: var(--bw-ink); text-decoration: none; }
.bw-header .wp-block-navigation a:hover { color: var(--bw-blue); text-decoration: underline; }
.bw-nav-button a { border: 1px solid var(--bw-line); padding: 10px 20px; border-radius: 100px; }
.bw-hero { align-items: center !important; min-height: 640px; padding-block: 45px 72px; gap: 35px; }
.bw-hero .wp-block-column { min-width: 0; }
.bw-eyebrow { color: var(--bw-blue) !important; font-size: 12px; letter-spacing: 1.8px; font-weight: 700; }
.bw-hero h1 { font-size: clamp(64px, 7.5vw, 100px); line-height: 1.08; letter-spacing: -0.06em; margin-block: 24px; }
.bw-ai { color: var(--bw-blue); position: relative; }
.bw-spark { position: absolute; font-size: 48px; right: -55px; top: -9px; color: #efaa39; line-height: 1; }
.bw-intro { font-size: 21px; line-height: 1.65 !important; }
.bw-actions { margin-top: 30px; }
.bw-home .wp-block-button__link { display: inline-block; background: var(--bw-blue); color: white; padding: 15px 25px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 5px 0 #1a32ae; transition: transform .18s; }
.bw-home .wp-block-button__link:hover { transform: translateY(-2px); }
.bw-text-link { font-size: 14px; font-weight: 500; margin-top: 18px; }
.bw-text-link a { color: var(--bw-muted); text-underline-offset: 5px; }
.bw-hero-note { font-size: 12px; margin-top: 32px; }
.bw-hero-art { height: 490px; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.bw-hero-art::before { content: ""; position: absolute; width: min(480px, 100%); aspect-ratio: 1; border-radius: 50%; background: #f0f5ff; border: 1px solid #e8eefb; z-index: -1; }
.bw-mascot { position: relative; width: 365px; max-width: 75%; margin: 0 !important; transform: rotate(-8deg); filter: drop-shadow(0 25px 24px #38539725); }
.bw-mascot img { width: 100%; display: block; }
.bw-hello { position: absolute; top: 6px; left: 20px; background: white; border: 1px solid var(--bw-line); padding: 13px 24px; border-radius: 18px 18px 3px 18px; transform: rotate(-7deg); font-weight: 600; z-index: 2; box-shadow: 0 8px 25px #16244306; color: var(--bw-ink) !important; margin: 0 !important; }
.bw-floating-note { position: absolute; bottom: 15px; right: 0; background: white; border: 1px solid var(--bw-line); padding: 16px 23px; border-radius: 16px; box-shadow: 0 12px 40px #17243912; transform: rotate(5deg); font-size: 15px; font-weight: 600; color: var(--bw-ink) !important; margin: 0 !important; }
.bw-floating-note small { color: var(--bw-muted); font-weight: 400; font-size: 12px; }
.bw-art-star { position: absolute; bottom: 32px; left: 20px; color: var(--bw-blue) !important; font-size: 47px; margin: 0 !important; }
.bw-principles { gap: 16px; padding-block: 25px; border-block: 1px solid var(--bw-line); font-size: 17px; font-weight: 500; }
.bw-principles p { margin: 0; }
.bw-section { padding-block: 100px; }
.bw-home h2 { font-size: 42px; line-height: 1.22; letter-spacing: -1.8px; margin-block: 16px 20px; }
.bw-section-head { align-items: end !important; gap: 40px; }
.bw-section-head > .wp-block-column:first-child { flex-grow: 2; }
.bw-section-head > .wp-block-column:last-child p { max-width: 310px; margin-bottom: 25px; }
.bw-feature-grid { gap: 36px; margin-top: 38px; }
.bw-feature { border-top: 2px solid var(--bw-line); padding-top: 25px; }
.bw-feature-icon { font-size: 30px; color: var(--bw-blue) !important; background: #eef2ff; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; margin: 0; }
.bw-feature h3 { font-size: 19px; letter-spacing: -.5px; margin-block: 22px 8px; }
.bw-feature p:not(.bw-feature-icon) { font-size: 15px; }
.bw-feature .bw-example { font-size: 13px !important; color: var(--bw-blue); margin-top: 24px; }
.bw-demo-section { background: var(--bw-soft); padding-block: 90px; }
.bw-demo-grid { gap: 90px; align-items: center !important; }
.bw-demo-grid h2 { font-size: 49px; }
.bw-demo-caption { margin-top: 24px; font-size: 12px; }
.bw-chat { border: 1px solid #dfe5ef; background: white; border-radius: 20px; box-shadow: 0 25px 45px #182d5710; overflow: hidden; }
.bw-chat-top { gap: 11px; padding: 20px 24px; border-bottom: 1px solid var(--bw-line); font-size: 14px; font-weight: 700; }
.bw-chat-top > * { margin: 0; }
.bw-chat-top p { color: var(--bw-ink); }
.bw-chat-top small { color: var(--bw-muted); font-size: 12px; font-weight: 400; }
.bw-chat-avatar { flex: 0 0 39px; }
.bw-chat-avatar img { width: 39px; height: 39px; display: block; }
.bw-chat-badge { margin-left: auto; font-size: 10px; letter-spacing: 1px; color: var(--bw-muted) !important; }
.bw-chat-content { padding: 24px; margin: 0; }
.bw-preview-label { font-size: 12px; font-weight: 600; margin-top: 0; color: var(--bw-blue) !important; }
.bw-user-message { margin-left: 35px; background: #edf2ff; border-radius: 14px 14px 3px 14px; padding: 14px 18px; font-size: 14px; color: var(--bw-ink) !important; }
.bw-response { margin-top: 26px; }
.bw-response-label { font-size: 10px; color: var(--bw-blue) !important; letter-spacing: 1.5px; font-weight: 700; }
.bw-response h3 { font-size: 17px; margin-block: 10px; }
.bw-response ul { padding-left: 20px; font-size: 14px; color: var(--bw-muted); line-height: 1.9; }
.bw-response p { font-size: 14px; }
.bw-response .bw-response-label { font-size: 10px; }
.bw-response .bw-review-note { margin-top: 20px; color: #426b56; font-size: 12px; }
.bw-demo-details { border-top: 1px solid var(--bw-line); margin-top: 20px; padding-top: 12px; font-size: 14px; }
.bw-demo-details summary { cursor: pointer; color: var(--bw-blue); font-weight: 600; padding-block: 8px; }
.bw-chat-bottom { background: #fafbfd; border-top: 1px solid var(--bw-line); padding: 14px 24px; font-size: 12px; margin: 0; }
.bw-safety { gap: 110px; }
.bw-safety h2 { font-size: 54px; }
.bw-safety > .wp-block-column:first-child > p:not(.bw-eyebrow) { max-width: 365px; }
.bw-safety-item { gap: 25px; padding-block: 22px; border-bottom: 1px solid var(--bw-line); flex-wrap: nowrap !important; }
.bw-safety-item > .wp-block-column:first-child { flex: 0 0 24px !important; }
.bw-number { font-size: 12px; color: var(--bw-blue) !important; margin-top: 4px; }
.bw-safety-list h3 { font-size: 18px; margin-block: 0 8px; }
.bw-safety-list p:not(.bw-number) { font-size: 14px; margin: 0; }
.bw-closing { text-align: center; background: #edf3ff; border-radius: 25px; padding-block: 55px 60px; }
.bw-closing-image { margin: 0 auto 18px; width: 88px; }
.bw-closing-image img { display: block; width: 88px; height: 88px; }
.bw-closing .wp-block-buttons { justify-content: center; margin-top: 26px; }
.bw-footer { gap: 20px; padding-block: 45px; }
.bw-footer p:not(.bw-brand) { font-size: 12px; margin: 0; }
.bw-footer .bw-brand { font-size: 22px; }
.bw-page { padding-block: 45px 60px; }
.bw-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bw-home .wp-block-button__link { transition: none; }
}
@media (max-width: 950px) {
  .bw-wrap { padding-inline: 28px; }
  .bw-header .wp-block-navigation { --wp--style--block-gap: 18px; }
  .bw-hero { gap: 10px; }
  .bw-hero-art { height: 400px; }
  .bw-hero-art::before { width: min(360px, 100%); }
  .bw-mascot { width: 290px; }
  .bw-hello { font-size: 14px; left: 0; }
  .bw-demo-grid { gap: 40px; }
  .bw-safety { gap: 50px; }
  .bw-feature-grid { gap: 25px; }
}
@media (max-width: 781px) {
  .bw-wrap { padding-inline: 22px; }
  .bw-header { justify-content: center; padding-block: 22px; gap: 20px; }
  .bw-brand { font-size: 23px; }
  .bw-header .wp-block-navigation { justify-content: center; }
  .bw-header .wp-block-navigation__container { justify-content: center; gap: 16px; }
  .bw-header .wp-block-navigation-item { font-size: 12px; }
  .bw-nav-button a { padding: 9px 13px; }
  .bw-hero { padding-block: 30px 48px; gap: 30px; }
  .bw-hero-copy { text-align: center; }
  .bw-hero h1 { font-size: clamp(56px, 11vw, 74px); letter-spacing: -.055em; }
  .bw-spark { font-size: 35px; right: -35px; }
  .bw-intro { font-size: 18px; }
  .bw-actions .wp-block-buttons { justify-content: center; }
  .bw-hero-note { margin-top: 25px; }
  .bw-hero-art { height: 380px; max-width: 410px; margin: auto; }
  .bw-hero-art::before { width: min(330px, 100%); }
  .bw-mascot { width: 275px; }
  .bw-hello { top: 8px; left: 13px; }
  .bw-floating-note { bottom: 0; right: 10px; }
  .bw-art-star { left: 25px; bottom: 25px; }
  .bw-principles { font-size: 12px; gap: 12px; text-align: center; flex-wrap: nowrap; }
  .bw-section { padding-block: 65px; }
  .bw-section-head > .wp-block-column:last-child p { max-width: none; margin: 0; }
  .bw-home h2 { font-size: 34px; }
  .bw-feature-grid { gap: 32px; }
  .bw-feature { position: relative; padding-left: 68px; }
  .bw-feature-icon { position: absolute; left: 0; top: 24px; }
  .bw-feature h3 { margin-top: 0; }
  .bw-feature .bw-example { margin-top: 14px; }
  .bw-demo-section { padding-block: 60px; }
  .bw-demo-grid { gap: 35px; }
  .bw-demo-grid h2 { font-size: 39px; }
  .bw-safety { gap: 20px; }
  .bw-safety h2 { font-size: 44px; }
  .bw-safety > .wp-block-column:first-child > p:not(.bw-eyebrow) { max-width: none; }
  .bw-closing { margin-inline: 16px; padding-inline: 20px; }
  .bw-closing h2 { font-size: 32px; }
  .bw-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .bw-footer .bw-brand { width: 100%; }
}
@media (max-width: 360px) {
  .bw-chat-top, .bw-chat-content { padding: 18px; }
  .bw-chat-badge { letter-spacing: 0; font-size: 9px; }
  .bw-header .wp-block-navigation__container { gap: 12px; }
  .bw-nav-button a { padding-inline: 10px; }
  .bw-home h2 { overflow-wrap: anywhere; }
}
