/* fasttrackpay.es
   Built on the mybankmatch.eu and govreader.com design: clear surfaces and the background grid,
   in the FastTrackPay colours of the video «FastTrackPay: cuatro razones» (navy and red; coral on
   dark surfaces).
   DM Sans is self-hosted. Keep styles here: the CSP does not allow inline styles. */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #071c30;
  --navy-800: #0a2540;
  --navy-700: #0f3554;
  --navy-600: #1b4d78;
  /* Brand (tools/fasttrackpay/build_brand.py): navy #0F3554, red #B8292F, coral #FF7A64 for dark
     surfaces. Red and coral are brand colours only, never a payment outcome. */
  --brand-500: #b8292f;
  --brand-600: #9f2328;
  --brand-700: #b8292f;
  --brand-100: #f8e9e9;
  --coral: #ff7a64;
  /* A settled payment: always with an icon and text, never colour alone. */
  --match-700: #1a7f53;
  --match-100: #e3f3eb;
  --paper: #ffffff;
  --ivory: #f6f8fa;
  --sand: #edf1f4;
  --line: #d8e0e6;
  --input-line: #7e909f;
  --ink: #142b3f;
  --slate: #526473;
  --mist: #b9c6d4;
  --focus: #1b67a1;

  --font-display: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 7vw, 96px);
  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 2px 4px rgba(15, 53, 84, .025), 0 12px 32px -20px rgba(15, 53, 84, .16);
  --shadow-lift: 0 4px 12px rgba(15, 53, 84, .04), 0 24px 64px -24px rgba(15, 53, 84, .22);
  --header-height: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--coral);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container > * {
  min-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand-500);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-small);
}

.skip-link:focus {
  top: 12px;
}

/* Sprite symbols take their paint from the referencing element, so it is set here. */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  margin-bottom: 16px;
  color: var(--brand-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--coral);
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.button .icon {
  transition: transform .2s;
}

.button:hover .icon {
  transform: translateX(3px);
}

.button--small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: .9375rem;
}

.button--accent {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 2px 3px rgba(184, 41, 47, .12);
}

.button--accent:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
}

.button--primary {
  background: var(--navy-700);
  color: #fff;
}

.button--primary:hover {
  background: var(--navy-800);
}

.button--ghost {
  border-color: #aab9c5;
  background: var(--paper);
  color: var(--navy-700);
}

.button--ghost:hover {
  border-color: var(--navy-700);
}

.button--ghost-light {
  border-color: #aab9c5;
  background: var(--paper);
  color: var(--navy-700);
}

.button--ghost-light:hover {
  border-color: var(--navy-700);
  background: var(--ivory);
}

.button[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand-500);
  padding-bottom: 3px;
}

.link-arrow .icon {
  transition: transform .2s;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-arrow--light {
  color: #fff;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.link-row--center {
  justify-content: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background-color .25s, box-shadow .25s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 5px 20px -14px rgba(15, 53, 84, .25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-height);
}

.brand {
  flex: none;
  display: block;
}

.brand-group {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.brand__endorsement {
  /* Lines the endorsement up with the wordmark, which starts at 31.1 % of the logo width. */
  margin-left: 78px;
  color: var(--slate);
  font-size: .625rem;
  font-weight: 500;
  line-height: 1.3;
}

.brand__logo {
  width: 250px;
  height: auto;
  aspect-ratio: 1052 / 113;
}

.site-header__cta {
  display: none;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 40px);
}

.site-nav__list {
  display: flex;
  gap: 4px;
}

.site-nav__link {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: var(--slate);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}

.site-nav__link:hover,
.site-nav__link[aria-current] {
  color: var(--navy-700);
}

.site-nav__link[aria-current] {
  background: var(--ivory);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-menu {
  position: relative;
}

.lang-menu__summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 7px;
  color: var(--slate);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
}

.lang-menu__summary::-webkit-details-marker {
  display: none;
}

.lang-menu__summary:hover {
  color: var(--navy-700);
}

.lang-menu__chevron {
  width: 1em;
  height: 1em;
  transition: transform .2s;
}

.lang-menu[open] .lang-menu__chevron {
  transform: rotate(180deg);
}

.lang-menu__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  min-width: 180px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.lang-menu:not([open]) > .lang-menu__list {
  display: none;
}

.lang-menu__list a {
  display: block;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-small);
  color: var(--ink);
  font-size: .9375rem;
  text-decoration: none;
}

