/* --- Google Fonts (Sora + Montserrat only; used below) --- */
@import 'https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Montserrat:wght@500;600&display=swap';

/* --- PayFi landing: CSS variables, resets, and component styles --- */
:root {
  --text: #14141c;
  --muted: #70717b;
  --line: #d7d5d6;
  --surface-main: #e8e6e8;
  --surface-card: #f1eff1;
  --surface-white: #f8f8f8;
  --accent: #8d43f2;
  --accent-strong: #6f2bc7;
  --accent-soft: #a855f7;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  width: 100%;
  min-height: 100%;
}
body {
  color: var(--text);
  background: var(--surface-main);
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  font-family: Montserrat, sans-serif;
}
button {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Page shell & main container */
.app-shell {
  width: 100%;
  overflow-x: hidden;
}
.container {
  width: min(1220px, 100% - 4rem);
  margin: 0 auto;
}

/* Logo / icon primitives */
.payfi-icon {
  flex: 0 0 2.2rem;
  justify-content: center;
  align-items: center;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  position: relative;
}
.payfi-icon__image {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}
.payfi-icon--compact {
  flex-basis: 1.95rem;
  width: 1.95rem;
  height: 1.95rem;
}
.payfi-mark {
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  display: inline-flex;
}
.payfi-mark__image {
  object-fit: contain;
  width: clamp(82px, 6.5vw, 112px);
  height: auto;
  display: block;
}
.payfi-mark--footer .payfi-mark__image {
  width: clamp(108px, 9.5vw, 150px);
}

/* Site header & language trigger (no dropdown markup in template yet) */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e4e3e3;
}
.header-row {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  display: grid;
  position: relative;
}
.header-row--auth {
  grid-template-columns: 1fr auto;
}
.brand {
  cursor: default;
  justify-self: start;
  display: inline-flex;
}
.footer-brand {
  cursor: default;
  padding-bottom: 0.4rem;
  display: inline-flex;
}
.header-nav-wrap {
  justify-self: center;
}
.header-desktop-nav {
  display: block;
}
.header-menu-toggle {
  color: #1e1f26;
  cursor: pointer;
  background: 0 0;
  border: 0;
  justify-self: end;
  padding: 0.45rem;
  display: none;
}
.header-actions {
  justify-self: end;
  align-items: center;
  gap: 0.9rem;
  display: inline-flex;
}
.header-menu-toggle:disabled {
  opacity: 1;
  cursor: default;
}
.header-nav {
  letter-spacing: 0%;
  vertical-align: middle;
  align-items: center;
  gap: 2.6rem;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  display: flex;
}
.header-nav a {
  color: #1e1f26;
}
.header-nav__with-caret {
  align-items: center;
  gap: 0.32rem;
  display: inline-flex;
}
.header-products__trigger {
  cursor: pointer;
}
.header-caret {
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
  display: inline-flex;
}
.language-menu {
  position: relative;
}
.language-menu__trigger {
  color: #1d1e26;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: linear-gradient(#fffffff5, #f8f4f4f5);
  border: 1px solid #2021291a;
  border-radius: 999px;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  min-width: 142px;
  padding: 0.58rem 0.82rem 0.58rem 0.68rem;
  font-family: Sora, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s,
    background-color 0.2s;
  display: inline-flex;
  box-shadow: 0 8px 18px #18121b0f;
}
.language-menu__trigger:hover {
  border-color: rgba(141, 67, 242, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px #18121b1a;
}
.language-menu__trigger:focus-visible {
  border-color: rgba(141, 67, 242, 0.45);
  outline: none;
  box-shadow:
    0 0 0 4px rgba(141, 67, 242, 0.14),
    0 12px 22px #18121b1a;
}
.language-menu__current {
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  display: inline-flex;
}
.language-menu__label {
  white-space: nowrap;
}
.language-menu__flag {
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 1px #10111814;
}

/* Header login / register */
.header-auth {
  align-items: center;
  gap: 0.65rem;
  display: inline-flex;
}
.header-auth__link {
  color: inherit;
  font-family: Sora, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.58rem 1.1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s,
    background-color 0.2s,
    opacity 0.2s;
  white-space: nowrap;
}
.header-auth__link--ghost {
  color: #1d1e26;
  background: linear-gradient(#fffffff5, #f8f4f4f5);
  border: 1px solid #2021291a;
  box-shadow: 0 8px 18px #18121b0f;
}
.header-auth__link--ghost:hover {
  border-color: rgba(141, 67, 242, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px #18121b1a;
}
.header-auth__link--primary {
  color: #fff;
  background: linear-gradient(145deg, #7529d4, #8d43f2 42%, #a78bfa);
  border: 1px solid rgba(141, 67, 242, 0.28);
  box-shadow: 0 8px 18px rgba(141, 67, 242, 0.18);
}
.header-auth__link--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(141, 67, 242, 0.25);
  opacity: 0.97;
}
.header-auth__link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(141, 67, 242, 0.14),
    0 12px 22px #18121b1a;
}
button.header-auth__link {
  font: inherit;
  cursor: pointer;
  appearance: none;
}

/* Hero */
.hero-shell {
  background: var(--surface-main);
}
.hero-section {
  padding: 2.8rem 0 4rem;
}
.hero-grid {
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 1rem;
  display: grid;
}
.hero-copy {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}
.hero-copy h1 {
  letter-spacing: -0.04em;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
  font-family: Sora, sans-serif;
  font-size: clamp(3rem, 6.2vw, 5rem);
  font-weight: 600;
  line-height: 1.06;
  display: flex;
}
.hero-line {
  white-space: nowrap;
  display: block;
}
.hero-copy p {
  color: #71717a;
  letter-spacing: 0%;
  white-space: nowrap;
  max-width: none;
  max-inline-size: 100%;
  margin-top: 1.45rem;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  display: block;
}
.hero-media {
  justify-content: flex-end;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  display: flex;
}
.hero-image {
  object-fit: contain;
  will-change: transform;
  width: 100%;
  max-width: 420px;
  max-height: 530px;
  animation: 7s ease-in-out infinite heroFloat;
}
@keyframes heroFloat {
  0%,
  to {
    transform: translate(0) rotate(0);
  }
  50% {
    transform: translateY(-14px) rotate(0.4deg);
  }
}

/* Partner logo marquee */
.marquee-container {
  width: 100vw;
  position: relative;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%);
}
.marquee-container:before,
.marquee-container:after {
  content: '';
  z-index: 2;
  pointer-events: none;
  width: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
}
.marquee-container:before {
  background: linear-gradient(to right, var(--surface-main), transparent);
  left: 0;
}
.marquee-container:after {
  background: linear-gradient(to left, var(--surface-main), transparent);
  right: 0;
}
.marquee-track {
  will-change: transform;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: 26s linear infinite runlightMove;
  display: flex;
  transform: translateZ(0);
}
.marquee-item {
  backface-visibility: hidden;
  flex: 0 0 200px;
  justify-content: center;
  align-items: center;
  width: 200px;
  display: inline-flex;
  transform: translateZ(0);
}
.marquee-logo {
  object-fit: contain;
  filter: grayscale() opacity(0.72);
  width: auto;
  max-height: 60px;
  transform: translateZ(0);
}
.partners-strip {
  padding: 0 0 3.2rem;
}
@keyframes runlightMove {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}

/* Flow / "how it works" cards */
.flow-section {
  background: var(--surface-main);
  padding: 5.8rem 0 5.3rem;
}
.flow-title {
  text-align: center;
  letter-spacing: -0.03em;
  font-family: Sora, sans-serif;
  font-size: clamp(2.05rem, 3.4vw, 3.45rem);
  font-weight: 600;
}
.flow-subtitle {
  text-align: center;
  max-width: 74ch;
  color: var(--muted);
  margin: 1.25rem auto 0;
  font-size: clamp(0.92rem, 1.1vw, 1.18rem);
  line-height: 1.5;
}
.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.45rem;
  display: grid;
}
.flow-card {
  isolation: isolate;
  background: url(/onoffbg.png) 50% / cover no-repeat;
  border: 0;
  border-radius: 0.8rem;
  flex-direction: column;
  min-height: 22.6rem;
  padding: 1.35rem 1.3rem 1.25rem;
  transition:
    transform 0.24s,
    box-shadow 0.24s,
    border-color 0.24s;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 26px #16131f0f;
}
.flow-card__title {
  z-index: 2;
  letter-spacing: -0.02em;
  align-items: center;
  gap: 0.45rem;
  font-family: Sora, sans-serif;
  font-size: clamp(1.95rem, 2.1vw, 2.55rem);
  font-weight: 500;
  display: inline-flex;
  position: relative;
}
.flow-card__description {
  z-index: 2;
  color: #24242c;
  max-width: 28ch;
  margin-top: 0.72rem;
  font-size: clamp(1.08rem, 1.15vw, 1.3rem);
  font-weight: 500;
  line-height: 1.34;
  position: relative;
}
.flow-card__image {
  z-index: 1;
  border: 1px solid #ece8ea;
  border-radius: 0.85rem;
  width: 100%;
  margin-top: 1.2rem;
  transition:
    transform 0.24s,
    box-shadow 0.24s;
  position: relative;
  box-shadow: 0 8px 16px #1e182814;
}
.flow-card__image--payfi-card {
  width: 80%;
  max-width: none;
  box-shadow: none;
  border: 0;
  margin: 1.2rem auto 0;
}
.flow-card--payfi-card {
  flex-direction: column;
  display: flex;
}
.flow-card--payfi-card .flow-card__description {
  max-width: 22ch;
}
@media (hover: hover) and (pointer: fine) {
  .flow-card:hover {
    border-color: #c6c1caf2;
    transform: translateY(-4px);
    box-shadow: 0 18px 34px #16131f1f;
  }
  .flow-card:hover .flow-card__image {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 20px #1e18281f;
  }
  .flow-card--payfi-card:hover .flow-card__image {
    box-shadow: none;
    transform: none;
  }
}

