/* pimpam.club marketing/landing theme — the brand front door. Full pimpam system (CLAUDE.md §5 +
   docs/07-brand.md): warm cream canvas, teal action, ember SIGNATURE, Fraunces display hero. The one
   hero is the live wallet pass (static, pre-rendered for LCP). WCAG 2.2 AA: AA contrast, ≥44px targets,
   visible focus, reduced-motion honored, forced-colors floor. This surface loads Inter + Fraunces (no
   JetBrains Mono). The PIMPAM-BRAND-TOKENS block below is managed by scripts/sync-shared.mjs. */

/* ── Fonts: self-hosted woff2, latin + latin-ext (RO ș/ț U+0219/021B, CA middot U+00B7) ─────────── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400.v1.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latinext-400.v1.woff2") format("woff2");
  unicode-range:
    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latinext-600.v1.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latinext-700.v1.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback for Inter (Arial metrics) → ~0 CLS when the real face swaps in. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}
/* Fraunces — the warm display hero (pinned soft instance: opsz 144, wght 580, SOFT 100, WONK 0).
   font-display: swap so the metric-matched fallback paints immediately and Fraunces swaps with ~0 CLS
   (the serif IS the brand on this surface — we want it to appear, unlike the app's `optional`). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-latin-400.v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-latinext-400.v1.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback for Fraunces (Georgia, tuned to the pinned instance's metrics
   upm 2000 / ascent 1956 / descent -510) → the fallback shown during swap holds Fraunces' line box. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  ascent-override: 97.8%;
  descent-override: 25.5%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* PIMPAM-BRAND-TOKENS v1 START
   The canonical PimPam brand core. This block is BYTE-IDENTICAL in all five surface theme.css files
   (dashboard/scanner/enroll/admin/marketing). It is MANAGED — do not hand-edit the copies. Edit it
   in pages/_shared/brand-tokens.css and run `pnpm sync:shared` (scripts/sync-shared.mjs) to write it
   into every surface; `sync:shared --check` red-gates CI on drift (subsumes the old
   brand-token-parity test). Raw, surface-agnostic primitives only (--pp-*): palette ramp,
   radii/shadows, type stacks, motion, shared keyframes. Each surface maps its own semantic tokens
   (--teal, --bg, --brand-bg…) onto these. @font-face rules stay OUTSIDE this block (per-origin:
   dashboard loads Inter+DM Serif+JBMono, marketing Inter+Fraunces, the others Inter-only), so the
   block itself never varies. Every colour value is WCAG-vetted in test/contrast.test.js — do not
   nudge a value without updating that vector. */
