:root {
  --font-main:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --color-bg: #ffffff;
  --color-soft: #fff4da;
  --color-soft-2: #fbf2e3;
  --color-text: #12131b;
  --color-muted: #6e7380;
  --color-border: #e8e2d7;
  --color-card: #ffffff;
  --color-dark: #111620;
  --color-dark-2: #171d29;
  --color-primary: #e8a126;
  --color-primary-dark: #bc7f1e;
  --color-green: #49c6a2;
  --shadow-sm: 0 12px 30px rgba(17, 22, 32, 0.08);
  --shadow-md: 0 24px 60px rgba(17, 22, 32, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1120px;
  --section-y: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 78px;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section-soft {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(232, 161, 38, 0.22),
      transparent 30%
    ),
    linear-gradient(135deg, #fff9ed 0%, #f5efe4 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero .eyebrow {
  color: #bc7f1e;
}

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

h1 {
  max-width: 640px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

p {
  color: var(--color-muted);
}

.lead {
  max-width: 620px;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.9rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  min-height: 36px;
  padding-inline: 18px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  border-color: var(--color-border);
}

.btn-dark {
  background: var(--color-dark);
  color: white;
}
.btn-dark-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-dark);
  font-weight: 500;
  line-height: 1;
}

.text-link i {
  display: inline-flex;
  align-items: center;
  font-size: 0.9em;
  line-height: 1;
  transform: translateY(1px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 300;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 226, 215, 0.65);
}

.nav-shell {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  color: #eb9a16;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand.light .brand-text strong {
  color: #eb9a16;
}

.brand small {
  display: block;
  color: #1e4d85;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 36px;
  font-weight: 500;
  font-size: 0.86rem;
  color: #5c5f66;
}

.site-nav a {
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-actions .link-button {
  font-weight: 500;
  color: #5c5f66;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px auto;
}

.hero {
  padding: 108px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.mini-list {
  list-style: none;
  display: flex;
  gap: 26px;
  padding: 0;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.mini-list li::before {
  content: "•";
  color: var(--color-primary);
  margin-right: 8px;
}

.hero-visual {
  min-height: 450px;
  position: relative;
}

.floating-card,
.phone-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.small-card {
  position: absolute;
  top: 35px;
  right: 35px;
  width: 320px;
}

.coupon-image-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.coupon-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  filter: drop-shadow(var(--shadow-md));
}

.stamp-card {
  position: absolute;
  right: 115px;
  top: 185px;
  width: 360px;
}

.stamp-card-image-wrap {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.stamp-card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  filter: drop-shadow(var(--shadow-md));
}

@keyframes floatCoupon {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
  100% {
    transform: translateY(0) rotate(-2deg);
  }
}

@keyframes floatStamp {
  0% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(10px) rotate(-1deg);
  }
  100% {
    transform: translateY(0) rotate(1deg);
  }
}

@media (min-width: 641px) {
  .hero-visual .small-card {
    animation: floatCoupon 8s ease-in-out infinite;
    will-change: transform;
  }

  .hero-visual .stamp-card {
    animation: floatStamp 9s ease-in-out infinite;
    animation-delay: 1s;
    will-change: transform;
  }
}

.stats {
  padding: 56px 0 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.stats-grid div + div {
  border-left: 1px solid var(--color-border);
}

.stats strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats span {
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.cards-3,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
}

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

.info-card,
.feature-grid article,
.pricing-grid article {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.info-card-icon,
.feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.feature-grid article {
  min-height: 180px;
}

.feature-grid article {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (min-width: 641px) {
  .feature-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(17, 22, 32, 0.14);
    border-color: rgba(232, 161, 38, 0.35);
  }
}

.feature-grid article p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 0;
}

.how-panel {
  position: relative;
  background:
    linear-gradient(rgba(17, 22, 32, 0.08), rgba(17, 22, 32, 0.08)),
    url("assets/how-card.png") center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 64px 70px 78px;
  overflow: hidden;
}

.how-panel p:not(.eyebrow) {
  color: #aeb6c6;
}

.light h2 {
  color: white;
}

.light p:not(.eyebrow) {
  color: white;
}

.how-grid {
  position: relative;
  min-height: 700px;
}

.how-grid article {
  position: absolute;
  z-index: 3;
  max-width: 230px;
}

.how-grid article:nth-of-type(1) {
  left: 0;
  top: 70px;
}

.how-grid article:nth-of-type(2) {
  right: -6px;
  top: 250px;
  max-width: 220px;
}

.how-grid article:nth-of-type(3) {
  left: 0;
  bottom: 60px;
}

.how-grid article span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: 800;
  margin-bottom: 22px;
}

.how-grid article h3 {
  position: relative;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.how-grid article h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary);
}

.image-stack {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 51%;
  width: 540px;
  min-height: 610px;
  transform: translateX(-50%);
}

.image-stack .how-image {
  position: absolute;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: transparent;
}

.image-stack .how-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.image-stack .how-image-create {
  top: 0;
  left: 6%;
  width: 420px;
  height: 238px;
}

.image-stack .how-image-collect {
  top: 205px;
  right: 26px;
  width: 360px;
  height: 220px;
}

.image-stack .how-image-redeem {
  top: 405px;
  left: 3%;
  width: 455px;
  height: 225px;
}

.use-grid,
.why-grid,
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-text {
  max-width: 540px;
}

.use-list {
  margin: 30px 0;
  border-top: 1px solid var(--color-border);
}

.use-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.use-list-copy {
  display: grid;
  gap: 3px;
}

.use-list-copy strong {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
}

.use-list-copy small {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
}

.use-list-arrow {
  color: #9aa0aa;
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
}

.showcase-img {
  min-height: 520px;
}

.features-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mobile-use-image {
  display: none;
}

.why {
  padding: 6px 0;
  background: url("assets/why-bg.png") center / cover no-repeat;
}

.why-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 120px;
}

