:root {
  --ink: #1e201d;
  --muted: #686961;
  --cream: #f6f0e6;
  --cream-2: #eee5d7;
  --paper: #fffdf8;
  --green: #18382b;
  --green-2: #28543f;
  --lime: #c7f36b;
  --orange: #ff6a3d;
  --blue: #4378ff;
  --line: rgba(30, 32, 29, 0.13);
  --shadow: 0 24px 70px rgba(25, 27, 23, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

svg {
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--green);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(246, 240, 230, 0.86);
  border-bottom: 1px solid rgba(30, 32, 29, 0.09);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 7px 6px;
  background: var(--ink);
  border-radius: 10px;
  transform: rotate(-3deg);
}

.brand-mark span {
  width: 4px;
  background: var(--lime);
  border-radius: 5px;
}

.brand-mark span:nth-child(1) { height: 9px; }
.brand-mark span:nth-child(2) { height: 16px; }
.brand-mark span:nth-child(3) { height: 12px; }

.brand-mark-small {
  width: 28px;
  height: 28px;
  padding: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #53544e;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
}

.button-dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(30, 32, 29, 0.16);
}

.button-dark:hover {
  background: var(--green);
}

.button-primary {
  color: #14281f;
  background: var(--lime);
  box-shadow: 0 10px 28px rgba(150, 190, 76, 0.2);
}

.button-primary:hover {
  background: #d4fa82;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--lime);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding-top: 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(30, 32, 29, 0.027) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 32, 29, 0.027) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
  align-items: center;
  gap: 60px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.hero h1,
.section-heading h2,
.retention-copy h2,
.final-cta h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 670px;
  font-size: clamp(64px, 7vw, 104px);
}

.hero-lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.text-link {
  padding: 8px 0 5px;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 9px 12px;
  color: #4d4e47;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(30, 32, 29, 0.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.62;
}

.ambient-orb-one {
  width: 330px;
  height: 330px;
  top: 80px;
  right: 30px;
  background: rgba(199, 243, 107, 0.56);
}

.ambient-orb-two {
  width: 260px;
  height: 260px;
  bottom: 10px;
  left: 20px;
  background: rgba(255, 106, 61, 0.22);
}

.hero-browser {
  position: relative;
  width: min(100%, 600px);
  height: 570px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid rgba(30, 32, 29, 0.11);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: hero-rise 650ms ease-out both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.browser-bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(30, 32, 29, 0.08);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 7px;
  height: 7px;
  background: #d5d0c8;
  border-radius: 50%;
}

.browser-label,
.live-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 850;
}

.browser-label {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.08);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(30, 32, 29, 0.07);
}

.browser-label i,
.live-label i,
.demo-status i,
.online-pill i,
.live-dot i {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--blue);
  border-radius: 50%;
}

.live-label {
  color: #5b5d55;
}

.live-label i,
.demo-status i,
.online-pill i,
.live-dot i {
  background: #43bb74;
  box-shadow: 0 0 0 4px rgba(67, 187, 116, 0.12);
}

