/* DisputePilot r4 — language switcher, header login, integrations, who we work with (dark + light) */
/* ---------- header: language + login ---------- */
.hdr-lang { position: relative; }
.hdr-lang-btn { display: inline-flex; align-items: center; gap: 7px; font: 500 14.5px/1 var(--font-display, inherit); color: var(--dark, #092534); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 8px 11px; cursor: pointer; }
.hdr-lang-btn:hover, .hdr-lang-btn[aria-expanded="true"] { border-color: var(--line-strong, #C9D6DC); }
.hdr-lang-btn:focus-visible, .hdr-login:focus-visible, .hdr-lang-opt:focus-visible, .mnav-lang-opt:focus-visible, .mnav-login:focus-visible { outline: 2px solid var(--pop, #2EB3C9); outline-offset: 2px; }
.hdr-lang-btn .hdr-ic { display: block; width: 18px; height: 18px; }
.hdr-lang-btn .hdr-chev { width: 13px; height: 13px; transition: transform .18s ease; }
.hdr-lang-btn[aria-expanded="true"] .hdr-chev { transform: rotate(180deg); }
body.v9 .hdr-lang-btn { color: #E3EDF1; }
body.v9 .hdr-lang-btn .hdr-ic { filter: brightness(0) invert(.93); }
body.v9 .hdr-lang-btn:hover, body.v9 .hdr-lang-btn[aria-expanded="true"] { border-color: rgba(255,255,255,.28); }
.hdr-lang-menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; width: 252px; padding: 10px; background: #fff; color: #092534; border: 1px solid #DCE6EB; border-radius: 16px; box-shadow: 0 18px 44px rgba(7,28,40,.18); }
.hdr-lang-menu[hidden] { display: none; }
.hdr-lang-h { margin: 4px 8px 6px; font: 600 11.5px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .09em; text-transform: uppercase; color: #5E7480; }
.hdr-lang-menu ul { list-style: none; margin: 0; padding: 0; }
.hdr-lang-opt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px; border: 0; border-radius: 10px; background: transparent; color: #092534; font: 500 15px/1.2 var(--font-display, inherit); text-align: left; cursor: pointer; }
.hdr-lang-opt:hover { background: #F1F6F8; }
.hdr-lang-opt.is-current { background: var(--pop-soft, #EEF8FA); }
.hdr-lang-opt.is-soon { color: #5E7480; cursor: default; }
.hdr-lang-opt img { flex: none; }
.hdr-lang-soon, .dpi-chip.is-soon { font: 600 11px/1 var(--font-body, inherit); letter-spacing: .02em; color: #5E7480; background: #EEF2F4; border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.hdr-lang-note { margin: 8px 8px 4px; font-size: 12.5px; line-height: 1.4; color: #5E7480; }
.hdr-login { display: inline-flex; align-items: center; font: 500 15px/1 var(--font-display, inherit); color: var(--dark, #092534); text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1.5px solid #B7C8D0; background: transparent; transition: background .18s ease, border-color .18s ease; white-space: nowrap; }
.hdr-login:hover { background: rgba(9,37,52,.06); border-color: #8FA8B4; }
body.v9 .hdr-login { color: #F2F8FA; border-color: rgba(255,255,255,.34); }
body.v9 .hdr-login:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
@media (min-width: 981px) { .header-right { gap: 10px !important; } }
@media (min-width: 981px) and (max-width: 1180px) { .hdr-lang-cur { display: none; } .hdr-lang-btn { padding: 8px 9px; } .hdr-login { padding: 9px 14px; } }
@media (max-width: 980px) { .hdr-lang, .hdr-login { display: none; } }
/* mobile menu */
.mnav-lang { margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid #E2E8EC; }
.mnav-lang .mega-label { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.mnav-lang-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mnav-lang-opt { font: 500 14.5px/1 var(--font-display, inherit); padding: 10px 14px; border-radius: 999px; border: 1px solid #CBD9DF; background: #fff; color: #092534; cursor: pointer; }
.mnav-lang-opt.is-current { background: var(--pop-soft, #EEF8FA); border-color: var(--pop, #2EB3C9); }
.mnav-lang-opt.is-soon { color: #5E7480; border-style: dashed; }
.mnav-lang .hdr-lang-note { margin: 10px 2px 0; }
.mobile-nav a.mnav-login { display: flex; align-items: center; justify-content: center; margin-top: 14px; padding: 13px 18px; border-radius: 999px; border: 1.5px solid #9FB6C0; background: transparent; color: #092534; font: 600 16px/1 var(--font-display, inherit); text-decoration: none; }
.mobile-nav a.mnav-login + .btn { margin-top: 10px; }
body.v9 .mnav-lang { border-top-color: rgba(255,255,255,.12); }
body.v9 .mnav-lang-opt { background: rgba(255,255,255,.04); color: #E3EDF1; border-color: rgba(255,255,255,.22); }
body.v9 .mnav-lang-opt.is-current { background: rgba(46,179,201,.16); border-color: #2EB3C9; }
body.v9 .mnav-lang-opt.is-soon { color: #A9BCC5; }
body.v9 .mnav-lang .hdr-lang-note { color: #A9BCC5; }
body.v9 .mnav-lang .mega-label img { filter: brightness(0) invert(.93); }
body.v9 .mobile-nav a.mnav-login { color: #F2F8FA; border-color: rgba(255,255,255,.34); }

/* ---------- integrations ---------- */
section.dpi { padding: clamp(56px, 7vw, 96px) 0; background: #fff; }
section.dpi .v4-head { max-width: 46rem; margin-bottom: 8px; }
section.dpi .v4-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.03em; white-space: normal; text-wrap: balance; }
section.dpi .lede-short { max-width: 40rem; }
.dpi-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.dpi-grid.dpi-pp { margin-top: 24px; }
.dpi-grid.dpi-one { grid-template-columns: minmax(0, 1fr); }
.dpi-card { background: #F7FAFB; border: 1px solid #DCE7EC; border-radius: 22px; padding: clamp(20px, 2.4vw, 30px); min-width: 0; }
.dpi-card-h h3 { margin: 0 0 4px; font-family: var(--font-display, inherit); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; color: #0A2632; }
.dpi-card-h p { margin: 0 0 18px; color: #4B6270; font-size: 15px; line-height: 1.5; }
.dpi-group + .dpi-group { margin-top: 20px; }
.dpi-group h4 { margin: 0 0 10px; font: 600 11.5px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .09em; text-transform: uppercase; color: #4B6270; }
.dpi-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 10px; }
.dpi-tiles-gw { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dpi-tile { position: relative; height: 66px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #D8E6EC; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.dpi-tile:hover { border-color: #B4CED9; transform: translateY(-2px); }
.dpi-tile.has-chip { height: 88px; flex-direction: column; gap: 7px; padding-top: 12px; }
.dpi-logo { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; max-width: 100%; }
.dpi-logo img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.dpi-chip { font: 600 11px/1 var(--font-body, inherit); letter-spacing: .02em; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.dpi-chip.is-live { color: #0B6B4D; background: #E3F5EC; }
.dpi-chip.is-soon { color: #5E6F78; background: #EBF0F2; }
.dpi-logo .lg-shopify { height: 27px; max-width: 96px; }
.dpi-logo .lg-loop { height: 34px; max-width: 92px; }
.dpi-logo .lg-recharge { height: 22px; max-width: 108px; }
.dpi-logo .lg-stay { height: 27px; max-width: 82px; }
.dpi-logo .lg-skio { height: 25px; max-width: 68px; }
.dpi-logo .lg-bold { height: 18px; max-width: 84px; }
.dpi-logo .lg-ordergroove { height: 19px; max-width: 112px; }
.dpi-logo .lg-appstle { height: 28px; max-width: 112px; }
.dpi-logo .lg-kaching { height: 20px; max-width: 104px; }
.dpi-logo .lg-checkoutchamp { height: 24px; max-width: 124px; }
.dpi-logo .lg-sticky { height: 20px; max-width: 88px; }
.dpi-logo .lg-vrio { height: 30px; max-width: 90px; }
.dpi-logo .lg-admoji { height: 22px; max-width: 84px; }
.dpi-logo .lg-reign { height: 19px; max-width: 92px; }
.dpi-logo .lg-next { height: 19px; max-width: 92px; }
.dpi-logo .lg-authorize { height: 24px; max-width: 120px; }
.dpi-logo .lg-nmi { height: 24px; max-width: 82px; }
.dpi-logo .lg-stripe { height: 26px; max-width: 72px; }
.dpi-logo .lg-paypal { height: 22px; max-width: 96px; }
.dpi-logo .lg-trustiq { height: 24px; width: 24px; flex: none; }
.dpi-wm { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -.03em; line-height: 1; color: #3A454C; white-space: nowrap; }
.dpi-foot { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: #4B6270; }
.dpi-foot a { color: var(--pop-deep, #148A9E); font-weight: 600; text-decoration: none; }
.dpi-foot a:hover { text-decoration: underline; }
.dpi-dev-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dpi-dev-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #D8E6EC; }
.dpi-dev-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: #092534; }
.dpi-dev-list b { display: block; margin-bottom: 4px; font-family: var(--font-display, inherit); font-size: 1.05rem; color: #0A2632; }
.dpi-dev-list span:not(.dpi-dev-ic) { font-size: 14.5px; line-height: 1.5; color: #4B6270; }
section.dpi-page .dpi-grid { margin-top: 0; }
@media (max-width: 1020px) { .dpi-dev-list { grid-template-columns: minmax(0, 1fr); } .dpi-tiles-gw { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .dpi-tiles, .dpi-tiles-gw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dpi-tile { height: 62px; padding: 8px 10px; }
  .dpi-tile.has-chip { height: 84px; }
  .dpi-card { border-radius: 18px; }
}

/* ---------- who we work with ---------- */
section.dpw { padding: clamp(56px, 7vw, 96px) 0; background: #F4F9FB; }
section.dpw .v4-head { max-width: 46rem; }
section.dpw .v4-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.03em; white-space: normal; text-wrap: balance; }
.dpw-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dpw-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid #DCE7EC; border-radius: 20px; min-width: 0; }
.dpw-ic { width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: #092534; }
.dpw-card h3 { margin: 6px 0 0; font-family: var(--font-display, inherit); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; color: #0A2632; }
.dpw-card p { margin: 0; max-width: none; font-size: 15px; line-height: 1.55; color: #4B6270; }
.dpw-tag { margin-top: auto; align-self: flex-start; font: 600 11.5px/1 var(--font-body, inherit); color: var(--pop-deep, #0F7486); background: var(--pop-soft, #E3F3F6); border-radius: 999px; padding: 6px 10px; }
.dpw-note { margin: 22px 0 0; font-size: 14px; color: #4B6270; }
@media (max-width: 1100px) { .dpw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dpw-grid { grid-template-columns: minmax(0, 1fr); } .dpw-card { padding: 20px; } }

section.dpw .v4-head .eyebrow, section.dpi .v4-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: #0B5E6F; }
section.dpw .v4-head .eyebrow img { width: 16px; height: 16px; }
section.dpw .v4-head .lede-short { margin: 14px 0 0; }

.dpi-logo .lg-adyen { height: 22px; max-width: 92px; }
.dpi-logo .lg-checkout { height: 20px; max-width: 124px; }
.dpi-logo .lg-worldpay { height: 36px; max-width: 128px; }
.dpi-logo .lg-braintree { height: 20px; max-width: 124px; }
.dpi-logo .lg-cybersource { height: 18px; max-width: 112px; }
.dpi-logo .lg-woo { height: 26px; max-width: 84px; }
@media (min-width: 1021px) {
  .dpi-tiles-gw { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