.why-spacer {
  position: relative;
  min-height: 520px;
  background: url("assets/why-visual.png") center / contain no-repeat;
}

.why-floating {
  position: absolute;
  height: auto;
  object-fit: contain;
}

.why-heart {
  top: 10px;
  left: 130px;
  width: 60px;
  height: 60px;
}

.why-qr {
  top: 35px;
  right: 10px;
  width: 130px;
  height: 130px;
}

.why-stat {
  top: 60%;
  left: 60px;
  width: 160px;
  transform: translateY(-50%);
}

.why-coupon {
  bottom: 40px;
  left: 20px;
  width: 220px;
}

.why-stampcard {
  bottom: 40px;
  right: -40px;
  width: 260px;
}

@keyframes whyFloatSoft {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes whyFloatReverse {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes whyFloatStat {
  0% {
    transform: translateY(-50%) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(calc(-50% - 8px)) translateX(4px) rotate(1deg);
  }
  100% {
    transform: translateY(-50%) translateX(0) rotate(0deg);
  }
}

.why-heart,
.why-qr,
.why-coupon,
.why-stampcard {
  will-change: transform;
}

.why-heart {
  animation: whyFloatSoft 7s ease-in-out infinite;
}

.why-qr {
  animation: whyFloatReverse 8s ease-in-out infinite;
  animation-delay: 0.6s;
}

.why-stat {
  animation: whyFloatStat 8.5s ease-in-out infinite;
  animation-delay: 0.3s;
  will-change: transform;
}

.why-coupon {
  animation: whyFloatReverse 9s ease-in-out infinite;
  animation-delay: 1s;
}

.why-stampcard {
  animation: whyFloatSoft 8.5s ease-in-out infinite;
  animation-delay: 1.4s;
}

.why-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
  justify-self: end;
}

.mobile-why-image {
  display: none;
}

blockquote {
  margin: 32px 0 20px;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-text);
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.person-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.person small {
  display: block;
  color: var(--color-muted);
}

.pricing-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.pricing-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-grid p {
  flex: 1;
}

.pricing-grid .featured {
  border: 2px solid var(--color-primary);
  transform: translateY(-12px);
}

.tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.pricing-note {
  text-align: center;
  margin-top: 26px;
}

.pricing-note a {
  color: var(--color-primary-dark);
  font-weight: 500;
}

.app-section {
  position: relative;
  overflow: hidden;
}

.customers-section {
  position: relative;
  padding: 100px 0;
  background: url("assets/customers.png") center / cover no-repeat;
  background-attachment: fixed;
}

.customers-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.customers-spacer {
  min-height: 560px;
}

.store-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-buttons img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.narrow {
  max-width: 850px;
}
.accordion p,
.accordion button,
.accordion article p {
  color: var(--color-text);
}
.accordion article {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}

.accordion button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.accordion button span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff4df;
  color: var(--color-primary-dark);
  flex: 0 0 auto;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.accordion .open button span {
  transform: rotate(180deg);
  background: #ffe8b6;
}

.accordion p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0 46px 0 0;
  transition:
    max-height 0.32s ease,
    opacity 0.24s ease,
    margin-top 0.32s ease;
}