:root {
  /* Canvas / surfaces */
  --pp-cream: #fbf7ef;
  --pp-parchment: #f5f0e8;
  --pp-card: #fffdf9;
  --pp-hairline: #e7decb;
  /* Text — only ink / secondary carry small text on cream */
  --pp-ink: #2a2622;
  --pp-secondary: #5e574c;
  /* Action / "club" */
  --pp-teal: #00695c;
  --pp-teal-hover: #00564b;
  --pp-teal-wash: #e6f0ee;
  --pp-teal-mid: #4daca4; /* on-DARK accent (7.16:1 on near-black) — scanner uses this */
  /* Ember — the brand SIGNATURE colour. bright = fill only; -ink = text-legal; -wash = pale band. */
  --pp-ember: #e07a5f;
  --pp-ember-ink: #a83e28;
  --pp-ember-wash: #fbe9e2; /* pale terracotta band — ember-ink text on it clears AA (5.28:1) */
  /* Sage — done (bright = large/fill; -ink = text-legal) */
  --pp-sage: #6b7c5e;
  --pp-sage-ink: #566a48;
  /* Warmth — decorative wash/ground only */
  --pp-warmth: #c8956c;
  /* Marketing-tier warm hero gradient — DECORATIVE band only (ink/secondary/ember-ink text on it
     all clear AA); never a small-text foreground or a meaningful border. */
  --pp-grad-warm-a: #fdf4ee;
  --pp-grad-warm-b: #f6e3d8;
  /* Gold — redeem/reward accent (scanner Redeem button) */
  --pp-gold: #ffd43b;
  --pp-gold-text: #5c4400;
  /* Semantic status */
  --pp-info: #005eb8;
  --pp-warn: #8a4b00;
  --pp-danger: #a51f1f;
  --pp-success: #1b6b34;
  /* Radii */
  --pp-radius: 14px;
  --pp-radius-sm: 10px;
  --pp-radius-pill: 100px;
  /* Two-layer warm shadow: tight contact + soft ambient */
  --pp-shadow: 0 1px 2px rgba(80, 60, 40, 0.08), 0 6px 20px rgba(80, 60, 40, 0.1);
  --pp-shadow-hero: 0 2px 4px rgba(80, 60, 40, 0.1), 0 18px 44px rgba(80, 60, 40, 0.18);
  /* Type stacks (faces loaded per-surface via @font-face; missing faces fall back gracefully —
     surfaces without the Fraunces face fall through to DM Serif Display). */
  --pp-font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pp-serif:
    "Fraunces", "Fraunces Fallback", "DM Serif Display", Georgia, "Times New Roman", serif;
  --pp-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* Motion — snappy two-beat "pim·pam". Spring overshoot for the STAMP only; crisp elsewhere. */
  --pp-ease-spring: cubic-bezier(0.2, 0.9, 0.3, 1.2);
  --pp-ease-crisp: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pp-dur: 140ms;
  --pp-dur-fast: 110ms;
  --pp-dur-slow: 300ms;
}
/* Page-load reveal: a small rise + fade, staggered by JS (lib/motion.js sets --i). */
@keyframes pp-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Light-sweep across the hero pass strip (decorative sheen; transform-only). */
@keyframes pp-sweep {
  from {
    transform: translateX(-140%) skewX(-18deg);
  }
  to {
    transform: translateX(140%) skewX(-18deg);
  }
}
/* The signature: a two-beat stamp fill — land (pim) then settle (pam). Scale-only, compositor-safe. */
@keyframes pp-pimpam {
  0% {
    transform: scale(0.5);
  }
  45% {
    transform: scale(1.18);
  }
  70% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}
/* PIMPAM-BRAND-TOKENS v1 END */

/* ── Semantic layer + reset ─────────────────────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 76px; /* 2.4.11 — sticky header must not obscure a focused anchor target */
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--pp-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pp-ink);
  background: var(--pp-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.visually-hidden {
  /* biome-ignore lint/complexity/noImportantStyles: canonical SR-only pattern (WCAG 2.2 AA) */
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden must override any component display rule */
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--pp-ink);
  outline-offset: 2px;
  border-radius: 4px;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--pp-teal);
}
a:hover {
  color: var(--pp-teal-hover);
}

/* Skip link (2.4.1) */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--pp-card);
  color: var(--pp-teal);
  border: 1px solid var(--pp-teal);
  border-radius: var(--pp-radius-sm);
  padding: 10px 16px;
  font-weight: 600;
  transition: top var(--pp-dur) var(--pp-ease-crisp);
}
.skip-link:focus {
  top: 8px;
}

/* ── Typography ─────────────────────────────────────────────────────────────────────────────────── */
h1,
h2 {
  font-family: var(--pp-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--pp-ink);
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
h3 {
  font-family: var(--pp-font);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--pp-ink);
}
p {
  margin: 0 0 12px;
}
.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--pp-secondary);
  max-width: 40ch;
  text-wrap: pretty;
}
/* Inline brand emphasis inside body copy (the "pimpam" word in the hero sub-line). ember-ink is the
   text-legal brand signature colour — AA on cream/warm-gradient, distinct from teal links. */
.brand-word {
  color: var(--pp-ember-ink);
  font-weight: 700;
}