.lang-menu__list a:hover {
  background: var(--ivory);
}

.lang-menu__list a[aria-current="true"] {
  color: var(--brand-700);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy-700);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* ---------- Hero ---------- */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 500px at 92% 10%, rgba(255, 122, 100, .06), transparent 70%),
    linear-gradient(180deg, #fbfcfd, #f5f8fa);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 53, 84, .052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 53, 84, .052) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}

.hero > .container,
.page-hero > .container {
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
}

.hero .eyebrow--light,
.page-hero .eyebrow--light {
  color: var(--brand-700);
}

.hero__title {
  max-width: 12em;
  color: var(--navy-800);
  font-size: clamp(2.25rem, 4.2vw, 3.625rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hero__title em {
  font-style: normal;
  color: var(--navy-600);
}

.hero__lead {
  max-width: 34em;
  margin-top: 24px;
  color: var(--slate);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--slate);
  font-size: .8125rem;
}

.hero__note a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-underline-offset: 3px;
}

.hero__note a .icon {
  width: 16px;
  height: 16px;
}

/* An illustrative document and its structured response, kept on one surface. */
.hero__visual {
  position: relative;
  min-width: 0;
}

.product-preview {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #cfd9e2;
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
}

.product-preview__stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fa;
  counter-reset: preview-stage;
}

.product-preview__stages li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--slate);
  font-size: .71875rem;
  font-weight: 500;
  line-height: 1.4;
  counter-increment: preview-stage;
}

.product-preview__stages li::before {
  content: counter(preview-stage);
  display: grid;
  place-items: center;
  flex: none;
  width: 19px;
  height: 19px;
  border: 1px solid #b9c6d0;
  border-radius: 50%;
  background: var(--paper);
  font-size: .625rem;
}

.product-preview__stages li[aria-current="step"] {
  color: var(--navy-700);
  font-weight: 700;
}

.product-preview__stages li[aria-current="step"]::before {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: #fff;
}

.product-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 24px 18px;
}

.product-preview__title {
  color: var(--navy-800);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -.015em;
}

.product-preview__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid #bfd9cc;
  border-radius: 5px;
  background: var(--match-100);
  color: var(--match-700);
  font-size: .6875rem;
  font-weight: 600;
}

.product-preview__status .icon {
  width: 14px;
  height: 14px;
}

.product-preview__body {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
  padding: 0 24px 24px;
}

.product-preview__result {
  min-width: 0;
}

.product-preview__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  margin-bottom: 18px;
}

.product-preview__fields dt {
  color: var(--slate);
  font-size: .65625rem;
  line-height: 1.5;
}

