/* WalletMe website — light SaaS pages, black ink, WalletMe blue. Desktop first. */

/* Fonts used only by the imaginary merchants' logos (SIL Open Font License) */
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/playfair-700i.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap; src: url("/assets/fonts/dmserif.woff2") format("woff2"); }
@font-face { font-family: "Lobster"; font-weight: 400; font-display: swap; src: url("/assets/fonts/lobster.woff2") format("woff2"); }
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url("/assets/fonts/bebas.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/fraunces-400i.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/fraunces-600i.woff2") format("woff2"); }
@font-face { font-family: "Alfa Slab One"; font-weight: 400; font-display: swap; src: url("/assets/fonts/alfaslab.woff2") format("woff2"); }

:root {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --soft: #EEF1F5;
  --soft-2: #E6EAF0;
  --ink: #191C1F;
  --text: #24272B;
  --text-2: #5D636B;
  --text-3: #8A9098;
  --line: rgba(14, 15, 17, 0.08);
  --line-2: rgba(14, 15, 17, 0.14);
  --night: #0C0D0F;
  --on-night-2: #A3A7AE;
  --accent: #1E5EFF;
  --accent-hi: #7EA6FF;
  --accent-ink: #1544C2;
  --accent-tint: #EDF2FF;
  --accent-rgb: 30, 94, 255;
  --accent-hi-rgb: 126, 166, 255;
  --accent-glow: rgba(var(--accent-rgb), 0.18);
  --ios-blue: #007AFF;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --wrap: 1200px;
  --radius-xl: 32px;
  --radius-l: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button, a, summary { touch-action: manipulation; }
button, .btn, summary { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
::selection { background: var(--accent-tint); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.muted { color: var(--text-3); }
.center { text-align: center; }

.display { font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 650; }
.h2 { font-size: clamp(2.25rem, 3.6vw, 3.375rem); line-height: 1.06; letter-spacing: -0.034em; font-weight: 650; }
.h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.014em; font-weight: 650; }
.lead { font-size: clamp(1.125rem, 1.35vw, 1.3125rem); line-height: 1.45; color: var(--text-2); letter-spacing: -0.006em; }
.night { background: var(--night); color: #F4F5F7; }
.night h1, .night h2, .night h3 { color: #FFFFFF; }
.night .lead, .night p { color: var(--on-night-2); }

/* Buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transform: translate(var(--mx, 0px), var(--my, 0px)) scale(calc(var(--press, 1) * var(--hs, 1)));
  transition: transform 260ms var(--ease-out), background-color 200ms ease, box-shadow 300ms ease, color 200ms ease;
}
.btn-label { display: inline-flex; align-items: center; gap: inherit; transform: translate(var(--lx, 0px), var(--ly, 0px)); transition: transform 260ms var(--ease-out); }
/* A soft light that follows the pointer inside the button */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 260ms ease;
  background: radial-gradient(110px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 70%);
}
.btn-secondary::before, .btn-light::before { background: radial-gradient(110px circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--accent-rgb), 0.13), rgba(var(--accent-rgb), 0) 70%); }
.btn:active { --press: 0.96; transition-duration: 120ms; }
/* A streak of light crosses the button when the pointer arrives */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-130%);
}
.btn-large { height: 56px; padding: 0 30px; font-size: 1.0625rem; }
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-accent { background: var(--accent); color: #FFFFFF; box-shadow: 0 8px 20px -10px rgba(var(--accent-rgb), 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-light { background: #FFFFFF; color: var(--ink); }
.round-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 0; cursor: pointer; color: var(--ink);
  display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 120ms var(--ease-out), background-color 150ms ease;
}
.round-btn:active { transform: scale(0.94); }
.btn-secondary::after, .btn-light::after { background: linear-gradient(110deg, transparent 30%, rgba(var(--accent-rgb), 0.1) 50%, transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --hs: 1.035; }
  .btn:hover::before { opacity: 1; }
  .btn:hover::after { transform: translateX(130%); transition: transform 750ms var(--ease-out); }
  .btn-primary:hover { background: #2B2F34; box-shadow: 0 12px 24px -10px rgba(25, 28, 31, 0.55); }
  .btn-secondary:hover { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(14, 15, 17, 0.28), 0 10px 22px -12px rgba(25, 28, 31, 0.3); }
  .btn-accent:hover { background: var(--accent-ink); box-shadow: 0 12px 26px -10px rgba(var(--accent-rgb), 0.7); }
  .btn-light:hover { background: #FFFFFF; box-shadow: 0 12px 28px -10px rgba(255, 255, 255, 0.45); }
  .round-btn:hover { background: var(--soft); transform: scale(1.06); }
  .scene-dots button:hover i { background: rgba(14, 15, 17, 0.4); }
  .scene-dots button[aria-pressed="true"]:hover i { background: var(--accent-ink); }
  .prog-list button:hover .prog-ico { transform: scale(1.12); }
  .wb { transition: transform 240ms var(--ease-out), box-shadow 240ms ease; }
  .wb:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 20px -12px rgba(25, 28, 31, 0.35); }
  .wb-dark:hover { box-shadow: 0 10px 20px -10px rgba(25, 28, 31, 0.55); }
  .faq summary { transition: color 160ms ease; }
  .faq summary:hover { color: var(--accent-ink); }
}
.prog-ico { transition: transform 260ms var(--ease-out), color 200ms ease; }
/* Wallet cards tilt toward the pointer, with a glint of light where it points */
.pass.tilt { transition: transform 600ms var(--ease-out), box-shadow 600ms ease; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.pass.tilt.live { transition-duration: 120ms; box-shadow: 0 2.2em 3.6em -1.4em rgba(14, 15, 17, 0.5), 0 0.3em 0.8em rgba(14, 15, 17, 0.1); }
.pass.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 400ms ease;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 70%);
}
.pass.tilt.live::after { opacity: 1; }

/* ---------- Header: a floating glass dock ---------- */
.dock-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.dock {
  pointer-events: auto; position: relative; width: min(1240px, calc(100% - 32px)); height: 76px;
  display: flex; align-items: center; gap: 28px; padding: 0 12px 0 26px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -1px 1px rgba(255, 255, 255, 0.3),
    inset 1px 0 1px rgba(255, 255, 255, 0.35), inset -1px 0 1px rgba(255, 255, 255, 0.2),
    0 0 0 0.5px rgba(14, 15, 17, 0.07), 0 12px 32px rgba(14, 15, 17, 0.07), 0 1px 3px rgba(14, 15, 17, 0.04);
  transition: height 320ms var(--ease-out), border-radius 320ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease;
}
/* Light caught by the glass: a bright rim on the top-left edge, a softer one bottom-right */
.dock::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.dock::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%); }
/* Over a dark section the glass turns smoky and the text turns white, like Apple's */
.dock.on-dark {
  background: linear-gradient(135deg, rgba(60, 62, 70, 0.34), rgba(20, 21, 24, 0.16));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28), inset 0 -1px 1px rgba(255, 255, 255, 0.08), 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 12px 32px rgba(0, 0, 0, 0.3);
}
.dock.on-dark::before { opacity: 0.35; }
.dock.on-dark::after { opacity: 0.25; }
.logo-w { display: none; }
.dock.on-dark .logo-b { display: none; }
.dock.on-dark .logo-w { display: block; }
.dock.on-dark .nav a { color: rgba(255, 255, 255, 0.78); }
.dock.on-dark .login { color: #FFFFFF; }
.dock.on-dark .lang summary { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.dock.on-dark .dock-cta { background: #FFFFFF; color: var(--ink); }
.dock.on-dark .menu-btn span { background: #FFFFFF; }
.nav a, .login, .lang summary, .dock-cta { transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .dock.on-dark .nav a:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; } }
/* Menu for iPad and iPhone */
.logo { flex: none; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 260ms var(--ease-out), top 260ms var(--ease-out); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu {
  pointer-events: auto; position: absolute; top: calc(100% + 10px); width: min(560px, calc(100% - 32px)); padding: 12px; border-radius: 24px;
  background: rgba(250, 251, 253, 0.82); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 0 0 0.5px rgba(14, 15, 17, 0.08), 0 24px 60px rgba(14, 15, 17, 0.18);
  display: grid; gap: 10px; transform-origin: top center; animation: menu-in 220ms var(--ease-out);
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 14px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.menu nav a:active { background: rgba(14, 15, 17, 0.05); }
.menu-langs { display: flex; gap: 6px; padding: 4px 8px; }
.menu-langs a { min-width: 44px; min-height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 0.875rem; font-weight: 600; color: var(--text-2); text-decoration: none; }
.menu-langs a[aria-current="page"] { background: rgba(14, 15, 17, 0.06); color: var(--ink); }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-actions .btn { width: 100%; min-width: 0; padding: 0 16px; }
.dock.scrolled { height: 68px; border-radius: 24px; }
.logo { position: relative; z-index: 1; }
.logo img { height: 30px; width: auto; }
.nav { position: relative; z-index: 1; display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  font-size: 0.9375rem; text-decoration: none; color: var(--text-2); padding: 0 10px; min-height: 44px; white-space: nowrap;
  display: inline-flex; align-items: center; border-radius: 12px; transform-origin: 50% 60%;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: rgba(14, 15, 17, 0.05); color: var(--ink); } }
/* the page you are on: a soft pill behind its tab, as in Apple's segmented controls */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: rgba(14, 15, 17, 0.06); }
.dock.on-dark .nav a[aria-current="page"] { color: #FFFFFF; background: rgba(255, 255, 255, 0.14); }
.menu nav a[aria-current="page"] { font-weight: 700; }
.header-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
/* signing in is a person icon in the bar (its name is read by screen readers and shown on hover), like Apple's account button */
.login { font-size: 1rem; text-decoration: none; min-width: 44px; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; color: var(--ink); white-space: nowrap; }
.login svg { width: 21px; height: 21px; flex: none; }
.login-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang summary span { display: none; }
@media (hover: hover) and (pointer: fine) { .login:hover { background: rgba(14, 15, 17, 0.05); } .dock.on-dark .login:hover { background: rgba(255, 255, 255, 0.1); } }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; font-weight: 600; color: var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 12px); margin: 0; padding: 6px; list-style: none; min-width: 200px;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-radius: 16px; box-shadow: 0 24px 60px rgba(14, 15, 17, 0.16), inset 0 0 0 1px var(--line);
  transform-origin: top right; animation: menu-in 200ms var(--ease-out);
}
.lang li a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-size: 0.9375rem; color: var(--ink); }
.lang li a span { color: var(--text-3); font-size: 0.8125rem; }
.lang li a[aria-current="page"] { background: var(--soft); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .lang li a:hover { background: var(--soft); } }
@keyframes menu-in { from { opacity: 0; transform: scale(0.96); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; position: relative; }
/* Soft glows reach past the edges; they must never widen the page */
main > section { overflow-x: clip; }
body { overflow-x: clip; }
.section.tight-top { padding-top: 40px; }
/* first section of an inner page: room for the floating bar above its title */
.section.page-first { padding-top: 176px; }
.mist { background: var(--soft); }
.center-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: 56px; }
.center-head .lead { max-width: 40em; }
h2.center { margin-bottom: 56px; }
.panel {
  position: relative; background: var(--surface); border-radius: var(--radius-l); padding: 32px;
  display: grid; gap: 12px; align-content: start; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(14, 15, 17, 0.04);
}
.panel p { color: var(--text-2); }
.panel.night { box-shadow: none; }
.panel.night p { color: var(--on-night-2); }
.ico { display: block; margin-bottom: 4px; color: var(--accent); }
.ico svg { width: 26px; height: 26px; }
.panel.bare { background: none; box-shadow: none; padding-left: 0; padding-right: 0; }

/* ---------- Hero: text on the left, the customer's phone on the right ---------- */
.hero { padding: 124px 0 56px; position: relative; overflow: hidden; isolation: isolate; }
/* Behind the hero: the photo layers (see .hp below) and the fade into the page */
.sky {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #9FBEF0 0%, #B9D0F5 30%, #D6E3F8 62%, var(--bg) 100%);
}
/* The bottom of the hero melts into the page. Painted on top rather than masking the photos: a mask over changing layers costs a lot every frame */
.sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(180deg, rgba(12, 13, 15, 0), var(--night)); } /* the next section is black */
.sky-move { position: absolute; inset: 0; will-change: transform; }
/* Hero photo: a real shop that changes with the word of the headline (bakery, barber, pizzeria…), slightly out of focus.
   Only the photo being shown and the one leaving are drawn; the others stay hidden and cost nothing. */