/* ── Layout ─────────────────────────────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: clamp(48px, 8vw, 88px) 0;
}
.section-head {
  max-width: 46ch;
  margin: 0 auto 32px;
  text-align: center;
}
.section-head .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── Wordmark ───────────────────────────────────────────────────────────────────────────────────── */
.pp-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0; /* pimpam↔.club sit tight; mark↔word spacing comes from the svg margin below */
  color: var(--pp-ink);
  text-decoration: none;
}
.pp-wordmark svg {
  height: 22px;
  width: auto;
  display: block;
  margin-right: 8px;
}
.pp-wordmark-word {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.pp-wordmark-club {
  color: var(--pp-teal);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ── Top bar ────────────────────────────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--pp-cream) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--pp-hairline);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}
.topbar .spacer {
  flex: 1;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topnav a {
  padding: 8px 12px;
  border-radius: var(--pp-radius-sm);
  color: var(--pp-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.topnav a:hover {
  background: var(--pp-parchment);
  color: var(--pp-ink);
}

/* Language switcher */
.langbar {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.langbar a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: var(--pp-radius-sm);
  color: var(--pp-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
}
.langbar a[aria-current="true"] {
  background: var(--pp-teal-wash);
  color: var(--pp-teal);
}
.langbar a:hover {
  background: var(--pp-parchment);
}

/* ── Buttons ────────────────────────────────────────────────────────────────────────────────────── */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--pp-radius-sm);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background var(--pp-dur) var(--pp-ease-crisp),
    transform var(--pp-dur-fast) var(--pp-ease-spring);
}
.btn-primary {
  background: var(--pp-teal);
  color: #fff;
  border-color: var(--pp-teal);
}
.btn-primary:hover {
  background: var(--pp-teal-hover);
  color: #fff;
}
.btn-primary:active,
.btn-ghost:active {
  transform: scale(0.97);
}
.btn-ghost {
  background: var(--pp-card);
  color: var(--pp-teal);
  border-color: var(--pp-teal);
}
.btn-ghost:hover {
  background: var(--pp-teal-wash);
}
.btn-lg {
  min-height: 52px;
  font-size: 1.05rem;
  padding: 14px 28px;
}

/* ── Hero ───────────────────────────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--pp-grad-warm-a), var(--pp-grad-warm-b));
  border-bottom: 1px solid var(--pp-hairline);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}
.hero-micro {
  color: var(--pp-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 20px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pp-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-strip .ic {
  color: var(--pp-teal);
}

/* ── Static hero wallet pass (the one hero) ─────────────────────────────────────────────────────── */
.pass-stage {
  display: flex;
  justify-content: center;
}
.pass-mat {
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: 22px;
  box-shadow: var(--pp-shadow-hero);
  padding: 18px;
  max-width: 320px;
  width: 100%;
}
/* The pass renders in a SAMPLE merchant brand (developer-authored) quarantined on the neutral mat. */
.pass {
  --brand-bg: #6b4a42;
  --brand-fg: #fffaf5;
  --brand-label: #e8d6cd;
  background: var(--brand-bg);
  color: var(--brand-fg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}
.pass-body {
  padding: 16px 16px 18px;
  position: relative;
  overflow: hidden;
}
.pass-body::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.26) 50%, transparent);
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
}
.pass-mat.animate .pass-body::after {
  opacity: 1;
  animation: pp-sweep 1100ms var(--pp-ease-crisp) 420ms;
}
.pass-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
}
.pass-logo-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: var(--brand-fg);
}
.pass-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}
.pass-progress {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.92;
}
.pass-count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
}
.pass-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 12px;
}
.pass-dot {
  width: 17px;
  height: 17px;
  line-height: 0;
}
.pass-dot svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* The signature two-beat on the "next" stamp (demo the collect→complete mechanic). */
.pass-mat.animate .pass-dot.next {
  transform-origin: center;
  animation: pp-pimpam var(--pp-dur-slow) var(--pp-ease-spring) 700ms both;
}
.pass-reward {
  font-size: 0.86rem;
  font-weight: 600;
}
.pass-qr {
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  place-items: center;
}
.pass-qr svg {
  width: 84px;
  height: 84px;
  display: block;
}