.wallet-stack {
  position: absolute;
  inset: 95px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.wallet-card {
  width: 265px;
  height: 404px;
  border-radius: 23px;
  box-shadow: 0 22px 35px rgba(22, 40, 31, 0.2);
}

.wallet-card-back {
  position: absolute;
  display: flex;
  padding: 25px;
  color: #fff;
}

.wallet-card-orange {
  background: #ed5e36;
  transform: translateX(-112px) rotate(-12deg) scale(0.93);
}

.wallet-card-cream {
  color: var(--green);
  background: #e9decb;
  transform: translateX(112px) rotate(12deg) scale(0.93);
}

.mini-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.wallet-card-main {
  position: relative;
  z-index: 2;
  padding: 25px 23px 18px;
  color: #f7f8f0;
  background: linear-gradient(145deg, #214b38, #132f24 64%, #0e281d);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.wallet-topline,
.wallet-details,
.product-wallet-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cafe-logo {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--green);
  background: var(--lime);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.cafe-logo-small {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.wallet-stamp-count {
  font-size: 10px;
  font-weight: 750;
  text-align: right;
}

.wallet-stamp-count b {
  font-size: 17px;
}

.wallet-program {
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.stamp-row,
.product-stamps {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.stamp-dot {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--green);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 950;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.stamp-dot.is-filled {
  color: var(--green);
  background: var(--lime);
  border-color: var(--lime);
}

.stamp-dot.is-new {
  animation: stamp-pop 420ms cubic-bezier(0.2, 1.6, 0.4, 1);
}

@keyframes stamp-pop {
  50% { transform: scale(1.32) rotate(-8deg); }
}

.wallet-details {
  margin-top: 27px;
}

.wallet-details > div {
  display: grid;
  gap: 3px;
}

.wallet-details small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 800;
}

.wallet-details strong {
  max-width: 105px;
  font-size: 13px;
  line-height: 1.1;
}

.wallet-details > div:last-child {
  text-align: right;
}

.qr-box {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 31px auto 0;
  padding: 11px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.17);
}

.qr-box svg {
  width: 100%;
}

.wallet-footnote {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.hero-event-card {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px 12px 11px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 32, 29, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(25, 27, 23, 0.12);
}

.event-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 900;
}

.hero-event-card > span:last-child {
  display: grid;
  gap: 2px;
}

.hero-event-card b {
  font-size: 11px;
}

.hero-event-card small {
  color: var(--muted);
  font-size: 9px;
}

.promise-bar {
  padding: 30px 0;
  color: #fff;
  background: var(--green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.promise-inner p {
  margin: 0;
  font-size: 14px;
}

.promise-inner strong {
  color: var(--lime);
}

.promise-inner > span {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.section-light {
  background: var(--paper);
}

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

.section-heading h2,
.retention-copy h2,
.final-cta h2 {
  font-size: clamp(48px, 6vw, 80px);
}

.heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 70px;
}

.heading-split > p,
.demo-heading > p,
.centered-heading > p,
.retention-copy > p,
.final-cta-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.step-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--cream);
  border: 1px solid rgba(30, 32, 29, 0.09);
  border-radius: var(--radius-md);
}

.step-card-featured {
  background: #e5f1d7;
}

.step-number {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.step-visual {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
}

.step-card h3 {
  margin: 23px 2px 8px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.step-card p {
  margin: 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.poster-card {
  width: 118px;
  height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 13px;
  color: #fff;
  background: var(--green);
  border-radius: 11px;
  box-shadow: 0 16px 30px rgba(24, 56, 43, 0.23);
  transform: rotate(-3deg);
}

.poster-card b {
  color: var(--lime);
  font-size: 22px;
  letter-spacing: -0.06em;
}

.poster-card small {
  font-size: 8px;
}

.fake-qr,
.scan-qr,
.product-qr {
  background-color: #fff;
  background-image: linear-gradient(90deg, var(--green) 18%, transparent 18% 36%, var(--green) 36% 54%, transparent 54% 72%, var(--green) 72%), linear-gradient(var(--green) 18%, transparent 18% 36%, var(--green) 36% 54%, transparent 54% 72%, var(--green) 72%);
  background-size: 10px 10px;
  border: 6px solid #fff;
  border-radius: 4px;
}

.fake-qr {
  width: 64px;
  height: 64px;
}

.scan-line {
  position: absolute;
  width: 155px;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: scan-move 2.4s ease-in-out infinite;
}

@keyframes scan-move {
  0%, 100% { transform: translateY(-65px); }
  50% { transform: translateY(65px); }
}

.mini-form {
  width: 175px;
  display: grid;
  gap: 11px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.08);
  border-radius: 15px;
  box-shadow: 0 16px 30px rgba(30, 32, 29, 0.1);
}

.mini-form span {
  height: 29px;
  border: 1px solid #dedbd3;
  border-radius: 8px;
}

.mini-form button {
  height: 34px;
  color: var(--green);
  background: var(--lime);
  border: 0;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 850;
}

.scan-visual {
  background: var(--green);
}

.scan-corner,
.scanner-corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--lime);
  border-style: solid;
}

.top-left { top: 28px; left: 28px; border-width: 3px 0 0 3px; border-radius: 8px 0 0; }
.top-right { top: 28px; right: 28px; border-width: 3px 3px 0 0; border-radius: 0 8px 0 0; }
.bottom-left { bottom: 28px; left: 28px; border-width: 0 0 3px 3px; border-radius: 0 0 0 8px; }
.bottom-right { right: 28px; bottom: 28px; border-width: 0 3px 3px 0; border-radius: 0 0 8px; }

.scan-qr {
  width: 98px;
  height: 98px;
}

.return-visual {
  background: linear-gradient(145deg, #dff0cf, #eff7e6);
}

.return-ring {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--green);
  background: conic-gradient(var(--green) 0 89%, rgba(24, 56, 43, 0.12) 89% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 15px #edf7e5;
}

.return-ring span {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.return-ring small {
  font-size: 9px;
  font-weight: 800;
}

.return-badge {
  position: absolute;
  right: 17px;
  bottom: 24px;
  padding: 8px 10px;
  color: var(--green);
  background: var(--lime);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  transform: rotate(4deg);
}

.demo-section {
  color: #fff;
  background: var(--green);
}

.demo-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 70px;
}

.demo-heading > p {
  color: rgba(255, 255, 255, 0.63);
}

.demo-window {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(4, 19, 12, 0.28);
}

.demo-toolbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  background: #ebe5db;
  border-bottom: 1px solid rgba(30, 32, 29, 0.1);
}

.demo-tabs {
  display: flex;
  gap: 6px;
}

.demo-tab {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: #66675f;
  background: transparent;
  border: 0;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.demo-tab span {
  color: #98988f;
  font-size: 10px;
}

.demo-tab.is-active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(30, 32, 29, 0.15);
}

.demo-tab.is-active span {
  color: var(--lime);
}

.demo-tools,
.demo-status {
  display: flex;
  align-items: center;
  gap: 11px;
}

.demo-status {
  color: #6b6c65;
  font-size: 11px;
  font-weight: 800;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(30, 32, 29, 0.14);
  border-radius: 50%;
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-panel {
  min-height: 650px;
  animation: panel-in 260ms ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-panel:not(#merchant-panel):not(#campaign-panel) {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
}

.demo-copy-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px;
  background: #f0e9de;
  border-right: 1px solid rgba(30, 32, 29, 0.09);
}

.demo-kicker {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-copy-column h3 {
  max-width: 440px;
  margin: 0;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.demo-copy-column > p:not(.demo-kicker) {
  max-width: 430px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  font-size: 12px;
  font-weight: 750;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 950;
}

.customer-demo-canvas,
.counter-demo-canvas {
  position: relative;
  display: grid;
  place-items: center;
  padding: 45px;
  overflow: hidden;
  background-image: radial-gradient(circle at 20% 20%, rgba(199, 243, 107, 0.3), transparent 36%), radial-gradient(circle at 85% 80%, rgba(255, 106, 61, 0.18), transparent 31%);
}

.customer-demo-canvas::before,
.counter-demo-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 32, 29, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 32, 29, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 315px;
  min-height: 585px;
  padding: 12px;
  color: var(--ink);
  background: #181916;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 39px;
  box-shadow: 0 25px 60px rgba(30, 32, 29, 0.23);
}

.phone-status {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 29px;
  left: 29px;
  display: flex;
  justify-content: space-between;
  color: #353631;
  font-size: 9px;
  font-weight: 850;
  pointer-events: none;
}

.phone-app {
  min-height: 561px;
  padding: 42px 22px 27px;
  background: #fbfaf5;
  border-radius: 29px;
}

.phone-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.language-toggle {
  min-height: 31px;
  padding: 0 11px;
  color: var(--green);
  background: #edf3e8;
  border: 1px solid rgba(24, 56, 43, 0.12);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.join-state,
.created-state {
  margin-top: 29px;
}

.phone-eyebrow {
  margin: 0 0 8px;
  color: var(--green-2);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.join-state h4,
.created-state h4 {
  margin: 0;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.join-state > p:not(.phone-eyebrow),
.created-state > p:not(.phone-eyebrow) {
  margin: 10px 0 21px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.join-state label:not(.consent-row) {
  display: grid;
  gap: 6px;
  margin-top: 11px;
  color: #5a5c54;
  font-size: 9px;
  font-weight: 800;
}

.join-state input[type="text"],
.join-state input[type="tel"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 10px;
  font-size: 11px;
  outline: 0;
}

.join-state input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 56, 43, 0.1);
}

.consent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
  color: #6e6f68;
  font-size: 8px;
  line-height: 1.35;
}

.consent-row input {
  accent-color: var(--green);
}

.phone-primary-button,
.wallet-add-button {
  width: 100%;
  min-height: 43px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.phone-primary-button {
  color: #14281f;
  background: var(--lime);
}

.phone-home-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 92px;
  height: 4px;
  background: rgba(30, 32, 29, 0.7);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-shell.is-arabic .phone-app {
  direction: rtl;
  text-align: right;
}

.phone-shell.is-arabic input {
  text-align: right;
}

.success-bubble {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--green);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 950;
}

.mini-wallet-preview {
  display: grid;
  gap: 13px;
  margin: 22px 0 16px;
  padding: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-2), var(--green));
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(24, 56, 43, 0.18);
}

.mini-wallet-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.mini-wallet-preview small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.mini-wallet-preview strong {
  font-size: 16px;
}

.wallet-add-button {
  margin-top: 9px;
}

.apple-wallet-button {
  color: #fff;
  background: #111;
}

.apple-wallet-button.is-disabled {
  color: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
}

.wallet-setup-note {
  min-height: 13px;
  display: block;
  margin-top: 5px;
  color: #7b7c75;
  font-size: 7px;
  line-height: 1.35;
  text-align: center;
}

.google-wallet-button {
  color: #2b2d2a;
  background: #fff;
  border: 1px solid #d8d7d1;
}

.counter-stat-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px 0 34px;
}

.counter-stat-row div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(30, 32, 29, 0.1);
  border-radius: 12px;
}

.counter-stat-row strong {
  font-size: 19px;
}

.counter-stat-row span {
  color: var(--muted);
  font-size: 9px;
}

.tablet-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  min-height: 450px;
  display: grid;
  grid-template-columns: 62px 1fr;
  overflow: hidden;
  background: #fff;
  border: 9px solid #20211e;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(30, 32, 29, 0.22);
}

.tablet-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px;
  color: rgba(255, 255, 255, 0.55);
  background: var(--green);
}

.side-item {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 18px;
}

.side-item.is-current {
  color: var(--green);
  background: var(--lime);
}

.staff-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-top: auto;
  color: var(--green);
  background: #dfe9da;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.scanner-app {
  padding: 22px;
  background: #f7f4ed;
}