.hero.photo .sky { background: #16120F; }
.hero.photo .sky-move { transition: opacity 500ms ease; }
.hp { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 800ms ease; }
.hp.on { opacity: 1; }
/* The dark veil that keeps the text readable is part of the photo files themselves: one layer less to draw on every frame */
.hero-scroll.zoomed .hero.photo .sky-move { opacity: 0.4; }
.hero.photo .display, .hero.photo .rotator, .hero.photo .zoom-head { color: #FFFFFF; }
.hero.photo .lead, .hero.photo .checks, .hero.photo .scene-caps { color: rgba(255, 255, 255, 0.78); }
.hero.photo .checks svg { color: #FFFFFF; }
.hero.photo .btn-primary { background: #FFFFFF; color: var(--ink); }
.hero.photo .btn-primary::before { background: radial-gradient(110px circle at var(--gx, 50%) var(--gy, 50%), rgba(14, 15, 17, 0.1), rgba(14, 15, 17, 0) 70%); }
.hero.photo .btn-secondary { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero.photo .btn-secondary::before { background: radial-gradient(110px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%); }
.hero.photo .btn-secondary::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .hero.photo .btn-primary:hover { background: #FFFFFF; }
  .hero.photo .btn-secondary:hover { background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 10px 22px -12px rgba(0, 0, 0, 0.45); }
}
.hero.photo .scene-dots i { background: rgba(255, 255, 255, 0.3); }
.hero.photo .scene-dots [aria-pressed="true"] i { background: #FFFFFF; }
.hero.photo .hero-device::before { opacity: 0; }
.hero.photo .phone-stage .device { box-shadow: var(--rings), 0 70px 90px -40px rgba(0, 0, 0, 0.7), 0 30px 50px -30px rgba(0, 0, 0, 0.5); }
.hero.photo .device::after { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2) 60%, transparent); }
.hero.photo .zoom-card { box-shadow: 0 60px 90px -50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.16); }
@media (max-width: 899px) {
  /* On a phone the hero is very tall: the photo covers the first screen, then fades into the dark under the phone */
  .hero.photo .sky-move { bottom: auto; height: min(100%, 940px); }
  .hero.photo .sky-move::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 11, 9, 0) 0%, rgba(14, 11, 9, 0.2) 55%, #16120F 100%); }
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; justify-items: start; gap: 24px; }
.hero .display { font-size: clamp(2.75rem, 4.6vw, 4.375rem); max-width: 11.6em; text-wrap: balance; } /* even lines; the last small word (votre, jouw, tu) stays with the one before */
.hero-copy .lead { max-width: 31em; }
.rot-line { display: block; }
/* The business type rolls up into a fixed slot, like a slot machine: the old word leaves at the top, the new one comes from below */
.rotator {
  display: inline-grid; vertical-align: bottom; overflow: hidden; padding: 0 0.08em 0.2em; margin: 0 -0.08em -0.2em;
  color: var(--ink); font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -0.03em;
}
.rotator .word {
  grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); opacity: 0;
  transition: transform 600ms cubic-bezier(0.6, 0, 0.2, 1), opacity 400ms ease;
}
.rotator .word.on { transform: none; opacity: 1; }
.rotator .word.out { transform: translateY(-105%); opacity: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.checks { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.9375rem; color: var(--text-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 17px; height: 17px; color: var(--accent); }

/* Revolut-style scroll: the hero is held in place while the sky shrinks into a card around the phone,
   the text fades away and two more cards slide in beside it. Wide screens only. */
.zoom-head, .zoom-card { display: none; }
.hero-scroll.pin .hero { position: sticky; top: var(--stick, 0px); min-height: 100vh; display: grid; align-content: center; }
/* Every move below is a CSS transition on transform or opacity, run by the browser's compositor.
   A soft curve: the phone starts gently, gathers speed and glides to a stop, over about a second, pleasant to watch.
   Everything that moves is drawn in advance once the page has loaded (.warm), so the first frame of the zoom has nothing new to draw. */
.hero-scroll { --zoom-ease: cubic-bezier(0.22, 0.1, 0.4, 1); } /* moves at once, top speed kept low, long glide */
.hero-scroll.pin.warm .phone-stage, .hero-scroll.pin.warm .hero-copy, .hero-scroll.pin.warm .zoom-head { will-change: transform, opacity; }
.hero-scroll.pin .hero-copy { transition: opacity 420ms ease, transform 1000ms var(--zoom-ease); }
.hero-scroll.zoomed .hero-copy { opacity: 0; transform: translateY(-60px); pointer-events: none; }
.hero-scroll.pin .scene-dots, .hero-scroll.pin .scene-caps, .hero-scroll.pin .wallet-badges, .hero-scroll.pin .hero-device::before { transition: opacity 220ms ease; }
.hero-scroll.zoomed .scene-dots, .hero-scroll.zoomed .scene-caps, .hero-scroll.zoomed .wallet-badges, .hero-scroll.zoomed .hero-device::before { opacity: 0; pointer-events: none; }
.hero-scroll.pin .phone-stage { transition: transform 1100ms var(--zoom-ease); }
.hero-scroll.zoomed .phone-stage { transform: var(--zt, none); }
.hero-scroll.measuring .phone-stage { transform: none !important; transition: none !important; }
.hero-scroll.pin .phone-stage { position: relative; z-index: 3; transform-origin: 50% 50%; }
.hero-scroll.pin .zoom-head {
  display: block; position: absolute; z-index: 3; left: 20px; right: 20px; top: var(--ht, 100px); margin: 0; text-align: center; pointer-events: none;
  opacity: 0.001; transform: translateY(24px); transition: opacity 240ms ease, transform 300ms var(--zoom-ease);
}
.hero-scroll.zoomed .zoom-head { opacity: 1; transform: none; transition: opacity 600ms ease 280ms, transform 1000ms var(--zoom-ease) 200ms; }
.hero-scroll.pin .zoom-card {
  display: grid; grid-template-rows: 1fr auto; position: absolute; z-index: 2; top: var(--ct, 180px); width: var(--cw, 360px); height: var(--ch, 680px);
  padding: calc(var(--cw, 300px) * 0.045); border-radius: calc(var(--cw, 300px) * 0.15); overflow: hidden; --w: calc(var(--cw, 300px) * 0.91);
  box-shadow: 0 60px 90px -50px rgba(20, 32, 70, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.35); opacity: 0.001; pointer-events: none;
  transition: opacity 220ms ease, transform 320ms var(--zoom-ease);
  will-change: transform, opacity; /* drawn in advance while hidden, so the first frame of the zoom has nothing to paint */
}
.hero-scroll.pin .zc-left { left: calc(var(--cx, 50%) - var(--cw, 360px) * 1.5 - var(--gap, 24px)); transform: translateX(-140px) scale(0.92); }
.hero-scroll.pin .zc-right { left: calc(var(--cx, 50%) + var(--cw, 360px) * 0.5 + var(--gap, 24px)); transform: translateX(140px) scale(0.92); }
.hero-scroll.zoomed .zoom-card { opacity: 1; transform: none; transition: opacity 600ms ease 220ms, transform 1100ms var(--zoom-ease) 120ms; }
/* Side cards: real people, a customer on the left and a shop owner on the right, with what each one sees */
.hero-scroll.pin .zc-photo { grid-template-rows: auto 1fr; background-size: cover; background-position: center 45%; }
.zc-photo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%); }
.hero-scroll.pin .zc-right.zc-photo { background-position: 22% 45%; }
/* Like a real iPhone banner, the notification comes down at the top once the cards are in place (left first, then right) */
.zc-notif {
  position: relative; grid-row: 1; align-self: start; justify-self: stretch;
  margin: calc(var(--cw, 300px) * 0.1) calc(var(--cw, 300px) * 0.025) 0; /* where a real banner sits: below the status bar, away from the edges */
  opacity: 0.001; transform: translateY(-34px) scale(0.94); transform-origin: 50% 0%;
  transition: opacity 260ms ease, transform 260ms var(--ease-out);
}
.hero-scroll.zoomed .zc-notif { opacity: 1; transform: none; transition: opacity 380ms ease 950ms, transform 560ms cubic-bezier(0.2, 1.3, 0.3, 1) 1050ms; }
.hero-scroll.zoomed .zc-right .zc-notif { transition-delay: 1400ms; }
.zoom-card .notif { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
@media (max-width: 599px) { .hero-scroll.pin .zoom-card { display: none; } }

/* The phone stands still, straight on; only its screen changes */
.hero-device { margin: 0; position: relative; display: grid; justify-items: center; gap: 18px; }
.hero-device::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: 560px; height: 620px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 45%, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0) 70%);
}
.phone-stage .device { box-shadow: var(--rings), 0 70px 90px -50px rgba(20, 32, 70, 0.5), 0 30px 50px -30px rgba(20, 32, 70, 0.3); }
.scene-dots { display: flex; gap: 2px; margin-top: 8px; }
.scene-dots button { width: 32px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.scene-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(14, 15, 17, 0.18); transition: width 300ms var(--ease-out), background-color 300ms ease; }
.scene-dots [aria-pressed="true"] i { width: 26px; background: var(--accent); }
.scene-caps { display: grid; text-align: center; font-size: 1rem; color: var(--text-2); min-height: 1.5em; }
.scene-caps span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.scene-caps span.on { opacity: 1; transform: none; }
.wallet-badges { display: flex; gap: 10px; }
.wallet-badges { gap: 12px; }
.wb {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 14px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(14, 15, 17, 0.1), 0 10px 24px -14px rgba(20, 32, 70, 0.3);
}
.wb svg { width: 20px; height: 20px; }
.wb-dark { background: #000000; color: #FFFFFF; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.55); }

/* Screens inside the hero phone */
.wallet-app { background: #FFFFFF; }
.wallet-app .status, .wallet-app .notif-head { color: #000; }
.wallet-bar { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 calc(var(--w) * 0.06); height: calc(var(--w) * 0.1); font-size: calc(var(--w) * 0.05); font-weight: 500; color: var(--ios-blue); }
.wallet-bar .more { width: calc(var(--w) * 0.085); height: calc(var(--w) * 0.085); border-radius: 50%; display: grid; place-items: center; background: rgba(0, 122, 255, 0.12); font-size: calc(var(--w) * 0.03); letter-spacing: 0.05em; }
.wpass-view { position: relative; flex: none; height: calc(var(--w) * 1.118); margin-top: calc(var(--w) * 0.012); }
.wpass { position: absolute; top: 0; left: calc(50% - var(--w) * 0.4235); transform: translateX(112%); transition: transform 340ms var(--ease-ios); }
.wpass.prev { transform: translateX(-112%); }
.wpass.on { transform: none; }
.wpass .pass { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 6px 18px rgba(0, 0, 0, 0.1); }
.wpass-dots { flex: none; display: flex; justify-content: center; gap: calc(var(--w) * 0.022); margin-top: calc(var(--w) * 0.034); }
.wpass-dots i { width: calc(var(--w) * 0.021); height: calc(var(--w) * 0.021); border-radius: 50%; background: rgba(0, 0, 0, 0.18); transition: background-color 300ms ease; }
.wpass-dots i.on { background: rgba(0, 0, 0, 0.72); }
/* The other cards wait at the bottom of the screen, like in the real Wallet */
.wallet-stack { position: absolute; left: 0; right: 0; top: calc(var(--w) * 1.5); }
.bank-card, .stack-pass { position: absolute; left: calc(50% - var(--w) * 0.4235); width: calc(var(--w) * 0.847); }
.bank-card {
  top: 0; height: calc(var(--w) * 0.53); border-radius: calc(var(--w) * 0.04); padding: calc(var(--w) * 0.045) calc(var(--w) * 0.05);
  display: flex; justify-content: space-between; align-items: flex-start; color: #FFFFFF; font-size: calc(var(--w) * 0.046);
  background: linear-gradient(140deg, #3B3F4A 0%, #22252C 55%, #15171B 100%); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}
.bank-card b { font-weight: 600; }
.bank-card svg { width: calc(var(--w) * 0.06); height: calc(var(--w) * 0.06); opacity: 0.7; }
.stack-pass { top: calc(var(--w) * 0.17); }
.stack-pass .pass { box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.14); }
.wallet-app ~ .home-bar { background: rgba(0, 0, 0, 0.7); }
.hero-device[data-scene="2"] .home-bar { background: rgba(255, 255, 255, 0.85); }
/* iOS banner from the Wallet when the card is updated */
.banner { position: absolute; z-index: 9; left: calc(var(--w) * 0.03); right: calc(var(--w) * 0.03); top: calc(var(--w) * 0.135); transform: translateY(calc(-100% - var(--w) * 0.2)); transition: transform 480ms var(--ease-ios); }
.banner.show { transform: none; }
.banner .notif { background: rgba(245, 245, 247, 0.92); box-shadow: 0 calc(var(--w) * 0.03) calc(var(--w) * 0.09) rgba(0, 0, 0, 0.22); }
/* Lock screen with a soft wallpaper; notifications pile up from the bottom, the newest on top */
.lock-screen.lock-hero { opacity: 0; transition: opacity 320ms ease; background: #5A3A40 url("/assets/img/lock-wallpaper.jpg?v=265d3510") center / cover no-repeat; }
.lock-hero .lock-time { text-shadow: 0 2px 16px rgba(40, 10, 20, 0.35); }
.hero-device[data-scene="2"] .lock-hero { opacity: 1; }
.lock-hero .lock-notifs { position: absolute; left: 0; right: 0; top: calc(var(--w) * 0.6); margin: 0; }
.lock-hero .lock-notifs .notif { background: rgba(255, 255, 255, 0.86); transition-duration: 300ms, 440ms; }
.device .notif, .device .lock-btn { -webkit-backdrop-filter: none; backdrop-filter: none; }
.device .banner .notif { background: rgba(246, 246, 248, 0.96); }
.lock-hero .ln { transition-duration: 440ms; }
.lock-btn {
  position: absolute; bottom: calc(var(--w) * 0.09); width: calc(var(--w) * 0.15); height: calc(var(--w) * 0.15); border-radius: 50%;
  display: grid; place-items: center; color: #FFFFFF; background: rgba(30, 12, 18, 0.32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lock-btn svg { width: 46%; height: 46%; }
.lb-left { left: calc(var(--w) * 0.13); } .lb-right { right: calc(var(--w) * 0.13); }

/* ---------- Four steps: create, put on the counter, validate, talk ---------- */
.how { padding-top: 104px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.how-step { display: grid; gap: 22px; align-content: start; }
/* The section starts on a real shop photo (continuing the dark bottom of the hero) that melts into the white page.
   The tiles are the glass of the bar at the top: the photo shows through them, blurred, like through real glass. */
.how { position: relative; isolation: isolate; background: var(--bg); }
.how::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 600px; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.94) 0, rgba(12, 13, 15, 0.62) 25%, rgba(12, 13, 15, 0.38) 50%, rgba(12, 13, 15, 0.2) 70%, rgba(244, 246, 249, 0.75) 90%, var(--bg) 100%),
    url("/assets/img/steps-counter.webp?v=2c052639") center 45% / cover no-repeat;
}
.how #how-title { color: #FFFFFF; }
.how .center-head .lead { color: rgba(255, 255, 255, 0.72); }
.how-copy { display: grid; gap: 8px; padding: 0 4px; }
.how-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.875rem; font-weight: 700; color: #FFFFFF; background: var(--ink); margin-bottom: 4px; }
.how-copy p { color: var(--text-2); font-size: 0.9375rem; }
.how-visual {
  position: relative; height: 300px; border-radius: 28px; overflow: hidden; display: grid; place-items: center; padding: 22px; color: #FFFFFF;
  background: linear-gradient(135deg, rgba(60, 62, 70, 0.42), rgba(20, 21, 24, 0.3));
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -1px 1px rgba(255, 255, 255, 0.14),
    inset 1px 0 1px rgba(255, 255, 255, 0.24), inset -1px 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}
/* light caught by the glass: a bright rim on the top-left edge, a softer one bottom-right, and a sheen on the upper half */
.how-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px; opacity: 0.7;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.how-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0.5; background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%); }
.how-visual small { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; font-weight: 600; }
.hv-ok { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #22A55B; color: #FFFFFF; }
.hv-ok svg { width: 13px; height: 13px; }
/* 1. Card editor with a live preview */
.hv-editor { width: 100%; display: grid; gap: 10px; color: #FFFFFF; }
.hv-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); font-size: 0.8125rem; }
.hv-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-type::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent-hi); }
.how-step.play .hv-type::after { animation: caret 1s steps(1) infinite; } /* only blinks while on screen */
@keyframes caret { 50% { opacity: 0; } }
.hv-swatches { display: flex; gap: 6px; }
.hv-swatches i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.15); transition: box-shadow 250ms ease, transform 250ms var(--ease-out); }
.hv-swatches i.on { outline: 1.5px solid #FFFFFF; outline-offset: 2px; transform: scale(1.08); }
.hv-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); }
.hv-logo svg { width: 16px; height: 16px; color: #FFFFFF; }
.hv-preview {
  display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 12px 14px; border-radius: 12px; color: #FFFFFF;
  background: var(--pc); transition: background-color 600ms ease; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}
.hv-preview b { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.0625rem; flex: 1; }
.hv-mark svg { width: 20px; height: 20px; display: block; }
.hv-stars { font-size: 0.8125rem; font-weight: 600; opacity: 0.9; }
/* 2. The plate on the counter, and the card arriving */
.hv-plate { position: relative; display: grid; place-items: start center; width: 100%; height: 100%; }
.hv-acrylic {
  width: 150px; padding: 16px 14px 14px; border-radius: 16px; display: grid; justify-items: center; gap: 10px; text-align: center;
  background: linear-gradient(160deg, #FFFFFF, #EEF1F6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 24px 40px -18px rgba(0, 0, 0, 0.7);
}
.hv-acrylic small { color: #2B2F36; font-size: 0.6875rem; font-weight: 600; }
.hv-qr img { width: 84px; height: 84px; }
.hv-nfc { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #FFFFFF; }
.hv-nfc svg { width: 18px; height: 18px; }
.hv-nfc i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.how-step.play .hv-nfc i { animation: hv-ripple 1600ms ease-out infinite; }
.how-step.play .hv-nfc i:nth-of-type(2) { animation-delay: 500ms; }
@keyframes hv-ripple { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
.hv-toast {
  position: absolute; left: 50%; bottom: 4px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 99px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 0.8125rem; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 16px) scale(0.92); opacity: 0; transition: transform 500ms cubic-bezier(0.2, 1.3, 0.3, 1), opacity 300ms ease;
}
.hv-plate.added .hv-toast { transform: translate(-50%, 0); opacity: 1; }
/* 3. The till's camera scans the card the customer holds up */
.hv-scan { width: 100%; display: grid; justify-items: center; gap: 12px; color: #FFFFFF; position: relative; }
.hv-view {
  position: relative; width: 186px; height: 200px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(60% 45% at 80% 90%, rgba(196, 140, 84, 0.35), transparent 70%), radial-gradient(50% 40% at 12% 18%, rgba(255, 255, 255, 0.10), transparent 70%), linear-gradient(170deg, #2C3036, #17191D);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hv-view::after { content: ""; position: absolute; inset: 0; background: #FFFFFF; opacity: 0; pointer-events: none; }
.hv-held {
  position: absolute; left: 50%; top: 8px;
  transform: translate(-50%, 120px) rotate(-12deg); opacity: 0; transition: transform 700ms cubic-bezier(0.2, 1, 0.3, 1), opacity 300ms ease;
}
.device-mini { box-shadow: var(--rings), 0 18px 30px -10px rgba(0, 0, 0, 0.75); }
.device-mini::after { display: none; }
.hv-wallet { background: #0B0B0C; }
.hv-wpass { margin: calc(var(--w) * 0.02) calc(var(--w) * 0.035) 0; border-radius: calc(var(--w) * 0.055); overflow: hidden; background: var(--bg); color: var(--fg); }
.hv-wp-head { display: flex; align-items: center; gap: 4px; padding: 5px 7px; }
.hv-wp-head svg { width: 12px; height: 12px; display: block; }
.hv-wp-head b { flex: 1; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; font-size: 0.6875rem; }
.hv-wp-pts { display: grid; justify-items: end; font-size: 0.6875rem; font-weight: 600; line-height: 1.05; }
.hv-wp-pts b { font-weight: 600; }
.hv-wp-pts small { font-size: 0.375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lb); }
.hv-wp-strip { height: 22px; background-size: cover; background-position: center; }
.hv-wp-qr { display: grid; place-items: center; padding: 8px 0 12px; }
.hv-wp-qr img { width: 62px; height: 62px; padding: 4px; border-radius: 6px; background: #FFFFFF; }
.hv-corners { position: absolute; left: 50%; top: 81px; width: 84px; height: 84px; margin-left: -43px; transition: transform 300ms cubic-bezier(0.2, 1.3, 0.3, 1); }
.hv-corners i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--accent); transition: border-color 200ms ease; }
.hv-corners i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-top-left-radius: 8px; }
.hv-corners i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-top-right-radius: 8px; }
.hv-corners i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 8px; }
.hv-corners i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 8px; }
.hv-beam { --sweep: 74px; position: absolute; left: 50%; top: 86px; width: 70px; height: 2px; margin-left: -36px; border-radius: 2px; background: var(--accent-hi); box-shadow: 0 0 12px 2px rgba(var(--accent-hi-rgb), 0.75); opacity: 0; transition: opacity 150ms ease; }
.hv-scan.in .hv-held { transform: translate(-50%, 0) rotate(-3deg); opacity: 1; }
.hv-scan.scan .hv-beam { opacity: 1; animation: hv-sweep 620ms ease-in-out infinite alternate; }
@keyframes hv-sweep { from { transform: translateY(0); } to { transform: translateY(var(--sweep, 80px)); } }
.hv-scan.hit .hv-corners { transform: scale(0.9); }
.hv-scan.hit .hv-corners i { border-color: #22A55B; }
.hv-scan.hit .hv-view::after { animation: hv-flash 380ms ease-out; }
@keyframes hv-flash { 0% { opacity: 0.35; } 100% { opacity: 0; } }
.hv-done {
  position: absolute; inset: auto 0 -2px; margin: auto; width: max-content; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: #FFFFFF; color: var(--ink); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.7); opacity: 0; transform: translateY(14px) scale(0.94);
  transition: transform 500ms cubic-bezier(0.2, 1.3, 0.3, 1), opacity 260ms ease;
}
.hv-done div { display: grid; line-height: 1.25; font-size: 0.8125rem; }
.hv-done span:not(.hv-ok) { color: #22A55B; font-weight: 600; }
.hv-scan.done .hv-done { opacity: 1; transform: none; }
/* 4. One message to everyone */
.hv-send { width: 100%; display: grid; gap: 12px; color: #FFFFFF; position: relative; }
.hv-to { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); font-size: 0.8125rem; }
.hv-to b { padding: 2px 9px; border-radius: 99px; background: rgba(var(--accent-rgb), 0.5); font-size: 0.75rem; }
.hv-msg { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 0.875rem; font-weight: 500; line-height: 1.35; }
.hv-btn { position: relative; height: 40px; border-radius: 12px; background: var(--accent); color: #FFFFFF; display: grid; place-items: center; font-size: 0.875rem; font-weight: 600; overflow: hidden; transition: background-color 300ms ease, transform 150ms ease; }
.hv-btn span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity 250ms ease, transform 350ms var(--ease-out); }
.hv-btn svg { width: 15px; height: 15px; }
.hv-btn .b2 { opacity: 0; transform: translateY(10px); }
.hv-send.sent .hv-btn { background: #22A55B; color: #FFFFFF; }
.hv-send.sent .hv-btn .b1 { opacity: 0; transform: translateY(-10px); }
.hv-send.sent .hv-btn .b2 { opacity: 1; transform: none; }
.hv-send.press .hv-btn { transform: scale(0.96); }
.hv-fly { position: absolute; left: 0; right: 0; top: 40%; height: 0; pointer-events: none; }
.hv-fly i { position: absolute; left: 50%; width: 46px; height: 14px; margin-left: -23px; border-radius: 7px; background: rgba(255, 255, 255, 0.9); opacity: 0; }
.hv-send.sent .hv-fly i { animation: fly 1100ms ease-out both; }
.hv-send.sent .hv-fly i:nth-child(1) { --x: -70px; }
.hv-send.sent .hv-fly i:nth-child(2) { --x: 0px; animation-delay: 120ms; }
.hv-send.sent .hv-fly i:nth-child(3) { --x: 70px; animation-delay: 240ms; }
@keyframes fly { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -150px) scale(1); } }

/* ---------- Install page ---------- */
.install { overflow: hidden; isolation: isolate; }
.install-sky { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 1000px; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #9FBEF0 0%, #B9D0F5 30%, #D6E3F8 62%, var(--bg) 100%); }
.install-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(244, 246, 249, 0), var(--bg)); }
.install-sky .clouds { position: absolute; left: 0; width: calc(100% + 2400px); background-repeat: repeat-x; will-change: transform; animation: drift linear infinite; }
.install-sky .clouds-far { top: 30px; height: 620px; background-image: url("/assets/img/clouds-far.webp?v=82a40365"); background-size: 2400px 620px; opacity: 0.7; animation-duration: 300s; }
.install-sky .clouds-near { bottom: 40px; height: 760px; background-image: url("/assets/img/clouds-near.webp?v=f458dc19"); background-size: 2400px 760px; animation-duration: 170s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-2400px); } }
.install-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.install-copy { display: grid; justify-items: start; gap: 24px; }
.install-copy .lead { max-width: 32em; }
.install-visual { position: relative; margin: 0; display: grid; justify-items: center; padding-bottom: 24px; }
.install-qr {
  position: absolute; left: 4%; bottom: 64px; width: 172px; padding: 16px 16px 14px; border-radius: 24px; display: grid; justify-items: center; gap: 10px; text-align: center;
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 0.5px rgba(14, 15, 17, 0.08), 0 24px 50px -20px rgba(14, 15, 17, 0.35); font-size: 0.8125rem; line-height: 1.35; color: var(--text-2);
}
.install-qr img { width: 132px; height: 132px; display: block; }
/* a home screen of plain grey icons, the WalletMe app large in the middle (2 x 2, like an iPhone widget) */
.home-screen { background: #D8DCF0 url("/assets/img/lock-wallpaper-2.jpg?v=5f55c3f2") center / cover no-repeat; }
.home-screen .status { color: #1E2340; }
.hs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--w) * 0.06) calc(var(--w) * 0.05); padding: calc(var(--w) * 0.06) calc(var(--w) * 0.075) 0; }
.hs-ico { aspect-ratio: 1; border-radius: 23%; background: rgba(236, 238, 244, 0.62); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.7), 0 2px 6px rgba(30, 35, 64, 0.08); }
.hs-app { grid-column: 2 / span 2; grid-row: 2 / span 2; min-width: 0; position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: calc(var(--w) * 0.02); }
.hs-app img { width: 92%; min-width: 0; height: auto; aspect-ratio: 1; border-radius: 23%; display: block; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); }
.hs-app small { font-size: calc(var(--w) * 0.042); font-weight: 600; color: #1E2340; white-space: nowrap; }
.install-visual.play .hs-app { animation: hs-pop 900ms cubic-bezier(0.2, 1.3, 0.3, 1) 300ms both; }
@keyframes hs-pop { from { transform: scale(0.4); opacity: 0; } }
.hs-dock { position: absolute; left: calc(var(--w) * 0.05); right: calc(var(--w) * 0.05); bottom: calc(var(--w) * 0.06); display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--w) * 0.05); padding: calc(var(--w) * 0.04) calc(var(--w) * 0.05); border-radius: calc(var(--w) * 0.09); background: rgba(255, 255, 255, 0.35); }
.install-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 96px; }
.way { display: grid; align-content: start; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.way-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #FFFFFF; }
.way-ico svg { width: 22px; height: 22px; }
.way ol { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.way li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--text-2); font-size: 0.9375rem; line-height: 1.45; }
.way li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: var(--ink); background: var(--soft); margin-top: 0; }
.way li b { color: var(--ink); font-weight: 600; }

