/* DominiPay internal pages visual refresh — homepage intentionally excluded. */
body.dp-refreshed {
  --dpr-blue-950: #061b36;
  --dpr-blue-900: #082b57;
  --dpr-blue-800: #0b4488;
  --dpr-blue-700: #0b5fc7;
  --dpr-blue-600: #1677e8;
  --dpr-blue-500: #2e8cff;
  --dpr-blue-100: #dcecff;
  --dpr-blue-50: #f3f8ff;
  --dpr-ink: #102a43;
  --dpr-muted: #5f7185;
  --dpr-line: rgba(20, 91, 171, .14);
  background: #f8fbff;
  color: var(--dpr-ink);
}

body.dp-refreshed main { overflow: clip; }
body.dp-refreshed main > section { position: relative; scroll-margin-top: 110px; }
body.dp-refreshed main > section:not(.dp-refresh-hero-section) { padding-block: clamp(56px, 7vw, 104px); }
body.dp-refreshed main > section:nth-of-type(odd):not(.dp-refresh-hero-section) {
  background-image: radial-gradient(circle at 92% 12%, rgba(46,140,255,.08), transparent 27%);
}
body.dp-refreshed main > section:nth-of-type(even):not(.dp-refresh-hero-section):not(.dp-clean-section--dark) {
  background-color: #f4f8fd;
  background-image: radial-gradient(circle at 7% 86%, rgba(22,119,232,.07), transparent 29%);
}
body.dp-refreshed .dp-clean-section--dark .dp-clean-title,
body.dp-refreshed .dp-clean-section--dark h2 { color: #fff !important; }
body.dp-refreshed .dp-clean-section--dark .dp-clean-intro,
body.dp-refreshed .dp-clean-section--dark > .dp-clean-shell > p { color: rgba(255,255,255,.72) !important; }

body.dp-refreshed .dp-refresh-hero-section,
body.dp-refreshed .dp-clean-hero.dp-refresh-hero-section {
  position: relative;
  min-height: clamp(420px, 54vw, 650px);
  padding: clamp(108px, 11vw, 150px) 0 clamp(70px, 8vw, 112px) !important;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 83% 26%, rgba(87,174,255,.42), transparent 24%),
    radial-gradient(circle at 71% 92%, rgba(38,111,212,.36), transparent 32%),
    linear-gradient(135deg, #061b36 0%, #082e61 46%, #0b5fc7 100%) !important;
}
body.dp-refreshed .dp-refresh-hero-section::before,
body.dp-refreshed .dp-refresh-hero-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  pointer-events: none;
}
body.dp-refreshed .dp-refresh-hero-section::before {
  width: 520px; height: 520px; right: -155px; top: -175px;
}
body.dp-refreshed .dp-refresh-hero-section::after {
  width: 330px; height: 330px; right: 9%; bottom: -245px;
}
body.dp-refreshed .dp-refresh-hero-host {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}
body.dp-refreshed .dp-refresh-hero-copy { min-width: 0; }
body.dp-refreshed .dp-refresh-hero-copy .breadcrumbs,
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-breadcrumb { margin-bottom: 28px; }
body.dp-refreshed .dp-refresh-hero-copy .breadcrumbs__item,
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-breadcrumb,
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-breadcrumb a { color: rgba(255,255,255,.72) !important; }
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-eyebrow,
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.17);
  letter-spacing: .08em;
}
body.dp-refreshed .dp-refresh-hero-copy h1,
body.dp-refreshed .dp-refresh-hero-copy .header-h1 {
  max-width: 760px;
  margin-top: 18px;
  color: #fff !important;
  font-size: clamp(40px, 5.5vw, 72px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.045em;
  text-wrap: balance;
}
body.dp-refreshed .dp-refresh-hero-copy p,
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-lead {
  max-width: 720px;
  color: rgba(255,255,255,.82) !important;
  font-size: clamp(17px, 1.65vw, 21px) !important;
  line-height: 1.65 !important;
}
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-btn--ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.35) !important;
  background: rgba(255,255,255,.05) !important;
}
body.dp-refreshed .dp-refresh-hero-copy .dp-clean-btn--primary {
  color: #0a3a74 !important;
  background: #fff !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

body.dp-refreshed .dp-refresh-hero-art {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1 / .86;
  justify-self: end;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,.2);
  background:
    linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.055)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 45%);
  box-shadow: 0 32px 85px rgba(0,22,59,.34), inset 0 1px 0 rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  isolation: isolate;
}
body.dp-refreshed .dp-refresh-hero-art::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.19);
  animation: dpr-spin 24s linear infinite;
}
body.dp-refreshed .dp-refresh-main-icon {
  position: absolute;
  inset: 24% 28%;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, #2e8cff, #0754ad);
  box-shadow: 0 24px 55px rgba(0,27,74,.34), inset 0 1px 0 rgba(255,255,255,.3);
  transform: rotate(-4deg);
}
body.dp-refreshed .dp-refresh-main-icon img { width: 58%; height: 58%; object-fit: contain; }
body.dp-refreshed .dp-refresh-float {
  position: absolute;
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 18px 42px rgba(0,25,68,.25);
  backdrop-filter: blur(8px);
}
body.dp-refreshed .dp-refresh-float img { width: 36px; height: 36px; }
body.dp-refreshed .dp-refresh-float--one { left: 8%; top: 12%; transform: rotate(-8deg); }
body.dp-refreshed .dp-refresh-float--two { right: 7%; bottom: 12%; transform: rotate(9deg); }
body.dp-refreshed .dp-refresh-dot-grid {
  position: absolute;
  left: 8%; bottom: 9%; width: 92px; height: 62px;
  opacity: .32;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.7px);
  background-size: 13px 13px;
}
@keyframes dpr-spin { to { transform: rotate(360deg); } }