/* ── Benefit chips ──────────────────────────────────────────────────────────────────────────────── */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
}
.chip .ic {
  color: var(--pp-teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.chip b {
  display: block;
  color: var(--pp-ink);
}
.chip span {
  color: var(--pp-secondary);
  font-size: 0.9rem;
}

/* ── How it works (3 steps) ─────────────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  position: relative;
  padding: 22px;
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pp-teal-wash);
  color: var(--pp-teal);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.subline {
  text-align: center;
  color: var(--pp-secondary);
  font-weight: 600;
  margin-top: 24px;
}

/* ── Vertical strip (works for any shop) ────────────────────────────────────────────────────────── */
.verticals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vertical {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius-pill);
  font-weight: 600;
  color: var(--pp-ink);
}
.vertical .ic {
  color: var(--pp-ember-ink);
}

/* ── Why wallet, not an app (the thesis band) ───────────────────────────────────────────────────── */
.why-band {
  background: var(--pp-teal-wash);
  border-top: 1px solid #cfe1dd;
  border-bottom: 1px solid #cfe1dd;
}
.why-kicker {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pp-teal);
  margin: 0 0 6px;
}
.why-band h2 {
  color: var(--pp-teal);
}
.why-band .lede {
  color: var(--pp-ink);
  margin-left: auto;
  margin-right: auto;
}
.why-contrast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.why-col {
  padding: 18px 20px;
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
}
.why-col .ic {
  width: 1.5em;
  height: 1.5em;
  margin-bottom: 6px;
}
.why-col b {
  display: block;
  color: var(--pp-ink);
}
.why-col span {
  color: var(--pp-secondary);
  font-size: 0.9rem;
}
.why-col-no {
  background: var(--pp-parchment);
}
.why-col-no .ic {
  color: var(--pp-secondary);
}
.why-col-no b {
  color: var(--pp-secondary);
}
.why-col-yes {
  border-color: #bcd8d2;
}
.why-col-yes .ic {
  color: var(--pp-teal);
}

/* ── Card designer (honest static render of the real designer) ──────────────────────────────────── */
.designer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
  max-width: 860px;
  margin: 24px auto 0;
}
.designer-controls {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--pp-parchment);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
}
.designer-chrome {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--pp-secondary);
}
.field {
  margin-top: 16px;
}
.field:first-of-type {
  margin-top: 4px;
}
.field label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--pp-secondary);
  margin-bottom: 6px;
}
.field-input {
  padding: 10px 12px;
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius-sm);
  font-weight: 600;
  color: var(--pp-ink);
}
.field-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ex-label {
  font-size: 0.72rem;
  color: var(--pp-secondary);
  margin-right: 2px;
}
.ex-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--pp-teal);
  background: var(--pp-teal-wash);
  border-radius: var(--pp-radius-pill);
  padding: 3px 10px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-card);
  overflow: hidden;
}
.stepper-btn {
  width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--pp-teal);
  font-weight: 700;
  font-size: 1.2rem;
}
.stepper-val {
  padding: 0 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--pp-ink);
  border-left: 1px solid var(--pp-hairline);
  border-right: 1px solid var(--pp-hairline);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.mode-toggle {
  display: inline-flex;
}
.mode-opt {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pp-hairline);
  background: var(--pp-card);
  color: var(--pp-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}
.mode-opt:first-child {
  border-radius: var(--pp-radius-sm) 0 0 var(--pp-radius-sm);
}
.mode-opt:last-child {
  border-radius: 0 var(--pp-radius-sm) var(--pp-radius-sm) 0;
  border-left: 0;
}
.mode-opt.is-on {
  background: var(--pp-teal);
  border-color: var(--pp-teal);
  color: #fff;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pp-teal);
}
.brand-logo small,
.swatches small {
  color: var(--pp-secondary);
  font-size: 0.82rem;
}
.swatches {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sw {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: inline-block;
}
.sw-a {
  background: #6b4a42;
}
.sw-b {
  background: #f0d9cd;
}
.designer-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px;
  background: var(--pp-card);
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
}
.designer-preview-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--pp-secondary);
}
.pass-preview {
  width: 100%;
  max-width: 260px;
}