/* ---------- The flow, under the hero ---------- */
.flow-section { padding-top: 72px; overflow-x: clip; }
.flow-section .center-head { margin-bottom: 72px; }

/* Flow: what happens in the shop goes through WalletMe and arrives on the customers' phones.
   Each row is drawn twice: the shop events on the left half, the same cards as iOS notifications on the right half.
   Both copies move together, so a card changes as it crosses the beam. */
.flow { --cw: 344px; --gap: 30px; --ch: 80px; --pitch: 108px; --rows: 5; --split: 50%; --tilt: 16deg; --fh: calc(var(--rows) * var(--pitch) + 40px); position: relative; height: calc(var(--fh) + 50px); isolation: isolate; }
.flow::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 520px; translate: -50% -56%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--accent-rgb), 0.13), rgba(var(--accent-rgb), 0) 70%);
}
.fl-rows {
  position: absolute; left: 0; right: 0; top: 0; height: var(--fh); display: grid; align-content: center; gap: calc(var(--pitch) - var(--ch));
}
.fl-row { position: relative; height: var(--ch); }
/* Lanes bend toward the viewer at both ends, around a vanishing point in the middle */
.lane { position: absolute; top: -40px; bottom: -40px; overflow: hidden; }
/* Cards dissolve into the beam on the left and come out of it on the right */
/* Each half of a row is cut at the beam (a plain clip, cheap to draw), and a veil painted on top softens the edges */
.lane-in { left: 0; width: var(--split); transform-origin: 100% calc(50% - var(--r) * var(--pitch)); transform: perspective(1500px) rotateY(var(--tilt)); }
.lane-out { left: var(--split); right: 0; transform-origin: 0% calc(50% - var(--r) * var(--pitch)); transform: perspective(1500px) rotateY(calc(var(--tilt) * -1)); }
.fl-veil {
  --veil: 196, 211, 250;
  position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: var(--fh); pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0, var(--bg) var(--ve-a, 4%), rgba(244, 246, 249, 0.6) var(--ve-b, 24%), rgba(244, 246, 249, 0) var(--ve-l, 40%), rgba(244, 246, 249, 0) var(--ve-r, 87%), var(--bg) 100%),
    linear-gradient(90deg, rgba(var(--veil), 0) calc(var(--split) - var(--vo, 96px)), rgb(var(--veil)) calc(var(--split) - var(--vi, 6px)), rgb(var(--veil)) calc(var(--split) + var(--vi, 6px)), rgba(var(--veil), 0) calc(var(--split) + var(--vo, 96px)));
}
.track { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; animation: flow var(--dur) linear var(--off) infinite; will-change: transform; }
.flow.paused .track, .flow.paused .beam::after { animation-play-state: paused; }
@keyframes flow { from { transform: translateX(calc(-100% / 3)); } to { transform: translateX(0); } }
.fl-item { flex: none; width: var(--cw); margin-right: var(--gap); transform-origin: 0% 50%; }
.lane-in .fl-item { transform: none !important; }
/* In the shop: what the merchant did or programmed */
.ev {
  display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 14px 0 11px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 1px rgba(14, 15, 17, 0.06);
}
.ev-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--soft-2); color: #7C838C; }
.ev-text { flex: 1; min-width: 0; font-size: 0.9375rem; font-weight: 550; color: #5F666E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.ev-ico svg { width: 20px; height: 20px; }
.ev-tag { flex: none; font-size: 0.75rem; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--soft); color: var(--text-3); }
/* On the customer's phone: a real lock-screen notification from the shop */
.flow .notif {
  --w: var(--cw); background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 0 0 1px rgba(14, 15, 17, 0.05), 0 16px 34px -14px rgba(20, 32, 70, 0.28), 0 2px 6px rgba(20, 32, 70, 0.05);
}
.flow .notif p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* The beam from the buttons down through WalletMe, with a light running along it */
.beam {
  position: absolute; z-index: 2; left: var(--split); top: -10px; height: calc(var(--fh) + 20px); width: 4px; margin-left: -2px; border-radius: 4px; overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0) 0%, rgba(var(--accent-rgb), 0.85) 16%, var(--accent) 50%, rgba(var(--accent-rgb), 0.85) 80%, rgba(var(--accent-rgb), 0) 100%);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
}
.beam::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.95) 6%, rgba(255, 255, 255, 0) 12%) no-repeat;
  animation: beam 2600ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes beam { from { transform: translateY(-14%); } to { transform: translateY(100%); } }
