:root {
  --green: #1f9d55;
  --green-d: #157a41;
  --ink: #10241a;
  --muted: #5b6b62;
  --bg: #f3f6f4;
  --card: #fff;
  --line: #e2e8e4;
  --visa: #1a1f71;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

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

a {
  color: inherit
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(31, 157, 85, .30);
  transition: transform .12s, background .2s
}

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

.btn-lg {
  padding: 12px 22px;
  font-size: 15px
}

.btn-ghost {
  background: #fff;
  color: var(--green-d);
  border: 2px solid var(--green);
  box-shadow: none
}

/* Top bar */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line)
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.5px
}

.logo span {
  color: var(--green)
}

.callbtn {
  font-weight: 700;
  color: var(--green-d);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap
}

/* Hero / banner — 3 zones: copy (left) · device image (center) · form (right) */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef6f1 0%, #ffffff 55%, #eaf6ef 100%)
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 40px;
  padding: 52px 18px 58px;
  align-items: center
}

.hero-copy {
  color: var(--ink);
  max-width: 560px
}

.eyebrow {
  display: inline-block;
  background: #eafaf0;
  color: var(--green-d);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px
}

.hero h1 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: var(--ink)
}

.hero h1 b {
  color: var(--green)
}

.hero .hero-lead {
  font-size: 16.5px;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 480px
}

.usp {
  list-style: none;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  max-width: 480px
}

.usp li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px
}

.usp li::before {
  content: "✓";
  color: #fff;
  font-weight: 900;
  background: var(--green);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  font-size: 13px
}

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

/* device image (cropped to the devices, white space trimmed) */
.hero-device {
  position: relative
}

.hero-device .frame {
  aspect-ratio: 1.12/1;
  border-radius: 18px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 212% auto;
  background-position: 0% center;
  box-shadow: 0 18px 46px rgba(16, 36, 26, .16)
}

.hero-device .cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.hero-device .cap span {
  background: rgba(16, 36, 26, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(2px)
}

/* Lead form card */
.lead {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(16, 36, 26, .22);
  padding: 26px;
  position: relative;
  z-index: 2
}

.lead h2 {
  font-size: 22px;
  margin-bottom: 4px
}

.lead .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px
}

.field {
  margin-bottom: 14px
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  background: #fafcfb;
  transition: border .15s
}

.field input:focus {
  outline: 0;
  border-color: var(--green);
  background: #fff
}

.field .err {
  color: #d33;
  font-size: 12.5px;
  margin-top: 5px;
  display: block
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 14px
}

.alert.err {
  background: #fdeaea;
  color: #a02525
}

/* Success */
.success {
  text-align: center;
  padding: 18px 8px
}

.success .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eafaf0;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin: 0 auto 14px
}

.success h2 {
  margin-bottom: 6px
}

.success p {
  color: var(--muted)
}

/* Modal popup (lead form) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px
}

.modal.open {
  display: flex
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 16, .55);
  backdrop-filter: blur(2px)
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  max-height: 92vh;
  overflow: auto;
  animation: pop .18s ease
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef3f0;
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 3
}

.modal-close:hover {
  background: #e2e8e4
}

body.modal-on {
  overflow: hidden
}

/* Trust strip */
.trust {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.trust .wrap {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px
}

.badge {
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px
}

.badge.visa {
  color: var(--visa)
}

/* Features */
section.features {
  padding: 56px 0
}

section.features h2 {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 8px;
  letter-spacing: -.5px
}

section.features .lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 34px;
  font-size: 17px;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0
}

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

.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px
}

.feat .ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eafaf0;
  color: var(--green-d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 20px
}

.feat h3 {
  font-size: 16px;
  margin-bottom: 5px
}

.feat p {
  font-size: 13.5px;
  color: var(--muted)
}

/* How it works */
.how {
  background: #fff;
  padding: 56px 0;
  border-top: 1px solid var(--line)
}

.how h2 {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 34px;
  letter-spacing: -.5px
}

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

.step {
  text-align: center;
  padding: 10px
}

.step .n {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px
}

.step p {
  color: var(--muted);
  font-size: 14px
}

/* CTA band */
.cta-band {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 52px 18px
}

.cta-band h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 10px;
  letter-spacing: -.5px
}

.cta-band p {
  opacity: .92;
  margin-bottom: 22px;
  font-size: 17px
}

.cta-band .btn {
  background: #fff;
  color: var(--green-d)
}

.cta-band .btn:hover {
  background: #f0f0f0
}

/* Footer */
footer {
  background: var(--ink);
  color: #bcd3c6;
  padding: 30px 18px;
  font-size: 13.5px;
  text-align: center
}

footer a {
  color: #fff;
  text-decoration: none
}

/* Sticky mobile CTA */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  display: none;
  gap: 10px;
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .08)
}

.sticky .btn {
  flex: 1
}

@media(max-width:860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 18px 38px
  }

  .hero-device {
    max-width: 460px;
    margin: 0 auto;
    width: 100%
  }

  .grid {
    grid-template-columns: repeat(2, 1fr)
  }

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

  .callbtn {
    display: none
  }

  .sticky {
    display: flex
  }

  body {
    padding-bottom: 72px
  }
}

@media(max-width:480px) {
  .grid {
    grid-template-columns: 1fr
  }
}