/* ============================================================
   Elmino — Apple-style RTL landing (light theme)
   Scoped to .payments-landing so site layout stays unaffected.
   ============================================================ */

.payments-landing {
  --bg:        #f5f6f8;
  --bg-soft:   #eef0f4;
  --surface:   #ffffff;
  --surface-2: #f8f9fc;
  --line:      rgba(15, 23, 42, .08);
  --line-2:    rgba(15, 23, 42, .14);
  --text:      #1a1d26;
  --muted:     #5c6370;
  --muted-2:   #8b919d;
  --brand:     #2563eb;
  --brand-2:   #0891b2;
  --accent:    #6d28d9;
  --ok:        #16a34a;
  --radius:    22px;
  --radius-sm: 14px;
  --maxw:      1120px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --site-nav-h: 53px;

  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.payments-landing,
.payments-landing *,
.payments-landing *::before,
.payments-landing *::after {
  box-sizing: border-box;
}

.payments-landing a:not(.btn) { color: inherit; text-decoration: none; }
.payments-landing img:not(.brand-chip__logo),
.payments-landing svg { display: block; }
.payments-landing ::selection { background: var(--brand); color: #fff; }

/* ============ Shared ============ */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; padding: 0 24px; }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.section-desc { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, opacity .3s;
  will-change: transform;
}
.payments-landing .btn--primary,
.payments-landing .btn--primary:hover,
.payments-landing .btn--primary:focus,
.payments-landing .btn--primary:active {
  color: #fff;
}
.payments-landing .btn--primary .btn__arrow {
  color: #fff;
}
.payments-landing .btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 8px 30px -8px rgba(37,99,235,.35);
}
.payments-landing .btn--primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 14px 40px -8px rgba(37,99,235,.35); }
.btn--ghost { background: rgba(15,23,42,.04); color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(15,23,42,.08); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; margin-top: 28px; padding: 16px; font-size: 1.05rem; }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-6px); }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.nav__logo { color: var(--brand-2); display: grid; place-items: center; }
.nav__links { display: flex; gap: 28px; margin-inline-start: auto; }
.nav__links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .25s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px;
  background: var(--brand); border-radius: 2px; transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: rgba(15,23,42,.04); border: 1px solid var(--line-2);
  padding: 9px 20px; border-radius: 100px; font-weight: 600; font-size: .92rem;
  transition: background .25s, transform .25s;
}
.nav__cta:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-1px); }

/* ============ HERO ============ */
.payments-landing .hero {
  position: relative;
  min-height: calc(100svh - var(--site-nav-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
  overflow: hidden;
}
.payments-landing .hero__bg { position: absolute; inset: 0; z-index: 0; }
.payments-landing .orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35;
  will-change: transform;
}
.payments-landing .orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 70%); top: -80px; right: 8%; }
.payments-landing .orb--2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(109,40,217,.35), transparent 70%); bottom: -120px; left: 4%; }
.payments-landing .orb--3 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(8,145,178,.35), transparent 70%); top: 30%; left: 38%; opacity: .25; }
.payments-landing .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: .5;
}