.scanner-header,
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scanner-header small,
.dashboard-header small {
  color: var(--green-2);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.scanner-header h4 {
  margin: 4px 0 0;
  font-size: 21px;
  letter-spacing: -0.05em;
}

.online-pill,
.result-badge,
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #546058;
  background: #e8eee7;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.scanner-stage {
  position: relative;
  height: 245px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #173a2c, #0f2b20);
  border-radius: 16px;
}

.scanner-stage .top-left { top: 20px; left: 20px; }
.scanner-stage .top-right { top: 20px; right: 20px; }
.scanner-stage .bottom-left { bottom: 20px; left: 20px; }
.scanner-stage .bottom-right { right: 20px; bottom: 20px; }

.scanner-qr {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 9px solid #fff;
  border-radius: 8px;
}

.scanner-qr span {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, var(--green) 17%, transparent 17% 34%, var(--green) 34% 50%, transparent 50% 68%, var(--green) 68%), linear-gradient(var(--green) 17%, transparent 17% 34%, var(--green) 34% 50%, transparent 50% 68%, var(--green) 68%);
  background-size: 15px 15px;
}

.scan-beam {
  position: absolute;
  z-index: 3;
  width: 160px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime);
  animation: scan-move 2.2s ease-in-out infinite;
}

.scanner-help {
  margin: 10px 0;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.scan-result {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.1);
  border-radius: 12px;
}

