:root {
  --bg: #090909;
  --surface: #141414;
  --elevated: #181818;
  --ink: #dedede;
  --muted: #8a8a8a;
  --faint: #6b6b6b;
  --line: #2a2a2a;
  --blue: #155dfc;
  --link: #fff;
  --color-accent: #f63;
  --color-accent-hover: #ff8059;
  --color-accent-subtle: rgb(255 102 51 / 0.12);
  --color-on-accent: #0A0A0B;
  --sans: Inter, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: var(--color-accent-subtle); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); }
a:hover { color: #fff; }
main :is(p, dd, blockquote) a:hover,
main :is(ul, ol):not(.catalog) li a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: #fff; color: #090909; padding: 0.4rem 0.7rem; border-radius: 999px;
}
.skip:focus { top: 0.5rem; z-index: 5; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
header.site {
  position: sticky; top: 0; z-index: 4;
  background: rgba(9, 9, 9, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand { text-decoration: none; color: inherit; }
.brand strong { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.03em; }
nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
nav a { text-decoration: none; color: #c8c8c8; font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: #fff; }
header.site nav a[aria-current="page"] {
  color: var(--color-accent);
  text-decoration-line: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

main { padding: 2.5rem 0 4rem; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}
footer.site .wrap {
  display: grid;
  grid-template-columns: minmax(0, 40rem) max-content;
  justify-content: space-between;
  column-gap: 2rem;
  align-items: start;
}
.maker { margin: 0; grid-column: 1; grid-row: 1; }
.maker-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; }
.maker img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.maker strong { color: #fff; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; }
.maker p { margin: 0.35rem 0; }
.maker-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-nav { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; }
.foot-legal { grid-column: 1; grid-row: 2; margin-top: 2rem; }
.foot-legal p { margin: 0.35rem 0; }
footer.site li { margin: 0.2rem 0; }
footer.site li:first-child { margin-top: 0; }
footer.site .disclaimer { font-size: 0.85rem; line-height: 1.4; }
footer.site a { color: #d0d0d0; text-decoration: none; }
footer.site a:hover { color: #fff; }

h1, h2, h3 { color: #fff; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(2.15rem, 4vw, 2.8rem); margin: 0.2rem 0 0.8rem; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.4rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; margin: 0; }
.kicker {
  margin: 0; color: var(--muted); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem;
}

.hero { padding: 2.25rem 0 2.75rem; }
.hero h1 {
  font-size: clamp(3.15rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 1.25rem;
}
.text-accent { color: var(--color-accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: var(--color-on-accent); text-decoration: none;
  border-radius: 999px; padding: 0.72rem 1.15rem;
  font-weight: 600; font-size: 0.98rem; border: 1px solid var(--color-accent);
}
.btn:hover { background: var(--color-accent-hover); color: var(--color-on-accent); border-color: var(--color-accent-hover); }
.btn.btn-ghost { background: transparent; color: #fff; border-color: #3a3a3a; }
.btn.btn-ghost:hover { background: #161616; color: #fff; border-color: #3a3a3a; }

.situations {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
  margin: 0.5rem 0 2.5rem;
}
.situations a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem 1rem 1.05rem; text-decoration: none; color: inherit;
  min-height: 100%;
}
.situations a:hover { border-color: #4a4a4a; background: var(--elevated); }
.situations strong { display: block; margin-bottom: 0.3rem; color: #fff; font-weight: 600; letter-spacing: -0.02em; font-size: 0.95rem; }
.situations span { color: var(--muted); font-size: 0.9rem; font-weight: 400; line-height: 1.4rem; }

.toolbar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 0.6rem 0; }
input[type="search"], input[type="number"], select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 0.5rem 0.7rem;
}
input[type="search"] { min-width: min(100%, 16rem); }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  font: inherit; border: 1px solid var(--line); background: transparent;
  border-radius: 999px; padding: 0.28rem 0.75rem; cursor: pointer; color: #d6d6d6;
}
.chip:hover { border-color: #4a4a4a; color: #fff; }
.chip.on { background: #fff; color: #090909; border-color: #fff; }
.count { color: var(--muted); font-size: 0.92rem; }

.table-wrap {
  overflow-x: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); }
th {
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--faint); font-weight: 600; background: #101010;
}
tr[hidden] { display: none; }
tbody tr:hover { background: #1b1b1b; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dir-scroll { border-radius: 12px; max-width: 100%; }
.dir-table { width: 100%; min-width: 880px; }
.dir-head, .dir-row summary {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) 150px minmax(190px, 1.2fr) minmax(220px, 1.5fr) 40px;
  column-gap: 24px;
  align-items: center;
  padding: 0 24px;
}
.dir-head {
  height: 44px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dir-head > span, .dir-row summary > span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dir-row { border-top: 1px solid var(--line); }
.dir-row[hidden] { display: none; }
.dir-row summary {
  height: 64px;
  list-style: none;
  font-weight: 400;
  cursor: pointer;
}
.dir-row summary::-webkit-details-marker { display: none; }
.dir-row summary::marker { content: none; }
.dir-row summary:hover, .dir-row[open] > summary { background: var(--elevated); }
.dir-provider a {
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.dir-provider a:hover { color: var(--ink); text-decoration: underline; }
.badge {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 16px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 0.5px solid color-mix(in srgb, currentColor 25%, transparent);
  background: #f2f4f7;
  color: #344054;
}
.badge:empty { display: none; }
.badge--psp { background: #d1e9ff; color: #1849a9; }
.badge--payfac { background: #b5f6ee; color: #004741; }
.badge--gateway { background: #f4f3ff; color: #5925dc; }
.badge--cross-border { background: #e0f2fe; color: #0b4a6f; }
.badge--mor { background: #d3f8df; color: #085041; }
.badge--billing { background: #fce7f3; color: #9d174d; }
.badge--storefront { background: #ffedd5; color: #9a3412; }
.badge--crypto { background: #fef9c3; color: #854d0e; }
.dir-price, .dir-rate { font-size: 0.875rem; }
.dir-rate { font-variant-numeric: tabular-nums; }
.dir-more { color: var(--muted); font-size: 13px; font-weight: 400; }
.dir-go { display: flex; justify-content: flex-end; align-items: center; }
.dir-chevron { display: block; color: var(--muted); transition: transform 150ms; }
.dir-row[open] .dir-chevron { transform: rotate(180deg); }
.dir-panel {
  background: var(--elevated);
  border-top: 1px solid var(--line);
  padding: 20px 24px 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}
.dir-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.dir-cols.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dir-cols.cols-1 { grid-template-columns: minmax(0, 1fr); }
.dir-panel h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 16px;
  text-transform: uppercase;
}
.dir-scroll .dir-panel p { margin: 0 0 6px; font-size: 14px; font-weight: 400; line-height: 22px; }
.dir-muted { color: var(--muted); }
.dir-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.dir-links a { color: var(--ink); font-size: 14px; line-height: 22px; text-decoration: underline; text-underline-offset: 3px; }
.dir-links a:hover { color: var(--ink); }
@media (max-width: 719px) {
  .dir-cols, .dir-cols.cols-1, .dir-cols.cols-2 { grid-template-columns: minmax(0, 1fr); }
}
.pill {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  color: #111; background: #fff; border-radius: 999px;
  padding: 0.08rem 0.45rem; vertical-align: 1px;
}
.prose { width: min(740px, 100%); }
.prose.article { width: min(925px, 100%); }
.prose.article .lede { max-width: none; }
main p:not(.lede, .cmp-lead, .kicker),
.prose :is(blockquote, dd),
main :is(ul, ol):not(.catalog) li,
.catalog small {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}
.prose .table-wrap { margin: 1rem 0; }
.callout {
  background: #121821; border-left: 3px solid var(--blue);
  padding: 0.8rem 0.95rem; margin: 1rem 0; border-radius: 0 12px 12px 0;
  color: #e8e8e8;
}
.facts { display: grid; grid-template-columns: 11rem 1fr; gap: 0.4rem 1rem; margin: 1rem 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.catalog { list-style: none; padding: 0; }
.catalog li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.catalog a { color: #fff; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; }
.catalog a:hover { color: var(--color-accent); }
.catalog small { display: block; color: var(--muted); font-weight: 400; }

.calc {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 0.95rem; margin: 1rem 0;
}
.calc label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.calc input { width: 100%; }
.note { color: var(--muted); font-size: 0.95rem; }
code { font-family: ui-monospace, monospace; font-size: 0.86em; background: #1c1c1c; padding: 0.08rem 0.28rem; border-radius: 5px; }
#lookup {
  min-height: 8rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem; max-width: 42rem;
}
blockquote {
  margin: 1rem 0; padding-left: 0.9rem; border-left: 2px solid var(--line); color: var(--muted);
}

.cmp {
  background: #111;
  border: 1px solid #212121;
  border-radius: 10px;
  padding: 6rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.cmp > .lede {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.cmp h1 {
  width: min(100%, 16em);
  margin: 0 auto;
  text-align: center;
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}
.cmp-toc { display: flex; flex-direction: column; border-top: 1px solid #212121; }
.cmp-toc a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid #212121;
  color: #fff; text-decoration: none; font-weight: 500;
}
.cmp-toc a:hover { background: #181818; color: #fff; }
.cmp-toc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.cmp-sections { display: flex; flex-direction: column; gap: 3rem; }
.cmp-sec {
  display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start;
  scroll-margin-top: 5rem;
}
.cmp h2 {
  position: sticky; top: 4.5rem; z-index: 1;
  margin: 0; padding: 1rem 0;
  background: #111;
  border-top: 1px solid #212121;
  font-size: 1rem; font-weight: 500; line-height: 1.5; letter-spacing: 0;
}
.cmp-copy {
  border-top: 1px solid #212121;
  padding-top: 1rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.cmp-lead { margin: 0; font-size: 1.125rem; line-height: 1.55; font-weight: 500; color: #fff; }
.cmp-muted { margin: 0; color: #9e9e9e; }
.cmp, .cmp-sec, .cmp-copy, .cmp-table { min-width: 0; }
.cmp-table { border: 1px solid #212121; overflow-x: auto; }
.cmp table { width: 100%; min-width: 36rem; border-collapse: collapse; }
.cmp thead { background: #181818; }
.cmp th, .cmp td {
  padding: 1rem;
  border-bottom: 1px solid #212121;
  border-right: 1px solid #212121;
  font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: #fff; background: transparent; vertical-align: middle;
}
.cmp th { font-weight: 500; }
.cmp a:not(.btn),
.cmp a:not(.btn):hover {
  color: #fff;
  text-decoration: none;
}
.cmp th:last-child, .cmp td:last-child { border-right: 0; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover { background: transparent; }
.cmp td.cmp-mark { text-align: center; }
.mark { width: 20px; height: 20px; display: inline-block; vertical-align: middle; fill: currentColor; }
.mark.yes { color: #16a34a; }
.mark.no { color: #dc2626; }
.cmp-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cmp-price {
  border: 1px solid #212121; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.cmp-price h3 { margin: 0; font-size: 1.125rem; font-weight: 500; letter-spacing: 0; }
.cmp-price .amt { font-size: 2.25rem; line-height: 1.1; font-weight: 500; letter-spacing: 0; }
.cmp-price .amt.long { font-size: 1.65rem; }
.cmp-price .cap { margin: 0; color: #9e9e9e; font-size: 1rem; }
.cmp-fees { list-style: none; margin: 0; padding: 0; color: #9e9e9e; font-size: 1rem; }
.cmp-fees li { padding: 0.35rem 0; }
.cmp-fees strong { color: #fff; font-weight: 500; }
.cmp-foot { margin: 0; color: #9e9e9e; font-size: 1rem; }
.cmp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cmp-pair h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.cmp-pair p { margin: 0; color: #9e9e9e; }
.cmp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #212121; border-bottom: 1px solid #212121; }
.cmp-list li { padding: 0.75rem 0; border-top: 1px solid #212121; }
.cmp-list li:first-child { border-top: 0; }
.cmp-list h3 { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.cmp-list p { margin: 0; color: #9e9e9e; }
.cmp-cta {
  border-top: 1px solid #212121;
  padding-top: 4rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.cmp-cta h2 {
  position: static; border: 0; padding: 0; background: none;
  font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em;
}
.cmp-cta p { margin: 0; color: #9e9e9e; max-width: 36rem; }
.cmp-cta .hero-cta { justify-content: center; }
.cmp-jumps { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.cmp-jumps a { font-weight: 500; }
.cmp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.cmp-checks li { display: flex; gap: 0.75rem; align-items: flex-start; color: #9e9e9e; }
.cmp-checks .mark { flex: none; margin-top: 0.15rem; }
.faq { border-top: 1px solid #212121; }
.faq details { border-bottom: 1px solid #212121; }
.faq summary {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem 1rem 1rem 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #181818; }
.faq .n {
  width: 2.75rem; height: 2.75rem; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #212121; border-radius: 999px;
  font-family: ui-monospace, monospace; font-size: 0.875rem; color: #9e9e9e;
}
.faq h3 { margin: 0; flex: 1; font-size: 1.25rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.faq .plus { width: 24px; height: 24px; flex: none; fill: #fff; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 3rem 2rem 4.25rem; color: #9e9e9e; max-width: 42rem; }

@media (max-width: 900px) {
  .situations { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .hero { padding-top: 2.75rem; max-width: none; }
  .cmp { padding: 2.5rem 1.25rem 3rem; }
  .cmp h1 { font-size: 2.4rem; width: auto; text-align: left; }
  .cmp-sec, .cmp-prices, .cmp-pair { grid-template-columns: 1fr; }
  .cmp h2 { position: static; }
  .faq .n { display: none; }
  .faq details p { padding-left: 0; }
}
@media (max-width: 640px) {
  footer.site .wrap { grid-template-columns: 1fr; }
  .foot-nav { grid-column: 1; grid-row: 3; }
}
@media (max-width: 560px) {
  .situations, .calc { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.45rem; }
}
