/* CheckPlease — landing page styles
   Premium black/white, magenta accent. Geometric sans to echo the logo. */

:root {
  --ink: #0b0b0c;
  --ink-soft: #17171a;
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --paper-3: #e6e1d8;
  --magenta: #ee1c70;
  --magenta-deep: #c4145b;
  --muted: #6a6862;
  --muted-dark: #a3a09a;
  --line: rgba(11, 11, 12, 0.12);
  --line-dark: rgba(247, 245, 241, 0.16);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--magenta);
}

.eyebrow.no-rule::before {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn--magenta {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-dark);
}

.btn--ghost-light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.nav__logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 14px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

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

.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 12px;
  cursor: pointer;
  font: inherit;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.nav__burger {
  display: none;
}

/* ---------- HERO (shared) ---------- */
.heroes [data-hero-variant] {
  display: none;
}

:root[data-hero="a"] [data-hero-variant="a"] {
  display: block;
}

:root[data-hero="b"] [data-hero-variant="b"] {
  display: block;
}

:root[data-hero="c"] [data-hero-variant="c"] {
  display: grid;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__eyebrow {
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(44px, 7.6vw, 104px);
  letter-spacing: -0.035em;
}

.hero h1 .mag {
  color: var(--magenta);
}

.hero__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--muted);
  max-width: 46ch;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 24px);
  align-items: center;
  margin-top: 16px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__bullets li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--magenta);
  border-radius: 50%;
}

.heroB .hero__bullets {
  justify-content: center;
  color: var(--muted-dark);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__pay {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__pay b {
  color: var(--ink);
  font-weight: 700;
}

/* Variant A — editorial / paper */
.heroA {
  padding: clamp(28px, 4.5vw, 60px) 0 clamp(48px, 7vw, 96px);
}

.heroA__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.heroA__copy {
  display: flex;
  flex-direction: column;
}

.heroA h1 {
  margin-bottom: 26px;
}

.heroA__sub {
  margin-bottom: 16px;
}

.heroA .hero__cta {
  margin-bottom: 26px;
}

.heroA__art {
  display: flex;
  justify-content: center;
}

/* Variant B — black / nightlife */
.heroB {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(25.5px, 4vw, 60px) 0 clamp(56px, 8vw, 120px);
  text-align: center;
}

.heroB .eyebrow {
  color: var(--magenta);
  justify-content: center;
}

.heroB__logo {
  height: clamp(72px, 13vw, 168px);
  width: auto;
  margin: 0 auto 36px;
  display: block;
}

.heroB h1 {
  color: var(--paper);
  margin: 0 auto 24px;
  max-width: 16ch;
}

.heroB .hero__sub {
  color: var(--muted-dark);
  margin: 0 auto 16px;
}

.heroB .hero__cta {
  justify-content: center;
  margin-bottom: 30px;
}

.heroB .hero__pay {
  color: var(--muted-dark);
  justify-content: center;
}

.heroB .hero__pay b {
  color: var(--paper);
}

/* Variant C — split */
.heroC {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(560px, 78vh, 760px);
}

.heroC__copy {
  padding: clamp(24px, 3.5vw, 48px) var(--pad) clamp(48px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(var(--maxw) / 2 + var(--pad));
  margin-left: auto;
  width: 100%;
}

.heroC h1 {
  margin-bottom: 24px;
}

.heroC__sub {
  margin-bottom: 16px;
}

.heroC .hero__cta {
  margin-bottom: 24px;
}

.heroC__panel {
  background: var(--magenta);
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.heroC__panel .qr {
  --qr-fg: #fff;
  --qr-bg: transparent;
}

.heroC__panel::after {
  content: "ESCANEA · PAGA · GANA";
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

/* ---------- QR MOTIF ---------- */
.qr {
  --qr-fg: var(--ink);
  --qr-bg: var(--paper);
  display: grid;
  gap: 3px;
  padding: clamp(14px, 2vw, 22px);
  background: var(--qr-bg);
  border-radius: 14px;
  width: clamp(220px, 30vw, 340px);
  aspect-ratio: 1;
}

.qr i {
  background: var(--qr-fg);
  border-radius: 2px;
}

.qr i.off {
  background: transparent;
}

.qr--framed {
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(11, 11, 12, 0.35);
}

/* ---------- SECTION SCAFFOLD ---------- */
section {
  position: relative;
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark .eyebrow {
  color: var(--magenta);
}

.section--dark .lede {
  color: var(--muted-dark);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__head .eyebrow {
  margin-bottom: 22px;
}

.section__head h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  letter-spacing: -0.03em;
}

.section__head .lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--ink);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section--dark .step {
  border-color: var(--paper);
}

.step__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--magenta);
}

.step__glyph {
  width: 46px;
  height: 46px;
  color: var(--magenta);
}

.step h3 {
  font-size: clamp(21px, 2vw, 26px);
}

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

.section--dark .step p {
  color: var(--muted-dark);
}

/* ---------- CASHBACK ---------- */
.cash {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.cash__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.cash__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cash__bullet {
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 7px;
  background: var(--magenta);
  border-radius: 3px;
  transform: rotate(45deg);
}

.cash__item h4 {
  font-size: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 3px;
}

.cash__item p {
  color: var(--muted);
  font-size: 15.5px;
}

/* balance card */
.balance {
  background: var(--ink);
  color: var(--paper);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 40px 80px -40px rgba(11, 11, 12, 0.5);
}

.balance__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.balance__brand {
  height: 18px;
}

.balance__chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--magenta);
  border: 1px solid var(--line-dark);
  padding: 5px 10px;
  border-radius: 999px;
}

.balance__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.balance__amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  letter-spacing: -0.04em;
  margin: 6px 0 4px;
}

.balance__amount span {
  color: var(--magenta);
}

.balance__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
}