.product-preview__fields dd {
  margin-top: 3px;
  color: var(--navy-800);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-preview__code {
  overflow-x: auto;
  padding: 15px 14px;
  border-radius: 6px;
  background: var(--navy-800);
  color: #dce8f3;
  font-family: var(--font-mono);
  font-size: .65625rem;
  line-height: 1.8;
  tab-size: 2;
}

.product-preview__caption {
  margin: 0;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
  color: var(--slate);
  font-size: .71875rem;
  line-height: 1.6;
}

.tok-key {
  color: #9ecbff;
}

.tok-str {
  color: #f0cf7e;
}

.tok-lit {
  color: #7fe0b3;
}

.tok-com {
  color: #7f93a8;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 3fr);
  gap: 20px 32px;
  align-items: center;
  padding-block: 24px 28px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: .8125rem;
}

.trust__title {
  color: var(--navy-700);
  font-weight: 600;
}

.trust__list {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 16px 24px;
}

.trust__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.trust__list .icon {
  margin-top: 1px;
  color: var(--navy-600);
  width: 21px;
  height: 21px;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  padding-block: clamp(36px, 4.5vw, 60px);
}

.page-hero__title {
  max-width: 24em;
  color: var(--navy-800);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.035em;
}

.page-hero__lead {
  max-width: 46em;
  margin-top: 16px;
  color: var(--slate);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.page-hero--center {
  padding-block: clamp(64px, 9vw, 120px);
  text-align: center;
}

.page-hero--center .page-hero__title,
.page-hero--center .page-hero__lead {
  margin-inline: auto;
}

.page-hero--center .link-row {
  margin-top: 36px;
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section);
}

.section--tint {
  background: var(--ivory);
  border-block: 1px solid var(--line);
}

.section--dark {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
}

.section__head {
  max-width: 46em;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.section__head--left {
  margin-inline: 0;
  margin-bottom: 0;
  text-align: left;
}

.section__title {
  font-size: clamp(1.75rem, 2.8vw, 2.375rem);
  letter-spacing: -.035em;
}

.section__lead {
  margin-top: 18px;
  color: var(--slate);
  font-size: 1.0625rem;
}

.section--dark .section__lead {
  color: var(--mist);
}

.section__head--left .link-arrow {
  margin-top: 28px;
}

.section__more {
  margin-top: clamp(32px, 4vw, 48px);
  justify-content: center;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.split--center {
  align-items: center;
}

/* ---------- Features, facts, steps ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.feature-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature h2,
.feature h3 {
  margin-top: 18px;
  font-size: 1.1875rem;
  letter-spacing: -.015em;
}

.feature p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 1rem;
}

.feature__icon,
.case-card__icon,
.case-tile__icon,
.europe__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--navy-700);
}

.feature__icon .icon,
.case-card__icon .icon,
.case-tile__icon .icon,
.europe__icon .icon {
  width: 23px;
  height: 23px;
}

.feature--card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step__number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--navy-700);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.step h3 {
  margin-top: 16px;
  font-size: 1.125rem;
}

.step p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 1rem;
}

/* ---------- Use case tiles and cards ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-tile {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.case-tile:hover {
  transform: translateY(-2px);
  border-color: #9eb1bf;
  box-shadow: var(--shadow);
}

.case-tile__title {
  flex: 1;
  font-family: var(--font-display);
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.case-tile__arrow {
  color: var(--brand-700);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  padding: clamp(26px, 3vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-card__title {
  margin-top: 22px;
  font-size: 1.375rem;
}

.case-card__text {
  margin-top: 12px;
  color: var(--slate);
}

.case-card__label {
  margin-top: 24px;
  color: var(--brand-700);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Developers ---------- */

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list .icon {
  margin-top: 3px;
  color: var(--match-700);
}

.section--dark .check-list .icon {
  color: var(--coral);
}

.code-window {
  min-width: 0;
  border-radius: var(--radius);
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-lift);
  color: #d6e2ee;
  overflow: hidden;
}

.code-window__bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}

.code-window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.code-window__bar p {
  margin-left: 10px;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.code-window pre {
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: .8438rem;
  line-height: 1.75;
  tab-size: 2;
}

.dev-steps {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.dev-step {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.dev-step h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.dev-step p {
  margin-top: 12px;
  color: var(--slate);
}

.dev-step .dev-step__note {
  font-size: .875rem;
  font-style: italic;
}

/* ---------- Notes, security ---------- */

.availability-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid #ccdae6;
  border-left: 3px solid var(--navy-600);
  border-radius: 8px;
  background: #f0f5f9;
  color: #3f5669;
  font-size: .875rem;
  line-height: 1.7;
}

.availability-note > .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--navy-600);
}

.availability-note p + p {
  margin-top: 8px;
}

.europe {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(26px, 4vw, 44px);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-500);
  border-radius: var(--radius);
}

.europe__title {
  font-size: 1.375rem;
}

.europe p {
  max-width: 48em;
  margin-top: 10px;
  color: var(--slate);
}

.europe .link-arrow,
.europe .link-row {
  margin-top: 20px;
}

.europe .link-row .link-arrow {
  margin-top: 0;
}



/* ---------- MyBankMatch components ---------- */

/* The declared payee in the hero panel: a fictitious account card. */