.scan-result.has-scanned {
  border-color: rgba(75, 153, 83, 0.45);
  box-shadow: 0 0 0 3px rgba(75, 153, 83, 0.08);
}

.member-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e4efd8;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
}

.scan-result > div {
  display: grid;
  gap: 1px;
}

.scan-result small {
  color: #95978e;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.scan-result strong {
  font-size: 10px;
}

.scan-result div span {
  color: var(--muted);
  font-size: 8px;
}

.result-badge.is-success {
  color: #286f41;
  background: #e1f4df;
}

.result-badge.is-reward {
  color: #5b4211;
  background: #fff0b8;
}

#merchant-panel {
  padding: 0;
}

.merchant-dashboard {
  min-height: 650px;
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #eeeee8;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  padding: 23px 17px;
  color: #fff;
  background: #17241e;
}

.brand-inverse {
  color: #fff;
}

.brand-inverse .brand-mark {
  background: rgba(255, 255, 255, 0.11);
}

.dashboard-business,
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-business {
  margin-top: 28px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.dashboard-business div,
.dashboard-user div {
  display: grid;
  gap: 2px;
}

.dashboard-business b,
.dashboard-user b {
  font-size: 10px;
}

.dashboard-business small,
.dashboard-user small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 7px;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 25px;
}

.dashboard-sidebar nav a {
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 9px;
  font-size: 9px;
  font-weight: 750;
}

.dashboard-sidebar nav a.is-current {
  color: var(--green);
  background: var(--lime);
}

.dashboard-user {
  margin-top: auto;
}

.dashboard-user .staff-avatar {
  margin-top: 0;
}

.dashboard-main {
  padding: 26px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-header h3 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.055em;
}

.dashboard-button {
  min-height: 36px;
  padding: 0 13px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 850;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 23px;
}

.metric-grid article {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.08);
  border-radius: 13px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
}

.metric-grid strong {
  font-size: 26px;
  letter-spacing: -0.05em;
}

.metric-grid small {
  color: #93958c;
  font-size: 7px;
}

.metric-grid small.metric-up {
  color: #328854;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-top: 12px;
}

.activity-card,
.visits-card {
  min-height: 330px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.08);
  border-radius: 15px;
}

.card-title-row > div {
  display: grid;
  gap: 2px;
}

.card-title-row span:first-child {
  font-size: 11px;
  font-weight: 850;
}

.card-title-row small {
  color: #9a9b94;
  font-size: 7px;
}

.card-title-row button {
  padding: 6px 8px;
  color: var(--muted);
  background: #f5f3ee;
  border: 0;
  border-radius: 7px;
  font-size: 7px;
}

.live-dot {
  padding: 6px 8px;
  font-size: 7px !important;
}

.activity-list {
  display: grid;
  margin-top: 17px;
}

.activity-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 11px 4px;
  border-top: 1px solid #efede8;
}

.activity-item.is-highlighted {
  margin: 0 -7px;
  padding-inline: 11px;
  background: #f2f7e9;
  border: 0;
  border-radius: 10px;
}

