.scvbf,
.scvbf * {
  box-sizing: border-box;
}

.scvbf {
  --scvbf-navy: #071821;
  --scvbf-charcoal: #0b1115;
  --scvbf-cyan: #31acd9;
  --scvbf-accent: #0a98ac;
  --scvbf-white: #ffffff;
  position: fixed;
  z-index: 2147482000;
  bottom: calc(22px + env(safe-area-inset-bottom));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--scvbf-navy);
}

.scvbf-right { right: 22px; }
.scvbf-left { left: 22px; }

.scvbf-open {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--scvbf-accent), var(--scvbf-cyan));
  color: var(--scvbf-white);
  box-shadow: 0 18px 48px rgba(0,0,0,.32), 0 0 0 1px rgba(10,152,172,.14);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.scvbf-open:hover,
.scvbf-open:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(0,0,0,.38), 0 0 0 4px rgba(49,172,217,.18);
  outline: none;
}

.scvbf-open-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.scvbf-open-icon svg {
  width: 21px;
  height: 21px;
}

.scvbf-nudge {
  position: absolute;
  bottom: 66px;
  width: min(310px, calc(100vw - 32px));
  padding: 17px 42px 17px 18px;
  border: 1px solid rgba(10,152,172,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 62px rgba(0,0,0,.25);
  animation: scvbf-pop .28s ease both;
}

.scvbf-right .scvbf-nudge { right: 0; }
.scvbf-left .scvbf-nudge { left: 0; }

.scvbf-nudge::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1px solid rgba(10,152,172,.18);
  border-bottom: 1px solid rgba(10,152,172,.18);
  transform: rotate(45deg);
}

.scvbf-right .scvbf-nudge::after { right: 26px; }
.scvbf-left .scvbf-nudge::after { left: 26px; }

.scvbf-nudge strong,
.scvbf-nudge span {
  display: block;
}

.scvbf-nudge strong {
  margin-bottom: 5px;
  color: var(--scvbf-navy);
  font-size: 14px;
}

.scvbf-nudge span {
  color: #52666f;
  font-size: 13px;
  line-height: 1.5;
}

.scvbf-nudge-close,
.scvbf-close {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.scvbf-nudge-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #687980;
  font-size: 20px;
  line-height: 1;
}

.scvbf-nudge-close:hover,
.scvbf-nudge-close:focus-visible {
  background: #eef5f6;
  outline: none;
}

.scvbf-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147482001;
  background: rgba(2,8,11,.62);
  backdrop-filter: blur(5px);
}

.scvbf-panel {
  position: fixed;
  z-index: 2147482002;
  top: 18px;
  bottom: 18px;
  width: min(480px, calc(100vw - 36px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(10,152,172,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49,172,217,.12), transparent 34%),
    #fff;
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
  overscroll-behavior: contain;
  animation: scvbf-slide .28s ease both;
}

.scvbf-right .scvbf-panel { right: 18px; }
.scvbf-left .scvbf-panel { left: 18px; }

.scvbf-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.scvbf-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--scvbf-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scvbf-panel h2 {
  margin: 0;
  color: var(--scvbf-navy);
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.05;
  letter-spacing: -.8px;
}

.scvbf-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #edf5f6;
  color: var(--scvbf-navy);
  font-size: 27px;
  line-height: 1;
}

.scvbf-close:hover,
.scvbf-close:focus-visible {
  background: #dcecef;
  outline: 3px solid rgba(49,172,217,.22);
}

.scvbf-intro {
  margin: 0 0 24px;
  color: #52666f;
  font-size: 14px;
  line-height: 1.65;
}

.scvbf-form {
  display: grid;
  gap: 19px;
}

.scvbf-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.scvbf-fieldset legend,
.scvbf-field > span {
  display: block;
  margin-bottom: 9px;
  color: var(--scvbf-navy);
  font-size: 13px;
  font-weight: 850;
}

.scvbf-field b {
  color: #b42318;
}

.scvbf-field em {
  color: #708087;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.scvbf-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.scvbf-choice {
  position: relative;
  cursor: pointer;
}

.scvbf-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.scvbf-choice span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #d8e5e8;
  border-radius: 15px;
  background: #f8fbfc;
  color: #314851;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.scvbf-choice input:checked + span {
  border-color: var(--scvbf-accent);
  background: rgba(10,152,172,.09);
  color: var(--scvbf-navy);
  box-shadow: 0 0 0 3px rgba(10,152,172,.10);
}

.scvbf-choice input:focus-visible + span {
  outline: 3px solid rgba(49,172,217,.25);
  outline-offset: 2px;
}

.scvbf-choice:hover span {
  transform: translateY(-1px);
  border-color: rgba(10,152,172,.55);
}

.scvbf-field textarea,
.scvbf-field input[type="email"] {
  width: 100%;
  border: 1px solid #cedde1;
  border-radius: 15px;
  background: #fff;
  color: var(--scvbf-navy);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.scvbf-field textarea {
  min-height: 108px;
  resize: vertical;
  padding: 13px 14px;
}

.scvbf-field input[type="email"] {
  height: 50px;
  padding: 0 14px;
}

.scvbf-field textarea:focus,
.scvbf-field input[type="email"]:focus {
  border-color: var(--scvbf-accent);
  box-shadow: 0 0 0 4px rgba(10,152,172,.10);
  outline: none;
}

.scvbf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #435a63;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.scvbf-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: var(--scvbf-accent);
}

.scvbf-technical-check {
  margin-top: -4px;
  padding: 13px;
  border-radius: 14px;
  background: #f4f9fa;
}

.scvbf-privacy {
  margin: -8px 0 0;
  color: #718188;
  font-size: 11.5px;
  line-height: 1.55;
}

.scvbf-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--scvbf-accent), var(--scvbf-cyan));
  color: #fff;
  box-shadow: 0 16px 34px rgba(10,152,172,.25);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.scvbf-submit:hover,
.scvbf-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(10,152,172,.34);
  outline: 3px solid rgba(49,172,217,.22);
}

.scvbf-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.scvbf-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: scvbf-spin .7s linear infinite;
}

.scvbf-loading .scvbf-submit-spinner {
  display: inline-block;
}

.scvbf-error,
.scvbf-success {
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.scvbf-error {
  border: 1px solid #f0b8b8;
  background: #fff3f3;
  color: #8a1c1c;
}

.scvbf-success {
  border: 1px solid #a9dfcf;
  background: #eefbf6;
  color: #116149;
}

.scvbf-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

html.scvbf-lock,
html.scvbf-lock body {
  overflow: hidden !important;
}

@keyframes scvbf-spin {
  to { transform: rotate(360deg); }
}

@keyframes scvbf-pop {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scvbf-slide {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 700px) {
  .scvbf {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .scvbf-right { right: 14px; }
  .scvbf-left { left: 14px; }

  .scvbf-open {
    min-height: 48px;
    padding: 8px 14px 8px 9px;
    font-size: 13px;
  }

  .scvbf-open-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .scvbf-nudge {
    width: min(292px, calc(100vw - 28px));
    bottom: 62px;
  }

  .scvbf-panel {
    top: auto;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    animation-name: scvbf-sheet;
  }

  .scvbf-choice-grid {
    grid-template-columns: 1fr;
  }

  .scvbf-choice span {
    min-height: 50px;
  }

  @keyframes scvbf-sheet {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .scvbf *, .scvbf *::before, .scvbf *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .scvbf { display: none !important; }
}