.accordion .open p {
  max-height: 220px;
  opacity: 1;
  margin-top: 14px;
}

.cta {
  padding-top: 36px;
}

.cta-card {
  position: relative;
  text-align: center;
  color: white;
  background: url("assets/start.png") center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 95px 24px 90px;
  overflow: hidden;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 980px;
  margin: 0 auto 26px;
  line-height: 1.05;
}

.cta-card p {
  max-width: 760px;
  margin: 0 auto 42px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-card div:last-child {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-footer {
  background: var(--color-dark);
  color: white;
  padding: 68px 0 28px;
}

#contact {
  scroll-margin-top: 100px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #aeb6c6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
}

.footer-grid h4 {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 24px;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.mobile-reveal-left,
.mobile-reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.mobile-reveal-left {
  transform: translateX(-40px);
}

.mobile-reveal-right {
  transform: translateX(40px);
}

.mobile-reveal-left.is-visible,
.mobile-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  :root {
    --section-y: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .nav-actions {
    display: none;
  }

  .site-nav.open {
    position: fixed;

    top: 78px;

    left: 16px;

    right: 16px;

    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 14px;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(232, 226, 215, 0.9);

    border-radius: 24px;

    box-shadow: 0 24px 60px rgba(17, 22, 32, 0.16);

    z-index: 100;
  }

  .site-nav.open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.2s ease;
  }

  .site-nav.open a::after {
    content: "›";
    color: var(--color-primary-dark);
    font-size: 1.1rem;
  }

  .site-nav.open a:hover,
  .site-nav.open a.active {
    background: #fff4df;
    color: var(--color-primary-dark);
  }

  .site-nav.open a.active::after,
  .site-nav.open a::after {
    bottom: auto;
    height: auto;
    border-radius: 0;
    background: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff4df;
    border: 1px solid rgba(232, 161, 38, 0.18);
  }

  .hero-grid,
  .use-grid,
  .why-grid,
  .app-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero {
    padding: 74px 0 70px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .stamp-card {
    right: 0;
    top: 135px;
    width: min(360px, 100%);
  }

  .small-card {
    right: 0;
    width: min(320px, 100%);
  }

  .cards-3,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid .featured {
    transform: none;
  }

  .how-grid {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .how-grid article,
  .how-grid article:nth-of-type(1),
  .how-grid article:nth-of-type(2),
  .how-grid article:nth-of-type(3) {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
  }

  .image-stack {
    display: contents;
  }

  .how-grid article:nth-of-type(1) {
    order: 1;
  }

  .image-stack .how-image-create {
    order: 2;
  }

  .how-grid article:nth-of-type(2) {
    order: 3;
  }

  .image-stack .how-image-collect {
    order: 4;
  }

  .how-grid article:nth-of-type(3) {
    order: 5;
  }

  .image-stack .how-image-redeem {
    order: 6;
  }

  .image-stack .how-image,
  .image-stack .how-image-create,
  .image-stack .how-image-collect,
  .image-stack .how-image-redeem {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .image-stack .how-image img {
    width: 100%;
    height: auto;
  }

  .showcase-img {
    min-height: 380px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-content {
    max-width: none;
    justify-self: stretch;
  }

  .why-spacer {
    min-height: 420px;
  }

  .customers-section {
    background-position: center top;
    background-attachment: scroll;
  }

  .customers-spacer {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.56rem;
  }
}

@media (max-width: 640px) {
  .mobile-reveal-left {
    transform: translateX(-34px);
  }

  .mobile-reveal-right {
    transform: translateX(34px);
  }

  .mobile-reveal-left.is-visible,
  .mobile-reveal-right.is-visible {
    transform: translateX(0);
  }
  .scroll-top {
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    z-index: 200;
  }
  .container {
    width: min(100% - 28px, var(--container));
  }
  :root {
    --section-y: 52px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero {
    position: relative;
    padding: 52px 0 48px;
    overflow: hidden;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .stats-grid,
  .cards-3,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .stats {
    padding: 32px 0 32px;
  }

  .stats-grid {
    gap: 18px;
    max-width: 320px;
    margin: 0 auto;
  }

  .stats-grid div {
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .stats-grid div + div {
    border-left: 0;
  }

  .stats strong {
    display: block;
    font-size: 2.3rem;
    margin-bottom: 6px;
  }

  .stats span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
  }

  .mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 22px 0 0;
  }

  .mini-list li {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 7px 10px;
    border: 1px solid rgba(188, 127, 30, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: #5c5f66;
    font-size: 0.76rem;
    line-height: 1;
    backdrop-filter: blur(8px);
  }

  .mini-list li::before {
    margin-right: 6px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    overflow: visible;
  }

  .hero-copy::before {
    content: "";
    position: absolute;
    right: -42px;
    top: -18px;
    width: min(210px, 58vw);
    height: 160px;
    background: url("assets/coupon.png") center / contain no-repeat;
    pointer-events: none;
    z-index: -1;
    animation: floatCoupon 8s ease-in-out infinite;
    will-change: transform;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 180px;
    margin-top: 2px;
  }

  .small-card {
    display: none;
  }

  .stamp-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(330px, 88vw);
    animation: floatStamp 9s ease-in-out infinite;
    animation-delay: 1s;
    will-change: transform;
  }

  .stamp-card-image {
    filter: drop-shadow(0 18px 34px rgba(17, 22, 32, 0.12));
  }

  /* All mobile-specific stats styling removed; stacked layout restored */

  .section-heading {
    margin-bottom: 26px;
  }

  .section-text,
  .lead,
  .section-heading p {
    font-size: 0.95rem;
  }

  .info-card,
  .feature-grid article,
  .pricing-grid article {
    padding: 18px;
  }

  /* Mobile carousel for feature grid */
  .feature-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 4px 14px 18px;
    margin-left: -14px;
    margin-right: -14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .feature-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-grid article {
    flex: 0 0 78%;
    min-height: 210px;
  }

  .feature-grid article:last-child {
    margin-right: 14px;
  }

  .how-panel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px 14px;
    border-radius: 0;
    background-position: center top;
  }

  .how-panel .section-heading {
    margin-bottom: 24px;
  }

  .how-grid {
    gap: 16px;
  }

  .how-grid article {
    padding: 0;
  }

  .how-grid article span {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .how-grid article h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .how-grid article p {
    margin-bottom: 8px;
  }

  .image-stack .how-image,
  .image-stack .how-image-create,
  .image-stack .how-image-collect,
  .image-stack .how-image-redeem {
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
  }

  .showcase-img {
    min-height: auto;
  }

  .features-preview img {
    width: 100%;
  }

  .desktop-use-image {
    display: none;
  }

  .mobile-use-image {
    display: flex;
    margin: 24px 0 8px;
  }

  .mobile-use-image img {
    width: 100%;
  }

  .why {
    padding: 42px 0;
    background-image: url("assets/why-bg.png");
    background-position: center top;
    background-size: cover;
  }

  .why-spacer {
    display: none;
  }

  .mobile-why-image {
    display: block;
    position: relative;
    margin: 0 0 24px;
  }

  .mobile-why-image > img:first-child {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-why-image .why-floating {
    position: absolute;
  }

  .mobile-why-image .why-heart {
    top: 15px;
    left: 80px;
    width: 40px;
    height: 40px;
  }

  .mobile-why-image .why-qr {
    top: 20px;
    right: -10px;
    width: 100px;
    height: 100px;
  }

  .mobile-why-image .why-stat {
    top: 60%;
    left: 40px;
    width: 100px;
    animation: none;
    transform: translateY(-50%);
  }

  .mobile-why-image .why-coupon {
    bottom: 40px;
    left: 20px;
    width: 160px;
  }

  .mobile-why-image .why-stampcard {
    bottom: 20px;
    right: -20px;
    width: 160px;
  }

  .why-content {
    padding-top: 10px;
  }

  .customers-section {
    position: relative;
    padding: 42px 0;
    background: none;
    overflow: hidden;
  }

  .customers-section::before {
    content: "";
    position: absolute;
    inset: -42px 0;
    background: url("assets/customers-bg.png") center top / cover no-repeat;
    transform: translateY(var(--customers-parallax-y, 0px));
    will-change: transform;
    z-index: 0;
  }

  .customers-section > .container {
    position: relative;
    z-index: 1;
  }

  .customers-content {
    max-width: 280px;
  }
  .cta-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 18px;
    color: var(--color-text);
  }

  .cta-card .btn-dark-outline {
    color: var(--color-dark);
    border-color: var(--color-dark);
    background: transparent;
  }

  .customers-spacer {
    background: url("assets/customers-phone.png") right bottom /
      min(240px, 66vw) auto no-repeat;
  }

  .store-buttons {
    gap: 10px;
  }

  .store-buttons img {
    height: 38px;
  }

  .pricing-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14vw;
    padding: 6px 14vw 22px;
    margin-left: -14px;
    margin-right: -14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-grid article {
    flex: 0 0 72%;
    min-height: 250px;
    margin-top: 22px;
    scroll-snap-align: center;
    border: 1px solid rgba(232, 226, 215, 0.9);
    box-shadow: 0 12px 28px rgba(17, 22, 32, 0.08);
    transform: scale(0.96);
    opacity: 0.92;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      opacity 0.25s ease;
  }

  .pricing-grid .featured {
    transform: translateY(-6px) scale(1.03);
    opacity: 1;
    box-shadow:
      0 30px 70px rgba(17, 22, 32, 0.18),
      0 10px 25px rgba(17, 22, 32, 0.08);
  }

  .cta-card {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    padding: 42px 20px;
    background: url("assets/why-bg.png") center / cover no-repeat;
  }

  .cta-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-bottom: 18px;
  }

  .cta-card p {
    margin-bottom: 28px;
  }

  .cta-card div:last-child {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .cta-card div:last-child .btn {
    flex: 1 1 0;
    max-width: 180px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    display: grid;
    gap: 14px;
  }
}
@media (max-width: 420px) {
  .hero-copy::before {
    right: -36px;
    top: -64px;
    width: min(180px, 56vw);
    height: 140px;
  }

  .small-card {
    display: none;
  }

  .stamp-card {
    width: min(300px, 88vw);
  }
}