/* ── On the customer's phone (pass in wallet + a wallet push) ────────────────────────────────────── */
.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  margin-top: 24px;
}
.phone-fig {
  margin: 0;
  text-align: center;
}
.phone-fig figcaption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--pp-secondary);
}
.phone {
  width: 232px;
  padding: 12px;
  background: #17140f;
  border-radius: 34px;
  box-shadow: var(--pp-shadow-hero);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 2;
}
.phone-screen {
  border-radius: 24px;
  overflow: hidden;
  padding: 34px 14px 20px;
  min-height: 380px;
  background: linear-gradient(165deg, #2b2620, #17140f 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pass-inphone {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.phone-lock {
  justify-content: flex-start;
}
.lock-time {
  font-family: var(--pp-font);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  font-size: 2.6rem;
  color: #fff;
  text-align: center;
  margin: 6px 0 22px;
  letter-spacing: 0.01em;
}
.notif {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  background: rgba(255, 253, 249, 0.94);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.notif-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--pp-teal-wash);
  color: var(--pp-teal);
}
.notif-copy {
  min-width: 0;
}
.notif-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pp-secondary);
}
.notif-head b {
  color: var(--pp-secondary);
}
.notif-title {
  font-weight: 700;
  color: var(--pp-ink);
  margin-top: 2px;
}
.notif-text {
  color: var(--pp-secondary);
  font-size: 0.9rem;
  margin-top: 1px;
}

/* ── Zero-PII merchant-advantage band (ember signature) ─────────────────────────────────────────── */
.privacy-band {
  background: var(--pp-ember-wash);
  border-top: 1px solid #f0d3c8;
  border-bottom: 1px solid #f0d3c8;
}
.privacy-band h2 {
  color: var(--pp-ember-ink);
}
.privacy-band .lede {
  color: var(--pp-ink);
  margin-left: auto;
  margin-right: auto;
}
.privacy-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.privacy-chips li {
  padding: 14px 16px;
  background: var(--pp-card);
  border: 1px solid #f0d3c8;
  border-radius: var(--pp-radius);
  font-weight: 600;
  color: var(--pp-ink);
}
.privacy-chips li .ic {
  color: var(--pp-ember-ink);
  margin-right: 6px;
  vertical-align: -2px;
}

/* ── Pricing ────────────────────────────────────────────────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 0 28px;
}
.pricing-toggle .seg {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pp-hairline);
  background: var(--pp-card);
  color: var(--pp-secondary);
  font-weight: 600;
  cursor: pointer;
}
.pricing-toggle .seg:first-child {
  border-radius: var(--pp-radius-sm) 0 0 var(--pp-radius-sm);
}
.pricing-toggle .seg:last-child {
  border-radius: 0 var(--pp-radius-sm) var(--pp-radius-sm) 0;
  border-left: 0;
}
.pricing-toggle .seg[aria-pressed="true"] {
  background: var(--pp-teal);
  border-color: var(--pp-teal);
  color: #fff;
}
.price-table-wrap {
  overflow-x: auto;
}
.price-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
}
.price-table caption {
  text-align: center;
  color: var(--pp-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.price-table th,
.price-table td {
  border: 1px solid var(--pp-hairline);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  background: var(--pp-parchment);
  font-family: var(--pp-serif);
  font-weight: 400;
  font-size: 1.3rem;
}
.price-table thead th .price {
  display: block;
  font-family: var(--pp-font);
  font-weight: 800;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--pp-ink);
  margin-top: 4px;
}
.price-table thead th .per {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pp-secondary);
}
.price-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--pp-ink);
}
.price-yes {
  color: var(--pp-success);
  font-weight: 700;
}
.price-cell-strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.price-cta-row td {
  border: 0;
  padding-top: 18px;
  text-align: center;
}
.price-foot {
  text-align: center;
  color: var(--pp-secondary);
  font-size: 0.9rem;
  margin-top: 18px;
}

/* ── FAQ ────────────────────────────────────────────────────────────────────────────────────────── */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--pp-hairline);
  border-radius: var(--pp-radius);
  background: var(--pp-card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--pp-teal);
  font-weight: 700;
  font-size: 1.3rem;
}
.faq details[open] summary::after {
  content: "–";
}
.faq .faq-body {
  padding: 0 18px 16px;
  color: var(--pp-secondary);
}

