/* Deliberately namespaced: the sample gate does not restyle the WordPress theme. */
.brpsd-root {
  --brpsd-ink: #142922;
  --brpsd-green: #203c30;
  --brpsd-paper: #fbfcfa;
  --brpsd-lime: #dff19c;
  --brpsd-line: #d7dfd8;
  --brpsd-muted: #52665b;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--brpsd-ink);
  font-size: 15px;
  line-height: 1.5;
}
.brpsd-root [hidden], .brpsd-root[hidden] { display: none !important; }
.brpsd-root *, .brpsd-root *::before, .brpsd-root *::after { box-sizing: border-box; }
.brpsd-dialog {
  color: var(--brpsd-ink);
  background: var(--brpsd-paper);
  border: 1px solid var(--brpsd-line);
  border-top: 5px solid var(--brpsd-lime);
  border-radius: 3px;
  padding: 34px 38px 22px;
  width: min(580px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  box-shadow: 0 24px 90px #081b2247;
  text-align: left;
  animation: brpsd-arrive 180ms ease-out;
  scrollbar-width: thin;
}
.brpsd-dialog::backdrop { background: rgb(9 26 20 / 68%); backdrop-filter: blur(3px); }
.brpsd-fallback {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgb(9 26 20 / 68%);
  backdrop-filter: blur(3px);
}
.brpsd-fallback .brpsd-dialog { position: relative; display: block; inset: auto; }
.brpsd-root h2, .brpsd-root p { margin: 0; }
.brpsd-root .brpsd-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brpsd-muted);
  padding-right: 28px;
  margin-bottom: 12px;
}
.brpsd-root h2 {
  font-family: Manrope, 'DM Sans', system-ui, sans-serif;
  font-size: clamp(25px, 4.5vw, 32px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.045em;
  max-width: 390px;
  color: var(--brpsd-ink);
  padding: 0;
}
.brpsd-root .brpsd-intro { margin-top: 12px; color: var(--brpsd-muted); font-size: 14px; max-width: 390px; }
.brpsd-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 0;
  min-width: 0;
  padding: 0;
  color: var(--brpsd-ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
}
.brpsd-close:hover { background: #edf1e9; border-color: var(--brpsd-line); color: var(--brpsd-ink); }
.brpsd-sample {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-top: 1px solid var(--brpsd-line);
  border-bottom: 1px solid var(--brpsd-line);
  padding: 17px 0;
  margin: 23px 0 20px;
}
.brpsd-sample-mark { font-size: 11px; line-height: 1.8; font-weight: 600; color: var(--brpsd-muted); white-space: nowrap; }
.brpsd-sample-title { display: block; font-size: 14px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.brpsd-sample-meta { display: block; margin-top: 4px; font-size: 12px; color: var(--brpsd-muted); }
.brpsd-root .brpsd-form { margin: 0; padding: 0; border: 0; }
.brpsd-root .brpsd-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.brpsd-field { display: block; margin: 0 0 14px; font-weight: 400; }
.brpsd-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; }
.brpsd-root input[type='text'], .brpsd-root input[type='email'] {
  display: block;
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #b7c5ba;
  border-radius: 2px;
  background: #fff;
  color: var(--brpsd-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.brpsd-root input::placeholder { color: #65796c; opacity: 1; }
.brpsd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brpsd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--brpsd-muted);
  font-weight: 400;
  cursor: pointer;
}
.brpsd-root input[type='checkbox'] {
  position: static;
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  opacity: 1;
  accent-color: var(--brpsd-green);
  -webkit-appearance: auto;
  appearance: auto;
}
.brpsd-root .brpsd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  margin: 8px 0 0;
  border: 1px solid var(--brpsd-green);
  border-radius: 2px;
  background: var(--brpsd-green);
  color: var(--brpsd-paper);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.brpsd-root .brpsd-button:hover { background: var(--brpsd-ink); color: #fff; }
.brpsd-root fieldset:disabled .brpsd-button, .brpsd-root button:disabled { cursor: wait; opacity: .65; }
.brpsd-root fieldset:disabled input { background-color: #f0f3ed; }
.brpsd-root :focus-visible { outline: 3px solid #659342; outline-offset: 3px; }
.brpsd-root input:focus-visible { outline-offset: 1px; }
.brpsd-root .brpsd-privacy { margin-top: 12px; color: var(--brpsd-muted); font-size: 11px; line-height: 1.6; }
.brpsd-root a { color: var(--brpsd-green); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.brpsd-root a:hover { color: #386239; }
.brpsd-root .brpsd-status, .brpsd-root .brpsd-error {
  padding: 13px 15px;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid var(--brpsd-line);
  background: #f0f3eb;
  color: var(--brpsd-ink);
  border-radius: 2px;
}
.brpsd-root .brpsd-status-success { background: #edf5d8; border-color: #c0d598; }
.brpsd-root .brpsd-error { color: #752b27; background: #fff4ef; border-color: #e2bcb3; }
.brpsd-root .brpsd-contact { margin-top: 14px; color: var(--brpsd-muted); font-size: 12px; }
.brpsd-root .brpsd-footer { padding-top: 19px; margin-top: 19px; border-top: 1px solid var(--brpsd-line); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .065em; color: var(--brpsd-muted); }
.brpsd-visually-hidden, .brpsd-honeypot { 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; }
.brpsd-honeypot { pointer-events: none; }
@keyframes brpsd-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .brpsd-dialog { padding: 29px 22px 20px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .brpsd-close { top: 10px; right: 10px; }
  .brpsd-field-row { grid-template-columns: 1fr; gap: 0; }
  .brpsd-root h2 { max-width: 320px; }
  .brpsd-sample { margin-top: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .brpsd-dialog { animation: none; }
  .brpsd-root .brpsd-button { transition: none; }
  .brpsd-dialog { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .brpsd-dialog { border: 2px solid CanvasText; }
  .brpsd-root .brpsd-button, .brpsd-root input { border: 1px solid ButtonText; }
  .brpsd-root :focus-visible { outline: 3px solid Highlight; }
}