.payments-landing .hero__content {
  position: relative; z-index: 2; width: 100%; max-width: 880px;
  margin-inline: auto; text-align: center;
}
.payments-landing .hero__eyebrow {
  display: inline-block; font-size: .9rem; font-weight: 600; color: var(--brand-2);
  background: rgba(8,145,178,.1); border: 1px solid rgba(8,145,178,.22);
  padding: 7px 18px; border-radius: 100px; margin-bottom: 26px;
}
.payments-landing .hero__title {
  font-size: clamp(2.3rem, 6.5vw, 5rem);
  font-weight: 900; line-height: 1.4; letter-spacing: -.02em;
  text-align: center;
}
.payments-landing .hero__title .line { display: block; overflow: hidden; text-align: center; }
.payments-landing .hero__title .line > span { display: inline-block; will-change: transform; }
.payments-landing .grad {
  background: linear-gradient(100deg, var(--brand-2), var(--brand) 45%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.payments-landing .hero__sub {
  color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.25rem);
  max-width: 640px; margin: 28px auto 0; text-align: center;
}
.payments-landing .hero__actions {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  margin-top: 40px; flex-wrap: wrap;
}

.payments-landing .trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: center; margin-top: 48px; padding: 0;
}
.payments-landing .trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 100px;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.payments-landing .trust__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.payments-landing .hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.payments-landing .mouse { display: block; width: 26px; height: 42px; border: 2px solid var(--muted-2); border-radius: 14px; position: relative; }
.payments-landing .wheel { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 4px; background: var(--muted); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ============ Reveal helpers ============ */
.reveal, .reveal-up { opacity: 0; }
.reveal { transform: translateY(20px); }
.reveal-up { transform: translateY(40px); }

/* ============ ORDER / FORM ============ */
.order { max-width: 860px; margin: 0 auto; padding: 120px 24px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 50px -24px rgba(15,23,42,.12);
}

.tabs {
  position: relative; display: flex; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px;
  padding: 7px; margin-bottom: 30px;
}
.tab {
  flex: 1; position: relative; z-index: 2;
  font-size: .92rem; font-weight: 600; color: var(--muted);
  background: transparent; border: none; cursor: pointer;
  padding: 13px 18px; border-radius: 100px; transition: color .3s;
  display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
}
.tab:hover:not(.is-active) { color: var(--text); }
.tab.is-active { color: #fff; }
.tab__emoji { font-size: 1.05rem; line-height: 1; }
/* Sliding indicator: JS sets left/width to exactly cover the active tab.
   top/bottom match the container's 7px padding so it never overflows the track. */
.tab__pill {
  position: absolute; z-index: 1; top: 7px; bottom: 7px; left: 0; width: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  transition: left .45s var(--ease), width .45s var(--ease);
  box-shadow: 0 6px 20px -6px rgba(37,99,235,.35);
  pointer-events: none;
}

.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field__label em { color: var(--brand-2); font-style: normal; }
.field__input {
  font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color .25s, box-shadow .25s, background .25s;
  appearance: none;
}
.field__input::placeholder { color: var(--muted-2); }
.field__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37,99,235,.12); background: var(--surface); }
select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6370' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 15px center; padding-left: 40px;
}
.field__help { font-size: .78rem; color: var(--muted-2); }
.field__amount { position: relative; }
.field__amount .field__input { padding-left: 52px; }
.field__suffix { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }

/* Calculator */
.calc {
  margin-top: 24px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px; overflow: hidden; position: relative;
}
.calc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 120px at 80% 0%, rgba(37,99,235,.08), transparent 70%);
}
.calc__row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: .98rem; position: relative; }
.calc__row--muted { color: var(--muted); font-size: .9rem; }
.calc__hint { font-style: normal; color: var(--muted-2); font-size: .8rem; }
.calc__row strong i { font-style: normal; color: var(--muted); font-weight: 600; }
.calc__divider { height: 1px; background: var(--line-2); margin: 10px 0; }
.calc__row--total { font-size: 1.05rem; font-weight: 700; }
.calc__total { font-size: 1.5rem; font-weight: 800; color: var(--ok); }
.calc__total .cSym,
.calc__total i { color: var(--ok); font-style: normal; font-weight: 800; }
.calc__note { margin-top: 14px; font-size: .82rem; color: var(--muted-2); line-height: 1.8; border-top: 1px dashed var(--line); padding-top: 14px; }

/* Expand button */
.form__expand {
  width: 100%; margin-top: 24px; font-weight: 600; font-size: 1rem; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 15px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background .25s, border-color .25s;
}
.form__expand:hover { background: var(--surface); border-color: var(--brand); }
.form__expand-icon { font-size: 1.4rem; line-height: 1; transition: transform .4s var(--ease); color: var(--brand-2); }
.form__expand[aria-expanded="true"] .form__expand-icon { transform: rotate(45deg); }
.form__details { margin-top: 22px; }

/* File dropzone */
.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); padding: 28px 20px;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand); background: rgba(37,99,235,.05); }
.dropzone__icon { font-size: 1.8rem; }
.dropzone__text { font-size: .92rem; color: var(--muted); }
.dropzone__hint { font-size: .76rem; color: var(--muted-2); }
.dropzone.is-filled { border-color: var(--ok); background: rgba(22,163,74,.08); }

