:root {
  --tp-black: #0b0b0b;
  --tp-ink: #141814;
  --tp-green: #0c7a43;
  --tp-lime: #c8f542;
  --tp-cream: #f7f7f5;
  --tp-muted: #5f6b63;
  --tp-line: #d8ddd6;
  --tp-card: #ffffff;
  --tp-max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  .tp-pay {
    transition: none;
  }

  .tp-pay:hover {
    transform: none;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--tp-cream);
  color: var(--tp-ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.tp-skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.tp-skip:focus {
  left: 8px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

.tp-top {
  position: sticky;
  top: 0;
  z-index: 50;
}

.tp-promo {
  background: var(--tp-black);
  color: var(--tp-lime);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}

.tp-header {
  background: var(--tp-black);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-header-inner,
.tp-wrap {
  width: min(var(--tp-max), calc(100% - 32px));
  margin: 0 auto;
}

.tp-header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tp-brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.tp-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tp-nav {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.tp-nav-link {
  color: #d7ddd8;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}

.tp-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.tp-btn-lime {
  background: var(--tp-lime);
  color: var(--tp-black);
}

.tp-btn-lime:hover {
  filter: brightness(1.04);
}

.tp-btn-dark {
  background: var(--tp-black);
  color: #fff;
}

.tp-btn-green {
  background: var(--tp-green);
  color: #fff;
}

.tp-hero {
  padding: 48px 0 24px;
}

.tp-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.tp-kicker {
  display: inline-block;
  background: var(--tp-lime);
  color: var(--tp-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.tp-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tp-lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
  color: #000000;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.35);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  max-width: 40rem;
}

.tp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tp-hero-media {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  min-height: 0;
  box-shadow: 0 18px 50px rgba(20, 24, 20, 0.12);
  padding: 28px 24px 24px;
}

.tp-listing-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tp-listing-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f3f4;
  box-shadow: 0 4px 12px rgba(60, 64, 67, 0.15);
}

.tp-listing-logo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.tp-listing-name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: #202124;
}

.tp-listing-dev {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #01875f;
}

.tp-listing-ads {
  margin-top: 4px;
  font-size: 13px;
  color: #5f6368;
}

.tp-listing-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  margin: 18px 0 8px;
  padding: 12px 0;
  border-bottom: 1px solid #dadce0;
}

.tp-listing-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  text-align: center;
}

.tp-listing-value {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  display: flex;
  align-items: center;
  gap: 2px;
}

.tp-listing-star {
  width: 12px;
  height: 12px;
  fill: #202124;
}

.tp-listing-label {
  margin-top: 2px;
  font-size: 11px;
  color: #5f6368;
}

.tp-listing-divider {
  width: 1px;
  height: 24px;
  background: #dadce0;
}

.tp-listing-age {
  padding: 2px 8px;
  border: 1px solid #5f6368;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #5f6368;
}

.tp-listing-install {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
  background: #01875f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  border-radius: 999px;
}

.tp-listing-install:hover {
  background: #016e4a;
}

.tp-preamble {
  background-color: #d9cfc4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), url("../image/main.webp");
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), image-set(url("../image/main.webp") type("image/webp"), url("../image/main.jpg") type("image/jpeg"));
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.tp-section {
  padding: 28px 0 12px;
}

.tp-section-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.tp-section-lead {
  margin: -8px 0 22px;
  color: var(--tp-muted);
  max-width: 40rem;
  line-height: 1.5;
}

.tp-payments-band {
  padding-top: 8px;
  padding-bottom: 4px;
}

.tp-payments-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #31401a;
}

.tp-payments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(20, 24, 20, 0.08);
}

.tp-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 6px;
  border-radius: 16px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.tp-pay:hover {
  background: rgba(200, 245, 66, 0.18);
  transform: translateY(-1px);
}

.tp-pay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.tp-pay-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
}

.tp-pay-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--tp-ink);
}

.tp-hl-grid {
  display: grid;
  gap: 12px;
}

.tp-hl {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 22px;
  padding: 22px 20px;
  min-height: 170px;
}

.tp-hl.is-combo {
  background: var(--tp-lime);
  border-color: var(--tp-lime);
}

.tp-hl-title {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.tp-hl-desc {
  margin: 0;
  color: var(--tp-muted);
  line-height: 1.5;
}

.tp-hl.is-combo .tp-hl-desc {
  color: #31401a;
}

.tp-cards {
  display: grid;
  gap: 16px;
}

.tp-card {
  background: var(--tp-card);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tp-card-media img {
  width: 100%;
  aspect-ratio: 640 / 800;
  object-fit: cover;
}

.tp-card-body {
  padding: 18px 18px 22px;
}

.tp-card-title,
.tp-block-title,
.tp-step-title {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.tp-card-desc,
.tp-block-desc,
.tp-step-desc {
  margin: 0 0 14px;
  color: var(--tp-muted);
  line-height: 1.5;
}

.tp-text-link {
  font-weight: 800;
  color: var(--tp-green);
}

.tp-text-link::after {
  content: " →";
}

.tp-block {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 28px 0;
}

.tp-block-media {
  border-radius: 28px;
  overflow: hidden;
  background: #142018;
}

.tp-block-media img {
  width: 100%;
  aspect-ratio: 1200 / 800;
  object-fit: cover;
}

.tp-steps {
  display: grid;
  gap: 12px;
}

.tp-step {
  background: #fff;
  border-radius: 22px;
  padding: 22px 20px;
  border: 1px solid var(--tp-line);
}

.tp-step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--tp-green);
  margin-bottom: 10px;
}

.tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-chip {
  background: #fff;
  border: 1px solid var(--tp-line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
}

.tp-chip:hover {
  border-color: var(--tp-green);
  color: var(--tp-green);
}

.tp-appband {
  margin: 28px 0 0;
  background: var(--tp-black);
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
}

.tp-appband-inner {
  display: grid;
  gap: 12px;
  align-items: end;
  justify-items: start;
  padding: 28px 22px 0;
}

.tp-appband h2,
.tp-appband p {
  color: inherit;
}

.tp-appband p {
  opacity: 0.78;
}

.tp-appband img {
  width: auto;
  height: auto;
  max-width: min(220px, 100%);
  max-height: 380px;
  aspect-ratio: 413 / 768;
  object-fit: contain;
  object-position: bottom center;
  justify-self: center;
  align-self: end;
  margin: 8px auto 0;
  border-radius: 28px 28px 0 0;
}

#download,
#payments,
#highlights,
#about,
#how,
#categories,
#restaurants,
#grocery,
#convenience {
  scroll-margin-top: 120px;
}

#download {
  padding-bottom: 36px;
}

@media (min-width: 760px) {
  .tp-nav {
    display: flex;
  }

  .tp-hero {
    padding: 72px 0 36px;
  }

  .tp-hero-grid,
  .tp-appband-inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding-bottom: 0;
  }

  .tp-appband-inner {
    padding: 36px 36px 0;
  }

  .tp-hl-grid,
  .tp-cards,
  .tp-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-payments-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 20px;
    backdrop-filter: blur(6px);
  }

  .tp-pay-logo,
  .tp-pay-logo img {
    width: 64px;
    height: 64px;
  }

  .tp-pay-name {
    font-size: 13px;
  }

  .tp-block {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .tp-block.is-reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .tp-block.is-reverse .tp-block-media {
    order: 2;
  }

  .tp-appband img {
    margin: 0 auto;
    max-width: 240px;
    max-height: 440px;
  }
}

@media (min-width: 1024px) {
  .tp-hl-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .tp-hero h1 {
    font-size: 58px;
  }
}
