/* Baeck Solutions v17 · Messenger-Gruppen integration; existing glass, dialogs and contact retained. */
@font-face {
  font-family: BaeckBarlow;
  src: url('barlow-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.bsw {
  --bsw-ink: #152f40;
  --bsw-muted: #4e6370;
  --bsw-accent: #087777;
  --bsw-accent-dark: #055e61;
  --bsw-paper: #f2f6f7;
  --bsw-line: #d3e0e4;
  --bsw-white: #fff;
  --bsw-glass: rgba(255, 255, 255, .86);
  --bsw-glass-soft: rgba(255, 255, 255, .72);
  --bsw-radius-control: 10px;
  --bsw-radius-tile: 14px;
  --bsw-radius-surface: 16px;
  --bsw-section-space: 64px;
  --bsw-ease: cubic-bezier(.16, 1, .3, 1);
  --bsw-focus: #a34d16;
  --bsw-shadow: 0 10px 28px rgba(24, 61, 78, .065), 0 2px 5px rgba(24, 61, 78, .025);
  --bsw-shadow-soft: 0 5px 16px rgba(24, 61, 78, .045);
  --bsw-shadow-raised: 0 18px 42px rgba(24, 61, 78, .1);
  --bsw-control-primary: linear-gradient(180deg, #147d7d 0%, #087777 48%, #06666b 100%);
  --bsw-control-primary-hover: linear-gradient(180deg, #0d7376 0%, #06686b 48%, #05575d 100%);
  --bsw-control-light: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(237, 247, 247, .78));
  --bsw-control-light-hover: linear-gradient(180deg, #fff, rgba(225, 242, 241, .96));
  --bsw-control-shadow: 0 7px 16px rgba(10, 74, 79, .16), 0 2px 4px rgba(10, 74, 79, .08), inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(1, 48, 55, .18);
  --bsw-control-shadow-hover: 0 10px 22px rgba(10, 74, 79, .19), 0 3px 6px rgba(10, 74, 79, .09), inset 0 1px 0 rgba(255, 255, 255, .42);
  --bsw-control-shadow-light: 0 5px 12px rgba(24, 61, 78, .07), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(132, 170, 179, .32);
  --bsw-control-shadow-pressed: 0 2px 5px rgba(10, 74, 79, .12), inset 0 1px 3px rgba(3, 47, 54, .14);
  box-sizing: border-box;
  isolation: isolate;
  color: var(--bsw-ink);
  background: linear-gradient(155deg, #fafcfc 0%, #f0f5f7 55%, #eff5f3 100%);
  font: 18px/1.65 Arial, Helvetica, sans-serif;
  text-align: left;
  scroll-behavior: smooth;
  caret-color: var(--bsw-accent);
  scrollbar-color: #92abb5 #edf4f7;
}

.bsw *, .bsw *::before, .bsw *::after { box-sizing: border-box; }
.bsw ::selection { color: #12333e; background: #b9e5df; }
.bsw a { color: inherit; text-underline-offset: .24em; }
.bsw :is(a, button, summary, audio):focus-visible { outline: 3px solid var(--bsw-focus); outline-offset: 4px; }
.bsw img { display: block; max-width: 100%; height: auto; }
.bsw button { font-family: inherit; }
.bsw p { margin: 0 0 1.1em; }
.bsw :is(h1, h2, h3) {
  margin: 0;
  color: var(--bsw-ink);
  font-family: BaeckBarlow, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.bsw h1 { max-width: 18ch; font-size: clamp(2.5rem, 4.4vw, 3.625rem); }
.bsw h2 { max-width: 22ch; font-size: clamp(2rem, 3vw, 2.625rem); }
.bsw h3 { font-size: 1.625rem; }
.bsw .bsw-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.bsw .bsw-draft { margin: 0; padding: 9px 20px; color: #604617; background: #fff1d4; font-size: 13px; line-height: 1.45; text-align: center; }
.bsw .bsw-skip { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 12px 18px; color: var(--bsw-ink); background: #fff; }
.bsw .bsw-skip:focus { top: 16px; }

/* Header and shared controls. */
.bsw .bsw-head { background: rgba(255, 255, 255, .8); border-bottom: 1px solid rgba(193, 213, 223, .42); }
.bsw .bsw-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 18px; }
.bsw .bsw-brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; text-decoration: none; }
.bsw .bsw-logo { width: 53px; height: 53px; object-fit: contain; }
.bsw .bsw-brand-name { font-family: BaeckBarlow, Arial, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: .005em; line-height: 1.2; }
.bsw .bsw-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.bsw .bsw-nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; text-decoration-thickness: 1px; transition: color .18s ease-out, background-color .18s ease-out; }
.bsw .bsw-nav .bsw-nav-cta { padding: 9px 17px; border: 1px solid transparent; border-radius: var(--bsw-radius-control); color: var(--bsw-accent-dark); background: var(--bsw-control-light); box-shadow: var(--bsw-control-shadow-light); transition: background .18s ease-out, box-shadow .2s ease-out, transform .2s var(--bsw-ease); }
.bsw .bsw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.bsw .bsw-button, .bsw .bsw-dialog-action, .bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--bsw-radius-control);
  color: #fff;
  background: var(--bsw-control-primary);
  box-shadow: var(--bsw-control-shadow);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease-out, box-shadow .2s ease-out, transform .2s var(--bsw-ease);
}
.bsw .bsw-button-secondary { color: var(--bsw-accent-dark); background: var(--bsw-control-light); box-shadow: var(--bsw-control-shadow-light); }
.bsw .bsw-arrow { width: 18px; height: 18px; flex: none; }
.bsw .bsw-text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 600; text-decoration: underline; }
.bsw .bsw-footnote { max-width: 61ch; margin: 14px 0 0; color: var(--bsw-muted); font-size: 13px; line-height: 1.6; }

/* A compact introduction, with the actual training asset as its visual. */
.bsw .bsw-hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .9fr); align-items: center; gap: 72px; padding-block: 68px 64px; }
.bsw .bsw-hero > div { min-width: 0; }
.bsw .bsw-lead { max-width: 50ch; margin: 24px 0 28px; font-size: 18px; line-height: 1.65; }
.bsw .bsw-preview { width: 100%; max-width: 440px; margin: 0 0 0 auto; overflow: hidden; border-radius: var(--bsw-radius-surface); background: var(--bsw-glass); box-shadow: var(--bsw-shadow-raised); }
.bsw .bsw-preview-top { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--bsw-line); font-size: 12px; line-height: 1.4; }
.bsw .bsw-preview-top span:last-child { color: var(--bsw-accent-dark); font-weight: 600; }
.bsw .bsw-preview img { width: 100%; aspect-ratio: 1.66; object-fit: cover; object-position: center top; }
.bsw .bsw-preview figcaption { padding: 16px 20px 18px; color: var(--bsw-muted); font-size: 13px; font-style: normal; line-height: 1.55; }