/* The three verdicts of a check. */











.check-list--card {
  margin-top: 0;
  padding: clamp(24px, 3vw, 36px);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-card__when {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
  color: var(--ink);
}

.case-card__when .icon {
  flex: none;
  margin-top: 4px;
  color: var(--brand-700);
}

/* Reference tables on the developers page. */
.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--ivory);
  color: var(--slate);
  font-size: .8125rem;
  font-weight: 600;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th {
  white-space: nowrap;
}

.data-table code {
  color: var(--navy-700);
  font-family: var(--font-mono);
  font-size: .8125rem;
}

.table-note {
  margin-top: 14px;
  color: var(--slate);
  font-size: .875rem;
}

@media (max-width: 520px) {
  .page-home .product-preview__body {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Call to action ---------- */

.cta {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(40px, 5vw, 64px);
}

.cta__title {
  max-width: 22em;
  color: var(--navy-800);
  font-size: clamp(1.5rem, 2.7vw, 2rem);
}

.cta__text {
  max-width: 38em;
  margin-top: 12px;
  color: var(--slate);
}

/* Decorative divider: the empty alternative text keeps it out of the accessibility tree. */

.feature--card .link-arrow {
  margin-top: 18px;
}

/* The last word and the arrow wrap together. */

/* svg is display: block site-wide; here it has to stay in the line of text. */

/* ---------- Contact ---------- */

.page-contact .page-hero {
  padding-block: 32px;
}

.page-contact .page-hero__title {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
}

.page-contact .page-hero + .section {
  padding-top: 36px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field__label {
  font-size: .9063rem;
  font-weight: 600;
}

.field__input {
  width: 100%;
  padding: 13px 15px;
  min-height: 48px;
  border: 1px solid var(--input-line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.field__input:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--focus);
  background: var(--paper);
  box-shadow: none;
}

.field__input::placeholder {
  color: #617382;
  opacity: 1;
}

.field__input--area {
  min-height: 100px;
  resize: vertical;
}

.field__hint {
  color: var(--slate);
  font-size: .8125rem;
  line-height: 1.5;
}

.field__error {
  display: block;
  color: #a32a24;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.5;
}

.check .field__error {
  margin-top: 5px;
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--slate);
  font-size: .9375rem;
}

.check input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 3px 0 0;
  accent-color: var(--navy-700);
}

.check a {
  color: var(--navy-700);
  font-weight: 600;
  text-underline-offset: 3px;
}

.is-invalid .field__input,
.is-invalid.check {
  border-color: #b3261e;
  color: #b3261e;
}

.form .button {
  justify-self: start;
}

.form-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
}

.form-notice .icon {
  margin-top: 3px;
}

.form-notice--ok {
  background: var(--match-100);
  color: var(--match-700);
}

.form-notice--error {
  background: #fbe9e7;
  color: #8c1d18;
}

.contact__aside {
  display: grid;
  gap: 24px;
}

.contact-box {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  background: #f1f5f8;
  border-radius: var(--radius);
  color: var(--ink);
}

.contact-box h2 {
  font-size: 1.125rem;
}

.contact-box__steps {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  counter-reset: next;
  color: var(--slate);
  font-size: .9375rem;
}

.contact-box__steps li {
  position: relative;
  padding-left: 44px;
  counter-increment: next;
}

.contact-box__steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d7c390;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy-700);
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-box--plain {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.contact-box__list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-box__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-box__list .icon {
  margin-top: 4px;
  color: var(--brand-700);
}

.contact-box__list a {
  min-width: 0;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--mist);
  font-size: .9375rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(48px, 6vw, 80px) 40px;
}

.site-footer__brand p {
  max-width: 22em;
  margin-top: 18px;
}

.site-footer__brand img {
  width: 250px;
  height: auto;
  aspect-ratio: 1052 / 113;
}

.site-footer__column h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-text);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer__column ul {
  display: grid;
  gap: 10px;
}

.site-footer a {
  text-decoration: none;
  transition: color .2s;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: grid;
  gap: 10px;
  padding-block: 28px 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8438rem;
}

.site-footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- FastTrackPay components ---------- */