/* ── Final CTA ──────────────────────────────────────────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  background: linear-gradient(160deg, var(--pp-grad-warm-a), var(--pp-grad-warm-b));
  border-top: 1px solid var(--pp-hairline);
}
.final-cta .btn-primary {
  margin-top: 8px;
}
.final-cta .final-lede {
  margin: 0 auto 8px;
  text-align: center;
}
.final-cta .final-micro {
  margin: 12px 0 0;
}

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--pp-parchment);
  border-top: 1px solid var(--pp-hairline);
  padding: 40px 0;
  color: var(--pp-secondary);
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: flex-start;
}
.footer-col {
  flex: 1 1 180px;
}
.footer-col-brand {
  flex: 1 1 260px;
}
.footer-tagline {
  margin-top: 10px;
  max-width: 34ch;
}
.footer-small {
  font-size: 0.82rem;
}
.footer-col p {
  margin: 0 0 8px;
}
.footer a {
  color: var(--pp-secondary);
  text-decoration: none;
}
.footer a:hover {
  color: var(--pp-ink);
  text-decoration: underline;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.footer-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.footer-badges .ic {
  color: var(--pp-teal);
}

/* ── Prose (privacy / legal page) ───────────────────────────────────────────────────────────────── */
.prose {
  max-width: 680px;
  margin: 0 auto;
}
.prose h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 28px 0 8px;
}
.prose p,
.prose li {
  color: var(--pp-secondary);
}
.prose .meta {
  color: var(--pp-secondary);
  font-size: 0.85rem;
}
.prose ul {
  padding-left: 20px;
}

/* ── Icons ──────────────────────────────────────────────────────────────────────────────────────── */
/* biome-ignore lint/style/noDescendingSpecificity: base .ic sets layout only; the earlier
   .trust-strip/.chip/.vertical .ic rules set colour — no conflicting declaration, so order is safe. */
.ic {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  vertical-align: -0.15em;
}
.ic svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Reveal: a gentle CSS-only load rise. No JS, no persistent hidden state — the resting style is
   fully visible, so no-JS users and reduced-motion users (global animation:none below) always see the
   content; the animation just plays once on first paint. ─────────────────────────────────────────── */
.reveal {
  animation: pp-rise var(--pp-dur-slow) var(--pp-ease-crisp) both;
}

/* ── Responsive ─────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pass-stage {
    order: -1;
  }
  .topnav {
    display: none;
  }
  .designer {
    grid-template-columns: 1fr;
  }
  .designer-preview {
    order: -1;
  }
}

/* ── Reduced motion ─────────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * {
    /* biome-ignore lint/complexity/noImportantStyles: a11y override wins over every animation */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: a11y override wins over every transition */
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Forced colors floor ────────────────────────────────────────────────────────────────────────── */
@media (forced-colors: active) {
  .chip,
  .step,
  .pass-mat,
  .price-table th,
  .price-table td,
  .vertical,
  .privacy-chips li,
  .why-col,
  .designer-controls,
  .designer-preview,
  .field-input,
  .stepper,
  .mode-opt,
  .notif {
    border: 1px solid;
  }
  :focus-visible {
    outline: 3px solid;
  }
}