/* Payment methods marquee */
.payment-marquee-wrap {
  margin-top: 2.25rem;
  padding: 4rem 0 0.9rem;
}
.payment-marquee-wrap .marquee-logo {
  max-height: 65px;
}

/* Results & focus modes */
.results-section {
  background: #fff;
  padding: 6.3rem 0 8.2rem;
}
.results-top {
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 4.6rem;
  display: grid;
}
.results-title {
  letter-spacing: 0%;
  flex-direction: column;
  align-items: flex-start;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  font-weight: 600;
  line-height: 100%;
  display: inline-flex;
}
.results-title__line {
  white-space: nowrap;
  display: block;
}
.results-intro p {
  color: #25262f;
  max-width: 64ch;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  font-weight: 500;
  line-height: 1.42;
}
.focus-modes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.7rem;
  display: grid;
}
.focus-mode {
  text-align: center;
  border-bottom: 2px solid #c4b5fd;
  padding-bottom: 0.5rem;
}
.focus-mode__icon-image {
  object-fit: contain;
  width: auto;
  height: 5rem;
  margin: 0 auto;
  display: block;
}
.focus-mode__label {
  margin-top: 0.62rem;
  font-family: Sora, sans-serif;
  font-size: 1.65rem;
  font-weight: 500;
  display: block;
}
.results-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.2rem;
  display: grid;
}
.result-card {
  background: #f0eff2;
  border: 1px solid #e2e0e2;
  border-radius: 0.9rem;
  min-height: 22.3rem;
  padding: 1.6rem 1.45rem;
  position: relative;
  overflow: hidden;
}
.result-card h3 {
  letter-spacing: -0.02em;
  z-index: 2;
  font-family: Sora, sans-serif;
  font-size: clamp(1.45rem, 1.7vw, 2.2rem);
  font-weight: 500;
  line-height: 1.12;
  position: relative;
}
.result-card--providers {
  background: #dfdee2;
}
.result-card__visual {
  z-index: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: 0.34;
  width: 108%;
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
}
.result-card__visual--providers {
  opacity: 0.9;
  width: 106%;
  bottom: -2.35rem;
  right: -1.35rem;
}
.result-card--methods {
  background: url(/smarter-better-background.png) 50% / cover no-repeat;
}
.result-card--methods h3 {
  color: #fff;
}
.method-strip {
  z-index: 1;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: 108%;
  display: flex;
  position: absolute;
  top: 59%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.method-strip__row {
  object-fit: contain;
  width: 92%;
  display: block;
}
.method-strip__row--top {
  transform: translate(3%);
}
.method-strip__row--bottom {
  transform: translate(-3%);
}
.result-card--routing {
  background: #dcdcdf;
}
.result-card__visual--routing {
  opacity: 1;
  z-index: 1;
  filter: drop-shadow(0 6px 10px #120e1b1a);
  width: 124%;
  top: 10rem;
  bottom: 0;
  right: -3.5rem;
  transform: scale(1.2);
}
.result-card--global {
  background: url(/smarter-better-background.png) 50% / cover no-repeat;
}
.result-card--global h3 {
  color: #fff;
}
.result-card__visual--global {
  opacity: 0.72;
  width: 98%;
  bottom: -2.2rem;
  right: -0.65rem;
}

/* CTA band */
.cta-section {
  text-align: center;background: url(/onoffswapbg.png) 50% / cover no-repeat;
  padding: 8rem 0 8.3rem;
  position: relative;
  overflow: hidden;
}
.cta-content {
  z-index: 2;
  position: relative;
}
.cta-content h2 {
  letter-spacing: -0.02em;
  color: #fff;
  padding-bottom: 0.55rem;
  font-family: Sora, sans-serif;
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
  font-weight: 600;
}
.cta-content__line {
  color: #ede9fe;
  margin-top: 1.25rem;
  font-size: clamp(0.88rem, 1.02vw, 1.02rem);
}
.cta-content__headline {
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
  font-family: Sora, sans-serif;
  font-size: clamp(1.55rem, 2.55vw, 2.35rem);
  font-weight: 600;
  line-height: 1.35;
}
.cta-token {
  z-index: 1;
  pointer-events: none;
  width: min(24vw, 320px);
  height: auto;
  position: absolute;
}
.cta-token--left {
  top: -164px;
  left: 50px;
}
.cta-token--right {
  bottom: -145px;
  right: 0;
}

/* Footer */
.site-footer {
  background: #fff;
  padding: 1.4rem 0 0;
}
.footer-main {
  flex-direction: column;
  align-items: flex-start;
  gap: 2.2rem;
  padding: 1.8rem 0 2.9rem;
  display: flex;
}
@media (min-width: 661px) {
  .footer-main {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 2rem;
    padding: 3rem 0 4rem;
    display: grid;
  }
  .footer-links {
    justify-self: center;
    column-gap: 4rem;
  }
  .footer-social {
    justify-self: end;
  }
}
.footer-links {
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  justify-self: start;
  justify-items: start;
  gap: 1rem 8rem;
  display: grid;
}
.footer-links__group h3 {
  letter-spacing: 0%;
  color: #14141c;
  margin-bottom: 0.85rem;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.footer-links__group ul {
  gap: 0.75rem;
  display: grid;
}
.footer-links__group a {
  letter-spacing: 0%;
  color: var(--muted-foreground, #71717a);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.footer-social {
  justify-content: flex-start;
  align-items: center;
  gap: 0.55rem;
  display: flex;
}
.footer-social a {
  color: #202430;
  background: #f6f2f2;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-family: Sora, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #d2d0d1;
  padding: 1.2rem 0 1.25rem;
}
.footer-bottom p {
  color: #8a8a94;
  letter-spacing: 0%;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

/* --- Responsive (width breakpoints) --- */
@media (max-width: 1100px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-card {
    min-height: 22.3rem;
  }
}
@media (max-width: 1199px) {
  .header-row {
    min-height: 68px;
  }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .header-row {
    min-height: 72px;
  }
}
@media (max-width: 980px) {
  .container {
    width: min(1220px, 100% - 2.4rem);
  }
  .header-row {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }
  .header-row--auth {
    grid-template-columns: auto 1fr;
  }
  .header-nav-wrap {
    justify-self: end;
  }
  .hero-grid {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .hero-copy {
    text-align: center;
    align-items: center;
  }
  .hero-section {
    padding: 2.3rem 0 3.5rem;
  }
  .hero-copy h1,
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy p {
    width: 100%;
    margin-top: 1.1rem;
    font-size: clamp(0.62rem, 1.45vw, 0.95rem);
    display: block;
  }
  .hero-copy h1 {
    align-items: center;
    font-size: clamp(2.25rem, 6.6vw, 3.8rem);
  }
  .hero-line {
    white-space: normal;
    max-width: min(100%, 22ch);
  }
  .hero-media {
    justify-content: center;
    max-width: 100%;
  }
  .hero-image {
    max-width: 375px;
    max-height: 455px;
  }
  .marquee-track {
    gap: 1.2rem;
    animation-duration: 22s;
  }
  .marquee-item {
    flex-basis: 142px;
    width: 142px;
  }
  .marquee-logo {
    max-height: 42px;
  }
  .partners-strip {
    padding-bottom: 2.7rem;
  }
  .payment-marquee-wrap .marquee-logo {
    max-height: 46px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .flow-section {
    padding: 4.8rem 0 4.6rem;
  }
  .flow-card {
    min-height: auto;
    padding: 1.25rem 1.2rem 1.2rem;
  }
  .flow-grid {
    gap: 1.15rem;
    margin-top: 2.15rem;
  }
  .results-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .results-title {
    font-size: clamp(1.65rem, 6.8vw, 2.6rem);
    line-height: 1;
  }
  .results-section {
    padding: 4.9rem 0 6.2rem;
  }
  .result-card h3 {
    font-size: clamp(2.1rem, 4.8vw, 2.5rem);
    line-height: 1.08;
  }
  .results-grid {
    gap: 1.2rem;
    margin-top: 2.4rem;
  }
  .result-card__visual--providers {
    width: 110%;
    bottom: -2.3rem;
    right: -1.2rem;
  }
  .result-card__visual--routing {
    width: 118%;
    bottom: -1.1rem;
    right: -1.2rem;
  }
  .result-card__visual--global {
    width: 114%;
    bottom: -1.8rem;
    right: -1.1rem;
  }
  .method-strip {
    gap: 1rem;
    width: 104%;
    top: 60%;
  }
  .footer-main {
    align-items: flex-start;
    gap: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-links {
    justify-self: start;
  }
  .footer-social {
    justify-content: flex-start;
  }
}
@media (min-width: 940px) and (max-width: 980px) {
  .hero-copy {
    flex-direction: column;
    align-items: center;
    display: flex;
  }
  .hero-copy h1 {
    text-align: center;
    align-items: center;
  }
  .hero-copy p {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.48;
  }
}
@media (max-width: 979px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
    justify-content: space-between;
  }
  .header-row--auth {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
  }
  .header-desktop-nav {
    display: none;
  }
  .header-menu-toggle {
    justify-content: center;
    align-items: center;
    display: inline-flex;
  }
  .header-actions {
    gap: 0.6rem;
  }
  .header-auth {
    gap: 0.45rem;
  }
  .header-auth__link {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
  .language-menu__trigger {
    min-width: 126px;
    padding: 0.5rem 0.7rem 0.5rem 0.58rem;
    font-size: 0.82rem;
  }
}
@media (max-width: 660px) {
  .footer-brand {
    margin-bottom: 0.95rem;
  }
  .hero-copy {
    width: 100%;
  }
  .header-row {
    min-height: auto;
    padding: 0.75rem 0 0.85rem;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .header-auth {
    gap: 0.35rem;
  }
  .header-auth__link {
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
  }
  .language-menu__trigger {
    min-width: 0;
    padding-right: 0.64rem;
  }
  .language-menu__label {
    display: none;
  }
  .hero-copy {
    text-align: center;
    align-items: center;
  }
  .hero-copy h1 {
    letter-spacing: 0%;
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 100%;
  }
  .hero-line {
    width: 100%;
    white-space: normal;
    max-width: 100%;
  }
  .hero-copy p {
    letter-spacing: 0%;
    color: #71717a;
    white-space: normal;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding-bottom: 0.4rem;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 110%;
    display: block;
  }
  .partners-marquee-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-image {
    max-width: 315px;
    max-height: 375px;
  }
  .flow-section {
    padding: 2.2rem 0 4.1rem;
  }
  .flow-card {
    padding: 1.1rem 1.02rem 1.02rem;
  }
  .flow-subtitle {
    margin-top: 1.05rem;
  }
  .flow-grid {
    gap: 1rem;
    margin-top: 1.85rem;
  }
  .payment-marquee-wrap {
    width: 100vw;
    margin-top: 1.9rem;
    padding: 2rem 0 0.8rem;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .payment-marquee-wrap .marquee-track {
    gap: 1rem;
    animation-duration: 18s;
  }
  .partners-marquee-wrap .marquee-track {
    gap: 1rem;
  }
  .partners-marquee-wrap .marquee-item {
    flex-basis: 165px;
    width: 165px;
  }
  .partners-marquee-wrap .marquee-logo {
    max-height: 58px;
  }
  .payment-marquee-wrap .marquee-item {
    flex-basis: 165px;
    width: 165px;
  }
  .payment-marquee-wrap .marquee-logo {
    max-height: 65px;
  }
  .focus-modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }
  .focus-mode__icon-image {
    height: 5rem;
  }
  .results-title {
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
  }
  .results-intro p {
    letter-spacing: 0%;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
  }
  .focus-mode__label {
    letter-spacing: 0%;
    text-align: center;
    margin-top: 1.5rem;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
  }
  .results-title__line {
    white-space: nowrap;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .result-card {
    min-height: 22rem;
    padding: 2.2rem 1rem;
  }
  .result-card h3 {
    letter-spacing: 0%;
    white-space: nowrap;
    font-family: Montserrat, sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 120%;
  }
  .result-card__visual--providers {
    width: 104%;
    bottom: -1.6rem;
    right: -0.5rem;
  }
  .result-card__visual--routing {
    width: 112%;
    bottom: -0.8rem;
    right: -0.7rem;
  }
  .result-card__visual--global {
    width: 106%;
    bottom: -1.3rem;
    right: -0.4rem;
  }
  .method-strip {
    gap: 0.9rem;
    width: 102%;
    top: 60.5%;
  }
  .results-section {
    padding: 4.2rem 0 5.2rem;
  }
  .cta-section {
    background: url(/onoffswapbg.png) 50% / cover no-repeat;
    padding: 6.8rem 0 7.2rem;
  }
  .cta-content h2 {
    letter-spacing: 0%;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 100%;
  }
  .cta-content__headline {
    letter-spacing: 0%;
    text-align: center;
    margin-top: 1.25rem;
    font-family: Montserrat, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 135%;
  }
  .cta-content__line {
    letter-spacing: 0%;
    text-align: center;
    margin-top: 1.25rem;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
  }
  .cta-token {
    opacity: 0.95;
    width: min(34vw, 210px);
  }
  .cta-token--left {
    top: -112px;
    left: 0;
  }
  .cta-token--right {
    bottom: -108px;
    right: -28px;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .marquee-track {
    animation: none;
  }
}