.beam-haze {
  position: absolute; z-index: -1; left: var(--split); top: -10px; height: calc(var(--fh) + 20px); width: 220px; margin-left: -110px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0));
}
/* A flash of light on the beam each time a message comes out of it */
.spark {
  position: absolute; z-index: 3; left: var(--split); top: 50%; width: 200px; height: 140px; margin: -70px 0 0 -100px; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 1), rgba(var(--accent-hi-rgb), 0.7) 30%, rgba(var(--accent-rgb), 0.25) 60%, rgba(var(--accent-rgb), 0) 100%);
}
/* Who sees what */
.fl-caps {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center;
  font-size: 0.9375rem; color: var(--text-3);
}
.fl-caps span:first-child { text-align: right; }
.fl-caps span:last-child { color: var(--ink); font-weight: 550; }

/* The merchant's tablet (register section) */
.tablet {
  position: relative; width: 100%; padding: 3px; border-radius: 40px;
  background: linear-gradient(135deg, #E4E6EA 0%, #A7AAB1 30%, #F0F1F3 55%, #9EA1A8 80%, #D5D7DC 100%);
  box-shadow: 0 60px 100px -45px rgba(14, 15, 17, 0.45), 0 24px 40px -24px rgba(14, 15, 17, 0.28);
}
.tablet-bezel { position: relative; background: #0B0B0C; border-radius: 37px; padding: 16px; }
.tablet-cam { position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; border-radius: 50%; translate: -50% 0; background: #1C2130; box-shadow: inset 0 0 0 1.5px #2C3242; }
.tablet-screen { position: relative; aspect-ratio: 1770 / 1230; border-radius: 22px; overflow: hidden; background: #F3F5F8; }
.ts { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 450ms ease; }
.ts.on { opacity: 1; }
.tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(14, 15, 17, 0.16); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8); opacity: 0; pointer-events: none; }
.tap.on { animation: tap 700ms ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(0.6); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Phone, drawn after the iPhone mockup (deep purple frame); sized by --w ---------- */
.device {
  --w: 320px; --r: calc(var(--w) * 0.16); --frame: calc(var(--w) * 0.019); --border: calc(var(--w) * 0.03);
  --hw: linear-gradient(90deg, #3E2E3A, #8F7790 55%, #4A3846);
  --rings: inset 0 0 0 calc(var(--w) * 0.0032) #A7959F, inset 0 0 0 calc(var(--w) * 0.0064) #52434F,
    inset 0 0 0 calc(var(--w) * 0.0096) #AC9BAD, inset 0 0 0 calc(var(--w) * 0.0144) #7E6D7F;
  position: relative; width: var(--w); aspect-ratio: 312 / 637; border-radius: var(--r); padding: var(--frame);
  background: linear-gradient(160deg, #6A566A, #4C3E4B 40%, #574857 70%, #4A3C49);
  box-shadow: var(--rings), 0 60px 90px -40px rgba(14, 15, 17, 0.45), 0 24px 40px -24px rgba(14, 15, 17, 0.35);
}
/* the soft shadow on the floor, as in the mockup */
.device::after {
  content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; bottom: calc(var(--w) * -0.115); height: calc(var(--w) * 0.06);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 15, 17, 0.32), rgba(14, 15, 17, 0.12) 60%, transparent); pointer-events: none;
}
.hw { position: absolute; width: calc(var(--w) * 0.012); border-radius: calc(var(--w) * 0.004); background: var(--hw); }
.hw-action { left: calc(var(--w) * -0.009); top: 15.7%; height: 3.9%; }
.hw-up { left: calc(var(--w) * -0.009); top: 22.9%; height: 7.5%; }
.hw-down { left: calc(var(--w) * -0.009); top: 32.5%; height: 7.7%; }
.hw-power { right: calc(var(--w) * -0.009); top: 25.6%; height: 11.8%; }
.bezel { position: relative; height: 100%; border-radius: calc(var(--r) - var(--frame)); background: linear-gradient(#1E181C, #241F22); padding: var(--border); }
.screen { position: relative; height: 100%; border-radius: calc(var(--r) - var(--frame) - var(--border)); overflow: hidden; background: #111; box-shadow: 0 0 0 1px #000; }
.screen-app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.status {
  flex: none; height: calc(var(--w) * 0.142); padding: calc(var(--w) * 0.012) calc(var(--w) * 0.085) 0;
  display: flex; justify-content: space-between; align-items: center; color: #FFFFFF;
  font-size: calc(var(--w) * 0.047); font-weight: 600; letter-spacing: -0.01em;
}
.status-icons { display: flex; gap: calc(var(--w) * 0.016); align-items: center; }
.status-icons svg { width: auto; height: calc(var(--w) * 0.034); }
.island { position: absolute; z-index: 8; top: calc(var(--w) * 0.032); left: 50%; translate: -50% 0; width: calc(var(--w) * 0.24); height: calc(var(--w) * 0.064); border-radius: 99px; background: #000; }
/* the front camera lens, a dark blue dot at the right of the island */
.island::after { content: ""; position: absolute; top: 50%; right: 17%; width: calc(var(--w) * 0.021); aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #2C5C9A, #0A2448 55%, #050C18); }
.home-bar { position: absolute; z-index: 8; bottom: calc(var(--w) * 0.022); left: 50%; translate: -50% 0; width: calc(var(--w) * 0.36); height: calc(var(--w) * 0.014); border-radius: 99px; background: rgba(255, 255, 255, 0.8); }
.shot ~ .home-bar { background: rgba(0, 0, 0, 0.6); }

.shot { background: #F3F5F8; }
.shot .status { color: #000; }
.shot img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }

/* iOS notifications (banner and lock screen) */
.notif {
  display: grid; grid-template-columns: calc(var(--w) * 0.11) 1fr; gap: calc(var(--w) * 0.03); align-items: center; text-align: left;
  padding: calc(var(--w) * 0.035); border-radius: calc(var(--w) * 0.075);
  background: rgba(246, 246, 248, 0.86); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 calc(var(--w) * 0.03) calc(var(--w) * 0.08) rgba(0, 0, 0, 0.16);
}
.app-ico {
  width: calc(var(--w) * 0.11); height: calc(var(--w) * 0.11); border-radius: calc(var(--w) * 0.026); display: grid; place-items: center;
  background: var(--bg); color: var(--fg);
}
.app-ico svg { width: 68%; height: 68%; }
.notif-head { display: flex; justify-content: space-between; gap: 6px; font-size: calc(var(--w) * 0.04); color: #000; line-height: 1.25; }
.notif-head b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-head span { color: rgba(0, 0, 0, 0.45); white-space: nowrap; }
.notif p, .panel .notif p, .night .notif p { font-size: calc(var(--w) * 0.042); line-height: 1.3; color: #000; }

.lock-screen { align-items: center; color: #FFFFFF; background: radial-gradient(130% 75% at 50% 0%, #3A4F86 0%, #1A2442 45%, #07090F 100%); }
.lock-screen .status { align-self: stretch; }
.lock-screen.lock-lavender { background: #D8DCF0 url("/assets/img/lock-wallpaper-2.jpg?v=5f55c3f2") center / cover no-repeat; }
.lock-lavender .status { color: #1E2340; }
.lock-lavender .lock-date { color: rgba(40, 48, 92, 0.72); }
.lock-lavender .lock-time { color: rgba(52, 62, 120, 0.82); }
.lock-lavender ~ .home-bar { background: rgba(20, 24, 50, 0.55); }
.lock-lavender .lock-notifs .notif { background: rgba(255, 255, 255, 0.72); }
.lock-lavender .lock-btn { background: rgba(255, 255, 255, 0.4); color: #2A3160; }
.lock-date { margin-top: calc(var(--w) * 0.02); font-size: calc(var(--w) * 0.058); font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.lock-time { font-size: calc(var(--w) * 0.28); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: rgba(255, 255, 255, 0.95); }
.lock-notifs { align-self: stretch; display: grid; padding: 0 calc(var(--w) * 0.035); margin-top: calc(var(--w) * 0.12); }
/* Each notification opens its own row, so a new one pushes the others down like on a real phone */
.ln { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 600ms var(--ease-ios); }
.ln-in { min-height: 0; overflow: hidden; padding: 0 2px; }
.ln.on { grid-template-rows: 1fr; }
.lock-notifs .notif { margin-bottom: calc(var(--w) * 0.025); opacity: 0; transform: translateY(-60%); transition: opacity 300ms ease, transform 600ms var(--ease-ios); box-shadow: none; background: rgba(240, 242, 248, 0.82); }
.ln.on .notif { opacity: 1; transform: none; }

/* ---------- Wallet passes, at the proportions of a real store card (320 × 420) ---------- */
.pass {
  position: relative; width: var(--pw, 320px); aspect-ratio: 320 / 420; font-size: calc(var(--pw, 320px) / 20); flex: none;
  background: var(--bg); color: var(--fg); border-radius: 0.75em; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1.4em 3em -1.2em rgba(14, 15, 17, 0.45), 0 0.2em 0.6em rgba(14, 15, 17, 0.08);
  line-height: 1.2;
}
.p-head { display: flex; justify-content: space-between; align-items: center; gap: 0.6em; padding: 0.7em 0.85em; min-height: 3.7em; }
.lockup { display: flex; align-items: center; gap: 0.5em; min-width: 0; }
.mark svg { display: block; width: 2em; height: 2em; }
.wm { display: grid; line-height: 1; min-width: 0; }
.wm small { font: 600 0.5em/1.3 var(--font); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }
.wm b { font-size: 1.3em; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 0.08em; }
.f-playfair-i b { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; }
.f-dmserif b { font-family: "DM Serif Display", Georgia, serif; }
.f-lobster b { font-family: "Lobster", Georgia, serif; font-size: 1.4em; }
.f-bebas b { font-family: "Bebas Neue", "Arial Narrow", sans-serif; font-size: 1.6em; letter-spacing: 0.04em; }
.f-fredoka b { font-family: "Fredoka", var(--font); font-weight: 600; font-size: 1.45em; }
.f-fraunces b { font-family: "Fraunces", Georgia, serif; font-weight: 600; }
.f-fraunces-i b { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.45em; }
.f-slab b { font-family: "Alfa Slab One", Georgia, serif; font-size: 1.15em; letter-spacing: 0.02em; }
.f-grotesk b { font-family: var(--font); font-weight: 750; font-size: 0.95em; letter-spacing: 0.16em; text-transform: uppercase; }
.pf { display: grid; gap: 0.15em; min-width: 0; }
.pf small { font-size: 0.6em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lb); }
.pf b { font-size: 1.1em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.pf.right { text-align: right; }
.p-head .pf b { font-size: 1.35em; }
.p-strip { position: relative; height: 7.4em; flex: none; overflow: hidden; }
.points-strip {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.7em; padding: 0.9em 0.85em;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fg) 14%, var(--bg)), color-mix(in srgb, var(--fg) 4%, var(--bg)));
}
.strip-mark { position: absolute; right: -0.8em; top: -0.9em; width: 7.5em; color: var(--fg); opacity: 0.12; }
.strip-mark svg { display: block; width: 100%; height: auto; }
.points-strip .pf { position: relative; }
.points-strip .primary { font-size: 1.85em; font-weight: 600; letter-spacing: -0.02em; }
.meter { position: relative; height: 0.35em; border-radius: 0.2em; background: color-mix(in srgb, var(--fg) 20%, transparent); overflow: hidden; }
.meter span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--fg); transition: transform 900ms var(--ease-out); }
.stamps-strip {
  display: grid; grid-template-columns: repeat(var(--cols), 2.3em); justify-content: center; align-content: center; gap: 0.45em 0.7em;
  background: color-mix(in srgb, var(--fg) 9%, var(--bg));
}
.st svg { display: block; width: 2.3em; height: 2.3em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.32; }
.st.on svg { opacity: 1; fill: color-mix(in srgb, var(--fg) 25%, transparent); }
.st.pop svg { animation: st-pop 560ms cubic-bezier(0.2, 1.4, 0.3, 1); }
@keyframes st-pop { from { transform: scale(0.2); opacity: 0; } }
/* Strip with a real photo of the shop: white text on a soft dark gradient, like Apple Wallet */
.p-strip.photo { background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.08) 100%), var(--ph) center / cover no-repeat; color: #FFFFFF; }
.points-strip.photo .pf small { color: rgba(255, 255, 255, 0.86); }
.points-strip.photo .primary { color: #FFFFFF; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
.points-strip.photo .meter { background: rgba(255, 255, 255, 0.32); }
.points-strip.photo .meter span { background: #FFFFFF; }
.stamps-strip.photo { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--ph) center / cover no-repeat; }
.stamps-strip.photo .st svg { opacity: 0.55; }
.stamps-strip.photo .st.on svg { opacity: 1; fill: rgba(255, 255, 255, 0.28); }
.p-row { display: flex; justify-content: space-between; gap: 1em; padding: 0.8em 0.85em 0; }
.p-code { margin-top: auto; display: flex; justify-content: center; padding: 0 0 1em; }
.qr { background: #FFFFFF; border-radius: 0.55em; padding: 0.55em 0.55em 0.3em; display: grid; justify-items: center; gap: 0.15em; color: #000; }
.qr img { width: 6.4em; height: 6.4em; }
.qr span { font-size: 0.65em; letter-spacing: 0.12em; font-weight: 600; }
.pass.yours { box-shadow: 0 2em 4em -1em rgba(0, 0, 0, 0.5); }
.pass.yours .mark { color: var(--accent); }

/* ---------- Programmes: pick a type on the left, its Wallet card shows on the right ---------- */
.programs { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: center; max-width: 1040px; margin-inline: auto; }
.prog-list { display: grid; }
.prog-list button {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; width: 100%; padding: 13px 0; border: 0; background: none;
  text-align: left; cursor: pointer; color: var(--text-3); transition: color 200ms ease;
}
.prog-ico { display: grid; place-items: center; height: 30px; transition: color 200ms ease; }
.prog-txt { display: grid; gap: 4px; }
.prog-txt b { font-size: 1.5rem; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.prog-txt > span { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 360ms var(--ease-out), opacity 260ms ease; font-size: 1rem; line-height: 1.45; color: var(--text-2); max-width: 30em; }
.prog-list button[aria-selected="true"] .prog-txt > span { max-height: 4.5em; opacity: 1; }
.prog-list button[aria-selected="true"] { color: var(--ink); }
.prog-list button[aria-selected="true"] .prog-ico { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .prog-list button:hover { color: var(--ink); } }
.prog-stage { display: grid; justify-items: center; position: relative; }
.prog-stage::before { content: ""; position: absolute; inset: -12% -20%; z-index: -1; pointer-events: none; background: radial-gradient(45% 45% at 50% 45%, var(--accent-glow), transparent 70%); }
.prog-card { grid-area: 1 / 1; margin: 0; display: grid; justify-items: center; gap: 18px; opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 320ms ease, transform 460ms var(--ease-out); pointer-events: none; }
.prog-card.on { opacity: 1; transform: none; pointer-events: auto; }
.prog-card figcaption { font-size: 0.9375rem; color: var(--text-3); }
.prog-note { display: none; }
.bento .panel.bare { padding-left: 0; padding-right: 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 112px; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature p { color: var(--text-2); }
.small-trio { margin-top: 72px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.bento .panel { padding: 40px; overflow: hidden; }
.stats-panel { grid-column: 1 / -1; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 64px; min-height: 360px; margin-bottom: 16px; }
.bento .stats-panel { padding: 56px; background: radial-gradient(55% 80% at 78% 100%, rgba(var(--accent-rgb), 0.32), transparent 70%), var(--night); }
.stats-panel .dash { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.panel-copy { display: grid; gap: 12px; align-content: start; max-width: 26em; }
.panel-copy .h3 { font-size: 1.75rem; letter-spacing: -0.025em; }
.dash { background: #FFFFFF; border-radius: 20px; padding: 24px; display: grid; gap: 16px; position: relative; box-shadow: 0 30px 60px -20px rgba(14, 15, 17, 0.18), inset 0 0 0 1px var(--line); }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); }
.dash-head b { font-size: 1.125rem; }
.dash-head span { font-size: 0.8125rem; color: var(--text-2); background: var(--soft); padding: 4px 10px; border-radius: 8px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-kpis div { background: var(--bg); border-radius: 14px; padding: 14px; display: grid; gap: 2px; }
.dash-kpis span { font-size: 0.8125rem; color: var(--text-3); }
.dash-kpis b { font-size: 1.75rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.dash-label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.dash-chart { width: 100%; height: 110px; overflow: visible; color: var(--accent); }
.js .dash .chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .dash .chart-fill { opacity: 0; }
.dash.in .chart-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1800ms var(--ease-out) 200ms; }
.dash.in .chart-fill { opacity: 1; transition: opacity 900ms ease 900ms; }
.dash-example { position: absolute; right: 20px; bottom: 16px; font-size: 0.75rem; color: var(--text-3); }
.pocket-panel { min-height: 600px; padding-top: 40px; }
.pocket-panel .mini-stack { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.mini-stack { position: relative; height: 380px; margin-top: 28px; }
.mini-stack .pass { position: absolute; left: 50%; translate: -50% 0; }
.mini-stack .pass:nth-child(2) { top: 62px; }
.mini-stack .pass:nth-child(3) { top: 124px; }
.mini-stack .pass:nth-child(4) { top: 186px; }
.lock-panel { min-height: 600px; grid-template-rows: auto 1fr; padding-bottom: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(var(--accent-rgb), 0.3), transparent 70%), var(--night); }
.lock-device { justify-self: center; margin: 28px 0 -280px; }

/* ---------- Register ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.split-copy { display: grid; gap: 24px; align-content: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--text-2); }
.ticks li svg { color: var(--accent); margin-top: 3px; }
.night .ticks li { color: var(--on-night-2); }
.night .ticks li svg { color: var(--accent-hi); }
.register .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; }
.register-visual { position: relative; }
.register-visual::before { content: ""; position: absolute; inset: -15%; z-index: -1; pointer-events: none; background: radial-gradient(45% 45% at 50% 50%, var(--accent-glow), transparent 70%); }

/* ---------- Gallery ---------- */
.gallery-section { padding: 120px 0 104px; overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.gallery-head > div:first-child { display: grid; gap: 16px; max-width: 44em; }
.arrows { display: flex; gap: 8px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 290px; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px max(32px, calc((100vw - var(--wrap)) / 2)) 48px; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth;
  scroll-padding-inline: max(32px, calc((100vw - var(--wrap)) / 2));
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; display: grid; gap: 16px; scroll-snap-align: start; }
.gallery figcaption { color: var(--text-2); font-size: 0.9375rem; padding-left: 4px; }

/* ---------- Uses + integrations ---------- */
/* Every kind of shop: three rows of businesses drifting in opposite directions */
.everyone { overflow: hidden; }
.biz-wall { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.biz-row { display: flex; width: max-content; animation: biz var(--d, 60s) linear infinite; }
.biz-row.rev { animation-direction: reverse; }
.biz-track { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
@keyframes biz { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .biz-wall:hover .biz-row { animation-play-state: paused; } }
.biz {
  display: inline-flex; align-items: center; gap: 14px; height: 72px; padding: 0 26px 0 12px; border-radius: 999px; white-space: nowrap;
  background: #FFFFFF; color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em;
  box-shadow: 0 0 0 1px rgba(14, 15, 17, 0.05), 0 10px 24px -16px rgba(20, 32, 70, 0.3);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.biz-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--tint, #F1F3F7); }
.biz-0 { --tint: #FDEBDD; } .biz-1 { --tint: #FBE3EE; } .biz-2 { --tint: #E2F3E8; } .biz-3 { --tint: #E4ECFD; } .biz-4 { --tint: #EEE7FB; }
@media (hover: hover) and (pointer: fine) { .biz:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 1px rgba(14, 15, 17, 0.06), 0 18px 34px -16px rgba(20, 32, 70, 0.4); } }
.biz-yours { margin-top: 40px; text-align: center; color: var(--text-2); }
.biz-yours a { color: var(--accent-ink); font-weight: 600; text-decoration: none; margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .biz-yours a:hover { text-decoration: underline; } }
.integrations { margin-top: 72px; display: grid; justify-items: center; gap: 22px; text-align: center; }
.integrations > p:first-child { color: var(--text-2); font-weight: 600; }
.integrations ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.integrations ul { gap: 12px 44px; }
.integrations li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; font-size: 1.5rem; }
.integrations li small { font-size: 0.75rem; font-weight: 600; color: var(--accent-ink); background: var(--accent-tint); padding: 3px 8px; border-radius: 7px; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.billing button { height: 42px; padding: 0 18px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; font-size: 0.9375rem; font-weight: 600; color: var(--text-2); transition: background-color 160ms ease, color 160ms ease; }
.billing button[aria-pressed="true"] { background: var(--soft-2); color: var(--ink); }
.billing small { color: var(--accent-ink); font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { border-radius: var(--radius-l); padding: 36px 32px; display: grid; gap: 20px; grid-template-rows: auto auto auto 1fr auto; }
.plan.featured { background: radial-gradient(70% 50% at 50% 0%, rgba(var(--accent-rgb), 0.32), transparent 75%), var(--night); color: #E9EAEC; }
.plan.featured h3, .plan.featured .price { color: #FFFFFF; }
.plan.featured .plan-desc, .plan.featured .price span { color: var(--on-night-2); }
.plan.featured .plan-badge { background: rgba(var(--accent-hi-rgb), 0.16); color: var(--accent-hi); }
.plan.featured li svg { color: var(--accent-hi); }
.plan-name { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.plan-badge { font-size: 0.8125rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); padding: 5px 10px; border-radius: 9px; }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.price b { font-size: 3.25rem; line-height: 1; letter-spacing: -0.045em; }
.price span { color: var(--text-3); }
.price.pending b { color: var(--text-3); font-weight: 300; }
.plan-desc { color: var(--text-2); font-size: 0.9375rem; min-height: 1.4em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; font-size: 0.9375rem; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li svg { color: var(--accent); margin-top: 2px; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: 28px; color: var(--text-3); font-size: 0.9375rem; }

/* ---------- Resellers: the same card shown under three brands ---------- */
.resell {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: 80px 72px; border-radius: var(--radius-xl);
  background: radial-gradient(50% 70% at 78% 50%, rgba(var(--accent-rgb), 0.3), transparent 70%), var(--night); overflow: hidden;
}
.resell-copy { display: grid; gap: 28px; justify-items: start; }
.resell-copy .h2 { font-size: clamp(2.5rem, 3.9vw, 3.5rem); }
.rs-card .pass { --pw: 340px !important; }
.resell-facts { margin: 0; display: grid; align-self: stretch; }
.resell-facts div { display: grid; grid-template-columns: 11em 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.resell-facts div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.resell-facts dt { color: #FFFFFF; font-weight: 600; }
.resell-facts dd { margin: 0; color: var(--on-night-2); }
.resell-visual { margin: 0; display: grid; justify-items: center; gap: 22px; }
.url-bar {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; color: #FFFFFF; font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.url-bar svg { width: 14px; height: 14px; opacity: 0.7; }
.url-slot, .rs-names { display: inline-grid; }
.url-slot > span, .rs-names > b { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 420ms var(--ease-out); }
.url-slot > span.on, .rs-names > b.on { opacity: 1; transform: none; }
.reskin { display: grid; }
.rs-card { grid-area: 1 / 1; opacity: 0; transform: translateY(18px) scale(0.96) rotate(-1.5deg); transition: opacity 420ms ease, transform 640ms var(--ease-out); }
.rs-card.on { opacity: 1; transform: none; }
.rs-card .pass { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.resell-visual figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: 0.9375rem; color: var(--on-night-2); text-align: center; }
.rs-names b { color: #FFFFFF; font-weight: 600; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 20px 4px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; color: var(--text-3); transition: transform 240ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 48px 26px 4px; color: var(--text-2); max-width: 42em; }

/* ---------- Closing ---------- */
.closing { padding: 40px 0 120px; }
/* Black glass, the same material as the bar at the top over a dark section: thin light on the edges and a faint sheen, no glow */
.closing-panel {
  position: relative; overflow: hidden; border-radius: 40px; padding: 112px 48px; text-align: center; display: grid; justify-items: center; gap: 24px;
  background: linear-gradient(160deg, rgba(24, 25, 29, 0.97), rgba(6, 7, 9, 0.98));
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.28), inset 0 -1px 1px rgba(255, 255, 255, 0.08), 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 40px 80px -40px rgba(14, 15, 17, 0.55);
}
.closing-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px; opacity: 0.45;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.closing-panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 45%); }
.closing-panel > * { position: relative; z-index: 1; }
.closing-mark { width: 168px; height: auto; margin-bottom: 12px; }
.closing .h2 { max-width: 13em; }
.closing .lead { max-width: 30em; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 0; overflow: hidden; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; color: var(--on-night-2); }
.footer-brand img { height: 26px; width: auto; }
.footer h3 { font-size: 0.9375rem; font-weight: 600; color: #FFFFFF; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer a { color: var(--on-night-2); text-decoration: none; display: inline-flex; min-height: 34px; align-items: center; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #FFFFFF; } }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--on-night-2); font-size: 0.875rem; }
.footer-word { width: min(1200px, 92vw); margin: 40px auto -3.2vw; opacity: 0.08; }

/* ---------- iPad landscape and small laptops ---------- */
@media (max-width: 1300px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .dock { gap: 16px; padding: 0 10px 0 22px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 1180px) {
  .hero-grid { gap: 24px; }
  .programs { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  /* tiles of the second row sit on white: a deeper smoke, so they stay black glass and never look grey */
  .how-step:nth-child(n+3) .how-visual { background: linear-gradient(135deg, rgba(30, 32, 37, 0.9), rgba(10, 11, 13, 0.88)); }
  .programs .pass { --pw: 320px !important; }
  .register .split { gap: 48px; }
  .resell { padding: 56px; gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

/* ---------- iPad portrait ---------- */
@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .hero { padding: 120px 0 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero .display { max-width: none; }
  .rot-line { text-align: center; }
  .actions, .checks { justify-content: center; }
  .programs { grid-template-columns: 1fr; gap: 36px; max-width: 640px; }
  .prog-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .prog-list button { display: inline-flex; width: auto; padding: 0 16px; min-height: 44px; align-items: center; border-radius: 99px; background: rgba(14, 15, 17, 0.05); color: var(--text-2); }
  .prog-list button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
  .prog-ico, .prog-txt > span { display: none; }
  .prog-txt b { font-size: 1rem; line-height: 1.2; }
  .prog-note { display: block; max-width: 26em; text-align: center; color: var(--text-2); }
  .bento, .stats-panel { grid-template-columns: 1fr; }
  .stats-panel { gap: 32px; }
  .bento .stats-panel { padding: 40px 32px; }
  .pocket-panel { min-height: 0; }
  .pocket-panel .mini-stack { height: 330px; }
  .register .split, .split, .resell { grid-template-columns: 1fr; }
  .resell-visual { order: -1; }
  .register-visual { order: 2; }
  .trio { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .gallery-head { align-items: flex-start; flex-direction: column; }
  .closing-panel { padding: 88px 32px; border-radius: 32px; }
}

/* ---------- iPhone ---------- */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding: 80px 0; }
  .section.tight-top { padding-top: 24px; }
  h2.center, .center-head { margin-bottom: 40px; }
  .dock-wrap { top: 10px; }
  .dock { height: 60px; border-radius: 22px; padding: 0 6px 0 18px; }
  .dock.scrolled { height: 56px; border-radius: 20px; }
  .logo img { height: 24px; }
  .lang, .login, .dock-cta { display: none; }
  .menu { width: calc(100% - 20px); border-radius: 22px; }
  .menu-actions { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 24px; }
  .hero .display { font-size: clamp(2.375rem, 10.5vw, 3rem); letter-spacing: -0.035em; }
  .origin { font-size: 0.875rem; }
  .actions { flex-direction: column; align-self: stretch; }
  .actions .btn { width: 100%; }
  .checks { flex-direction: column; align-items: center; gap: 8px; }
  .lead { font-size: 1.0625rem; }
  .h2 { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .wallet-badges .wb { height: 46px; padding: 0 16px 0 14px; font-size: 0.9375rem; }
  /* On a phone the beam sits near the left edge: events slip into it, notifications come out across the screen */
  .flow { --cw: 270px; --gap: 18px; --ch: 74px; --pitch: 92px; --split: 7%; --tilt: 6deg; }
  .lane-in { display: none; }
  .fl-veil { --ve-a: 0%; --ve-b: 0%; --ve-l: 0%; --ve-r: 92%; --vi: 4px; --vo: 60px; }
  .fl-caps { grid-template-columns: 1fr; justify-items: center; }
  .fl-caps span:first-child, .fl-caps span:nth-child(2) { display: none; }
  .flow-section { padding-top: 56px; }
  .prog-list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none; scroll-padding-inline: 20px; }
  .prog-list::-webkit-scrollbar { display: none; }
  .prog-list button { flex: none; }
  .how-steps { grid-template-columns: 1fr; }
  .install-top { grid-template-columns: 1fr; gap: 40px; }
  .install-qr { display: none; } /* on a phone, the button opens the app directly */
  .install-copy .actions { align-self: stretch; }
  .install-copy .checks { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .install-ways { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .section.page-first { padding-top: 132px; }
  .how::before { height: 552px; }
  .how-step:nth-child(n+2) .how-visual { background: linear-gradient(135deg, rgba(30, 32, 37, 0.9), rgba(10, 11, 13, 0.88)); }
  .how { padding-top: 72px; }
  .programs .pass { --pw: 300px !important; }
  .stats-panel .panel-copy .h3, .panel-copy .h3 { font-size: 1.5rem; }
  .dash { padding: 18px; }
  .dash-kpis b { font-size: 1.375rem; }
  .bento .panel { padding-top: 32px; padding-bottom: 32px; }
  .bento .stats-panel { padding: 28px 20px; }
  .lock-panel { padding: 32px 24px 0; min-height: 0; }
  .lock-device { margin-bottom: -300px; }
  .integrations ul { gap: 6px 26px; }
  .integrations li { font-size: 1.25rem; }
  .gallery { grid-auto-columns: 260px; gap: 16px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .gallery .pass { --pw: 260px !important; }
  .arrows { display: none; }
  .resell { padding: 40px 22px; border-radius: 28px; }
  .rs-card .pass { --pw: 280px !important; }
  .resell-facts div { grid-template-columns: 1fr; gap: 4px; }
  .biz { height: 60px; font-size: 1.0625rem; padding: 0 20px 0 10px; }
  .biz-ico { width: 40px; height: 40px; font-size: 1.25rem; }
  .faq summary { font-size: 1.0625rem; min-height: 68px; }
  .closing { padding: 24px 0 72px; }
  .closing-panel { padding: 64px 22px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Accessibility settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .round-btn:active { transform: none; }
  .rotator .word, .rotator .word.out { transform: none; }
  .tpl, .tpl.left, .lock-notifs .notif { transform: none; }
  .ln, .wpass, .banner, .lock-hero, .scene-caps span { transition: none; }
  .track, .beam::after, .biz-row, .install-sky .clouds { animation: none; }
  .hp { transition: none; }
  .btn, .pass.tilt { transform: none; }
  .btn::after, .btn::before { display: none; }
  .btn-label { transform: none; }
  .lang ul { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .dock { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lang ul, .notif { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .notif { background: #F6F6F8; }
}
@media (prefers-contrast: more) {
  :root { --text-2: #2E3238; --text-3: #4A4F57; --line: rgba(14, 15, 17, 0.3); }
}