/* Five formats: compact previews, customer purpose and an honest next step. */
.bsw .bsw-formats-section { padding-block: 0 var(--bsw-section-space); scroll-margin-top: 24px; }
.bsw .bsw-formats-section h2 { max-width: none; margin-bottom: 28px; font-size: 32px; }
.bsw .bsw-format-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.bsw .bsw-format-item { display: flex; min-width: 0; flex-direction: column; padding: 10px 10px 18px; border-radius: var(--bsw-radius-surface); background: var(--bsw-glass); box-shadow: var(--bsw-shadow); }
.bsw .bsw-format-thumb { display: block; flex: none; overflow: hidden; margin-bottom: 17px; border-radius: var(--bsw-radius-control); background: #fff; }
.bsw .bsw-format-thumb img { width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: center top; }
.bsw .bsw-format-item h3 { margin: 0 10px 10px; font-size: 25px; }
.bsw .bsw-format-item p { margin: 0 10px 16px; color: var(--bsw-muted); font-size: 15px; line-height: 1.6; }
.bsw .bsw-format-item .bsw-text-link { justify-content: flex-start; margin: auto 10px 0; color: var(--bsw-accent-dark); font-size: 14px; }
.bsw .bsw-format-item .bsw-demo-buttons { flex-direction: column; align-items: flex-start; gap: 0; }
.bsw .bsw-purpose-note { max-width: 95ch; margin: 28px 0 0; color: var(--bsw-muted); font-size: 14px; line-height: 1.65; }

/* Eight compact entry points; the full visual and context open in a dialog. */
.bsw .bsw-usecases { padding-block: 0 var(--bsw-section-space); scroll-margin-top: 24px; }
.bsw .bsw-usecases h2 { max-width: 28ch; font-size: 32px; }
.bsw .bsw-usecases-intro { max-width: 77ch; margin: 16px 0 28px; color: var(--bsw-muted); font-size: 16px; line-height: 1.65; }
.bsw .bsw-usecases-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bsw .bsw-usecase {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 140px;
  flex-direction: column;
  align-items: flex-start;
  white-space: normal;
  gap: 10px;
  padding: 22px 40px 22px 22px;
  border: 0;
  border-radius: var(--bsw-radius-tile);
  color: var(--bsw-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), var(--bsw-glass-soft));
  box-shadow: var(--bsw-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, .96);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  appearance: none;
  transition: background-color .18s ease-out, box-shadow .2s ease-out, transform .2s var(--bsw-ease);
}
.bsw .bsw-usecase-title { min-width: 0; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; display: block; font-family: BaeckBarlow, Arial, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.bsw .bsw-usecase-purpose { display: block; color: var(--bsw-muted); font-size: 14px; font-weight: 400; line-height: 1.45; }
.bsw .bsw-usecase-plus { position: absolute; right: 16px; bottom: 20px; display: block; width: 20px; height: 20px; flex: none; color: var(--bsw-accent-dark); }
.bsw .bsw-usecase-plus svg { display: block; width: 100%; height: 100%; }
.bsw .bsw-usecase[disabled] { opacity: .55; box-shadow: none; cursor: not-allowed; }
.bsw .bsw-usecases-more { margin-top: 28px; padding-block: 4px; border-block: 1px solid var(--bsw-line); font-size: 16px; line-height: 1.65; }
.bsw .bsw-usecases-more > summary { min-height: 48px; padding-block: 11px; font-size: 15px; font-weight: 600; cursor: pointer; }
.bsw .bsw-usecases-more h3 { margin: 24px 0 12px; font-size: 24px; }
.bsw .bsw-usecases-more p, .bsw .bsw-usecases-more ul { max-width: 78ch; }
.bsw .bsw-usecases-more ul { padding-left: 23px; }
.bsw .bsw-usecases-more li { margin-bottom: 11px; padding-left: 2px; }
.bsw .bsw-usecases-cta { margin-top: 15px; }

/* Native modal keeps keyboard focus and remains usable on small screens. */
.bsw .bsw-dialog {
  width: calc(100% - 32px);
  max-width: 1040px;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: var(--bsw-radius-surface);
  color: var(--bsw-ink);
  background: #f7fafc;
  box-shadow: 0 28px 90px rgba(10, 34, 47, .3);
  scrollbar-color: #92abb5 #edf4f7;
}
.bsw .bsw-dialog::backdrop { background: rgba(12, 33, 47, .57); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.bsw .bsw-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px 18px 28px; border-bottom: 1px solid #d6e2e8; background: rgba(249, 252, 253, .96); }
.bsw .bsw-dialog-head h2 { min-width: 0; max-width: none; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.bsw .bsw-dialog-close { display: inline-flex; width: 44px; min-width: 44px; height: 44px; min-height: 44px; flex: none; align-items: center; justify-content: center; margin: 0; padding: 10px; border: 1px solid transparent; border-radius: 50%; color: var(--bsw-ink); background: var(--bsw-control-light); box-shadow: var(--bsw-control-shadow-light); font: 400 16px/1 Arial, Helvetica, sans-serif; text-transform: none; cursor: pointer; appearance: none; transition: background .18s ease-out, box-shadow .2s ease-out, transform .2s var(--bsw-ease); }
.bsw .bsw-dialog-close svg { display: block; width: 21px; height: 21px; }
.bsw .bsw-dialog-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 28px; padding: 28px; }
.bsw .bsw-dialog-figure { min-width: 0; margin: 0; }
.bsw .bsw-dialog-figure img { width: 100%; height: auto; max-height: 60vh; max-height: 60dvh; object-fit: contain; object-position: center; border-radius: 8px; background: #e7eff4; }
.bsw .bsw-dialog-figure figcaption { margin-top: 11px; color: var(--bsw-muted); font-size: 13px; font-style: normal; line-height: 1.55; }
.bsw .bsw-dialog-copy { min-width: 0; }
.bsw .bsw-dialog-copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.bsw .bsw-dialog-copy h3 { margin: 22px 0 10px; font-size: 22px; }
.bsw .bsw-dialog-copy .bsw-dialog-idea { margin-block: 24px; padding: 18px 20px; border-radius: var(--bsw-radius-control); background: #eaf2f2; }
.bsw .bsw-dialog-idea h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.bsw .bsw-dialog-idea p:last-child { margin-bottom: 0; }
.bsw .bsw-dialog-idea strong { display: block; margin-bottom: 6px; }
.bsw .bsw-view-details { margin: 20px 0; padding-block: 4px; border-block: 1px solid var(--bsw-line); font-size: 15px; }
.bsw .bsw-view-details summary { min-height: 44px; padding-block: 10px; font-weight: 600; cursor: pointer; }
.bsw .bsw-view-details p { margin: 4px 0 14px; color: var(--bsw-muted); font-size: 15px; line-height: 1.65; }
.bsw .bsw-dialog-action { margin-top: 2px; }
.bsw .bsw-dialog-copy p.bsw-footnote { margin: 14px 0 0; color: var(--bsw-muted); font-size: 14px; line-height: 1.55; }

/* The image link remains a useful original-file fallback when script is unavailable. */
.bsw .bsw-image-open { display: block; max-width: 100%; border-radius: 8px; color: var(--bsw-accent-dark); text-decoration: none; }
.bsw .bsw-image-open-label { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: .24em; }
.bsw .bsw-image-open-label svg { width: 18px; height: 18px; flex: none; }
.bsw .bsw-free-demo-link { margin-top: 4px; color: var(--bsw-accent-dark); font-size: 14px; }
.bsw .bsw-dialog-copy .bsw-demo-state { margin: 16px 0 12px; color: var(--bsw-muted); font-size: 14px; line-height: 1.55; }

/* One native dialog changes mode; closed dialogs must retain their native hidden state. */
.bsw .bsw-dialog.bsw-dialog--image[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: calc(100% - 24px);
  height: calc(100vh - 24px);
  height: calc(100dvh - 24px);
  max-width: 1440px;
  max-height: none;
  overflow: hidden;
}
.bsw .bsw-dialog--image .bsw-dialog-head { position: relative; gap: 16px; padding: 14px 20px; }
.bsw .bsw-dialog--image .bsw-dialog-head h2 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.bsw .bsw-dialog--image .bsw-dialog-content { min-width: 0; min-height: 0; overflow: hidden; }
.bsw .bsw-image-viewer { display: grid; grid-template-rows: auto auto minmax(0, 1fr); height: 100%; min-width: 0; min-height: 0; }
.bsw .bsw-image-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; padding: 16px 20px 8px; }
.bsw .bsw-image-back { min-height: 44px; max-width: 100%; padding: 9px 14px; font-size: 14px; line-height: 1.4; white-space: normal; }
.bsw .bsw-image-zoom-controls { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; margin-inline: auto; }
.bsw .bsw-image-zoom {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--bsw-radius-control);
  color: var(--bsw-accent-dark);
  background: var(--bsw-control-light);
  box-shadow: var(--bsw-control-shadow-light);
  font: 600 14px/1.4 Arial, Helvetica, sans-serif;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: background .18s ease-out, box-shadow .2s ease-out;
}
.bsw .bsw-image-zoom svg { width: 18px; height: 18px; flex: none; }
.bsw .bsw-image-zoom:disabled { color: #607982; background: #e8eff2; box-shadow: none; cursor: not-allowed; }
.bsw .bsw-image-zoom:not(:disabled):active { box-shadow: var(--bsw-control-shadow-pressed); }
.bsw .bsw-image-scale { min-width: 50px; color: var(--bsw-ink); font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; font-variant-numeric: tabular-nums; }
.bsw .bsw-image-original { display: inline-flex; min-height: 44px; max-width: 100%; align-items: center; color: var(--bsw-accent-dark); font-size: 14px; font-weight: 600; line-height: 1.4; }
.bsw .bsw-image-help { margin: 0; padding: 0 20px 14px; color: var(--bsw-muted); font-size: 14px; line-height: 1.5; }
.bsw .bsw-image-viewport { width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; overflow: auto; overscroll-behavior: contain; border-top: 1px solid var(--bsw-line); background: #e7eff4; scrollbar-color: #92abb5 #edf4f7; }
.bsw .bsw-image-viewport:focus-visible { outline: 3px solid var(--bsw-focus); outline-offset: -4px; }
.bsw .bsw-image-canvas { margin-inline: auto; }
.bsw .bsw-image-full { display: block; width: auto; max-width: none; height: auto; max-height: none; aspect-ratio: auto; border-radius: 0; object-fit: contain; background: #fff; }

@media (hover: hover) and (pointer: fine) {
  .bsw .bsw-image-open:hover .bsw-image-open-label { color: var(--bsw-accent); }
  .bsw .bsw-image-zoom:not(:disabled):hover { background: var(--bsw-control-light-hover); box-shadow: var(--bsw-control-shadow-light); }
}
@media (max-width: 600px) {
  .bsw .bsw-dialog--image .bsw-dialog-head { gap: 12px; padding: 12px 14px; }
  .bsw .bsw-dialog--image .bsw-dialog-head h2 { font-size: 22px; }
  .bsw .bsw-image-toolbar { gap: 8px 12px; padding: 12px 12px 6px; }
  .bsw .bsw-image-original { order: 1; margin-left: auto; }
  .bsw .bsw-image-zoom-controls { order: 2; flex-basis: 100%; justify-content: center; }
  .bsw .bsw-image-help { padding: 0 12px 12px; font-size: 13px; }
}

/* Existing explanation blocks and the contact section. */
.bsw .bsw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; padding-block: 14px 64px; }
.bsw .bsw-split p { max-width: 57ch; }
.bsw .bsw-context { color: var(--bsw-muted); font-size: 16px; }
.bsw .bsw-process { margin: 27px 0 0; padding: 0; list-style: none; }
.bsw .bsw-process li { padding: 15px 0; border-top: 1px solid var(--bsw-line); font-size: 16px; }
.bsw .bsw-process strong { display: block; font-size: 18px; }
/* Contact; Fluent Forms keeps ownership of fields and validation. */
.bsw .bsw-about { padding-block: var(--bsw-section-space); color: #e7f0f2; background: #173c4b; scroll-margin-top: 24px; }
.bsw .bsw-about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); align-items: start; gap: 72px; }
.bsw .bsw-about h2 { color: #fff; }
.bsw .bsw-about p { max-width: 58ch; font-size: 17px; }
.bsw .bsw-contact-copy { min-width: 0; }
.bsw .bsw-contact-copy h2 { margin-bottom: 24px; }
.bsw .bsw-contact-copy > p { color: #e7f0f2; }
.bsw .bsw-contact-copy .bsw-contact-direct { margin: 25px 0 0; color: #c4dce0; font-size: 15px; }
.bsw .bsw-contact-direct a { display: inline-flex; min-height: 44px; align-items: center; max-width: 100%; color: #c1eee6; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.bsw .bsw-about :is(a, button):focus-visible { outline-color: #ffd6a5; }
.bsw .bsw-contact-form {
  --bsw-form-border: #738f9a;
  --bsw-form-error: #a52424;
  min-width: 0;
  padding: 32px;
  border-radius: var(--bsw-radius-surface);
  container: bsw-contact / inline-size;
  color: var(--bsw-ink);
  background: #f9fbfc;
  box-shadow: 0 20px 48px rgba(8, 29, 39, .16);
  font-size: 16px;
  line-height: 1.55;
}
.bsw .bsw-contact-form h3 { max-width: none; margin: 0 0 10px; color: var(--bsw-ink); font-size: 28px; }
.bsw .bsw-contact-form p { max-width: none; color: var(--bsw-muted); font-size: 14px; line-height: 1.6; }
.bsw .bsw-contact-form .bsw-contact-required { margin: 0 0 24px; }
.bsw .bsw-contact-form .ff-el-group { min-width: 0; margin-bottom: 22px; }
.bsw .bsw-contact-form .frm-fluent-form > fieldset { min-width: 0; }
.bsw .bsw-contact-form .ff-el-input--label { margin-bottom: 7px; }
.bsw .bsw-contact-form .ff-el-input--label label { display: inline-block; margin: 0; color: var(--bsw-ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.bsw .bsw-contact-form .ff-el-input--label :is(span, label)::after { color: var(--bsw-form-error); }
.bsw .bsw-contact-form .ff-el-form-control {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--bsw-form-border);
  border-radius: 8px;
  color: var(--bsw-ink);
  background: #fff;
  box-shadow: none;
  font: 400 16px/1.5 Arial, Helvetica, sans-serif;
  caret-color: var(--bsw-accent);
  transition: border-color .18s ease-out;
}
.bsw .bsw-contact-form textarea.ff-el-form-control { min-height: 142px; resize: vertical; }
.bsw .bsw-contact-form .ff-el-form-control::placeholder { color: var(--bsw-muted); opacity: 1; }
.bsw .bsw-contact-form .ff-el-form-control:focus { border-color: var(--bsw-accent); box-shadow: none; }
.bsw .bsw-contact-form :is(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--bsw-focus); outline-offset: 4px; }
.bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit { max-width: 100%; margin: 0; font: 600 16px/1.45 Arial, Helvetica, sans-serif; text-transform: none; white-space: normal; cursor: pointer; }
.bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit:disabled { color: #fff; background: #596e78; box-shadow: none; opacity: 1; cursor: not-allowed; }
.bsw .bsw-contact-form .fluent_form_3 :is(.ff-btn-submit[aria-busy="true"], .ff-btn-submit.ff-working) { cursor: progress; }
.bsw .bsw-contact-form .ff-el-form-control:disabled { color: #4e6370; background: #e7eef2; cursor: not-allowed; }
.bsw .bsw-contact-form :is(.ff-el-is-error .ff-el-form-control, .ff-el-form-control[aria-invalid="true"]) { border-color: var(--bsw-form-error); border-width: 2px; }
.bsw .bsw-contact-form :is(.error, .error.text-danger, .ff-el-error, .ff-errors-in-stack, .ff-el-is-error .text-danger) { color: var(--bsw-form-error); font-size: 14px; line-height: 1.5; }
.bsw .bsw-contact-form .error.text-danger { margin-top: 7px; }
.bsw .bsw-contact-form :is(.ff-errors-in-stack, .ff-message-success) { margin: 20px 0; padding: 14px 16px; border: 1px solid currentColor; border-radius: 8px; font-size: 16px; line-height: 1.6; }
.bsw .bsw-contact-form .ff-errors-in-stack { background: #fff4f3; }
.bsw .bsw-contact-form .ff-message-success { color: #145e50; background: #e8f5f0; box-shadow: none; }
.bsw .bsw-contact-form .ff-message-success p { color: inherit; font-size: inherit; }
.bsw .bsw-contact-form .ff_submit_btn_wrapper { margin-bottom: 0; }
.bsw .bsw-contact-form .bsw-contact-privacy { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--bsw-line); font-size: 13px; }
.bsw .bsw-contact-form .bsw-contact-privacy a { color: var(--bsw-accent-dark); font-weight: 600; }
.bsw .bsw-contact-form .bsw-preview-notice { margin: 12px 0 0; color: #604617; font-size: 13px; }

.bsw .bsw-secondary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; padding-block: 36px; border-bottom: 1px solid var(--bsw-line); }
.bsw .bsw-secondary h2 { font-size: 28px; }
.bsw .bsw-secondary p { max-width: 56ch; margin: 0; color: var(--bsw-muted); font-size: 16px; }
.bsw .bsw-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; color: var(--bsw-muted); font-size: 13px; }
.bsw .bsw-footer p { margin: 0; }
.bsw .bsw-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bsw .bsw-footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--bsw-muted); text-decoration: underline; }
.bsw .bsw-footer-note { max-width: 64ch; text-align: right; }

/* Public and protected galleries share the same visual language. */
.bsw .bsw-gallery-intro { max-width: 840px; padding-block: 44px 28px; }
.bsw .bsw-gallery-intro h1 { max-width: 20ch; font-size: clamp(2.5rem, 4vw, 3.5rem); }
.bsw .bsw-gallery-intro p { max-width: 64ch; margin: 20px 0 0; font-size: 18px; }
.bsw .bsw-gallery-intro .bsw-local-note { color: var(--bsw-muted); font-size: 14px; }
.bsw .bsw-back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 15px; font-size: 14px; }
.bsw .bsw-gallery-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.bsw .bsw-gallery-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 17px; border: 1px solid transparent; border-radius: 9px; background: var(--bsw-control-light); box-shadow: var(--bsw-control-shadow-light); font-size: 15px; text-decoration: none; transition: background .18s ease-out, box-shadow .2s ease-out, transform .2s var(--bsw-ease); }
.bsw .bsw-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 48px; }
.bsw .bsw-demo { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: var(--bsw-radius-surface); background: var(--bsw-glass); box-shadow: var(--bsw-shadow); scroll-margin-top: 24px; }
.bsw .bsw-demo-image { width: 100%; aspect-ratio: 1.9; object-fit: cover; object-position: center top; }
/* Portrait examples retain the complete source; format thumbs keep their compact frame. */
.bsw .bsw-format-thumb img.bsw-media-portrait { object-fit: contain; object-position: center; background: #fff; }
.bsw .bsw-demo-image.bsw-media-portrait { aspect-ratio: auto; max-height: 560px; object-fit: contain; object-position: center; background: #fff; }
.bsw .bsw-demo-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px 28px 28px; }
.bsw .bsw-demo-copy h2 { max-width: none; font-size: 29px; }
.bsw .bsw-demo-copy p { margin: 15px 0 0; font-size: 16px; line-height: 1.65; }
.bsw .bsw-demo-copy .bsw-demo-title { margin-top: 13px; font-size: 18px; font-weight: 600; }
.bsw .bsw-demo-copy .bsw-try { margin-bottom: 22px; color: var(--bsw-muted); font-size: 15px; }
.bsw .bsw-demo-copy .bsw-button { margin-top: auto; }
.bsw .bsw-demo-copy .bsw-status { display: none; }
.bsw .bsw-demo-copy .bsw-access-label, .bsw .bsw-access-label { margin: 0 0 14px; color: var(--bsw-accent-dark); font-size: 14px; font-weight: 600; }
.bsw .bsw-demo-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.bsw .bsw-demo-copy .bsw-demo-buttons .bsw-button { margin-top: 0; }
.bsw .bsw-demo-copy .bsw-audio-scope { margin: 17px 0 0; color: var(--bsw-muted); font-size: 14px; }
.bsw .bsw-audio-visual { display: flex; height: auto; aspect-ratio: 1.9; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px; color: #b6e7df; background: #173b4a; }
.bsw .bsw-audio-visual svg { width: min(240px, 80%); height: 52px; }
.bsw .bsw-audio-visual span { color: #d3e8e8; font-size: 15px; }
.bsw .bsw-demo audio { width: 100%; max-width: 100%; margin: 20px 0 18px; }
.bsw .bsw-demo details { width: 100%; padding-top: 8px; border-top: 1px solid var(--bsw-line); font-size: 15px; }
.bsw .bsw-demo summary { min-height: 44px; padding: 9px 0; font-weight: 600; cursor: pointer; }
.bsw .bsw-demo details p { margin: 10px 0 0; font-size: 15px; }
.bsw .bsw-gallery-note { max-width: 80ch; padding: 0 0 44px; color: var(--bsw-muted); font-size: 14px; }
.bsw .bsw-gallery-note a { font-weight: 600; }

/* Public invitation and local 401 recovery share the existing branded controls. */
.bsw.bsw-access-shell { display: flex; min-height: 100vh; min-height: 100svh; flex-direction: column; }
.bsw .bsw-access-content { flex: 1; max-width: 780px; padding-block: 46px 64px; }
.bsw .bsw-access-content h1 { max-width: 22ch; font-size: clamp(2.25rem, 4vw, 3.25rem); }
.bsw .bsw-access-intro { max-width: 62ch; margin: 22px 0 16px; font-size: 18px; }
.bsw .bsw-access-instruction { max-width: 64ch; margin-bottom: 28px; color: var(--bsw-muted); font-size: 16px; }
.bsw .bsw-access-choices { padding: 4px 0; border-block: 1px solid var(--bsw-line); }
.bsw .bsw-access-choice { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.bsw .bsw-access-choice + .bsw-access-choice { border-top: 1px solid var(--bsw-line); }
.bsw .bsw-access-choice[hidden] { display: none; }
.bsw .bsw-access-choice h2 { max-width: none; font-size: 28px; }
.bsw .bsw-access-choice p { max-width: 42ch; margin: 9px 0 0; color: var(--bsw-muted); font-size: 15px; }
.bsw .bsw-access-choice .bsw-button { flex-shrink: 0; }
.bsw .bsw-access-help { margin-top: 28px; color: var(--bsw-muted); font-size: 15px; }
.bsw .bsw-access-help a { font-weight: 600; }
.bsw .bsw-access-recovery { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px; }
.bsw .bsw-access-noscript { max-width: 64ch; margin-top: 18px; color: var(--bsw-muted); font-size: 15px; }
.bsw .bsw-demo-image.bsw-reddit-preview, .bsw .bsw-demo-image.bsw-whatsapp-preview { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: #fff; }
@media (max-width: 760px) {
  .bsw .bsw-access-content { padding-block: 26px 42px; }
  .bsw .bsw-access-intro { font-size: 17px; }
  .bsw .bsw-access-choice { align-items: flex-start; flex-direction: column; gap: 18px; }
  .bsw .bsw-access-choice .bsw-button { width: 100%; }
  .bsw .bsw-access-recovery { flex-direction: column; }
  .bsw .bsw-access-recovery .bsw-button { width: 100%; }
}

/* Compatibility with the earlier simple format list. */
.bsw .bsw-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: 54px; padding-block: 24px; border-block: 1px solid var(--bsw-line); }
.bsw .bsw-format { display: block; text-decoration: none; }
.bsw .bsw-format strong { display: flex; justify-content: space-between; align-items: center; font-family: BaeckBarlow, Arial, sans-serif; font-size: 25px; font-weight: 600; }
.bsw .bsw-format span { display: block; margin-top: 6px; color: var(--bsw-muted); font-size: 15px; line-height: 1.55; }

/* Optional identity fields share a row only when the form card has room.
   :has is purely visual; unsupported browsers retain the usable single column. */
@container bsw-contact (min-width: 440px) {
  .bsw .bsw-contact-form :is(.frm-fluent-form > fieldset, .bsw-form-preview) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .bsw .bsw-contact-form :is(.frm-fluent-form > fieldset, .bsw-form-preview) > * { grid-column: 1 / -1; }
  .bsw .bsw-contact-form :is(.frm-fluent-form > fieldset, .bsw-form-preview) > .ff-el-group:has(input[name="input_text"], input[name="company"]) { grid-column: auto; }
}

@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .bsw .bsw-head, .bsw .bsw-dialog-head { -webkit-backdrop-filter: blur(14px) saturate(1.12); backdrop-filter: blur(14px) saturate(1.12); }
  .bsw .bsw-format-item, .bsw .bsw-usecase { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .bsw :is(.bsw-button-secondary, .bsw-nav-cta, .bsw-gallery-nav a, .bsw-dialog-close) { -webkit-backdrop-filter: blur(12px) saturate(1.12); backdrop-filter: blur(12px) saturate(1.12); }
}

@media (hover: hover) and (pointer: fine) {
  .bsw .bsw-nav a:hover { text-decoration: underline; }
  .bsw .bsw-nav .bsw-nav-cta:not(:active):hover, .bsw .bsw-gallery-nav a:not(:active):hover { color: var(--bsw-accent-dark); background: var(--bsw-control-light-hover); transform: translateY(-2px); }
  .bsw .bsw-button:not(:active):hover, .bsw .bsw-dialog-action:not(:active):hover, .bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit:not(:disabled):not(:active):hover { color: #fff; background: var(--bsw-control-primary-hover); box-shadow: var(--bsw-control-shadow-hover); transform: translateY(-2px); }
  .bsw .bsw-button-secondary:not(:active):hover { color: var(--bsw-accent-dark); background: var(--bsw-control-light-hover); box-shadow: var(--bsw-control-shadow-light); }
  .bsw .bsw-contact-direct a:hover { color: #fff; }
  .bsw .bsw-text-link:hover, .bsw .bsw-format:hover strong { color: var(--bsw-accent-dark); }
  .bsw .bsw-usecase:not(:disabled):not(:active):hover { background: var(--bsw-control-light-hover); box-shadow: var(--bsw-shadow), inset 0 1px 0 #fff; transform: translateY(-2px); }
  .bsw .bsw-dialog-close:not(:active):hover { background: var(--bsw-control-light-hover); transform: translateY(-2px); }
}

/* Pressed feedback is shared by authored controls; keyboard focus stays visible. */
.bsw :is(.bsw-button, .bsw-dialog-action, .bsw-nav-cta, .bsw-gallery-nav a, .bsw-dialog-close, .bsw-usecase):active,
.bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit:not(:disabled):active { transform: translateY(0); box-shadow: var(--bsw-control-shadow-pressed); }

@media (max-width: 1100px) {
  .bsw .bsw-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; padding-block: 54px; }
  .bsw .bsw-nav { gap: 8px 15px; }
  .bsw .bsw-format-item { padding-inline: 10px; }
  .bsw .bsw-format-item h3 { font-size: 23px; }
  .bsw .bsw-format-item p { font-size: 14px; }
  .bsw .bsw-usecases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsw .bsw-usecase { min-height: 118px; }
  .bsw .bsw-split, .bsw .bsw-about-inner, .bsw .bsw-secondary { gap: 48px; }
}

@media (max-width: 900px) {
  .bsw .bsw-head-inner { flex-wrap: wrap; gap: 10px 24px; }
  .bsw .bsw-format-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bsw .bsw-format-item { padding: 10px 10px 18px; }
  .bsw .bsw-format-item p { font-size: 15px; }
  .bsw .bsw-hero { gap: 28px; }
  .bsw h1 { font-size: 44px; }
  .bsw .bsw-dialog-body { gap: 22px; padding: 24px; }
}

@media (max-width: 760px) {
  .bsw .bsw-wrap { width: calc(100% - 40px); }
  .bsw .bsw-head-inner { align-items: flex-start; gap: 12px; padding-block: 14px 10px; }
  .bsw .bsw-logo { width: 44px; height: 44px; }
  .bsw .bsw-brand-name { font-size: 21px; }
  .bsw .bsw-brand-sub { font-size: 11px; }
  .bsw .bsw-nav { width: 100%; justify-content: space-between; gap: 6px 12px; font-size: 14px; }
  .bsw .bsw-nav .bsw-nav-cta { padding: 8px 12px; }
  .bsw .bsw-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 42px 48px; }
  .bsw h1 { max-width: 18ch; font-size: clamp(2.35rem, 7vw, 3rem); }
  .bsw h2 { font-size: 32px; }
  .bsw .bsw-lead { max-width: 60ch; margin: 18px 0 21px; font-size: 17px; }
  .bsw .bsw-preview { max-width: 500px; margin: 0; }
  .bsw .bsw-preview img { aspect-ratio: 1.9; }
  .bsw { --bsw-section-space: 48px; }
  .bsw .bsw-formats-section h2, .bsw .bsw-usecases h2 { font-size: 28px; }
  .bsw .bsw-format-gallery { gap: 16px; }
  .bsw .bsw-format-item { padding: 8px 8px 13px; }
  .bsw .bsw-format-item h3 { margin-inline: 7px; font-size: 23px; }
  .bsw .bsw-format-item p { margin-inline: 7px; font-size: 14px; }
  .bsw .bsw-format-item .bsw-text-link { margin-inline: 7px; }
  .bsw .bsw-format-thumb { margin-bottom: 14px; }
  .bsw .bsw-usecases { padding-top: 0; }
  .bsw .bsw-usecases-intro { margin-block: 15px 22px; }
  .bsw .bsw-usecase { min-height: 130px; gap: 8px; padding: 18px 32px 17px 16px; }
  .bsw .bsw-usecase-title { font-size: 19px; }
  .bsw .bsw-usecase-plus { right: 12px; bottom: 15px; width: 18px; height: 18px; }
  .bsw .bsw-usecases-more { margin-top: 22px; }
  .bsw .bsw-dialog-body { grid-template-columns: 1fr; gap: 21px; padding: 20px; }
  .bsw .bsw-dialog-head { gap: 14px; padding: 14px 14px 14px 20px; }
  .bsw .bsw-dialog-head h2 { font-size: 26px; }
  .bsw .bsw-dialog-figure img { max-height: 38vh; max-height: 38dvh; }
  .bsw .bsw-dialog-copy p { margin-bottom: 15px; }
  .bsw .bsw-split, .bsw .bsw-about-inner, .bsw .bsw-secondary { grid-template-columns: 1fr; gap: 23px; }
  .bsw .bsw-split { padding-bottom: 42px; }
  .bsw .bsw-about { padding-block: 48px; }
  .bsw .bsw-contact-copy h2 { margin-bottom: 20px; }
  .bsw .bsw-contact-form { padding: 24px; }
  .bsw .bsw-secondary { padding-block: 32px; }
  .bsw .bsw-secondary h2 { font-size: 26px; }
  .bsw .bsw-footer { flex-direction: column; align-items: flex-start; gap: 5px; padding-block: 18px; }
  .bsw .bsw-footer-note { text-align: left; }
  .bsw .bsw-gallery-intro { padding-block: 30px 26px; }
  .bsw .bsw-gallery-intro h1 { font-size: clamp(2.25rem, 7vw, 3rem); }
  .bsw .bsw-gallery-intro p { font-size: 17px; }
  .bsw .bsw-gallery { grid-template-columns: 1fr; gap: 24px; padding-bottom: 36px; }
  .bsw .bsw-demo-copy { padding: 24px; }
  .bsw .bsw-demo-buttons { width: 100%; flex-direction: column; }
  .bsw .bsw-demo-buttons .bsw-button { width: 100%; }
  .bsw .bsw-gallery-nav { gap: 8px; margin-bottom: 25px; }
  .bsw .bsw-gallery-nav a { padding: 8px 14px; }
  .bsw .bsw-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; margin-bottom: 42px; }
}

@media (max-width: 480px) {
  .bsw .bsw-contact-form { padding: 20px; }
  .bsw .bsw-contact-form h3 { font-size: 26px; }
  .bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit { width: 100%; }
  .bsw .bsw-format-gallery { grid-template-columns: 1fr; }
  .bsw .bsw-format-item { padding: 10px 10px 15px; }
  .bsw .bsw-format-thumb img { aspect-ratio: 2; }
  .bsw .bsw-format-item h3 { font-size: 25px; }
  .bsw .bsw-format-item p { font-size: 16px; }
  .bsw .bsw-format-item .bsw-text-link { font-size: 15px; }
  .bsw .bsw-usecases-grid { gap: 10px; }
  .bsw .bsw-usecase { min-height: 142px; padding: 16px 14px 32px; }
  .bsw .bsw-usecase-title { font-size: 18px; }
  .bsw .bsw-usecase-purpose { font-size: 14px; }
  .bsw .bsw-usecase-plus { right: 13px; bottom: 11px; width: 17px; height: 17px; }
  .bsw .bsw-dialog { width: calc(100% - 20px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: var(--bsw-radius-tile); }
  .bsw .bsw-dialog-head { padding-left: 18px; }
  .bsw .bsw-dialog-head h2 { font-size: 24px; }
  .bsw .bsw-dialog-body { padding: 18px; }
  .bsw .bsw-dialog-action { width: 100%; }
}

@media (max-width: 420px) {
  .bsw .bsw-usecases-grid { grid-template-columns: 1fr; }
  .bsw .bsw-usecase { min-height: 108px; padding: 18px 38px 18px 18px; }
  .bsw .bsw-usecase-title { font-size: 20px; }
}

@media (max-width: 360px) {
  .bsw .bsw-wrap { width: calc(100% - 32px); }
  .bsw .bsw-nav { gap: 6px 10px; font-size: 13px; }
  .bsw .bsw-preview-top { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .bsw { scroll-behavior: auto; }
  .bsw *, .bsw *::before, .bsw *::after { scroll-behavior: auto; transition: none; animation: none; }
  .bsw :is(.bsw-button, .bsw-dialog-action, .bsw-nav .bsw-nav-cta, .bsw-gallery-nav a, .bsw-dialog-close, .bsw-usecase):not(:active):hover,
  .bsw .bsw-contact-form .fluent_form_3 .ff-btn-submit:not(:disabled):not(:active):hover { transform: none; }
}