/* Checkbox */
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px;
  border: 1.5px solid var(--line-2); background: var(--surface); position: relative; transition: all .25s var(--ease);
}
.check input:checked + .check__box { background: linear-gradient(135deg, var(--brand), var(--accent)); border-color: transparent; }
.check__box::after { content: ""; position: absolute; inset: 0; background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); opacity: 0; transform: scale(.5); transition: all .25s var(--ease); }
.check input:checked + .check__box::after { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(46,123,255,.25); }
.check__text { font-size: .9rem; color: var(--muted); line-height: 1.8; }
.check__link { color: var(--brand-2); font-weight: 600; }
.check__link:hover { text-decoration: underline; }

.form__success { margin-top: 20px; text-align: center; color: var(--ok); font-weight: 600; background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.22); border-radius: var(--radius-sm); padding: 16px; }

/* ============ PAYMENT STEPS ============ */
.steps { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.steps__flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.steps__item {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.step-card {
  flex: 1;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s;
  background: radial-gradient(400px 160px at 100% 0%, rgba(37,99,235,.08), transparent 70%);
  pointer-events: none;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,.2);
  box-shadow: 0 14px 36px rgba(15,23,42,.08);
}
.step-card:hover::before { opacity: 1; }
.step-card__num {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.step-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
  position: relative;
}
.step-card__desc {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.85;
  position: relative;
}
.steps__arrow {
  flex: 0 0 auto;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.steps__arrow-icon { animation: stepArrowPulse 2.2s var(--ease) infinite; }
.steps__arrow-icon--v { display: none; }
@keyframes stepArrowPulse {
  0%, 100% { opacity: .45; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-5px); }
}

/* ============ WHY / FEATURES ============ */
.why { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px 60px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,.05);
}
.feature::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .45s;
  background: radial-gradient(500px 200px at 80% -10%, rgba(109,40,217,.08), transparent 70%);
}
.feature:hover { transform: translateY(-6px); border-color: rgba(37,99,235,.2); box-shadow: 0 16px 40px rgba(15,23,42,.08); }
.feature:hover::before { opacity: 1; }
.feature__icon { font-size: 2.2rem; margin-bottom: 18px; display: inline-block; }
.feature h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.stat { text-align: center; padding: 28px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.stat__num {
  display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1;
  background: linear-gradient(120deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; margin-top: 12px; color: var(--muted); font-size: .92rem; }

/* ============ PARTNERS ============ */
.partners { padding: 80px 0; overflow: hidden; }
.marquee {
  position: relative; display: flex; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
/* Each group is ≥ the viewport wide (min-width:100%) and includes a trailing gap
   (padding-right) so translateX(-100%) lands the next group exactly at the start —
   a continuous, never-empty loop on any screen width. */
.marquee__group {
  flex: 0 0 auto; display: flex; align-items: center; gap: 18px; padding-right: 18px;
  min-width: 100%; justify-content: space-around;
  list-style: none; margin: 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__group { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.payments-landing .brand-chip {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 24px 8px 12px;
  direction: ltr;
  white-space: nowrap;
  transition: color .25s, border-color .25s, box-shadow .25s;
  box-shadow: 0 2px 10px rgba(15,23,42,.04);
}
.payments-landing .brand-chip__logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 32px;
}
.payments-landing .brand-chip__title {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}
.payments-landing .brand-chip:hover { color: var(--text); border-color: rgba(37,99,235,.25); box-shadow: 0 6px 18px rgba(15,23,42,.06); }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s, box-shadow .3s; box-shadow: 0 2px 12px rgba(15,23,42,.04); }
.acc[open] { border-color: rgba(37,99,235,.2); box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.acc summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { flex: 0 0 auto; font-size: 1.5rem; color: var(--brand-2); transition: transform .35s var(--ease); line-height: 1; }
.acc[open] .acc__icon { transform: rotate(45deg); }
.acc__body { padding: 0 24px 24px; color: var(--muted); animation: accIn .4s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ============ CTA BAND ============ */
.cta-band { padding: 40px 24px 110px; }
.cta-band__inner {
  max-width: var(--maxw); margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(109,40,217,.08));
  border: 1px solid var(--line); border-radius: 32px; padding: 64px 32px;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,23,42,.06);
}
.cta-band__inner::before { content: ""; position: absolute; inset: -50% 30% auto auto; width: 380px; height: 380px; background: radial-gradient(circle, rgba(8,145,178,.15), transparent 70%); filter: blur(40px); }
.cta-band__inner h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 30px; position: relative; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 56px 24px 32px; background: var(--surface); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; max-width: 320px; }
.footer__brand strong { font-size: 1.2rem; }
.footer__brand p { color: var(--muted); font-size: .92rem; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.footer__badges span { font-size: .82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px; direction: ltr; }
.footer__copy { max-width: var(--maxw); margin: 40px auto 0; text-align: center; color: var(--muted-2); font-size: .85rem; }

/* ============ Responsive ============ */

/* Tablet */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }

  .steps { padding: 64px 18px; }
  .steps__flow {
    flex-direction: column;
    align-items: center;
  }
  .steps__item {
    flex-direction: column;
    width: 100%;
    max-width: 560px;
  }
  .step-card { width: 100%; }
  .steps__arrow {
    width: auto;
    height: 40px;
    padding: 6px 0 10px;
  }
  .steps__arrow-icon--h { display: none; }
  .steps__arrow-icon--v {
    display: block;
    animation-name: stepArrowPulseV;
  }
}
@keyframes stepArrowPulseV {
  0%, 100% { opacity: .45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(5px); }
}

/* Mobile / small tablet */
@media (max-width: 760px) {
  .nav__inner { padding: 12px 18px; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { padding: 8px 16px; font-size: .85rem; }

  /* Hero: smaller type, generous fit, stacked CTAs */
  .payments-landing .hero { padding: 32px 20px 56px; min-height: calc(100svh - var(--site-nav-h)); }
  .payments-landing .hero__eyebrow { margin-bottom: 18px; font-size: .82rem; padding: 6px 14px; }
  .payments-landing .hero__title { font-size: clamp(1.75rem, 8.5vw, 3rem); line-height: 1.4; }
  .payments-landing .hero__sub { font-size: 1rem; margin-top: 20px; }
  .payments-landing .hero__actions { margin-top: 30px; gap: 12px; }
  .payments-landing .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .payments-landing .trust { margin-top: 32px; gap: 8px 10px; }
  .payments-landing .trust li { font-size: .8rem; padding: 7px 13px; }
  .payments-landing .orb { filter: blur(56px); }
  .payments-landing .orb--1 { width: 320px; height: 320px; }
  .payments-landing .orb--2 { width: 340px; height: 340px; }
  .payments-landing .orb--3 { width: 260px; height: 260px; }

  /* Section rhythm */
  .order { padding: 80px 18px; }
  .steps { padding: 56px 18px; }
  .why { padding: 56px 18px 48px; }
  .faq { padding: 64px 18px; }
  .partners { padding: 56px 0; }
  .section-head { margin-bottom: 40px; padding: 0 18px; }
  .section-desc { font-size: .98rem; }

  /* Form */
  .form__grid, .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; }
  .card { padding: 20px; }
  .field--full { grid-column: 1 / -1; }

  /* Tabs become a horizontal scroller; the sliding pill is replaced by a solid active state */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; font-size: .85rem; padding: 11px 16px; }
  .tab__pill { display: none; }
  .tab.is-active { background: linear-gradient(135deg, var(--brand), var(--accent)); border-radius: 100px; box-shadow: 0 6px 18px -6px rgba(37,99,235,.35); }

  .calc { padding: 18px; }
  .calc__total { font-size: 1.3rem; }

  .feature { padding: 26px 22px; }
  .acc summary { padding: 18px 18px; font-size: .98rem; gap: 12px; }
  .acc__body { padding: 0 18px 20px; }

  .cta-band { padding: 24px 18px 84px; }
  .cta-band__inner { padding: 48px 24px; border-radius: 24px; }

  .footer { padding: 44px 18px 28px; }
  .footer__inner { flex-direction: column; gap: 24px; }
}

/* Small phones */
@media (max-width: 400px) {
  .payments-landing .hero__title { font-size: clamp(1.55rem, 8vw, 2.4rem); }
  .payments-landing .hero__actions { flex-direction: column; }
  .payments-landing .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .nav__name { font-size: 1.05rem; }
  .payments-landing .brand-chip { font-size: .95rem; padding: 8px 20px 8px 10px; }
}

/* ============ nofx test/SEO mode ============ */
.nofx .payments-landing .hero { min-height: auto; }
.nofx .payments-landing .orb,
.nofx .payments-landing .hero__scroll { display: none; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-up { opacity: 1 !important; transform: none !important; }
  .steps__arrow-icon { animation: none !important; opacity: .7; }
}
