:root {
  --bn-sq-bg: #080b1f;
  --bn-sq-panel: #11162f;
  --bn-sq-panel-soft: #171d3d;
  --bn-sq-line: #313963;
  --bn-sq-text: #f7f8ff;
  --bn-sq-muted: #aeb6d6;
  --bn-sq-accent: #7c5cff;
  --bn-sq-accent-2: #38d0e8;
  --bn-sq-brand-blue: #1f86d9;
  --bn-sq-warm: #ffb547;
  --bn-sq-danger: #ff8f9e;
}

@property --bn-sq-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

body.bn-sq-open { overflow: hidden !important; }
.bn-sq[hidden] { display: none !important; }
.bn-sq, .bn-sq * { box-sizing: border-box; }
.bn-sq { position: fixed; z-index: 2147483000; inset: 0; color: var(--bn-sq-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bn-sq__backdrop { position: absolute; inset: 0; background: rgba(3, 6, 21, .72); backdrop-filter: blur(7px); }
.bn-sq__dialog { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; width: 100%; max-height: min(94vh, 850px); overflow: hidden; border: 1px solid var(--bn-sq-line); border-radius: 24px 24px 0 0; background: var(--bn-sq-bg) radial-gradient(700px 300px at 50% -120px, rgba(124, 92, 255, .34), transparent 72%); box-shadow: 0 -24px 80px rgba(0, 0, 0, .45), 0 0 34px rgba(56, 208, 232, .12); }
.bn-sq__dialog::before { content: ""; position: absolute; z-index: 4; inset: -1px; padding: 2px; border-radius: inherit; background: conic-gradient(from var(--bn-sq-glow-angle), transparent 0deg 238deg, rgba(124, 92, 255, .18) 258deg, rgba(56, 208, 232, .92) 286deg, rgba(247, 248, 255, .95) 302deg, rgba(124, 92, 255, .78) 320deg, transparent 345deg 360deg); filter: drop-shadow(0 0 7px rgba(56, 208, 232, .72)); pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: bn-sq-border-orbit 5.5s linear infinite; }

@keyframes bn-sq-border-orbit {
  to { --bn-sq-glow-angle: 360deg; }
}
.bn-sq__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 14px; }
.bn-sq__eyebrow { display: block; margin-bottom: 3px; color: #8be8f6; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bn-sq__progress-copy { margin: 0; color: var(--bn-sq-muted); font-size: 13px; }
.bn-sq__close { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--bn-sq-line); border-radius: 50%; color: var(--bn-sq-text); background: var(--bn-sq-panel); font: 400 28px/1 Arial, sans-serif; cursor: pointer; }
.bn-sq__close:hover { background: var(--bn-sq-panel-soft); }
.bn-sq__progress { height: 4px; background: #171c37; }
.bn-sq__progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--bn-sq-accent), var(--bn-sq-accent-2)); transition: width .25s ease; }
.bn-sq__form { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.bn-sq__body { min-height: 0; padding: 28px 22px 16px; overflow-y: auto; }
.bn-sq__question { width: min(100%, 680px); margin: 0 auto; }
.bn-sq__question h2, .bn-sq__summary h2 { margin: 0; color: var(--bn-sq-text); font-size: clamp(27px, 7vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.bn-sq__question h2:focus, .bn-sq__summary h2:focus { outline: none; }
.bn-sq__question > p { margin: 12px 0 24px; color: var(--bn-sq-muted); font-size: 16px; line-height: 1.5; }
.bn-sq__question[data-question="goal"] > p { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(56, 208, 232, .38); border-left: 4px solid #8be8f6; border-radius: 10px; color: #dce4ff; background: linear-gradient(90deg, rgba(56, 208, 232, .13), rgba(124, 92, 255, .08)); font-weight: 650; box-shadow: 0 8px 28px rgba(0, 0, 0, .14); }
.bn-sq__question[data-question="goal"] > p::before { content: "Starting point"; display: block; margin-bottom: 5px; color: #8be8f6; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bn-sq__profile, .bn-sq__contact { display: grid; gap: 16px; }
.bn-sq__field { display: grid; gap: 7px; color: var(--bn-sq-text); font-size: 14px; font-weight: 700; }
.bn-sq__field b { color: var(--bn-sq-warm); }
.bn-sq__field input, .bn-sq__field select, .bn-sq__field textarea { width: 100%; min-height: 50px; margin: 0; padding: 13px 14px; border: 1px solid var(--bn-sq-line); border-radius: 11px; outline: none; color: var(--bn-sq-text); background: var(--bn-sq-panel); font: 500 16px/1.35 inherit; color-scheme: dark; }
.bn-sq__field select { padding-right: 48px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23cbd3f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 8px; }
.bn-sq__field textarea { min-height: 140px; resize: vertical; }
.bn-sq__field input:focus, .bn-sq__field select:focus, .bn-sq__field textarea:focus { border-color: #8be8f6; box-shadow: 0 0 0 3px rgba(56, 208, 232, .17); }
.bn-sq__field [aria-invalid="true"] { border-color: var(--bn-sq-danger); box-shadow: 0 0 0 3px rgba(255, 143, 158, .13); }
.bn-sq__choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.bn-sq__choices[data-question="goal"] { grid-auto-rows: 1fr; }
.bn-sq__choice { position: relative; cursor: pointer; }
.bn-sq__choices[data-question="goal"] .bn-sq__choice, .bn-sq__choices[data-question="goal"] .bn-sq__choice span { height: 100%; }
.bn-sq__choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bn-sq__choice span { position: relative; display: flex; min-height: 54px; padding: 14px 16px; align-items: center; border: 1px solid var(--bn-sq-line); border-radius: 12px; color: var(--bn-sq-text); background: var(--bn-sq-panel); font-size: 16px; font-weight: 650; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.bn-sq__choice span::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; margin-right: 12px; border: 2px solid #727ca7; border-radius: 6px; background: rgba(8, 11, 31, .34); transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.bn-sq__choice span::after { content: ""; position: absolute; left: 23px; top: 50%; width: 6px; height: 11px; border: solid #091126; border-width: 0 3px 3px 0; opacity: 0; transform: translateY(-64%) rotate(45deg) scale(.65); transition: opacity .16s ease, transform .16s ease; }
.bn-sq__choice input:checked + span { border-color: #8be8f6; background: rgba(56, 208, 232, .1); }
.bn-sq__choice input:checked + span::before { border-color: #8be8f6; background: #8be8f6; box-shadow: 0 0 0 3px rgba(56, 208, 232, .18), 0 0 14px rgba(56, 208, 232, .38); }
.bn-sq__choice input:checked + span::after { opacity: 1; transform: translateY(-64%) rotate(45deg) scale(1); }
.bn-sq__choice input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.bn-sq__counter { justify-self: end; color: var(--bn-sq-muted); font-size: 12px; font-weight: 500; }
.bn-sq__response-tools { display: grid; gap: 12px; margin-top: 18px; padding: 16px; border: 1px solid var(--bn-sq-line); border-radius: 14px; background: linear-gradient(145deg, rgba(23, 29, 61, .9), rgba(11, 15, 39, .94)); }
.bn-sq__response-label { margin: 0; color: var(--bn-sq-text); font-size: 14px; font-weight: 800; }
.bn-sq__response-actions { display: grid; gap: 10px; }
.bn-sq__record-button { display: inline-flex; min-height: 48px; gap: 10px; padding: 11px 14px; align-items: center; justify-content: center; border: 1px solid rgba(139, 232, 246, .42); border-radius: 11px; color: #e9faff; background: rgba(56, 208, 232, .08); font: 750 14px/1.25 inherit; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.bn-sq__record-button svg { width: 20px; height: 20px; flex: 0 0 20px; fill: #8be8f6; }
.bn-sq__record-button:hover { border-color: #8be8f6; background: rgba(56, 208, 232, .16); box-shadow: 0 8px 24px rgba(56, 208, 232, .13); transform: translateY(-1px); }
.bn-sq__record-button.is-recording { border-color: #ff8f9e; color: #fff; background: rgba(255, 93, 116, .15); box-shadow: 0 0 0 3px rgba(255, 143, 158, .12); }
.bn-sq__record-button.is-recording svg { fill: #ff8f9e; }
.bn-sq__record-button.is-counting { border-color: var(--bn-sq-warm); color: #fff2d7; background: rgba(255, 181, 71, .13); box-shadow: 0 0 0 3px rgba(255, 181, 71, .1); }
.bn-sq__record-button.is-counting svg { fill: var(--bn-sq-warm); }
.bn-sq__record-button:focus-visible, .bn-sq__media-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bn-sq__media-note { margin: 0; color: #8f99bf; font-size: 12px; line-height: 1.5; }
.bn-sq__video-panel { display: grid; gap: 10px; padding: 10px; border: 1px solid rgba(139, 232, 246, .28); border-radius: 12px; background: #080b1f; }
.bn-sq__video-panel[hidden] { display: none !important; }
.bn-sq__video-preview { display: block; width: 100%; max-height: 260px; border-radius: 9px; background: #030615; object-fit: contain; }
.bn-sq__video-meta { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.bn-sq__video-timer { color: var(--bn-sq-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.bn-sq__media-link { padding: 6px 8px; border: 0; color: #8be8f6; background: transparent; font: 750 12px/1.2 inherit; text-decoration: underline; cursor: pointer; }
.bn-sq__media-link--danger { color: #ff9eaa; }
.bn-sq__attachment-stack { display: grid; gap: 9px; }
.bn-sq__attachment { display: flex; min-height: 58px; gap: 12px; padding: 11px 13px; align-items: center; flex-wrap: wrap; border: 1px solid var(--bn-sq-line); border-radius: 11px; background: rgba(8, 11, 31, .72); }
.bn-sq__attachment[hidden] { display: none !important; }
.bn-sq__attachment-copy { display: grid; min-width: 170px; flex: 1 1 220px; gap: 2px; }
.bn-sq__attachment strong { color: var(--bn-sq-text); font-size: 13px; line-height: 1.3; }
.bn-sq__attachment small { color: var(--bn-sq-muted); font-size: 11px; line-height: 1.4; }
.bn-sq__attachment-action { display: inline-flex; min-height: 36px; gap: 7px; margin-left: auto; padding: 8px 11px; align-items: center; justify-content: center; border: 1px solid rgba(255, 143, 158, .48); border-radius: 9px; color: #ffc0c8; background: rgba(255, 143, 158, .08); font: 800 11px/1.2 inherit; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.bn-sq__attachment-action:hover { border-color: #ff9eaa; color: #fff; background: rgba(159, 35, 64, .72); transform: translateY(-1px); }
.bn-sq__attachment-action:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bn-sq__attachment-action:disabled { opacity: .7; cursor: wait; transform: none; }
.bn-sq__attachment-icon { position: relative; display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 2px solid #66719d; border-radius: 50%; }
.bn-sq__attachment.is-loading { border-color: rgba(56, 208, 232, .36); background: rgba(56, 208, 232, .07); }
.bn-sq__attachment.is-loading .bn-sq__attachment-icon { border-color: rgba(139, 232, 246, .22); border-top-color: #8be8f6; animation: bn-sq-spin .8s linear infinite; }
.bn-sq__attachment.is-attached { border-color: rgba(98, 227, 156, .42); background: rgba(98, 227, 156, .08); box-shadow: inset 3px 0 0 #62e39c; }
.bn-sq__attachment.is-attached .bn-sq__attachment-icon { border-color: #62e39c; background: #62e39c; }
.bn-sq__attachment.is-attached .bn-sq__attachment-icon::before { content: ""; width: 7px; height: 13px; border: solid #06140d; border-width: 0 3px 3px 0; transform: translateY(-1px) rotate(45deg); }
.bn-sq__attachment.is-error { border-color: rgba(255, 143, 158, .5); background: rgba(255, 143, 158, .08); }
.bn-sq__attachment.is-error .bn-sq__attachment-icon { border-color: var(--bn-sq-danger); }
.bn-sq__attachment.is-error .bn-sq__attachment-icon::before { content: "!"; color: var(--bn-sq-danger); font-weight: 900; }
.bn-sq__media-status { min-height: 18px; margin: 0; color: #9cecc2; font-size: 12px; font-weight: 650; line-height: 1.45; }
.bn-sq__media-status.is-error { color: var(--bn-sq-danger); }
.bn-sq__field-error { min-height: 17px; color: var(--bn-sq-danger); font-size: 12px; font-weight: 650; }
.bn-sq__errors { width: min(100% - 44px, 680px); min-height: 20px; margin: 0 auto; color: var(--bn-sq-danger); font-size: 13px; font-weight: 700; }
.bn-sq__consent { display: flex; gap: 11px; margin-top: 18px; align-items: flex-start; color: var(--bn-sq-muted); font-size: 13px; line-height: 1.45; cursor: pointer; }
.bn-sq__consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bn-sq-accent); }
.bn-sq__privacy { margin: 12px 0 0; color: #818aad; font-size: 12px; line-height: 1.5; }
.bn-sq__privacy a { color: #8be8f6; }
.bn-sq__footer { display: flex; gap: 12px; padding: 14px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--bn-sq-line); background: rgba(8, 11, 31, .96); }
.bn-sq__button { display: inline-flex; min-height: 50px; padding: 13px 20px; align-items: center; justify-content: center; border: 1px solid var(--bn-sq-line); border-radius: 12px; color: var(--bn-sq-text); background: var(--bn-sq-panel); font-size: 15px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.bn-sq__button--next { flex: 1; border-color: transparent; color: #0d1025; background: linear-gradient(135deg, var(--bn-sq-warm), #ffd076); }
.bn-sq__button--back[hidden] { display: none; }
.bn-sq__button:hover { transform: translateY(-1px); }
.bn-sq__button--next:hover, .bn-sq__button--next:focus-visible { border-color: rgba(139, 232, 246, .7); color: #fff; background: linear-gradient(135deg, var(--bn-sq-brand-blue), #245dcc); box-shadow: 0 10px 28px rgba(31, 134, 217, .38), 0 0 0 3px rgba(56, 208, 232, .12); }
.bn-sq__button:focus-visible, .bn-sq__close:focus-visible, .bn-sq__summary-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bn-sq__button:disabled { opacity: .65; cursor: wait; transform: none; }
.bn-sq__trap { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.bn-sq__record-countdown { position: absolute; z-index: 10; inset: 0; display: grid; place-items: center; background: rgba(3, 6, 21, .72); backdrop-filter: blur(5px); pointer-events: none; }
.bn-sq__record-countdown[hidden] { display: none !important; }
.bn-sq__record-countdown-card { display: grid; min-width: 210px; padding: 28px; place-items: center; border: 1px solid rgba(139, 232, 246, .5); border-radius: 22px; background: rgba(8, 11, 31, .96); box-shadow: 0 22px 60px rgba(0, 0, 0, .48), 0 0 34px rgba(56, 208, 232, .18); }
.bn-sq__record-countdown-icon { width: 13px; height: 13px; margin-bottom: 8px; border-radius: 50%; background: var(--bn-sq-danger); box-shadow: 0 0 0 7px rgba(255, 143, 158, .1); animation: bn-sq-record-pulse 1s ease-in-out infinite; }
.bn-sq__record-countdown strong { color: #fff; font-size: 72px; line-height: 1; font-variant-numeric: tabular-nums; }
.bn-sq__record-countdown p { margin: 9px 0 0; color: var(--bn-sq-muted); font-size: 13px; font-weight: 750; }
.bn-sq__floating-stop { position: absolute; z-index: 12; right: 20px; bottom: 94px; display: inline-flex; min-width: 112px; gap: 9px; padding: 10px 14px; align-items: center; justify-content: center; border: 1px solid rgba(255, 143, 158, .72); border-radius: 999px; color: #fff; background: rgba(70, 12, 26, .95); box-shadow: 0 12px 38px rgba(0, 0, 0, .4), 0 0 22px rgba(255, 86, 111, .28); font: 800 12px/1.2 inherit; cursor: pointer; animation: bn-sq-float 2s ease-in-out infinite; }
.bn-sq__floating-stop[hidden] { display: none !important; }
.bn-sq__floating-stop:hover { background: #9f2340; transform: translateY(-2px); }
.bn-sq__floating-stop:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bn-sq__floating-stop-icon { display: block; width: 16px; height: 16px; border: 4px solid #ff8f9e; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 143, 158, .12); }
.bn-sq__floating-stop.is-countdown { border-color: rgba(255, 181, 71, .78); background: rgba(91, 59, 12, .96); box-shadow: 0 12px 38px rgba(0, 0, 0, .4), 0 0 22px rgba(255, 181, 71, .2); }
.bn-sq__floating-stop.is-countdown .bn-sq__floating-stop-icon { border-color: var(--bn-sq-warm); }

@keyframes bn-sq-spin { to { transform: rotate(360deg); } }
@keyframes bn-sq-record-pulse { 50% { box-shadow: 0 0 0 13px rgba(255, 143, 158, 0); transform: scale(1.08); } }
@keyframes bn-sq-float { 50% { transform: translateY(-5px); } }
.bn-sq__summary { width: min(100%, 700px); margin: 0 auto; text-align: center; }
.bn-sq__summary-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 18px; color: #06140d; background: #62e39c; font-size: 28px; font-weight: 900; }
.bn-sq__summary-kicker { margin: 0 0 10px; color: #8be8f6; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bn-sq__summary ul { display: grid; gap: 12px; margin: 26px 0; padding: 0; text-align: left; list-style: none; }
.bn-sq__summary li { position: relative; padding: 16px 16px 16px 48px; border: 1px solid var(--bn-sq-line); border-radius: 13px; color: var(--bn-sq-muted); background: var(--bn-sq-panel); line-height: 1.5; }
.bn-sq__summary li::before { content: "✓"; position: absolute; left: 17px; top: 15px; color: #62e39c; font-weight: 900; }
.bn-sq__button--cta { width: 100%; border-color: transparent; color: #0d1025 !important; background: linear-gradient(135deg, var(--bn-sq-warm), #ffd076); }
.bn-sq__summary-close { margin: 14px auto 0; padding: 8px 12px; border: 0; color: var(--bn-sq-muted); background: transparent; text-decoration: underline; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (min-width: 720px) {
  .bn-sq__dialog { inset: 50% auto auto 50%; width: min(92vw, 820px); max-height: min(88vh, 820px); transform: translate(-50%, -50%); border-radius: 26px; }
  .bn-sq__header { padding: 24px 32px 16px; }
  .bn-sq__body { padding: 38px 32px 22px; }
  .bn-sq__footer { padding: 18px 32px 26px; }
  .bn-sq__button--next { flex: 0 1 290px; margin-left: auto; }
  .bn-sq__profile { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bn-sq__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-sq__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-sq__response-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .bn-sq *, .bn-sq *::before, .bn-sq *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
