@font-face {
  font-family: "Montserrat";
  src: url("/payex-landing/assets/fonts/Montserrat-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --payex-orange: #ff6c1a;
  --payex-text: #252525;
  --payex-muted: #757575;
  --payex-line: #ececec;
  --payex-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--payex-bg);
  color: var(--payex-text);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
}

.site-header,
.hero {
  width: min(100%, 1220px);
}

.site-header {
  display: flex;
  align-items: center;
  margin-bottom: 56px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.brand-pay {
  color: var(--payex-text);
}

.brand-ex {
  color: var(--payex-orange);
}

main {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(440px, 1fr);
  align-items: center;
  gap: 86px;
}

.hero-content {
  width: min(100%, 520px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  width: 100%;
  max-width: 520px;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 700;
}

h1 span {
  display: block;
}

.hero-copy {
  width: min(100%, 500px);
  max-width: 500px;
  color: var(--payex-muted);
  font-size: 17px;
  line-height: 1.7;
}

.button {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  transition: opacity 160ms ease, transform 160ms ease;
}

.button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(255, 108, 26, 0.28);
  outline-offset: 4px;
}

.button-primary {
  background: var(--payex-orange);
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--payex-orange);
  background: #ffffff;
  color: var(--payex-orange);
}

.hero-visual {
  width: 100%;
  min-width: 0;
  justify-self: center;
}

.hero-visual img {
  width: min(100%, 760px);
  margin: 0 auto;
}

.payments-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
  margin-top: 72px;
}

.payments-intro {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.payments-intro img {
  width: 88px;
  height: auto;
}

.payments-intro h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.payments-intro p {
  color: var(--payex-muted);
  font-size: 17px;
  line-height: 1.6;
}

.payment-methods {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 36px;
  padding: 30px min(6vw, 72px);
  border-top: 1px solid var(--payex-line);
  border-bottom: 1px solid var(--payex-line);
}

.payment-methods img {
  max-height: 45px;
  width: auto;
}

.site-footer {
  width: min(100%, 760px);
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 50px;
}

@media (max-width: 1180px) {
  .page-shell {
    padding-top: 42px;
  }

  .site-header {
    justify-content: center;
    margin-bottom: 46px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-visual {
    max-width: 780px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    padding: 32px 16px;
  }

  .brand {
    font-size: 30px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy,
  .payments-intro p {
    font-size: 16px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 30px 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .site-header {
    margin-bottom: 36px;
  }

  h1 {
    font-size: 30px;
  }

  .button {
    width: min(100%, 280px);
    padding: 0 26px;
  }

  .payments-section {
    margin-top: 48px;
  }
}
