:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-strong: #101820;
  --text: #111827;
  --muted: #5b6472;
  --line: rgba(17, 24, 39, 0.12);
  --gold: #d69e2e;
  --green: #00a878;
  --teal: #087f8c;
  --rose: #d95d67;
  --shadow: 0 24px 70px rgba(19, 27, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(247, 245, 239, 0.84);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.08);
}

.brand,
.site-footer > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.site-footer a {
  transition: color 160ms ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px) 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 78px 0 auto;
  height: min(72vw, 720px);
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(0, 168, 120, 0.22), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(214, 158, 46, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(8, 127, 140, 0.1), rgba(217, 93, 103, 0.08));
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  z-index: -1;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text {
  max-width: 670px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.site-footer,
.trust-strip,
.merchant-line {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: var(--surface-strong);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 24, 32, 0.22);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button.full {
  width: 100%;
  margin-top: 12px;
}

.phone-shell {
  width: min(100%, 410px);
  justify-self: center;
  border: 10px solid #151a20;
  border-radius: 34px;
  padding: 18px;
  background: #f8faf9;
  box-shadow: var(--shadow);
}

.phone-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 18px;
  color: #26313c;
}

.phone-top span:first-child {
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: #d6dee2;
}

.phone-top span:last-child {
  justify-self: end;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.balance-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent),
    var(--surface-strong);
  color: #fff;
}

.balance-card small,
.balance-card span {
  color: rgba(255, 255, 255, 0.72);
}

.balance-card strong {
  margin: 8px 0 4px;
  font-size: 32px;
  line-height: 1;
}

.qr-panel {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  align-items: center;
  margin: 16px 0;
  border: 1px solid #dde5e8;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.qr-panel p {
  margin: 0;
  color: #344150;
  font-weight: 800;
}

.qr-grid {
  aspect-ratio: 1;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #101820 13px, transparent 13px) 0 0 / 28px 28px,
    linear-gradient(#101820 13px, transparent 13px) 0 0 / 28px 28px,
    linear-gradient(90deg, transparent 56px, #00a878 56px 84px, transparent 84px),
    #f2f5f4;
}

.pay-row {
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  border-top: 1px solid #e3e9ec;
  color: #485465;
}

.pay-row strong {
  color: #111827;
}

.ok {
  color: var(--green) !important;
}

.phone-shell button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  margin-top: 8px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.trust-strip {
  justify-content: space-between;
  gap: 16px;
  margin: 0 clamp(20px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip div {
  display: grid;
  gap: 4px;
}

.trust-strip strong {
  font-size: 24px;
}

.trust-strip span,
.site-footer span,
.section p,
.split-section p,
.timeline p,
.feature-grid p {
  color: var(--muted);
}

.section,
.split-section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-grid article,
.timeline article,
.merchant-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-grid article {
  min-height: 240px;
  padding: 26px;
}

.icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 24px;
  background: #101820;
  color: #fff;
  font-weight: 900;
}

.feature-grid article:nth-child(2) .icon {
  background: var(--gold);
  color: #111827;
}

.feature-grid article:nth-child(3) .icon {
  background: var(--teal);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: #ffffff;
}

.split-section > div:first-child {
  max-width: 760px;
}

.merchant-panel {
  padding: 24px;
  box-shadow: 0 20px 50px rgba(19, 27, 39, 0.1);
}

.merchant-line {
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.merchant-line span {
  color: var(--muted);
}

.roadmap {
  background: #eff4f2;
}

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

.timeline article {
  min-height: 210px;
  padding: 24px;
}

.timeline span {
  display: block;
  margin-bottom: 28px;
  color: var(--rose);
  font-weight: 900;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: var(--surface-strong);
  color: #fff;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .phone-shell {
    justify-self: start;
  }

  .trust-strip,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero,
  .section,
  .split-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .qr-panel {
    grid-template-columns: 96px 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
