:root {
  --blue: #4FA9FF;
  --green: #0B6B43;
  --green-hover: #095A38;
  --ink: #0A1F16;
  --body-text: #3A4A41;
  --border: #C7D6CC;
  --page-bg: #F7FAF9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--page-bg);
  color: var(--ink);
}

a { text-decoration: none; }
input:focus, a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}

/* ---------- Buttons ---------- */
.cta-primary {
  background: var(--green); color: #FFFFFF; font-size: 15px; font-weight: 600;
  padding: 14px 22px; border-radius: 8px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit;
  transition: background 0.15s ease;
}
.cta-primary:hover { background: var(--green-hover); }

.cta-secondary {
  border: 1.5px solid var(--border); color: var(--ink); font-size: 15px; font-weight: 600;
  padding: 14px 22px; border-radius: 8px; background: #FFFFFF; display: inline-block;
  transition: border-color 0.15s ease;
}
.cta-secondary:hover { border-color: var(--ink); }

.nav-link { color: var(--ink); font-size: 15px; font-weight: 500; transition: color 0.15s ease; }
.nav-link:hover { color: var(--green); }

/* ---------- Grain overlay ---------- */
.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,250,249,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E1EAE4;
}
.nav-inner { width: 100%; padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.logo-sm { width: 34px; height: 34px; object-fit: contain; }
.logo-xs { width: 26px; height: 26px; object-fit: contain; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-cta { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  width: 100%; padding: 88px 48px 96px; display: flex; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-blob-blue { top: -120px; right: -100px; width: 420px; height: 420px; background: var(--blue); opacity: 0.10; }
.hero-blob-green { bottom: -140px; left: -80px; width: 360px; height: 360px; background: var(--green); opacity: 0.09; }
.hero-circuit { position: absolute; top: 40px; left: 30px; opacity: 0.14; pointer-events: none; }

.hero-inner { width: 100%; max-width: 1180px; display: flex; align-items: center; gap: 56px; position: relative; z-index: 1; }
.hero-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-heading { margin: 0; font-size: 62px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.line-dark { display: block; color: var(--ink); }
.line-blue { display: block; color: var(--blue); }
.hero-sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--body-text); max-width: 440px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 4px; }

.trust-badges { display: flex; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; }
.trust-badge span { font-size: 14px; color: var(--body-text); }

/* ---------- Hero visual: tap demo ----------
   Visitors drag the phone onto the tag with a mouse or finger. setupTapDemo()
   in script.js moves the phone by setting --dx/--dy/--rot/--lift on
   .hero-visual, and walks it through these states:
     (none)        phone waits beside the tag, nudging toward it
     .is-dragging  phone follows the pointer (no transition)
     .is-near      phone is close: the tag lights up
     .is-tapped    phone snaps onto the tag: glow and ripples, screen clears
     .is-verified  checkmark draws itself
     .is-receipt   receipt slides up and fills in line by line
     .is-done      "Try again" appears
   The phone rests at (0,0) = on the tag; --dx/--dy offset it from there. */
.hero-visual {
  flex: 1; min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px;
  --dx: -130px; --dy: -40px; --rot: -8deg; --lift: 1;
  --spring: cubic-bezier(0.34, 1.35, 0.5, 1);
}

.tap-stage {
  position: relative; width: 100%; max-width: 440px; height: 460px; overflow: hidden; border-radius: 24px;
  background: radial-gradient(120% 80% at 50% 0%, #F3F8FF 0%, #EAF3EE 60%, #E4EEE8 100%);
  box-shadow: 0 20px 50px rgba(10,31,22,0.14);
  -webkit-user-select: none; user-select: none;
}
.counter-surface {
  position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
  background: linear-gradient(180deg, #EFEBE1 0%, #E3DDCF 55%, #D9D2C1 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 -1px 0 rgba(10,31,22,0.06);
}

/* The tag lies flat on the counter, two thirds of the way across */
.tag-wrap { position: absolute; left: calc(66% - 85px); bottom: 58px; width: 170px; height: 110px; perspective: 520px; }
.tag, .tag-ripple {
  position: absolute; left: 10px; top: 10px; width: 150px; height: 90px; border-radius: 16px;
  transform: rotateX(58deg);
}
.tag {
  background: linear-gradient(160deg, #FFFFFF 0%, #F6F8F7 100%); border: 1.5px solid #D5E3F2;
  box-shadow: 0 14px 18px rgba(10,31,22,0.16);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tag::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 16px; border: 2px solid var(--blue);
  box-shadow: 0 0 22px rgba(79,169,255,0.55); opacity: 0; transition: opacity 0.25s ease;
}
.is-near .tag::after { opacity: 0.6; }
.is-tapped .tag::after { animation: tagGlow 1.2s ease-out both; }
.tag-logo { width: 26px; height: 26px; object-fit: contain; }
.tag-label { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.tag-ripple { border: 2px solid var(--blue); opacity: 0; }
.is-tapped .tag-ripple { animation: tagRipple 1.1s cubic-bezier(0.2, 0.6, 0.3, 1) both; }
.is-tapped .tag-ripple-2 { animation-delay: 0.15s; }
.is-tapped .tag-ripple-3 { animation-delay: 0.3s; }

/* The phone's shadow on the counter: follows it sideways, fades as it lifts */
.phone-shadow {
  position: absolute; left: calc(66% - 95px); bottom: 86px; width: 190px; height: 34px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(10,31,22,0.32) 0%, rgba(10,31,22,0) 100%);
  transform: translateX(var(--dx)) scaleX(calc(1 - var(--lift) * 0.28));
  opacity: calc(1 - var(--lift) * 0.6);
  transition: transform 0.5s var(--spring), opacity 0.4s ease;
}

/* The phone */
.phone {
  position: absolute; left: calc(66% - 75px); top: 52px; width: 150px; height: 300px;
  padding: 6px; border-radius: 30px;
  background: linear-gradient(150deg, #33443B 0%, #121E18 45%, #0A1510 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 26px 40px -14px rgba(10,31,22,0.55);
  transform: translate(var(--dx), var(--dy)) rotate(var(--rot));
  transition: transform 0.5s var(--spring);
  cursor: grab; touch-action: none; will-change: transform; z-index: 2;
  animation: phoneNudge 3.2s ease-in-out 1.5s infinite;
}
.phone:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.has-interacted .phone { animation: none; }
.is-dragging .phone, .is-dragging .phone-shadow { transition: none; }
.is-dragging .phone { cursor: grabbing; }
.is-tapped .phone { cursor: default; transition: transform 0.22s cubic-bezier(0.3, 0.7, 0.4, 1); }
.is-tapped .phone-shadow { transition: transform 0.22s ease, opacity 0.22s ease; }

.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #1B2922; }
.phone::before { right: -2px; top: 78px; height: 38px; }
.phone::after { left: -2px; top: 64px; height: 24px; }
.phone-screen {
  position: relative; height: 100%; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #FBFDFC 0%, #EEF4F0 100%);
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 38%);
}
.phone-island { position: absolute; top: 8px; left: 50%; width: 42px; height: 12px; margin-left: -21px; border-radius: 8px; background: #0B1510; z-index: 2; }

/* What's on the phone's screen */
.screen-idle, .screen-check, .screen-receipt { position: absolute; inset: 0; }
.screen-idle, .screen-check { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.screen-idle p, .screen-check p { margin: 0; font-size: 11px; line-height: 1.4; font-weight: 600; }

.screen-idle { color: var(--body-text); transition: opacity 0.25s ease, transform 0.25s ease; }
.is-tapped .screen-idle { opacity: 0; transform: translateY(-8px); }
.idle-icon {
  width: 58px; height: 58px; border-radius: 50%; background: #EAF3FF; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  animation: idlePulse 1.6s ease-in-out infinite;
}

.screen-check { color: var(--green); opacity: 0; transform: scale(0.7); transition: opacity 0.3s ease, transform 0.45s var(--spring); }
.is-verified .screen-check { opacity: 1; transform: scale(1); }
.is-receipt .screen-check { opacity: 0; transform: scale(0.94); transition-duration: 0.25s; }
.check-path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.45s ease 0.12s; }
.is-verified .check-path { stroke-dashoffset: 0; }

.screen-receipt {
  padding: 30px 9px 0; opacity: 0; transform: translateY(26px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.is-receipt .screen-receipt { opacity: 1; transform: none; }
.rc-badge {
  display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto 8px; width: max-content;
  padding: 3px 8px; border-radius: 99px; background: #E4F3EA; color: var(--green); font-size: 8.5px; font-weight: 700;
}
.rc-card {
  background: #FFFFFF; border-radius: 8px 8px 0 0; padding: 11px 10px 9px;
  font-family: 'IBM Plex Mono', monospace; color: #16231C; box-shadow: 0 2px 8px rgba(10,31,22,0.06);
}
.rc-store { text-align: center; font-size: 10.5px; font-weight: 600; }
.rc-addr { text-align: center; font-size: 7.5px; color: #6B7A72; margin-top: 2px; }
.rc-rule { border-top: 1px dashed var(--border); margin: 8px 0; }
.rc-line { display: flex; justify-content: space-between; font-size: 8.5px; margin-bottom: 5px; }
.rc-total {
  display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 700;
  border-top: 1px solid #16231C; padding-top: 7px; margin-top: 7px;
}
.rc-tear {
  height: 8px; background: #FFFFFF;
  clip-path: polygon(0% 0%,100% 0%,100% 60%,91% 100%,82% 60%,73% 100%,64% 60%,55% 100%,46% 60%,37% 100%,28% 60%,19% 100%,10% 60%,0% 100%);
}
.rc-badge, .rc-line, .rc-total { opacity: 0; transform: translateY(5px); transition: opacity 0.35s ease, transform 0.35s ease; }
.is-receipt .rc-badge, .is-receipt .rc-line, .is-receipt .rc-total { opacity: 1; transform: none; }
.is-receipt .rc-badge { transition-delay: 0.25s; }
.is-receipt .rc-line-1 { transition-delay: 0.4s; }
.is-receipt .rc-line-2 { transition-delay: 0.55s; }
.is-receipt .rc-total { transition-delay: 0.7s; }

/* Instruction on the counter, swapped for "Try again" once it's done */
.tap-hint, .tap-reset {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; white-space: nowrap;
  background: rgba(255,255,255,0.9); box-shadow: 0 4px 12px rgba(10,31,22,0.1);
  font-family: inherit; font-size: 12px; font-weight: 600; color: var(--ink);
  transition: opacity 0.3s ease;
}
.tap-hint { pointer-events: none; }
.has-interacted .tap-hint { opacity: 0; }
.tap-reset { border: none; cursor: pointer; opacity: 0; pointer-events: none; }
.tap-reset:hover { background: #FFFFFF; }
.is-done .tap-reset { opacity: 1; pointer-events: auto; }

/* Step labels under the stage, lit as each step happens */
.tap-steps { display: flex; align-items: center; gap: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; }
.tap-step { color: #A9BDB0; transition: color 0.25s ease; }
.tap-step-sep { width: 18px; border-top: 1.5px solid var(--border); }
.is-dragging .tap-step-1, .is-tapped:not(.is-verified) .tap-step-1,
.is-verified:not(.is-receipt) .tap-step-2,
.is-receipt .tap-step-3 { color: var(--green); }

/* ---------- Keyframes ---------- */
@keyframes phoneNudge {
  0%, 62%, 100% { translate: 0 0; }
  76%           { translate: 18px 8px; }
  86%           { translate: 5px 2px; }
}
@keyframes tagGlow {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes tagRipple {
  0%   { opacity: 0.85; transform: rotateX(58deg) scale(0.95); }
  100% { opacity: 0;    transform: rotateX(58deg) scale(2); }
}
@keyframes idlePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
@keyframes paperToss {
  0%   { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
  14%  { transform: translate(0px, 0px) rotate(-5deg); opacity: 1; }
  28%  { transform: translate(0px, 0px) rotate(4deg); opacity: 1; }
  38%  { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
  62%  { transform: translate(8px, 52px) rotate(40deg); opacity: 1; }
  85%  { transform: translate(13px, 84px) rotate(60deg); opacity: 0.85; }
  96%  { transform: translate(14px, 94px) rotate(70deg); opacity: 0; }
  100% { transform: translate(14px, 94px) rotate(70deg); opacity: 0; }
}
.paper-toss {
  position: absolute; top: 0; left: 42px; width: 24px; height: 32px; background: #FDFBF6;
  border-radius: 2px; box-shadow: 0 2px 6px rgba(10,31,22,0.25); padding: 5px 4px;
  animation: paperToss 4.2s ease-in-out infinite;
}
.paper-line { height: 2px; background: var(--border); margin-bottom: 3px; }
.paper-line.short { width: 60%; margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  /* Keep the drag (the visitor is moving it themselves), drop the extras */
  .phone, .idle-icon, .is-tapped .tag-ripple { animation: none; }
  .paper-toss { animation: none; opacity: 1; transform: none; }
}

/* ---------- Generic sections ---------- */
.section { width: 100%; padding: 96px 48px; display: flex; justify-content: center; }
.section-blue { background: #EAF3FF; }
.section-inner { width: 100%; max-width: 1180px; }
.section-title { margin: 0 0 52px; font-size: 34px; font-weight: 700; letter-spacing: -0.01em; }
.section-title-sm { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- How it works ---------- */
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps-line { position: absolute; top: 38px; left: 16.5%; right: 16.5%; height: 0; border-top: 1.5px dashed #B8D2EC; z-index: 0; }
.step-card {
  position: relative; z-index: 1; background: #FFFFFF; border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 4px 14px rgba(10,31,22,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(10,31,22,0.1); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.step-icon-blue { background: #EAF3FF; }
.step-icon-green { background: #E4F3EA; }
.step-num { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 600; color: #A9BDB0; }
.step-card h3 { margin: 0; font-size: 21px; font-weight: 700; }
.step-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-text); }

/* ---------- Why it matters ---------- */
.section-green-wrap { width: 100%; background: var(--green); position: relative; }
.wave { display: block; width: 100%; height: 44px; }
.wave-flip { transform: scaleY(-1); }
.section-green { width: 100%; padding: 40px 48px 96px; display: flex; justify-content: center; }
.why-inner { display: flex; align-items: center; gap: 64px; }
.why-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.why-heading-row { display: flex; align-items: center; gap: 12px; }
.why-heading-row h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.01em; color: #FFFFFF; }
.why-text { margin: 0; font-size: 17px; line-height: 1.6; color: #DCEEE2; max-width: 420px; }
.why-source { margin: 0; font-size: 13px; color: #9FCBAF; }
.why-visual { flex-shrink: 0; display: flex; align-items: flex-end; gap: 20px; }
.paper-scene { position: relative; width: 120px; height: 150px; }
.bin-svg { position: absolute; bottom: 0; left: 0; }
.stat-block { text-align: right; }
.stat-number { font-family: 'IBM Plex Mono', monospace; font-size: 72px; font-weight: 600; color: #FFFFFF; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: #9FCBAF; margin-top: 8px; }

/* ---------- Impact calculator ---------- */
.calc-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.calc-sub { margin: 0; font-size: 16px; color: var(--body-text); max-width: 480px; }
.calc-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.calc-btn {
  background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--border); font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 8px; font-family: inherit; cursor: pointer; transition: all 0.15s ease;
}
.calc-btn.active { background: var(--green); color: #FFFFFF; border-color: var(--green); }
.calc-result { margin-top: 4px; }
.calc-number { font-family: 'IBM Plex Mono', monospace; font-size: 52px; font-weight: 600; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.calc-label { font-size: 14px; color: #6B7A72; margin-top: 8px; }

/* ---------- Merchants ---------- */
.merchants-inner { display: flex; gap: 64px; align-items: flex-start; }
.merchants-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.merchants-copy h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.01em; }
.merchants-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body-text); max-width: 440px; }
.merchants-copy .cta-secondary { margin-top: 8px; align-self: flex-start; }
.merchants-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 4px; }
.merchant-point { display: flex; gap: 14px; align-items: flex-start; }
.merchant-point svg { flex-shrink: 0; margin-top: 2px; }
.merchant-point p { margin: 0; font-size: 16px; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-section { padding: 96px 48px; }
.contact-inner { width: 100%; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.contact-inner h2 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.01em; }
.contact-inner p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body-text); }
.contact-options { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.contact-option {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 8px;
  background: #FFFFFF; border: 1.5px solid var(--border); color: var(--ink); font-size: 15px; font-weight: 600;
  transition: border-color 0.15s ease;
}
.contact-option:hover { border-color: var(--green); }
.contact-note { font-size: 13px; color: #6B7A72; }
/* ---------- Footer ---------- */
.footer { width: 100%; background: var(--ink); padding: 56px 48px 40px; display: flex; justify-content: center; }
.footer-inner { width: 100%; max-width: 1180px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: #FFFFFF; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: #A9BDB0; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid #1B342A;
}
.footer-bottom span { font-size: 13px; color: #6B7F73; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #A9BDB0; }

/* ---------- Content sections: shared bits ---------- */
[id] { scroll-margin-top: 84px; }
.eyebrow {
  margin: 0 0 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green);
}
.section-title + .section-lede { margin-top: -36px; }
.section-lede { margin: 0 0 44px; max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--body-text); }
.fine-print { margin: 20px 0 0; font-size: 13px; line-height: 1.6; color: #6B7A72; max-width: 720px; }
.calc-inner .fine-print { margin-top: 0; }

/* Citation markers: [1] linking to the References list */
.cite {
  font-size: 0.72em; vertical-align: super; line-height: 0; margin-left: 2px;
  color: #2F7FD1; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.cite:hover { text-decoration: underline; }
.cite-light { color: #BFE0FF; }

/* How it works, four steps */
.steps-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps-grid-4 .steps-line { left: 12.5%; right: 12.5%; }

/* The problem with paper receipts */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fact-card { background: #FFFFFF; border: 1px solid #E1EAE4; border-radius: 14px; padding: 24px 22px; }
.fact-figure { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 600; color: var(--green); line-height: 1.1; }
.fact-unit { font-size: 13px; font-weight: 600; color: var(--ink); margin: 6px 0 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.fact-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body-text); }

/* Who benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.benefit-col { background: #FFFFFF; border-radius: 14px; padding: 26px 24px; box-shadow: 0 4px 14px rgba(10,31,22,0.06); }
.benefit-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.benefit-head h3 { margin: 0; font-size: 20px; }
.benefit-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefit-list li { font-size: 14.5px; line-height: 1.6; color: var(--body-text); padding-left: 18px; position: relative; }
.benefit-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.benefit-list strong { color: var(--ink); }

/* Security and trust */
.security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.security-item { border-top: 2px solid var(--blue); padding-top: 18px; }
.security-item h3 { margin: 0 0 8px; font-size: 17px; }
.security-item p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--body-text); }

/* For merchants: pilot steps */
.list-title { margin: 0 0 4px; font-size: 18px; }
.pilot-steps { margin: 0; padding: 0; list-style: none; counter-reset: pilot; display: flex; flex-direction: column; gap: 16px; }
.pilot-steps li { counter-increment: pilot; position: relative; padding-left: 44px; font-size: 15px; line-height: 1.6; color: var(--body-text); }
.pilot-steps li::before {
  content: counter(pilot); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green); color: #FFFFFF; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.pilot-steps strong { color: var(--ink); }
.merchants-copy p + p { margin-top: -8px; }
.merchants-copy .eyebrow { font-size: 12px; margin: 0 0 -10px; }

/* FAQ */
.faq-inner { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: #FFFFFF; border: 1px solid #E1EAE4; border-radius: 12px; padding: 0 20px; }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-size: 16px; font-weight: 600; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--green);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--body-text); }

/* References */
.references-section { padding-top: 64px; padding-bottom: 64px; }
.references { margin: 20px 0 0; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.references li { font-size: 13.5px; line-height: 1.6; color: var(--body-text); padding-left: 4px; }
.references li:target { background: #FFF6D6; border-radius: 6px; }
.references a { color: #2F7FD1; text-decoration: underline; word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .why-inner, .merchants-inner { flex-direction: column; }
  .hero-heading { font-size: 44px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .why-visual { align-self: stretch; justify-content: space-between; }
}

/* Phones: tighter side gutters, and nothing wider than the screen */
@media (max-width: 600px) {
  .nav-inner, .hero, .section, .section-green, .contact-section, .footer { padding-left: 20px; padding-right: 20px; }
  .nav-inner { padding-top: 14px; padding-bottom: 14px; }
  .nav-link { display: none; }
  .hero { padding-top: 48px; padding-bottom: 64px; }
  .hero-inner { gap: 40px; }
  .hero-heading { font-size: 38px; }
  .hero-ctas { flex-wrap: wrap; }
  .section, .contact-section { padding-top: 64px; padding-bottom: 64px; }
  .section-green { padding-bottom: 64px; }
  .section-title { margin-bottom: 32px; }
  .why-inner, .merchants-inner { gap: 40px; }
  .why-visual { flex-direction: column; align-items: flex-start; }
  .stat-block { text-align: left; }
  .stat-number { font-size: 48px; }
  .calc-number { font-size: 42px; }
  .contact-options { flex-direction: column; align-items: stretch; }
  .contact-option { justify-content: center; }
  .footer-links { gap: 20px; flex-wrap: wrap; }
}

/* Content sections: fewer columns as the screen narrows */
@media (max-width: 1100px) {
  .nav-link { display: none; }
  .steps-grid-4, .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid-4 .steps-line { display: none; }
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .steps-grid-4, .facts-grid, .security-grid { grid-template-columns: 1fr; }
  .section-title + .section-lede { margin-top: -16px; }
  .section-lede { margin-bottom: 32px; font-size: 16px; }
  .fact-figure { font-size: 26px; }
  .references-section { padding-top: 48px; padding-bottom: 48px; }
}