.activity-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e5f2da;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 900;
}

.reward-icon {
  color: #755a1e;
  background: #fff0c4;
}

.join-icon {
  color: #345fba;
  background: #e4ebff;
}

.campaign-icon {
  color: #4f3e7d;
  background: #eee8ff;
}

.campaign-activity {
  margin: 0 -7px;
  padding-inline: 11px;
  background: #f5f1ff;
  border: 0;
  border-radius: 10px;
}

.activity-item > div {
  display: grid;
  gap: 3px;
}

.activity-item b {
  font-size: 8px;
}

.activity-item small,
.activity-item time {
  color: #8d8f87;
  font-size: 7px;
}

.bar-chart {
  height: 235px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  padding-top: 10px;
  border-bottom: 1px solid #e7e5df;
}

.bar-chart div {
  position: relative;
  width: 100%;
  height: var(--bar);
  background: #dce4d7;
  border-radius: 7px 7px 2px 2px;
}

.bar-chart div.is-today {
  background: var(--green);
}

.bar-chart span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  color: #989a91;
  font-size: 6px;
  transform: translateX(-50%);
}

/* Smart campaign studio */

#campaign-panel {
  padding: 0;
  background: #edede7;
}

.campaign-studio {
  min-height: 650px;
  padding: 28px;
}

.campaign-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.campaign-breadcrumb {
  margin: 0 0 6px;
  color: #85877e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-studio-header h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.055em;
}

.draft-pill,
.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #73756d;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.09);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.draft-pill i {
  width: 6px;
  height: 6px;
  background: #b8b9b3;
  border-radius: 50%;
}

.draft-pill.is-live {
  color: #24663b;
  background: #eff9e9;
}

.draft-pill.is-live i {
  background: #41a65d;
  box-shadow: 0 0 0 4px rgba(65, 166, 93, 0.12);
}

.campaign-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 14px;
}

.campaign-builder,
.campaign-preview {
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.08);
  border-radius: 18px;
}

.campaign-builder {
  padding: 21px;
}

.builder-section-heading,
.location-card-header > div,
.preview-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.builder-section-heading > span,
.location-card-header > div > span {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--lime);
  border-radius: 7px;
  font-size: 7px;
  font-weight: 900;
}

.builder-section-heading h4,
.location-card-header h4,
.preview-title-row h4 {
  margin: 0;
  font-size: 12px;
  letter-spacing: -0.025em;
}

.builder-section-heading p,
.location-card-header p {
  margin: 3px 0 0;
  color: #8b8d84;
  font-size: 7px;
  line-height: 1.4;
}

.trigger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.trigger-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 8px;
  padding: 10px;
  text-align: left;
  background: #f7f6f2;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
}

.trigger-card.is-active {
  background: #f2f9e8;
  border-color: #a7d852;
  box-shadow: inset 0 0 0 1px rgba(167, 216, 82, 0.22);
}

.trigger-icon {
  width: 27px;
  height: 27px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  align-self: center;
  color: var(--green);
  background: #e7eee1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.trigger-card.is-active .trigger-icon {
  background: var(--lime);
}

.trigger-card b {
  align-self: end;
  font-size: 8px;
}

.trigger-card small {
  align-self: start;
  margin-top: 2px;
  color: #8d8f87;
  font-size: 6px;
}

.location-card {
  margin-top: 14px;
  padding: 16px;
  background: #f8f7f3;
  border: 1px solid #e8e5dd;
  border-radius: 14px;
  transition: opacity 160ms ease;
}

.location-card.is-secondary {
  opacity: 0.64;
}

.location-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.privacy-pill {
  color: #2d7045;
  background: #eef7e9;
  border-color: #d9ead2;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.75fr);
  gap: 11px;
  margin-top: 12px;
}

.mini-map {
  position: relative;
  min-height: 155px;
  overflow: hidden;
  background: #e8e5dc;
  border: 1px solid #dbd7cd;
  border-radius: 11px;
}

.map-road,
.map-block,
.geo-radius,
.branch-pin,
.map-label {
  position: absolute;
}

.map-road {
  z-index: 1;
  background: #f8f7f2;
  border: 1px solid rgba(30, 32, 29, 0.06);
}

.road-one { width: 130%; height: 24px; top: 58px; left: -15%; transform: rotate(-13deg); }
.road-two { width: 24px; height: 130%; top: -15%; left: 66%; transform: rotate(10deg); }
.road-three { width: 95%; height: 15px; right: -20%; bottom: 16px; transform: rotate(7deg); }

.map-block {
  background: #d6d8cf;
  border-radius: 6px;
}

.block-one { width: 50px; height: 30px; top: 17px; left: 20px; transform: rotate(-5deg); }
.block-two { width: 67px; height: 40px; top: 16px; right: 23px; transform: rotate(8deg); }
.block-three { width: 56px; height: 38px; bottom: 12px; left: 18px; transform: rotate(-9deg); }

