:root {
  color-scheme: light;
  --ink: #092c25;
  --muted: #5f776f;
  --green: #078a61;
  --green-deep: #043f31;
  --green-soft: #e8f7f0;
  --line: #cde4da;
  --paper: #ffffff;
  --wash: #f2faf6;
  --amber: #d99000;
  --blue: #0d5f8f;
  --shadow: 0 24px 70px rgba(8, 75, 57, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(248, 253, 250, 0.9);
  border-bottom: 1px solid rgba(205, 228, 218, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(6, 105, 72, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #35554b;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(7, 138, 97, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  background: var(--green-deep);
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(3, 50, 39, 0.9), rgba(6, 153, 104, 0.82)),
    url("/site/alfago-feature.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::before,
.hero::after {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18) transparent transparent transparent;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 18%;
  transform: rotate(5deg);
}

.hero::after {
  bottom: 12%;
  transform: rotate(-7deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, calc(100% - 40px));
  min-height: 78svh;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #0b8d65;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bdf4dc;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.phone {
  position: absolute;
  width: min(290px, 44vw);
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-main {
  right: 14%;
  top: 0;
  z-index: 2;
}

.phone-side {
  right: 0;
  bottom: 0;
  width: min(250px, 38vw);
  opacity: 0.96;
}

.section,
.band {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 64px);
}

.section {
  background: var(--wash);
}

.section-head {
  width: min(820px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.section-head p:not(.eyebrow),
.split p,
.security-copy p,
.download p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid,
.audience-grid,
.support-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 16px;
}

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

.service-card,
.audience-grid article,
.support-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(9, 44, 37, 0.06);
}

.service-card {
  min-height: 220px;
  padding: 24px;
}

.service-card p,
.audience-grid p,
.support-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.icon.ride {
  background: var(--green);
}

.icon.food {
  background: var(--amber);
}

.icon.wallet {
  background: var(--blue);
}

.band {
  background: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  counter-increment: steps;
}

.steps li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  content: counter(steps);
  font-weight: 900;
}

.steps strong,
.steps span {
  grid-column: 2;
}

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

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid article,
.support-grid article {
  padding: 22px;
}

.security {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.security-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.security-list span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--green-deep);
  font-weight: 800;
}

.screen-shot {
  width: 100%;
  border: 8px solid #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(135deg, rgba(4, 63, 49, 0.96), rgba(7, 138, 97, 0.94)),
    url("/site/alfago-feature.jpg") center / cover no-repeat;
  color: #ffffff;
}

.download > div {
  width: min(720px, 100%);
}

.download .eyebrow {
  color: #bdf4dc;
}

.download p {
  color: rgba(255, 255, 255, 0.86);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.download .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer p {
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    margin-left: 0;
    padding-bottom: 4px;
  }

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

  .hero-media {
    min-height: 420px;
  }

  .phone-main {
    left: 6%;
    right: auto;
  }

  .phone-side {
    right: 6%;
  }

  .service-grid,
  .audience-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .download-actions,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: auto;
    padding: 10px 16px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav a {
    padding: 8px 10px;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding-top: 48px;
  }

  .hero-media {
    min-height: 360px;
  }

  .phone {
    width: 56vw;
    border-width: 6px;
  }

  .phone-side {
    width: 48vw;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .service-grid,
  .audience-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .band {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
