/* Three chapter surfaces keep the story legible: forest for the promise and
   return visits, paper for the brand, sage for everyday use. Merchant colours
   remain inside the product examples. */
.landing-page {
  --forest: #183f35;
  --sage: #e8ede2;
  --on-forest: #f8f7f2;
  --forest-secondary: #c3d0c4;
  background: var(--forest);
}
.landing-page main {
  background: var(--paper);
}
.landing-page :where(.site-header, .hero-band) {
  background: var(--forest);
  color: var(--on-forest);
}
.landing-page :where(.site-header, .hero-band) :where(a, button, select):focus-visible,
.landing-page .site-header .language-switch:has(select:focus-visible) {
  outline-color: var(--lime);
}
.landing-page .site-header .brand {
  color: var(--on-forest);
}
.landing-page .site-header .button,
.landing-page .hero-band .hero-actions > .button {
  background: var(--lime);
  color: var(--forest);
}
.landing-page .hero-band h1 em {
  color: var(--lime);
}
.landing-page .hero-band :where(.hero-copy > p, .hero-price) {
  color: var(--forest-secondary);
}
.landing-page .hero-band .hero-wallet-stage::before {
  background: radial-gradient(ellipse at 52% 50%, #37624b 0, #234b3b 50%, transparent 75%);
  inset: 0 -3% 0;
}
.landing-page .hero-band .hero-wallet-demo .hero-wallet-result {
  color: var(--forest-secondary);
}
.landing-page .hero-band .hero-wallet-demo .hero-wallet-controls button {
  border-color: #6b8d70;
  background: #244d3c;
  color: var(--on-forest);
}
.landing-page .hero-band .hero-wallet-demo .hero-wallet-controls button:focus-visible {
  outline-color: var(--lime);
}
.landing-page .brand-chapter,
.landing-page .return-chapter {
  background: var(--paper);
}
.landing-page .signup-chapter,
.landing-page .merchant-chapter {
  background: var(--sage);
}
.landing-page .brand-chapter .how-section {
  padding-top: 1.5rem;
}
.landing-page .signup-chapter .signup-preview-stage {
  background: #f5f6ee;
}
.landing-page .signup-chapter .signup-journey-tabs {
  border-color: #cbd6c3;
  background: #dce4d5;
}
.landing-page .footer,
.landing-page .footer p,
.landing-page .footer-links > span,
.landing-page .closing p {
  color: var(--forest-secondary);
}
.landing-page .footer .brand {
  color: var(--on-forest);
}
html:has(body.studio) {
  scroll-padding-top: 1rem;
}
.landing-page .site-nav {
  min-height: 5.5rem;
  border-bottom: 0;
}
.landing-page .navigation-toggle {
  display: none;
}
.landing-page .neighbourhood-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: 2.5rem 1.5rem;
}
/* Keep platform compatibility beside the product description and primary action. */
.landing-page .hero-wallet-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  color: var(--on-forest);
}
.landing-page .hero-wallet-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.landing-page .hero-wallet-platform > svg {
  width: 22px;
  height: 22px;
}
.landing-page .hero-wallet-platform > .google-wallet-mark {
  padding: 3px;
  border-radius: 50%;
  background: #fff;
}
.landing-page .hero-wallet-note {
  flex-basis: 100%;
  color: var(--forest-secondary);
  font-size: 0.75rem;
  line-height: 1.5;
}
.landing-page .hero-copy h1 {
  font-size: clamp(3.5rem, 5.8vw, 5.75rem);
  letter-spacing: -0.055em;
  max-width: 12ch;
  margin-block: 0 1.5rem;
}
.landing-page .hero-copy h1 em {
  margin-top: 0;
}
.landing-page .hero-copy > p {
  font-size: 1.125rem;
  text-wrap: balance;
}
.landing-page .hero-price {
  font-size: 0.75rem;
}
.landing-page .hero-wallet-stage::before {
  content: "";
  position: absolute;
  inset: 8% 0 7%;
  border-radius: 2.5rem;
}
.landing-page .feature-navigation {
  position: static;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.landing-page .feature-navigation > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.landing-page .feature-navigation a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 160ms var(--ease);
}
.landing-page .feature-navigation a:focus-visible {
  outline-offset: -3px;
}
.landing-page :where(#examples, #signup, #campaigns, #nearby, #referrals, #merchant-tools) {
  scroll-margin-top: 1rem;
}
.landing-page .section-heading {
  margin-bottom: 2rem;
}
.landing-page .business-showcase {
  padding-block: 5.5rem 3rem;
}
.landing-page .business-showcase > .section-heading {
  display: grid;
  justify-items: start;
  gap: 1rem;
}
.landing-page .business-personalisation {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 34rem;
  padding-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.landing-page .business-personalisation b {
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.6875rem;
}
.landing-page .business-example {
  background: var(--sample-paper);
  border: 0;
  border-radius: 2rem;
}
.landing-page .business-explanation .sample-type {
  font-size: clamp(2rem, 3.1vw, 3rem);
}
.landing-page .business-explanation .example-rule {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-block: 1.25rem 0.5rem;
}
.landing-page .business-explanation .example-rule > svg {
  transform: rotate(90deg);
}
.landing-page .business-explanation .text-link {
  padding-top: 1rem;
}
.landing-page .signup-preview-stage {
  background: #e9ecdf;
  border-radius: 2rem;
}
.landing-page .campaign-showcase .section-heading h2 {
  max-width: 15ch;
}
.landing-page .nearby-showcase {
  padding-block: 5.5rem 3rem;
}
.landing-page .referrals {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 3rem 5.5rem;
}
.landing-page .referral-copy {
  text-align: left;
}
.landing-page .referral-copy h2 {
  font-size: clamp(2.125rem, 3.5vw, 3.125rem);
  text-wrap: balance;
}
.landing-page .referral-copy > .eyebrow {
  justify-content: flex-start;
}
.landing-page .referral-copy > .referral-condition {
  max-width: 34ch;
  margin-top: 1rem;
  font-size: 0.9375rem;
}
.landing-page .referral-film {
  width: min(100%, 64rem);
  margin-inline: auto;
}
.landing-page .merchant-tool-card {
  border: 0;
  background: transparent;
  padding: 0;
}
.landing-page .merchant-tool-visual {
  border-radius: 1.5rem;
  padding: 2rem;
}
.landing-page .merchant-tool-card > h3 {
  margin-top: 1.5rem;
}
.landing-page .pricing-section {
  background: var(--paper);
}
.landing-page .price-panel {
  border: 0;
  border-radius: 1.5rem;
}
.landing-page .price-pro {
  background: var(--ink);
  color: var(--paper);
}
.landing-page .price-pro .price-top > span {
  border-color: #819d89;
}
.landing-page .price-pro > .button {
  background: var(--lime);
  color: var(--ink);
}
.landing-page .price-pro li > svg {
  color: var(--lime);
}
.landing-page .closing {
  background: radial-gradient(ellipse at 80% 0, #36624a, transparent 65%), var(--forest);
  border: 0;
  color: var(--on-forest);
  padding-block: 5.5rem;
}
.landing-page .closing h2 em {
  color: var(--lime);
}
.landing-page .closing .button {
  background: var(--lime);
  color: var(--forest);
}
.landing-page .closing-stamp {
  border: 0;
  transform: none;
  margin-bottom: 0;
}
@media (hover: hover) and (pointer: fine) {
  .landing-page .feature-navigation a:hover {
    background: #e7ecdc;
  }
  .landing-page :where(.site-header .button, .hero-actions > .button, .closing .button):hover,
  .landing-page .price-pro > .button:hover {
    background: #e7f4d1;
  }
}
@media (max-width: 1050px) {
  .landing-page .hero-copy h1 {
    font-size: clamp(3rem, 5.5vw, 4rem);
  }
}
@media (max-width: 760px) {
  html:has(body.studio) {
    scroll-padding-top: 1rem;
  }
  .landing-page .wrap {
    width: calc(100% - 2.5rem);
  }
  .landing-page .site-nav {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.75rem;
    min-height: 4.5rem;
    padding-block: 0.5rem;
  }
  .landing-page .site-nav .nav-actions {
    margin-left: auto;
    gap: 0.5rem;
  }
  .landing-page .navigation-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #557264;
    border-radius: 50%;
    background: transparent;
    color: var(--on-forest);
  }
  .landing-page .navigation-toggle svg {
    width: 20px;
    height: 20px;
  }
  .landing-page .site-nav > nav {
    display: none;
    position: absolute;
    z-index: 10;
    inset: calc(100% - 0.25rem) 0 auto;
    width: auto;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid #557264;
    border-radius: 1rem;
    background: var(--forest);
    box-shadow: 0 16px 24px #102c2529;
  }
  .landing-page .site-nav[data-navigation-open] > nav {
    display: grid;
    gap: 0.25rem;
  }
  .landing-page .site-nav > nav a {
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
  }
  .landing-page .neighbourhood-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-block: 0.75rem 1rem;
  }
  .landing-page .hero-copy {
    padding-block: 1.25rem 0;
  }
  .landing-page .hero-copy h1 {
    font-size: clamp(2.8rem, 9.2vw, 4.5rem);
    max-width: 13ch;
    margin-bottom: 1rem;
  }
  .landing-page .hero-copy > p {
    font-size: 1rem;
  }
  .landing-page .hero-actions {
    margin-top: 1.5rem;
  }
  .landing-page .hero-wallet-demo {
    max-width: 300px;
  }
  .landing-page .hero-actions {
    gap: 0.5rem 1.25rem;
  }
  .landing-page .hero-actions > .button {
    min-height: 3.25rem;
  }
  .landing-page .brand-chapter .how-section {
    padding-top: 1rem;
  }
  .landing-page .section-space {
    padding-block: 3.5rem;
  }
  .landing-page .business-showcase {
    padding-bottom: 1.5rem;
  }
  .landing-page .signup-journey-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 1.5rem;
  }
  .landing-page .signup-journey-tabs button {
    min-width: 0;
    padding-inline: 0.5rem;
    font-size: 0.75rem;
  }
  .landing-page .business-showcase > .section-heading {
    display: block;
  }
  .landing-page .business-personalisation {
    margin-top: 1rem;
    max-width: none;
  }
  .landing-page .business-example {
    border-radius: 1.5rem;
  }
  .landing-page .business-explanation .example-rule {
    flex-direction: row;
    align-items: center;
  }
  .landing-page .business-explanation .example-rule > svg {
    transform: none;
  }
  .landing-page .nearby-showcase {
    padding-block: 3rem 1.5rem;
  }
  .landing-page .referrals {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 2rem 3.5rem;
  }
  .landing-page .referral-copy {
    text-align: left;
  }
  .landing-page .referral-copy > .eyebrow {
    justify-content: flex-start;
  }
  .landing-page .merchant-tool-visual {
    padding: 1.25rem;
  }
  .landing-page .closing {
    padding-block: 3.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page .feature-navigation a {
    transition: none;
  }
}