.geo-radius {
  z-index: 2;
  width: 105px;
  height: 105px;
  top: 50%;
  left: 50%;
  background: rgba(199, 243, 107, 0.23);
  border: 1px solid rgba(85, 133, 37, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease;
}

.geo-radius.radius-150 { width: 70px; height: 70px; }
.geo-radius.radius-500 { width: 140px; height: 140px; }

.branch-pin {
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.branch-pin i {
  width: 30px;
  height: 30px;
  display: block;
  background: var(--green);
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 3px;
  box-shadow: 0 7px 18px rgba(24, 56, 43, 0.25);
  transform: rotate(-45deg);
}

.branch-pin b {
  position: absolute;
  color: var(--lime);
  font-size: 6px;
}

.map-label {
  z-index: 2;
  right: 8px;
  bottom: 7px;
  padding: 4px 6px;
  color: #666960;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 5px;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.location-controls {
  display: grid;
  align-content: start;
  gap: 13px;
}

.location-controls label,
.message-editor label {
  display: grid;
  gap: 6px;
  color: #6f716a;
  font-size: 7px;
  font-weight: 800;
}

.location-controls select,
.message-editor input,
.message-editor textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 8px;
  outline: 0;
}

.location-controls select {
  min-height: 34px;
  padding: 0 9px;
  font-size: 7px;
}

.control-label {
  display: block;
  margin-bottom: 6px;
  color: #6f716a;
  font-size: 7px;
  font-weight: 800;
}

.radius-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.radius-options button {
  min-height: 30px;
  padding: 0 3px;
  color: #7b7d75;
  background: #fff;
  border: 1px solid #dedbd3;
  border-radius: 7px;
  font-size: 6px;
  font-weight: 850;
  cursor: pointer;
}

.radius-options button.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0 0;
  color: #797b73;
  font-size: 6px;
  line-height: 1.45;
}

.privacy-note span {
  color: var(--green);
  font-size: 11px;
}

.privacy-note b {
  color: #565950;
}

.smart-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.smart-summary article {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: #f3f4ee;
  border-radius: 9px;
}

.smart-summary span,
.smart-summary small {
  color: #8a8d83;
  font-size: 6px;
}

.smart-summary strong {
  font-size: 14px;
  letter-spacing: -0.035em;
}

.campaign-preview {
  padding: 19px;
}

.preview-title-row {
  align-items: center;
  justify-content: space-between;
}

.preview-title-row > div {
  display: grid;
  gap: 3px;
}

.preview-title-row > div > span {
  color: var(--green-2);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lock-screen-preview {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 13px;
  padding: 17px 13px 13px;
  color: #fff;
  background: radial-gradient(circle at 75% 18%, rgba(199, 243, 107, 0.45), transparent 27%), linear-gradient(145deg, #18382b, #365a49);
  border-radius: 15px;
}

.lock-screen-time {
  display: grid;
  justify-items: center;
  gap: 1px;
}

.lock-screen-time strong {
  font-size: 31px;
  letter-spacing: -0.06em;
}

.lock-screen-time span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 7px;
}

.wallet-notification {
  width: 100%;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 9px;
  margin-top: 17px;
  padding: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(4, 19, 12, 0.24);
  backdrop-filter: blur(14px);
}

.wallet-notification > div {
  display: grid;
  gap: 3px;
}

.wallet-notification small {
  color: #7d8077;
  font-size: 5px;
  font-weight: 850;
}

.wallet-notification strong {
  font-size: 8px;
}

.wallet-notification p {
  margin: 0;
  color: #686b63;
  font-size: 6px;
  line-height: 1.35;
}

.nearby-caption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 6px;
}