body.dp-refreshed .dp-refresh-brand-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
body.dp-refreshed .dp-refresh-brand {
  min-width: 108px;
  height: 52px;
  padding: 6px 16px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 32px rgba(0,20,56,.16);
}
body.dp-refreshed .dp-refresh-brand img { max-width: 82px; max-height: 38px; width: auto; height: auto; }

body.dp-refreshed .dp-clean-shell { width: min(1180px, calc(100% - 40px)); }
body.dp-refreshed .dp-clean-title,
body.dp-refreshed main h2 {
  color: var(--dpr-blue-950);
  letter-spacing: -.025em;
  text-wrap: balance;
}
body.dp-refreshed .dp-clean-intro,
body.dp-refreshed main p { color: var(--dpr-muted); }
body.dp-refreshed .dp-clean-cta h2,
body.dp-refreshed .dp-clean-cta p { color: #fff; }
body.dp-refreshed .dp-clean-kicker {
  color: var(--dpr-blue-700);
  font-weight: 800;
  letter-spacing: .08em;
}
body.dp-refreshed .dp-clean-section--dark .dp-clean-kicker { color: #8bb7ff; }

body.dp-refreshed .dp-clean-grid { gap: 22px !important; }
body.dp-refreshed .dp-clean-card,
body.dp-refreshed .dp-clean-step,
body.dp-refreshed .dp-refresh-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dpr-line) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 16px 44px rgba(20,65,112,.08) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
body.dp-refreshed .dp-clean-card::after,
body.dp-refreshed .dp-clean-step::after,
body.dp-refreshed .dp-refresh-card::after {
  content: "";
  position: absolute;
  right: -34px; top: -34px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,140,255,.12), transparent 70%);
  pointer-events: none;
}
body.dp-refreshed .dp-clean-card:hover,
body.dp-refreshed .dp-clean-step:hover,
body.dp-refreshed .dp-refresh-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22,119,232,.3) !important;
  box-shadow: 0 24px 55px rgba(20,65,112,.13) !important;
}
body.dp-refreshed .dp-refresh-card-icon {
  width: 52px; height: 52px;
  flex: 0 0 52px;
  display: grid; place-items: center;
  margin: 0 0 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--dpr-blue-500), var(--dpr-blue-700));
  box-shadow: 0 13px 28px rgba(11,95,199,.22);
}
body.dp-refreshed .dp-refresh-card-icon img { width: 25px; height: 25px; object-fit: contain; }
body.dp-refreshed .dp-refresh-card h2,
body.dp-refreshed .dp-refresh-card h3,
body.dp-refreshed .dp-refresh-card h4 { color: var(--dpr-blue-950) !important; }
body.dp-refreshed .dp-refresh-card p { color: var(--dpr-muted) !important; }

body.dp-refreshed .dp-clean-faq details,
body.dp-refreshed main details {
  border: 1px solid var(--dpr-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(20,65,112,.06);
}
body.dp-refreshed .dp-clean-faq summary,
body.dp-refreshed main details summary { color: var(--dpr-blue-950); font-weight: 750; }

body.dp-refreshed .dp-clean-btn,
body.dp-refreshed main a[class*="button"],
body.dp-refreshed main button {
  border-radius: 13px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body.dp-refreshed .dp-clean-btn:hover,
body.dp-refreshed main a[class*="button"]:hover,
body.dp-refreshed main button:hover { transform: translateY(-2px); }

@media (max-width: 900px) {
  body.dp-refreshed .dp-refresh-hero-host { grid-template-columns: 1fr; }
  body.dp-refreshed .dp-refresh-hero-art {
    width: min(100%, 500px);
    justify-self: start;
    aspect-ratio: 1.35 / 1;
  }
  body.dp-refreshed .dp-refresh-hero-copy h1,
  body.dp-refreshed .dp-refresh-hero-copy .header-h1 { font-size: clamp(40px, 9vw, 60px) !important; }
}
@media (max-width: 640px) {
  body.dp-refreshed .dp-refresh-hero-section,
  body.dp-refreshed .dp-clean-hero.dp-refresh-hero-section { padding: 94px 0 64px !important; }
  body.dp-refreshed .dp-refresh-hero-host,
  body.dp-refreshed .dp-clean-shell { width: min(100% - 28px, 1180px); }
  body.dp-refreshed .dp-refresh-hero-art { border-radius: 28px; }
  body.dp-refreshed .dp-refresh-float { width: 60px; height: 60px; border-radius: 18px; }
  body.dp-refreshed .dp-refresh-float img { width: 29px; height: 29px; }
  body.dp-refreshed main > section:not(.dp-refresh-hero-section) { padding-block: 56px; }
  body.dp-refreshed .dp-refresh-brand { min-width: 92px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  body.dp-refreshed *, body.dp-refreshed *::before, body.dp-refreshed *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Normalize older two-column hero structures inside the refreshed composition. */
body.dp-refreshed .dp-refresh-hero-copy .dp-refresh-legacy-flex {
  display: block !important;
  width: 100% !important;
  max-width: 760px;
  margin: 0 !important;
}
body.dp-refreshed .dp-refresh-hero-copy .dp-refresh-legacy-flex > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.dp-refreshed .dp-refresh-hero-copy .dp-refresh-legacy-media {
  display: none !important;
}