/* Hero panel: what the payer sees, next to what the merchant's system receives. */
.pay-card {
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(160deg, #fff 35%, #f2f6f9);
}

.pay-card__label {
  margin-bottom: 10px;
  color: var(--slate);
  font-size: .65625rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pay-card__amount {
  color: var(--navy-800);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.pay-card__fields {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pay-card__fields dt {
  color: var(--slate);
  font-size: .65625rem;
  line-height: 1.4;
}

.pay-card__fields dd {
  margin-top: 1px;
  color: var(--navy-800);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pay-card__locked {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--navy-700);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.45;
}

.pay-card__locked .icon {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--brand-500);
}

/* The four reasons. */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  counter-reset: reason;
}

.reason-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-700);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reason-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reason-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-500);
}

.reason-card__label {
  color: var(--brand-500);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reason-card__title {
  margin-top: 18px;
  font-size: 1.3125rem;
  letter-spacing: -.015em;
}

.reason-card__text {
  margin-top: 10px;
  color: var(--slate);
  font-size: .9375rem;
}

.reason-card__stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 20px;
}

.reason-card__stat strong {
  padding-top: 16px;
  color: var(--navy-700);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.reason-card__stat span {
  color: var(--slate);
  font-size: .8125rem;
  line-height: 1.5;
}

.reason-card__stat::before {
  content: "";
  flex-basis: 100%;
  border-top: 1px solid var(--line);
}

.steps--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature--card .link-arrow {
  margin-top: 16px;
}

.case-list + .availability-note {
  margin-top: 28px;
}

/* Fixed price: the same cost for a small and a large charge. */
.price-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-compare__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  text-align: center;
}

.price-compare__label {
  color: var(--slate);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-compare__amount {
  color: var(--navy-700);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.price-compare__fee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.price-compare__fee .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--brand-500);
}