.message-editor {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.message-editor input,
.message-editor textarea {
  padding: 8px 9px;
  font-size: 7px;
  resize: none;
}

.message-editor input:focus,
.message-editor textarea:focus,
.location-controls select:focus {
  border-color: #8ebf3f;
  box-shadow: 0 0 0 3px rgba(199, 243, 107, 0.22);
}

.message-editor label {
  position: relative;
}

.message-editor label > small {
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: #999b94;
  font-size: 5px;
}

.campaign-guardrails {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.campaign-guardrails > div {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f6f6f2;
  border-radius: 9px;
}

.guardrail-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e4eddf;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
}

.campaign-guardrails p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.campaign-guardrails b {
  font-size: 7px;
}

.campaign-guardrails small {
  color: #8d8f87;
  font-size: 5px;
}

.guardrail-value {
  padding: 5px 7px;
  color: #476343;
  background: #e6f1df;
  border-radius: 999px;
  font-size: 6px;
  font-weight: 850;
}

.campaign-launch-button {
  width: 100%;
  min-height: 40px;
  margin-top: 11px;
  font-size: 9px;
}

.campaign-launch-button.is-live {
  color: #fff;
  background: var(--green);
}

.launch-note {
  margin: 7px 0 0;
  color: #8a8c84;
  text-align: center;
  font-size: 6px;
}

.centered-heading {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.centered-heading > p:last-child {
  max-width: 560px;
  margin: 24px auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.product-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  padding: 34px;
  background: var(--cream);
  border: 1px solid rgba(30, 32, 29, 0.09);
  border-radius: var(--radius-lg);
}

.product-card-wallet {
  min-height: 565px;
}

.product-card-counter,
.product-card-merchant {
  min-height: 274px;
}

.product-card-merchant {
  grid-column: 1 / -1;
  min-height: 390px;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
}

.product-card-copy {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.product-card-copy > span {
  color: var(--green-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.product-card-copy h3 {
  margin: 13px 0 14px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.product-card-copy p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-wallet-visual {
  position: absolute;
  right: 45px;
  bottom: -35px;
  left: 45px;
  height: 335px;
  display: grid;
  place-items: center;
  background: #e2eadb;
  border-radius: 28px 28px 0 0;
}

.product-wallet-card {
  width: 230px;
  height: 350px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #fff;
  background: var(--green);
  border-radius: 20px;
  box-shadow: 0 22px 40px rgba(24, 56, 43, 0.25);
  transform: rotate(-4deg) translateY(34px);
}

.product-wallet-card > small {
  margin-top: 31px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.product-wallet-card .product-stamps {
  margin-top: 10px;
}

.product-wallet-card strong {
  margin-top: 20px;
  font-size: 18px;
}

.product-qr {
  width: 76px;
  height: 76px;
  margin: 24px auto 0;
}

.notification-stack {
  position: absolute;
  right: 22px;
  bottom: -4px;
  left: 22px;
  height: 180px;
}

.notification-card {
  position: absolute;
  right: 10px;
  bottom: 17px;
  left: 10px;
  display: grid;
  gap: 5px;
  padding: 15px 17px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(30, 32, 29, 0.09);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(30, 32, 29, 0.11);
}

.notification-muted {
  bottom: 72px;
  opacity: 0.48;
  transform: scale(0.92);
}

.notification-card span {
  color: var(--green-2);
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.notification-card b {
  font-size: 12px;
}

.notification-card small {
  color: var(--muted);
  font-size: 9px;
}

.mini-dashboard {
  min-height: 270px;
  padding: 23px;
  background: #fff;
  border: 1px solid rgba(30, 32, 29, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(30, 32, 29, 0.09);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mini-metrics > span {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f4f3ee;
  border-radius: 11px;
}

.mini-metrics b {
  font-size: 22px;
}

.mini-metrics small {
  color: var(--muted);
  font-size: 8px;
}

.mini-chart {
  height: 152px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 14px 0;
  background-image: linear-gradient(#eeece7 1px, transparent 1px);
  background-size: 100% 34px;
  border-bottom: 1px solid #e3e0d8;
}

.mini-chart i {
  width: 100%;
  height: var(--h);
  background: var(--green);
  border-radius: 6px 6px 0 0;
}

.mini-chart i:nth-child(5) {
  background: var(--lime);
}

.retention-section {
  color: #fff;
  background: #1d211d;
}

.retention-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 90px;
}

.retention-copy {
  position: sticky;
  top: 120px;
}

.retention-copy > p {
  max-width: 520px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.59);
}

.retention-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.retention-tabs button {
  min-height: 36px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.retention-tabs button.is-active {
  color: var(--green);
  background: var(--lime);
}

.message-list {
  display: grid;
  gap: 13px;
}

.message-list article {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.message-list article:nth-child(2) {
  margin-left: 32px;
}

.message-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e8f2dc;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 900;
}

.message-list article > div {
  display: grid;
  gap: 6px;
}

.message-list small {
  color: var(--green-2);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.message-list strong {
  font-size: 16px;
  letter-spacing: -0.025em;
}

.message-list p,
.message-list time {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.final-cta {
  color: var(--green);
  background: var(--lime);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
}

.final-cta-copy {
  display: grid;
  justify-items: start;
  gap: 25px;
}

.final-cta-copy > p {
  color: rgba(24, 56, 43, 0.76);
}

.site-footer {
  padding: 35px 0;
  color: #fff;
  background: #151714;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-inner p,
.footer-inner > span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  padding: 13px;
  color: #fff;
  background: #18241e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(10, 20, 15, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.toast > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--lime);
  border-radius: 11px;
  font-weight: 950;
}

.toast > div {
  display: grid;
  gap: 3px;
}

.toast b {
  font-size: 11px;
}

.toast small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

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

  .hero-browser {
    height: 535px;
  }

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

  .demo-copy-column {
    padding: 46px;
  }

  .merchant-dashboard {
    grid-template-columns: 175px 1fr;
  }

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

  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .visits-card {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 30px, 680px);
  }

  .section {
    padding: 82px 0;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

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

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

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-lede {
    margin-inline: auto;
  }

  .hero-actions,
  .proof-list {
    justify-content: center;
  }

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

  .hero-browser {
    width: min(100%, 590px);
  }

  .promise-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .promise-inner > span {
    display: none;
  }

  .heading-split,
  .demo-heading,
  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .demo-panel:not(#merchant-panel):not(#campaign-panel) {
    grid-template-columns: 1fr;
  }

  .demo-copy-column {
    border-right: 0;
    border-bottom: 1px solid rgba(30, 32, 29, 0.09);
  }

  .customer-demo-canvas,
  .counter-demo-canvas {
    min-height: 650px;
  }

  .demo-status {
    display: none;
  }

  .merchant-dashboard {
    grid-template-columns: 1fr;
  }

  .campaign-studio {
    padding: 22px;
  }

  .campaign-builder-grid {
    grid-template-columns: 1fr;
  }

  .campaign-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 14px;
  }

  .preview-title-row,
  .campaign-launch-button,
  .launch-note {
    grid-column: 1 / -1;
  }

  .message-editor {
    align-content: start;
    margin-top: 13px;
  }

  .campaign-guardrails {
    align-content: start;
    margin-top: 13px;
  }

  .dashboard-sidebar {
    display: none;
  }

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

  .product-card-merchant {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .retention-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .retention-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 24px);
  }

  .section {
    padding: 68px 0;
  }

  .site-header .button-small {
    min-height: 37px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-list {
    gap: 6px;
  }

  .proof-list li {
    font-size: 9px;
  }

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

  .hero-browser {
    height: 440px;
    border-radius: 25px;
  }

  .browser-bar {
    height: 53px;
    padding-inline: 12px;
  }

  .live-label {
    display: none;
  }

  .wallet-stack {
    inset: 75px 0 0;
    transform: scale(0.77);
  }

  .hero-event-card {
    right: 12px;
    bottom: 12px;
  }

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

  .step-card {
    min-height: 410px;
  }

  .section-heading h2,
  .retention-copy h2,
  .final-cta h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .demo-window {
    border-radius: 21px;
  }

  .demo-toolbar {
    align-items: flex-start;
  }

  .demo-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .demo-tab {
    min-width: max-content;
    min-height: 43px;
    padding: 0 12px;
    font-size: 11px;
  }

  .campaign-studio {
    padding: 17px;
  }

  .campaign-studio-header {
    align-items: flex-start;
  }

  .campaign-studio-header h3 {
    max-width: 220px;
    font-size: 23px;
  }

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

  .trigger-card {
    min-height: 64px;
  }

  .location-layout,
  .campaign-preview {
    grid-template-columns: 1fr;
  }

  .mini-map {
    min-height: 180px;
  }

  .preview-title-row,
  .campaign-launch-button,
  .launch-note {
    grid-column: auto;
  }

  .smart-summary {
    grid-template-columns: 1fr 1fr;
  }

  .smart-summary article:first-child {
    grid-column: 1 / -1;
  }

  .message-editor,
  .campaign-guardrails {
    margin-top: 11px;
  }

  .demo-tools {
    flex: 0 0 auto;
  }

  .demo-copy-column {
    padding: 38px 25px;
  }

  .demo-copy-column h3 {
    font-size: 43px;
  }

  .customer-demo-canvas,
  .counter-demo-canvas {
    min-height: 610px;
    padding: 25px 12px;
  }

  .phone-shell {
    width: min(100%, 305px);
  }

  .tablet-shell {
    width: 530px;
    transform: scale(0.62);
  }

  .counter-demo-canvas {
    min-height: 390px;
  }

  .dashboard-main {
    padding: 19px;
  }

  .dashboard-header {
    align-items: flex-start;
  }

  .dashboard-header h3 {
    font-size: 22px;
  }

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

  .metric-grid article {
    padding: 12px;
  }

  .activity-card {
    padding: 14px;
  }

  .product-card {
    padding: 26px;
    border-radius: 25px;
  }

  .product-card-wallet {
    min-height: 595px;
  }

  .product-wallet-visual {
    right: 20px;
    left: 20px;
  }

  .product-card-counter {
    min-height: 420px;
  }

  .product-card-merchant {
    min-height: 560px;
  }

  .mini-metrics {
    gap: 5px;
  }

  .mini-metrics > span {
    padding: 9px;
  }

  .mini-metrics b {
    font-size: 17px;
  }

  .message-list article {
    grid-template-columns: 43px 1fr;
    gap: 13px;
    padding: 18px;
  }

  .message-list article:nth-child(2) {
    margin-left: 0;
  }

  .message-list time {
    display: none;
  }

  .message-icon {
    width: 42px;
    height: 42px;
  }

  .retention-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .retention-tabs button {
    flex: 1 0 max-content;
  }

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

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
