:root {
  /* Sampled from pixl pay logo */
  --magenta: #d000b0;
  --purple: #542df8;
  --cyan: #00a8f8;
  --cyan-bright: #49ceff;
  --ink: #07090f;
  --ink-soft: #2a3142;
  --muted: #5b657a;
  --line: #e4e7ee;
  --paper: #f4f6fb;
  --white: #ffffff;
  --night: #05060a;
  --night-elevated: #0c0e16;
  --brand: var(--cyan);
  --brand-deep: var(--purple);
  --accent: var(--cyan);
  --shadow: 0 24px 60px rgba(5, 6, 10, 0.12);
  --radius: 14px;
  --wrap: 1080px;
  --font: "Figtree", system-ui, sans-serif;
  --grad: linear-gradient(135deg, var(--magenta) 0%, var(--purple) 48%, var(--cyan) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0077c2;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--purple);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(5, 6, 10, 0.86);
  border-bottom: 1px solid rgba(73, 206, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 2rem;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--cyan-bright);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.75rem 0 5rem;
  background:
    radial-gradient(900px 480px at 12% 20%, rgba(208, 0, 176, 0.28), transparent 55%),
    radial-gradient(800px 520px at 88% 30%, rgba(0, 168, 248, 0.22), transparent 50%),
    radial-gradient(700px 400px at 55% 90%, rgba(84, 45, 248, 0.2), transparent 55%),
    linear-gradient(180deg, var(--night) 0%, #0a0c14 70%, #121624 100%);
  color: white;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-bright);
}

.brand-hero {
  margin: 0;
}

.hero-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 168, 248, 0.18));
  animation: logo-in 700ms ease both;
}

.lede {
  margin: 1.6rem 0 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  animation: fade-up 700ms ease 120ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: fade-up 700ms ease 220ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 10px 28px rgba(84, 45, 248, 0.35);
}

.btn-primary:hover {
  color: white;
  box-shadow: 0 14px 34px rgba(0, 168, 248, 0.35);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.hero-atmosphere {
  position: absolute;
  inset: auto -15% -45% 30%;
  height: 460px;
  background:
    radial-gradient(circle at 25% 40%, rgba(208, 0, 176, 0.35), transparent 42%),
    radial-gradient(circle at 70% 55%, rgba(0, 168, 248, 0.28), transparent 40%);
  filter: blur(18px);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

.section {
  padding: 4.5rem 0;
  background: var(--paper);
}

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

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.section-intro {
  margin: 1rem 0 0;
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.product-copy .section-intro + .section-intro {
  margin-top: 1rem;
}

.phone-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.phone-image {
  display: block;
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 28px 50px rgba(84, 45, 248, 0.22));
  border-radius: 1.5rem;
}

.feature-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.feature h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.feature h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-radius: 2px;
  background: var(--grad);
  vertical-align: 0.1em;
}

.feature p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  max-width: 48rem;
}

.feature p:last-child {
  margin-bottom: 0;
}

.section-beacon {
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(208, 0, 176, 0.12), transparent 55%),
    radial-gradient(800px 400px at 90% 30%, rgba(0, 168, 248, 0.1), transparent 50%),
    var(--night-elevated);
  color: rgba(255, 255, 255, 0.86);
  border-block: 1px solid rgba(73, 206, 255, 0.12);
}

.section-beacon .section-intro {
  max-width: none;
  color: rgba(255, 255, 255, 0.72);
}

.section-beacon .beacon-copy p {
  color: rgba(255, 255, 255, 0.72);
  max-width: none;
}