.price-compare__equals {
  color: var(--brand-500);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.price-compare__note {
  grid-column: 1 / -1;
  color: var(--slate);
  font-size: .8125rem;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }

  /* The full navigation remains in the document flow when JavaScript is unavailable. */
  html:not(.js) .site-header {
    position: static;
  }

  .site-nav {
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding-block: 12px 20px;
    background: var(--paper);
  }

  .js .site-header__inner {
    flex-wrap: nowrap;
    padding-block: 0;
  }

  .js .nav-toggle {
    display: block;
    flex: none;
    margin-left: 0;
  }

  .js .site-header__cta {
    display: inline-flex;
    margin-left: auto;
    min-height: 42px;
    padding: 10px 14px;
    font-size: .8125rem;
  }

  .js .site-header.hero-cta-visible .site-header__cta {
    display: none;
  }

  .js .site-header.hero-cta-visible .nav-toggle {
    margin-left: auto;
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: none;
    padding: 24px var(--gutter) 40px;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .nav-open {
    overflow: hidden;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__link {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--navy-700);
    font-size: 1.125rem;
  }

  .site-nav__link[aria-current] {
    background: var(--ivory);
    color: var(--navy-700);
  }

  .site-nav__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 20px;
  }

  .site-nav__actions .button {
    min-height: 50px;
  }

  .lang-menu__summary {
    justify-content: center;
    border: 1px solid var(--line);
  }

  .lang-menu__list {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
    box-shadow: none;
  }

  .hero__inner {
    gap: 40px;
  }

  .hero__title {
    font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  }

  .product-preview__body {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 12px;
    padding-inline: 18px;
  }

  .product-preview__head {
    padding-inline: 18px;
  }

  .product-preview__stages {
    gap: 8px;
    padding-inline: 18px;
  }

  .trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .site-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero__inner,
.split,
.dev-step,
.contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__title {
    max-width: 15em;
    font-size: clamp(2.25rem, 5.7vw, 3.5rem);
  }

  .hero__lead {
    max-width: 40em;
  }

  .hero__visual {
    width: 100%;
    max-width: 620px;
  }

  .product-preview__body {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 24px;
    padding-inline: 24px;
  }

  .product-preview__head,
  .product-preview__stages {
    padding-inline: 24px;
  }

  .product-preview__fields dt {
    font-size: .75rem;
  }

  .product-preview__fields dd {
    font-size: .875rem;
  }

  .product-preview__code {
    font-size: .75rem;
  }

  .section__head--left {
    margin-bottom: 8px;
  }

  .contact__aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  h1,
  h2,
  h3,
  h4 {
    hyphens: auto;
  }

  .brand__logo {
    width: 190px;
  }

  .js .site-header.hero-cta-visible .brand__logo {
    width: 230px;
  }

  .brand__endorsement {
    margin-left: 45px;
    font-size: .5625rem;
  }

  .js .site-header.hero-cta-visible .brand__endorsement {
    margin-left: 55px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .js .site-header__cta {
    padding: 10px;
    font-size: .75rem;
  }

  .site-header__cta .icon {
    display: none;
  }

  .nav-toggle {
    padding: 9px;
  }

  .hero__inner {
    gap: 32px;
    padding-block: 40px;
  }

  .hero__title {
    font-size: clamp(2rem, 8.4vw, 3rem);
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__note {
    align-items: flex-start;
  }

  .hero__note .icon {
    margin-top: 3px;
  }

  .product-preview {
    border-radius: 12px;
  }

  .product-preview__stages {
    gap: 7px;
    padding: 14px 16px;
  }

  .product-preview__stages li {
    align-items: flex-start;
    gap: 5px;
    font-size: .625rem;
  }

  .product-preview__stages li::before {
    width: 16px;
    height: 16px;
    font-size: .5625rem;
  }

  .product-preview__head {
    padding: 18px 16px 16px;
  }

  .product-preview__title {
    font-size: .9375rem;
  }

  .product-preview__body {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 12px;
    padding: 0 16px 18px;
  }

  .product-preview__fields {
    gap: 12px 8px;
    margin-bottom: 14px;
  }

  .product-preview__fields dt {
    font-size: .625rem;
  }

  .product-preview__fields dd {
    font-size: .6875rem;
  }

  .product-preview__code {
    padding: 12px 10px;
    font-size: .5625rem;
  }

  .product-preview__caption {
    padding: 12px 16px;
    font-size: .6875rem;
  }

  .trust__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .feature-grid,
  .feature-grid--three,
  .steps,
  .case-grid,
  .case-list,
  .form__row,
  .contact__aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    gap: 28px;
  }

  .feature--card,
  .case-card {
    padding: 24px;
  }

  .europe {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .availability-note {
    padding: 16px;
  }

  .page-contact .page-hero {
    padding-block: 28px;
  }

  .page-contact .page-hero + .section {
    padding-top: 24px;
  }

  .form {
    padding: 20px;
  }

  .field__input {
    font-size: 1rem;
  }

  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .site-footer__bottom {
    overflow-wrap: anywhere;
  }

  .cta__inner .button,
  .hero__actions .button,
  .form .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .product-preview__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-preview__fields dt {
    font-size: .6875rem;
  }

  .product-preview__fields dd,
  .product-preview__code {
    font-size: .75rem;
  }
}

@media (max-width: 350px) {
  .js .site-header__cta {
    display: none;
  }

  .js .nav-toggle {
    margin-left: auto;
  }

  /* Keep the returning action usable on the smallest home-page viewports. */
  .js .page-home .site-header__cta {
    display: inline-flex;
    max-width: 100px;
    padding-inline: 8px;
  }

  .js .page-home .site-header__inner {
    gap: 8px;
  }

  .js .page-home .site-header:not(.hero-cta-visible) .brand-group {
    max-width: 120px;
  }

  .js .page-home .site-header:not(.hero-cta-visible) .brand__logo {
    width: 170px;
  }

  .js .page-home .site-header:not(.hero-cta-visible) .brand__endorsement {
    margin-left: 40px;
  }
}

/* FastTrackPay components: after the generic rules above so that they win at each width. */
@media (max-width: 1100px) {
  .steps--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .reason-grid,
  .steps--three,
  .case-grid--four,
  .feature-grid--two {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .price-compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-compare__equals {
    justify-self: center;
  }
}
