/* RefluxGuard Phase 1 base tokens and primitives (WP0).
   Breakpoints match the Elementor kit: mobile <= 599px, tablet 600-1299px, desktop >= 1300px.
   Every class and custom property is prefixed rgp1- (the site already uses rg- for its own code). */
:root {
  --rgp1-c-primary: var(--e-global-color-primary, #273F5D);
  --rgp1-c-accent: var(--e-global-color-accent, #FF7F08);
  --rgp1-c-text: #2b2f36;
  --rgp1-c-muted: #5b6470;
  --rgp1-c-border: #d6dbe2;
  --rgp1-c-bg: #fff;
  --rgp1-c-bg-alt: #f5f7fa;
  --rgp1-radius: 8px;
  --rgp1-s1: 4px;
  --rgp1-s2: 8px;
  --rgp1-s3: 12px;
  --rgp1-s4: 16px;
  --rgp1-s5: 24px;
  --rgp1-s6: 32px;
  --rgp1-s7: 48px;
  --rgp1-fs-sm: 14px;
  --rgp1-fs-md: 16px;
  --rgp1-fs-lg: 20px;
  --rgp1-fs-xl: 28px;
  --rgp1-fs-xxl: clamp(30px, 5vw, 52px);
  --rgp1-tap: 44px;
  --rgp1-z-sticky: 9980;
}

.rgp1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--rgp1-tap);
  padding: var(--rgp1-s3) var(--rgp1-s5);
  border: 2px solid transparent;
  border-radius: var(--rgp1-radius);
  font-family: inherit;
  font-size: var(--rgp1-fs-md);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.rgp1-btn:focus-visible {
  outline: 3px solid var(--rgp1-c-accent);
  outline-offset: 2px;
}

.rgp1-btn--primary {
  background: var(--rgp1-c-primary);
  border-color: var(--rgp1-c-primary);
  color: #fff;
}

.rgp1-btn--primary:hover {
  background: #1b2b40;
  border-color: #1b2b40;
  color: #fff;
}

.rgp1-btn--secondary {
  background: var(--rgp1-c-bg);
  border-color: var(--rgp1-c-primary);
  color: var(--rgp1-c-primary);
}

.rgp1-btn--secondary:hover {
  background: var(--rgp1-c-bg-alt);
}

/* visually hidden, still available to assistive technology */
.rgp1-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