.balance__row:first-of-type {
  margin-top: 20px;
}

.balance__row .pos {
  color: var(--magenta);
  font-family: var(--font-mono);
  font-size: 14px;
}

.balance__row .muted {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- RESTAURANTS ---------- */
.resto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.resto {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resto:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -34px rgba(11, 11, 12, 0.4);
}

.resto__img {
  position: relative;
  aspect-ratio: 4 / 3;
}

.placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(11, 11, 12, 0.05) 11px 22px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  background: color-mix(in oklab, var(--paper) 70%, transparent);
}

.resto__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 999px;
}

.resto__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.resto__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.resto__cuisine {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- RESTO PROMO ---------- */
.resto-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(247, 245, 241, 0.2);
  border-radius: 18px;
  padding: 40px var(--pad);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
  grid-column: span 2;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.resto-promo:hover {
  border-color: var(--magenta);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.resto-promo__content {
  max-width: 440px;
}

.resto-promo .eyebrow {
  color: var(--magenta);
}

.resto-promo h3 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 26px);
  margin-top: 14px;
  margin-bottom: 10px;
  color: var(--paper);
}

.resto-promo p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--muted-dark);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .resto-promo {
    grid-column: span 1;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.section--dark .faq__list {
  border-color: var(--line-dark);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.section--dark .faq__item {
  border-color: var(--line-dark);
}

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 22px);
  color: inherit;
  padding: 26px 44px 26px 0;
  position: relative;
  letter-spacing: -0.01em;
}

.faq__q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--magenta);
  transition: transform 0.25s ease;
}

.faq__item[open] .faq__q::after {
  content: "–";
}

.faq__a {
  padding: 0 44px 28px 0;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 60ch;
}

.section--dark .faq__a {
  color: var(--muted-dark);
}

/* ---------- CTA STRIP ---------- */
.ctastrip {
  background: var(--magenta);
  color: #fff;
  text-align: center;
  padding: clamp(64px, 9vw, 130px) 0;
}

.ctastrip h2 {
  font-size: clamp(34px, 5.4vw, 76px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: #fff;
}

.ctastrip p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 48ch;
  margin: 0 auto 38px;
}

.ctastrip .hero__cta {
  justify-content: center;
}

.ctastrip .btn {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.ctastrip .btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.ctastrip .btn--ghost-light:hover {
  background: #fff;
  color: var(--magenta);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 7vw, 90px) 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 56px;
}

.footer__logo {
  height: 30px;
  margin-bottom: 20px;
}

.footer__tag {
  color: var(--muted-dark);
  font-size: 15px;
  max-width: 30ch;
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 18px;
  font-weight: 400;
}

.footer__col a {
  display: block;
  color: var(--paper);
  font-size: 15px;
  margin-bottom: 12px;
  opacity: 0.85;
  transition: opacity 0.18s ease, color 0.18s;
}

.footer__col a:hover {
  opacity: 1;
  color: var(--magenta);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}

/* reveal — pure CSS load animation; content is always visible (never gated on JS) */
.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: cpRise 0.8s cubic-bezier(.2, .7, .2, 1) both;
  }
}

@keyframes cpRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .heroA__grid {
    grid-template-columns: 1fr;
  }

  .heroA__art {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .heroC {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .heroC__panel {
    padding: 64px 0;
    min-height: 420px;
  }

  .heroC__copy {
    max-width: none;
    margin: 0;
  }

  .cash {
    grid-template-columns: 1fr;
  }

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

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

  .faq {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav__links {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .resto-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav__inner {
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 60px);
  }
}

/* ---------- STORE BADGES ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.store-badge {
  height: 55px;
  width: auto;
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.store-badge--google {
  height: 55px;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .store-badge,
  .store-badge--google {
    height: 44px;
  }
}