:root {
  --bg: #f6f8f9;
  --ink: #252c32;
  --muted: #84909a;
  --accent: #9c82dc;
  --soft: #f1ebfc;
  --line: #e5e9ed;
  --white: #fff;
}

@font-face {
  font-family: 'Inter';
  src:
      url('./fonts/Inter.woff2') format('woff2'),
      url('./fonts/Inter.woff') format('woff');
  format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
      url('./fonts/Inter-Italic.woff2') format('woff2'),
      url('./fonts/Inter-Italic.woff') format('woff');
  format('truetype');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Inter, Arial, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
span.nowrap {
  white-space: nowrap;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 249, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand img {
  display: block;
  width: 114px;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  margin: auto;
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a:hover,
.nav-drawer nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.nav-toggle,
.nav-backdrop,
.nav-drawer {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-backdrop {
  position: fixed;
  z-index: 19;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(37, 44, 50, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.25s, visibility 0.25s;
}

.nav-drawer {
  position: fixed;
  z-index: 20;
  inset: 0 0 0 auto;
  width: min(360px, 88vw);
  padding: 88px 28px 32px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: 0 0 32px rgba(37, 44, 50, 0.16);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.nav-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-close span:first-child {
  transform: rotate(45deg);
}

.nav-close span:last-child {
  transform: rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .nav-backdrop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .nav-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 70px;
  padding-block: 75px 95px;
}

.eyebrow,
.kicker {
  color: #8468c9;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9c82dc;
  box-shadow: 0 0 0 5px var(--soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin: 25px 0;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: #64717e;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 33px 0 58px;
}

header .button {
  margin-left: auto;
  padding: 8px 21px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--accent);
  border-radius: 9px;
  padding: 15px 21px;
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 9px 20px rgba(156, 130, 220, 0.17);
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  background: #8669cc;
  transform: translateY(-2px);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: #775bbb;
}

.hero-foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-foot span {
  color: #77838e;
  font-size: 13px;
  border-left: 2px solid #c9b7ef;
  padding-left: 10px;
}

.hero-visual {
  background: #fff;
  border: 1px solid #e6e3ed;
  border-radius: 25px;
  padding: 22px;
  box-shadow: 0 30px 75px rgba(39, 37, 58, 0.075);
  transform: rotate(1.6deg);
}

.visual-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 5px 24px;
  border-bottom: 1px solid var(--line);
}

.mini-grid {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.visual-status {
  margin-left: auto;
  color: #358a53;
  font-size: 11px;
  background: #eaf9ef;
  border-radius: 20px;
  padding: 5px 10px;
}

.visual-status i {
  display: inline-block;
  background: #47d16c;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}

.flow-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 24px 4px;
  padding: 18px;
  background: #fff;
}

.circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--soft);
  color: #8669cc;
  font-weight: 800;
}

.flow-card small,
.visual-bottom small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.flow-card strong {
  display: block;
  font-size: 14px;
}

.check,
.arrow {
  margin-left: auto;
  color: #47d16c;
  background: #eaf9ef;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
}

.arrow {
  color: var(--accent);
  background: var(--soft);
}

.flow-line {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 26px;
  color: #8d79bf;
  font-size: 12px;
}

.flow-line:before,
.flow-line:after {
  content: "";
  height: 1px;
  background: #c8b5ef;
  flex: 1;
}

.flow-line i {
  width: 7px;
  height: 7px;
  background: #9c82dc;
  border-radius: 50%;
}

.visual-bottom {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f7f3ff;
  border-radius: 14px;
  padding: 16px;
  margin: 0 4px 4px;
}

.visual-bottom strong {
  font-size: 13px;
}

.spark {
  color: #9c82dc;
  font-size: 25px;
}

.section {
  padding: 98px 0;
}

.section-intro {
  max-width: 690px;
  margin-bottom: 35px;
}

.section-intro h2,
h2 {
  font-size: clamp(32px, 3vw, 40px);
  letter-spacing: -0.045em;
  line-height: 1.17;
  margin: 14px 0 20px;
}

.section-intro h2 span {
  color: #9c82dc;
}

.section-intro p,
.finance-copy > p,
.smart p {
  color: #697683;
  line-height: 1.75;
  font-size: 17px;
}

.platform,
.steps-section,
.risks {
  background: #fff;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.audience {
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--bg);
  padding: 28px;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eee7fa;
  color: #9378d4;
  font-size: 23px;
  font-weight: 700;
}

.card h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}

.card p {
  color: #71808d;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.audience {
  background: #fff;
  padding: 34px;
}

.audience-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9278d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.audience h3 {
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1.25;
  max-width: 420px;
  margin: 26px 0;
}

.audience ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience li {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.audience li strong {
  font-size: 14px;
}

.audience li span {
  color: #74818c;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #f9fafb;
  min-height: 225px;
}

.step b {
  color: #9c82dc;
  font-size: 13px;
}

.step h3 {
  font-size: 18px;
  margin: 40px 0 8px;
}

.step p {
  font-size: 14px;
  color: #71808d;
  margin: 0;
  line-height: 1.6;
}

.finance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 27px 0;
}

.ticks li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.ticks li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: #47b96a;
}

.finance-panel {
  background: #fff;
  border: 1px solid #e6e0f3;
  padding: 25px;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(64, 42, 110, 0.06);
}

.panel-top {
  font-weight: 700;
  padding: 5px 0 22px;
  display: flex;
  justify-content: space-between;
}

.panel-top span {
  color: #9c82dc;
}

.panel-line {
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 10px;
  padding: 18px;
  font-size: 14px;
}

.panel-line small {
  color: #9c82dc;
  font-weight: 700;
}

.panel-line b {
  margin-left: auto;
  color: #47b96a;
}

.panel-line.active {
  border-color: #c7b3f2;
  background: #faf7ff;
}

.panel-line.active b {
  color: #9c82dc;
}

.finance-panel p {
  background: #f4effc;
  color: #77648f;
  font-size: 14px;
  padding: 16px;
  border-radius: 10px;
  margin: 20px 0 0;
}

.risk-table {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.risk-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.4fr;
  gap: 22px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  align-items: start;
  font-size: 14px;
}

.risk-row:first-child {
  border: 0;
}

.risk-row:nth-child(odd) {
  background: #fafbfc;
}

.risk-row span {
  color: #6e7b87;
}

.risk-row span:last-child {
  color: #6851a4;
}

.risk-header {
  background: #f1ebfc !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.risk-header span {
  color: #8468c9 !important;
  text-transform: uppercase;
}

.smart-card {
  background: #ede6fa;
  border-radius: 26px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.smart-card h2 {
  margin-top: 15px;
}

.smart-list {
  align-self: center;
}

.smart-list div {
  border-bottom: 1px solid #d8cbed;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
}

.smart-list b {
  color: #9c82dc;
  margin-right: 18px;
}

.final-cta {
  background: #9174d0;
  border-radius: 27px;
  color: white;
  padding: 58px 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.final-cta .kicker {
  color: #e5dbfa;
}

.final-cta h2 {
  margin: 12px 0;
}

.final-cta p {
  color: #f3eefe;
  max-width: 480px;
  margin: 0;
}

.button.light {
  background: #fff;
  color: #7b5dbe;
  white-space: nowrap;
}

.button.light:hover {
  background: #f4efff;
}

.footer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 35px 0 45px;
  color: #84909a;
  font-size: 12px;
}

.footer img {
  width: 90px;
}

.footer a {
  margin-left: auto;
  color: #8468c9;
}

@media (max-width: 900px) {
  .header-login {
    display: none;
  }

  .nav-drawer nav {
    gap: 0;
  }

  .nav-drawer nav a {
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .drawer-login {
    display: flex;
    width: 100%;
    margin-top: 16px;
  }

  .nav-backdrop,
  .nav-drawer {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  h1 {
    font-size: 32px;
  }

  .hero {
    gap: 30px;
  }

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

  .finance {
    gap: 30px;
  }

  .audience li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 32px, 520px);
  }

  .nav {
    height: 64px;
    gap: 16px;
  }

  .brand img {
    width: 96px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 65px 0 80px;
    min-height: 0;
  }

  .hero-visual {
    transform: none;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin-bottom: 34px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .three,
  .audiences,
  .finance,
  .smart-card {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    min-height: 180px;
  }

  .step h3 {
    margin-top: 24px;
  }

  .finance {
    gap: 18px;
  }

  .smart-card {
    padding: 30px;
    gap: 16px;
  }

  .risk-row {
    display: block;
    padding: 17px;
  }

  .risk-row > * {
    display: block;
    margin-bottom: 8px;
  }

  .risk-header {
    display: none;
  }

  .risk-row span:last-child:before {
    content: 'SAYPAY · ';
    font-weight: 700;
    color: #9c82dc;
  }

  .final-cta {
    display: block;
    padding: 34px 27px;
  }

  .final-cta .button {
    margin-top: 28px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer span {
    width: calc(100% - 115px);
  }
}
@media (max-width: 500px) {
  .nav-drawer {
    width: 100%;
  }
}
@media (max-width: 420px) {

  h1 {
    font-size: 8.8vw;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .step h3 {
    margin-top: 20px;
  }

  .hero-foot {
    gap: 8px;
  }

  .hero-foot span {
    font-size: 11px;
  }

  .audience {
    padding: 24px;
  }

  .audience h3 {
    font-size: 24px;
  }
}

/* Contact number in the header and mobile menu */
.header-phone, .drawer-phone { color: var(--ink); font-weight: 600; white-space: nowrap; text-decoration: none; }
.header-phone { font-size: 15px; }
.header-phone:hover, .drawer-phone:hover { color: var(--accent); }
.drawer-phone { display: block; margin-top: 22px; font-size: 16px; }
@media (max-width: 900px) { .header-phone { margin-left: auto; } }
@media (max-width: 500px) {
  .nav { gap: 10px; }
  .brand img { width: 82px; }
  .header-phone { font-size: 12px; letter-spacing: -.025em; }
  .nav-toggle { margin-left: 0; flex: none; }
}