.section-beacon h2 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.beacon-figure {
  margin: 2rem 0 0;
  padding: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(73, 206, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  background: #000;
}

.beacon-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.beacon-copy {
  margin-top: 1.75rem;
  max-width: none;
  width: 100%;
  display: grid;
  gap: 0.85rem;
}

.beacon-copy p {
  margin: 0;
}

.beacon-copy strong {
  color: var(--cyan-bright);
  font-weight: 600;
}

.facts h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.flow {
  --flow-gap: 0.85rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "s1 ar s2"
    ".  .  ad"
    "s4 al s3";
  gap: var(--flow-gap) 0.65rem;
  align-items: stretch;
}

.flow-step[data-step="1"] { grid-area: s1; }
.flow-step[data-step="2"] { grid-area: s2; }
.flow-step[data-step="3"] { grid-area: s3; }
.flow-step[data-step="4"] { grid-area: s4; }
.flow-arrow-right { grid-area: ar; }
.flow-arrow-left { grid-area: al; }
.flow-arrow-down-right {
  grid-area: ad;
  justify-self: center;
  align-self: center;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.flow-step::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--grad);
}

.flow-num {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--grad);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-body {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.flow-body strong {
  letter-spacing: -0.01em;
  font-size: 1.02rem;
}

.flow-body span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  min-width: 2rem;
}

.flow-arrow-right::before,
.flow-arrow-left::before,
.flow-arrow-down::before {
  content: "";
  display: block;
  background: var(--grad);
}

.flow-arrow-right::before {
  width: 2rem;
  height: 2px;
  mask: linear-gradient(90deg, transparent 0, #000 20%, #000 70%, transparent 100%);
  box-shadow: 6px 0 0 0 transparent;
  position: relative;
}

.flow-arrow-right::after,
.flow-arrow-left::after,
.flow-arrow-down::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.flow-arrow-right::after {
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--cyan);
  margin-left: -2px;
}

.flow-arrow-left {
  flex-direction: row-reverse;
}

.flow-arrow-left::before {
  width: 2rem;
  height: 2px;
  background: var(--grad);
}

.flow-arrow-left::after {
  border-width: 5px 8px 5px 0;
  border-color: transparent var(--magenta) transparent transparent;
  margin-right: -2px;
}

.flow-arrow-down {
  flex-direction: column;
  min-height: 2.25rem;
  padding: 0.15rem 0;
}

.flow-arrow-down::before {
  width: 2px;
  height: 1.4rem;
  background: var(--grad);
}

.flow-arrow-down::after {
  border-width: 8px 5px 0 5px;
  border-color: var(--cyan) transparent transparent transparent;
  margin-top: -1px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.facts > div {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.facts > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad);
}

.facts p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  background: var(--night);
  border-top: 1px solid rgba(73, 206, 255, 0.12);
  padding: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: block;
  height: 1.5rem;
  width: auto;
  opacity: 0.9;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-3%, -2%, 0);
  }
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }

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

  .flow {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 0.35rem;
  }

  .flow > * {
    grid-area: auto !important;
  }

  .flow-step[data-step="1"] { order: 1; }
  .flow-arrow-right { order: 2; }
  .flow-step[data-step="2"] { order: 3; }
  .flow-arrow-down-right { order: 4; }
  .flow-step[data-step="3"] { order: 5; }
  .flow-arrow-left { order: 6; }
  .flow-step[data-step="4"] { order: 7; }

  .flow-arrow-right,
  .flow-arrow-left,
  .flow-arrow-down-right {
    flex-direction: column;
    min-height: 2rem;
    min-width: 0;
    justify-self: center;
    margin: 0;
  }

  .flow-arrow-right::before,
  .flow-arrow-left::before,
  .flow-arrow-down-right::before {
    width: 2px;
    height: 1.25rem;
    background: var(--grad);
  }

  .flow-arrow-right::after,
  .flow-arrow-left::after,
  .flow-arrow-down-right::after {
    border-width: 8px 5px 0 5px;
    border-color: var(--cyan) transparent transparent transparent;
    margin: -1px 0 0;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .phone-image {
    width: min(100%, 280px);
  }

  .hero {
    padding-top: 3.75rem;
  }

  .hero-logo {
    width: min(100%, 300px);
  }
}

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

  .btn,
  .hero-logo,
  .lede,
  .hero-actions,
  .hero-atmosphere {
    animation: none;
    transition: none;
  }
}
