/* WalletMe website — light SaaS pages, black ink and black panels, one accent color. Desktop first. */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --soft: #EEF1F5;
  --soft-2: #E6EAF0;
  --ink: #0E0F11;
  --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: #F4F5F7;
  --on-night-2: #A3A7AE;
  /* Accent: one token set, swapped as a whole */
  --accent: #1E5EFF;
  --accent-hi: #7EA6FF;
  --accent-ink: #1544C2;
  --accent-tint: #EDF2FF;
  --accent-glow: rgba(30, 94, 255, 0.2);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-island: 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;
}
:root[data-accent="gold"] { --accent: #C8921A; --accent-hi: #E9C46A; --accent-ink: #7A5600; --accent-tint: #FBF3DE; --accent-glow: rgba(212, 160, 40, 0.22); }
:root[data-accent="violet"] { --accent: #6B4EFF; --accent-hi: #A996FF; --accent-ink: #4A2FD6; --accent-tint: #F1EEFF; --accent-glow: rgba(107, 78, 255, 0.2); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 8% 0%, rgba(30, 94, 255, 0.08), transparent 70%),
    radial-gradient(35% 30% at 95% 10%, rgba(126, 166, 255, 0.1), transparent 70%);
}
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; }

/* Type: tight leading and negative tracking as size grows */
.display { font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; padding-bottom: 0.06em; }
.h2 { font-size: clamp(2.25rem, 3.6vw, 3.375rem); line-height: 1.06; letter-spacing: -0.034em; font-weight: 700; }
.h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.016em; 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: var(--on-night); }
.night h2, .night h3 { color: #FFFFFF; }
.night .lead, .night p { color: var(--on-night-2); }

/* Buttons: rounded squares */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px;
  border: 0; border-radius: 14px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 24px -10px rgba(14, 15, 17, 0.45); }
.btn-secondary { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(14, 15, 17, 0.06); }
.btn-accent { background: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 28px -10px var(--accent-glow); }
.btn-light { background: #FFFFFF; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.35); }
.btn-small { height: 42px; padding: 0 16px; border-radius: 12px; font-size: 0.9375rem; }
.round-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 0; cursor: pointer; color: var(--ink);
  display: grid; place-items: center; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(14, 15, 17, 0.05);
  transition: transform 120ms var(--ease-out), background-color 150ms ease;
}
.round-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #2A2C31; }
  .btn-secondary:hover { background: var(--soft); }
  .btn-accent:hover { background: var(--accent-ink); }
  .btn-light:hover { background: #E9EAED; }
  .round-btn:hover { background: var(--soft); }
}

/* ---------- Header: a floating glass dock ---------- */
.dock-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.dock {
  pointer-events: auto; position: relative; width: min(1180px, calc(100% - 32px)); height: 64px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 22px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.22));
  -webkit-backdrop-filter: blur(18px) saturate(190%) brightness(1.04); backdrop-filter: blur(18px) saturate(190%) brightness(1.04);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -1px 1px rgba(255, 255, 255, 0.35),
    inset 1px 0 1px rgba(255, 255, 255, 0.4), inset -1px 0 1px rgba(255, 255, 255, 0.25),
    0 0 0 0.5px rgba(14, 15, 17, 0.08), 0 14px 40px rgba(14, 15, 17, 0.12), 0 2px 6px rgba(14, 15, 17, 0.05);
  transition: height 320ms var(--ease-out), border-radius 320ms var(--ease-out);
}
/* 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.35), rgba(255, 255, 255, 0) 50%);
}
.dock.scrolled { height: 58px; border-radius: 20px; }
.logo { position: relative; z-index: 1; }
.logo img { height: 26px; width: auto; }
.nav { position: relative; z-index: 1; display: flex; gap: 2px; margin-inline: auto; }
.nav a {
  font-size: 0.9375rem; text-decoration: none; color: var(--text-2); padding: 0 13px; min-height: 40px;
  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); } }
.header-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; }
.login { font-size: 0.9375rem; text-decoration: none; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px;
  border-radius: 11px; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.875rem; 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; }
.section.tight-top { padding-top: 40px; }
.mist { background: var(--soft); }
.mist .plan { background: var(--surface); }
.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; }

/* Shared surfaces + cursor spotlight (a soft light follows the pointer and lights the edge) */
.tile, .panel {
  position: relative; isolation: isolate; 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);
}
.tile p, .panel p { color: var(--text-2); }
.panel.night p { color: var(--on-night-2); }
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 400ms ease; }
.spot::before { z-index: -1; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 60%); }
.spot::after {
  z-index: 2; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 65%);
  -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);
}
@media (hover: hover) and (pointer: fine) { .spot:hover::before { opacity: 0.55; } .spot:hover::after { opacity: 0.7; } }
.ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 8px; color: var(--accent);
  background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -8px rgba(14, 15, 17, 0.2);
}
.night .ico { background: rgba(255, 255, 255, 0.08); color: var(--accent-hi); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(32% 24% at 50% 66%, var(--accent-glow), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(14, 15, 17, 0.12) 1px, transparent 1.2px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(55% 45% at 50% 64%, #000 0%, transparent 75%); mask-image: radial-gradient(55% 45% at 50% 64%, #000 0%, transparent 75%);
}
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 26px; position: relative; }
.hero-copy .display > span { display: block; }
.hero-copy .lead { max-width: 37em; }
.line2 { white-space: nowrap; }
.rotator { display: inline-grid; vertical-align: bottom; text-align: left; transition: width 560ms var(--ease-out); }
.rotator .word {
  grid-area: 1 / 1; justify-self: start; padding-bottom: 0.1em; margin-bottom: -0.1em;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 38%, var(--accent-hi) 50%, var(--accent) 62%, var(--accent) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(0.45em); filter: blur(8px);
  transition: opacity 420ms ease, transform 560ms var(--ease-out), filter 420ms ease;
}
.rotator .word.on { opacity: 1; transform: none; filter: none; animation: shine 1.8s var(--ease-out) 120ms both; }
.rotator .word.out { opacity: 0; transform: translateY(-0.45em); filter: blur(8px); }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.note { font-size: 0.9375rem; color: var(--text-3); }

/* The story: what the merchant does (left), what the customer sees (phone), the three steps (right) */
.story { position: relative; height: 800px; margin-top: 56px; display: grid; grid-template-columns: 300px 1fr 330px; align-items: center; }
.hero-beam {
  position: absolute; left: calc(300px + (100% - 630px) / 2); top: -120px; bottom: -40px; width: 160px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent-glow) 40%, var(--accent-glow) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  filter: blur(18px); opacity: 0.8;
}
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.links path { fill: none; stroke: color-mix(in srgb, var(--accent) 45%, transparent); stroke-width: 1.5; stroke-dasharray: 3 7; }
.story.flowing .links path { animation: flow 0.9s linear infinite; stroke: var(--accent); }
@keyframes flow { to { stroke-dashoffset: -20; } }
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px var(--line), 0 20px 50px -12px rgba(14, 15, 17, 0.16);
}
.side-label { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }
.side-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.side-label.center { justify-content: center; margin-top: 22px; }
.merchant { position: relative; z-index: 2; display: grid; gap: 12px; }
.console { position: relative; height: 340px; border-radius: 24px; }
.pane {
  position: absolute; inset: 0; padding: 20px; display: grid; align-content: start; gap: 10px;
  opacity: 0; transform: translateY(10px) scale(0.98); filter: blur(4px); pointer-events: none;
  transition: opacity 360ms ease, transform 520ms var(--ease-out), filter 360ms ease;
}
.story[data-step="0"] .pane-qr, .story[data-step="1"] .pane-till, .story[data-step="2"] .pane-msg { opacity: 1; transform: none; filter: none; }
.pane-title { font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; }
.lbl { font-size: 0.8125rem; color: var(--text-3); font-weight: 600; margin-top: 4px; }
.poster {
  margin-top: 6px; display: grid; justify-items: center; gap: 10px; padding: 16px; border-radius: 18px; text-align: center;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(14, 15, 17, 0.3);
}
.poster img { width: 132px; height: 132px; }
.poster > span:last-child { font-size: 0.8125rem; color: var(--text-2); line-height: 1.3; }
.poster-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.poster-brand i {
  font-style: normal; width: 26px; height: 26px; border-radius: 7px; background: #6B3F22; color: #FBF3E8; display: grid; place-items: center;
  font: 700 0.875rem/1 Georgia, "Times New Roman", serif;
}
.till-code { display: flex; gap: 8px; }
.till-code i {
  font-style: normal; width: 44px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 600; color: var(--ink);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.till-amount {
  height: 48px; border-radius: 13px; display: flex; align-items: center; padding: 0 14px; font-size: 1.25rem; font-weight: 600; color: var(--ink);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.till-foot { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.till-btn {
  height: 44px; padding: 0 20px; border-radius: 12px; display: inline-flex; align-items: center; font-weight: 600; font-size: 0.9375rem;
  background: var(--ink); color: #FFFFFF; transition: transform 140ms var(--ease-out), background-color 200ms ease;
}
.till-added { font-size: 0.9375rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); padding: 6px 10px; border-radius: 10px; }
.pane-msg ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.pane-msg li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 14px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: background-color 300ms ease, box-shadow 300ms ease;
}
.msg-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.msg-body { display: grid; min-width: 0; line-height: 1.25; }
.msg-body b { font-size: 0.875rem; color: var(--ink); }
.msg-body small { font-size: 0.75rem; color: var(--text-3); }
.switch { width: 36px; height: 22px; border-radius: 11px; background: #34C759; position: relative; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.pane-msg li.sent { background: var(--accent-tint); box-shadow: 0 0 0 1.5px var(--accent); }

/* Steps, played one after the other (main.js) */
.steps-col { position: relative; z-index: 2; display: grid; gap: 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step {
  width: 100%; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; text-align: left; position: relative; overflow: hidden;
  padding: 16px; border: 0; border-radius: 18px; background: transparent; cursor: pointer; color: var(--text-2);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
.step-num {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem;
  background: var(--surface); color: var(--text-2); box-shadow: 0 0 0 1px var(--line); transition: background-color 300ms ease, color 300ms ease;
}
.step-body { display: grid; gap: 4px; }
.step-body b { font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; }
.step-body span { font-size: 0.875rem; line-height: 1.4; display: none; }
.step[aria-pressed="true"] { background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 14px 34px -16px rgba(14, 15, 17, 0.22); }
.step[aria-pressed="true"] .step-num { background: var(--accent); color: #FFFFFF; box-shadow: none; }
.step[aria-pressed="true"] .step-body span { display: block; }
.step-bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 1px; background: transparent; overflow: hidden; }
.step-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.story.auto .step[aria-pressed="true"] .step-bar i { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .step[aria-pressed="false"]:hover { background: rgba(255, 255, 255, 0.6); } }

/* Phone screens for each step */
.hero-device [data-screen] { opacity: 0; transform: scale(0.97); transition: opacity 420ms ease, transform 520ms var(--ease-out); }
.story[data-step="0"] [data-screen="0"], .story[data-step="1"] [data-screen="1"], .story[data-step="2"] [data-screen="2"] { opacity: 1; transform: none; }
.add-screen { background: #F2F2F7; }
.add-screen .status { color: #000; }
.add-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 calc(var(--w) * 0.05) calc(var(--w) * 0.02); font-size: calc(var(--w) * 0.048); color: var(--accent); }
.add-btn { padding: calc(var(--w) * 0.012) calc(var(--w) * 0.03); border-radius: calc(var(--w) * 0.025); transition: background-color 200ms ease, color 200ms ease; }
.story.s0-press .add-btn { background: var(--accent); color: #FFFFFF; }
.add-screen .screen-pass { transition: transform 700ms var(--ease-island), opacity 500ms ease; }
.story.s0-added .add-screen .screen-pass { transform: translateY(14%) scale(0.86); opacity: 0.35; }
.add-toast {
  position: absolute; left: 50%; top: 46%; translate: -50% -50%; display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: calc(var(--w) * 0.06); border-radius: calc(var(--w) * 0.07); width: calc(var(--w) * 0.62);
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); font-size: calc(var(--w) * 0.048); font-weight: 600; color: #000;
  opacity: 0; transform: scale(0.85); transition: opacity 300ms ease, transform 500ms var(--ease-island);
}
.add-toast svg { width: calc(var(--w) * 0.12); height: calc(var(--w) * 0.12); color: #FFFFFF; background: #34C759; border-radius: 50%; padding: calc(var(--w) * 0.025); }
.story.s0-added .add-toast { opacity: 1; transform: none; }
.js .pane-till .till-code i { color: transparent; }
.story.s1-typed .pane-till .till-code i { color: var(--ink); transition: color 120ms ease; transition-delay: calc(var(--i) * 140ms); }
.js .pane-till .till-amount { color: transparent; }
.story.s1-amount .pane-till .till-amount { color: var(--ink); transition: color 200ms ease; }
.story.s1-press .till-btn { background: var(--accent); transform: scale(0.96); }
.js .pane-till .till-added { opacity: 0; transform: translateX(-6px); transition: opacity 260ms ease, transform 360ms var(--ease-out); }
.story.s1-added .pane-till .till-added { opacity: 1; transform: none; }

/* Entrance */
.js .stage { opacity: 0; transform: translateY(90px); transition: opacity 900ms ease, transform 1300ms var(--ease-out); }
.js .story.in .stage { opacity: 1; transform: none; }
.js .merchant, .js .steps-col { opacity: 0; transition: opacity 700ms ease 300ms; }
.js .story.in .merchant, .js .story.in .steps-col { opacity: 1; }
.stage { position: relative; z-index: 3; justify-self: center; perspective: 1700px; display: grid; justify-items: center; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.notif { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 20px; text-align: left; }
.app-ico {
  width: 38px; height: 38px; border-radius: 10px; background: #6B3F22; color: #FBF3E8; display: grid; place-items: center;
  font-weight: 700; font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem;
}
.notif-head { display: flex; justify-content: space-between; gap: 8px; font-size: 0.8125rem; color: var(--ink); }
.notif-head b { font-weight: 600; }
.notif-head span { color: var(--text-3); white-space: nowrap; }
.notif p { font-size: 0.875rem; line-height: 1.32; color: var(--text); }

/* ---------- Phone (generic, drawn in CSS; sized by --w) ---------- */
.device {
  --w: 320px; --r: calc(var(--w) * 0.165); --frame: calc(var(--w) * 0.011); --border: calc(var(--w) * 0.026);
  --hw: linear-gradient(90deg, #1B1B1E, #55555C 55%, #222225);
  position: relative; width: var(--w); aspect-ratio: 9 / 19.5; border-radius: var(--r); padding: var(--frame);
  background: linear-gradient(150deg, #8A8A92 0%, #3A3A3F 12%, #1A1A1D 36%, #2A2A2E 60%, #151517 82%, #77777E 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 0 0 2.5px rgba(0, 0, 0, 0.55),
    0 60px 90px -40px rgba(14, 15, 17, 0.55), 0 24px 40px -24px rgba(14, 15, 17, 0.4);
}
.device::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 8; mix-blend-mode: screen;
  background: radial-gradient(55% 35% at var(--gx, 28%) var(--gy, 12%), rgba(255, 255, 255, 0.14), transparent 65%);
}
.hero-device { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 0 0 2.5px rgba(0, 0, 0, 0.55), 0 80px 120px -40px rgba(14, 15, 17, 0.5), 0 0 140px -30px var(--accent-glow); }
.hw { position: absolute; width: calc(var(--w) * 0.012); border-radius: 2px; background: var(--hw); }
.hw-action { left: calc(var(--w) * -0.009); top: 17%; height: 4.5%; }
.hw-up { left: calc(var(--w) * -0.009); top: 25%; height: 8.5%; }
.hw-down { left: calc(var(--w) * -0.009); top: 35.5%; height: 8.5%; }
.hw-power { right: calc(var(--w) * -0.009); top: 28%; height: 12.5%; }
.bezel { position: relative; height: 100%; border-radius: calc(var(--r) - var(--frame)); background: #000; padding: var(--border); }
.screen { position: relative; height: 100%; border-radius: calc(var(--r) - var(--frame) - var(--border)); overflow: hidden; background: #111; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 7; background: linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 34%); }
.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: 6; top: calc(var(--w) * 0.03); left: 50%; translate: -50% 0;
  width: calc(var(--w) * 0.31); height: calc(var(--w) * 0.09); border-radius: calc(var(--w) * 0.05); background: #000;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: calc(var(--w) * 0.03);
  padding: 0 calc(var(--w) * 0.045); overflow: hidden; color: #FFFFFF;
  transition: width 600ms var(--ease-island), height 600ms var(--ease-island), border-radius 600ms var(--ease-island);
}
.island > * { opacity: 0; transition: opacity 180ms ease; }
.island.live { width: calc(var(--w) * 0.84); height: calc(var(--w) * 0.2); border-radius: calc(var(--w) * 0.1); }
.island.live > * { opacity: 1; transition: opacity 260ms ease 240ms; }
.island-ico {
  width: calc(var(--w) * 0.12); height: calc(var(--w) * 0.12); border-radius: calc(var(--w) * 0.032); background: #6B3F22; color: #FBF3E8;
  display: grid; place-items: center; font-weight: 700; font-family: Georgia, "Times New Roman", serif; font-size: calc(var(--w) * 0.055);
}
.island-text { display: grid; min-width: 0; line-height: 1.2; }
.island-text b { font-size: calc(var(--w) * 0.042); font-weight: 600; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island-text span { font-size: calc(var(--w) * 0.036); color: #9E9EA3; white-space: nowrap; }
.island-pts { font-size: calc(var(--w) * 0.05); font-weight: 700; color: var(--accent-hi); white-space: nowrap; }
.home-bar { position: absolute; z-index: 6; 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.55); }

.wallet-screen { background: linear-gradient(180deg, #1C1C1F, #0F0F11); }
.screen-pass { flex: 1; min-height: 0; display: flex; padding: calc(var(--w) * 0.015) calc(var(--w) * 0.032) calc(var(--w) * 0.085); }
.screen-pass .pass { flex: 1; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.screen-pass .pass.full .strip { flex: 1; min-height: 0; }
.shot { background: #F3F5F8; }
.shot .status { color: #000; }
.shot img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }

.lock-screen { align-items: center; color: #FFFFFF; background: radial-gradient(130% 75% at 50% 0%, #3A4F86 0%, #1A2442 45%, #07090F 100%); }
:root[data-accent="gold"] .lock-screen { background: radial-gradient(130% 75% at 50% 0%, #6A5426 0%, #2A2110 45%, #080705 100%); }
.lock-screen .status { align-self: stretch; }
.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.04); 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 560ms var(--ease-island); }
.ln-in { min-height: 0; overflow: hidden; }
.ln.on { grid-template-rows: 1fr; }
.lock-notifs .notif {
  margin-bottom: calc(var(--w) * 0.025); border-radius: calc(var(--w) * 0.07); padding: calc(var(--w) * 0.035);
  grid-template-columns: calc(var(--w) * 0.11) 1fr; gap: calc(var(--w) * 0.03);
  background: rgba(235, 238, 245, 0.8); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  opacity: 0; transform: translateY(-40%) scale(0.92); transition: opacity 360ms ease, transform 620ms var(--ease-island);
}
.ln.on .notif { opacity: 1; transform: none; }
.lock-notifs .app-ico { width: calc(var(--w) * 0.11); height: calc(var(--w) * 0.11); border-radius: calc(var(--w) * 0.028); font-size: calc(var(--w) * 0.05); }
.lock-notifs .notif-head { font-size: calc(var(--w) * 0.04); color: #000; }
.lock-notifs .notif-head span { color: rgba(0, 0, 0, 0.5); }
.lock-notifs .notif p, .panel .lock-notifs .notif p { font-size: calc(var(--w) * 0.042); line-height: 1.3; color: #000; }

/* ---------- Wallet passes ---------- */
/* Same anatomy as a real store card: header, strip with the reward, fields, barcode. */
.pass {
  position: relative; background: var(--bg); color: var(--fg); border-radius: 18px; padding: 14px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  box-shadow: 0 22px 50px -12px rgba(14, 15, 17, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.pass.card { aspect-ratio: 1.42; gap: 10px; }
.pass-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 2px 0; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.01em; font-size: 1rem; min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand i {
  font-style: normal; width: 30px; height: 30px; border-radius: 8px; background: var(--fg); color: var(--bg); flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-family: Georgia, "Times New Roman", serif; font-size: 1rem;
}
.strip {
  flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 14px; border-radius: 12px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--lb) 26%, transparent), color-mix(in srgb, var(--lb) 8%, transparent));
}
.pass.full .strip { flex: none; min-height: 168px; position: relative; overflow: hidden; }
/* The brand initial, large and faint, stands in for the strip image of a real pass */
.pass.full .strip::after {
  content: attr(data-ini); position: absolute; right: 10px; top: -18px; pointer-events: none;
  font: 700 190px/1 Georgia, "Times New Roman", serif; color: var(--fg); opacity: 0.08;
}
.pass.full .strip > * { position: relative; z-index: 1; }
.pf { display: grid; gap: 1px; min-width: 0; }
.pf small { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lb); }
.pf b { font-size: 1.1875rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf.right { text-align: right; }
.pf .reward { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; }
.pass.card .pf .reward { font-size: 1.375rem; }
.pass.card .pf b { font-size: 1rem; }
.pass-row { display: flex; justify-content: space-between; gap: 12px; padding: 0 2px 2px; }
.meter { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 18%, transparent); overflow: hidden; }
.meter span { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--fg); transition: transform 900ms var(--ease-out); }
.stamps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 45%, transparent); width: 100%; max-width: 30px; }
.stamps i.on { background: var(--fg); box-shadow: none; }
.qr { align-self: center; background: #FFFFFF; border-radius: 12px; padding: 12px 12px 6px; display: grid; justify-items: center; gap: 4px; color: #000; margin-top: 4px; }
.qr img { width: 104px; height: 104px; }
.qr span { font-size: 0.75rem; letter-spacing: 0.1em; font-weight: 600; }
#hero-left { transition: color 300ms ease; }

/* Pointer tilt with a moving sheen, like holding a real card to the light */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 600ms var(--ease-out); }
[data-tilt].tilting { transition-duration: 90ms; }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease; mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 255, 255, 0.6), transparent 50%),
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 46%, transparent 62%);
}
[data-tilt].tilting::after { opacity: 1; }

/* ---------- Templates ---------- */
.wallet-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 72px;
  border-radius: var(--radius-xl); box-shadow: 0 0 0 1px var(--line);
  background: radial-gradient(55% 75% at 85% 20%, var(--accent-tint), transparent 70%), var(--surface);
}
.wallet-copy { display: grid; gap: 24px; justify-items: start; }
.templates { display: grid; gap: 18px; }
.templates-bar, .templates-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.templates-bar span { color: var(--text-2); }
.templates-bar b { color: var(--ink); }
.templates-foot { color: var(--text-3); font-size: 0.9375rem; }
.templates-foot [data-tpl-name] { color: var(--ink); font-weight: 600; }
.arrows { display: flex; gap: 8px; }
.templates-stage { display: grid; }
.tpl { grid-area: 1 / 1; opacity: 0; transform: translateX(24px) scale(0.98); transition: opacity 300ms ease, transform 420ms var(--ease-out); pointer-events: none; }
.tpl.on { opacity: 1; transform: none; pointer-events: auto; }
.tpl.left { transform: translateX(-24px) scale(0.98); }
.tpl .pass { max-width: 460px; margin-inline: auto; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.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: 48px; min-height: 360px;
  background: linear-gradient(110deg, var(--surface) 35%, var(--accent-tint));
}
.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); transform: rotate(-2deg);
}
.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; }
.dash-chart #fill stop { stop-color: var(--accent); }
.dash-chart #stroke stop { stop-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 { grid-column: span 3; min-height: 560px; align-content: start; background: linear-gradient(180deg, #FFFFFF, #EAEFF7); }
.mini-stack { position: relative; height: 320px; margin-top: 24px; }
.mini-stack .pass { position: absolute; left: 50%; width: 300px; translate: -50% 0; }
.mini-stack .pass:nth-child(1) { top: 0; }
.mini-stack .pass:nth-child(2) { top: 56px; }
.mini-stack .pass:nth-child(3) { top: 112px; }
.mini-stack .pass:nth-child(4) { top: 168px; }
.lock-panel { grid-column: span 3; min-height: 560px; grid-template-rows: auto 1fr; padding-bottom: 0; background: radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--night); }
.lock-device { justify-self: center; margin: 28px 0 -300px; }
.panel.small { grid-column: span 2; }

/* ---------- 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); }
.phones {
  position: relative; height: 680px; border-radius: var(--radius-xl); overflow: hidden; display: flex; justify-content: center; align-items: center;
  background: radial-gradient(50% 50% at 50% 55%, var(--accent-tint), transparent 75%), var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.phone-back, .phone-front { will-change: transform; }
.phone-back { margin-right: -56px; margin-top: -60px; }
.phone-front { margin-top: 60px; z-index: 1; }

/* ---------- 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; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 340px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 16px max(32px, calc((100vw - var(--wrap)) / 2)) 40px; 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: 14px; scroll-snap-align: start; }
.gallery figcaption { color: var(--text-2); font-size: 0.9375rem; padding-left: 4px; }

/* ---------- Uses + integrations ---------- */
.uses { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.use { grid-column: span 2; min-height: 260px; }
.use:first-child {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 26px, rgba(255, 255, 255, 0) 26px 52px),
    linear-gradient(160deg, var(--accent), var(--accent-ink));
  box-shadow: none;
}
.use:first-child h3 { color: #FFFFFF; }
.use:first-child p { color: rgba(255, 255, 255, 0.85); }
.use:first-child .ico { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.use:nth-child(4), .use:nth-child(5) { grid-column: span 3; }
.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 li {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 14px;
  background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink);
  font-weight: 650; letter-spacing: -0.01em; font-size: 1.0625rem;
}
.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: #FFFFFF; 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 {
  position: relative; isolation: isolate; background: #FFFFFF; border-radius: var(--radius-l); padding: 32px;
  display: grid; gap: 20px; grid-template-rows: auto auto auto 1fr auto; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(14, 15, 17, 0.04);
}
/* A thin light that travels around the featured plan */
.beam {
  border: 1.5px solid transparent; box-shadow: 0 30px 70px -30px var(--accent-glow);
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    conic-gradient(from var(--beam), color-mix(in srgb, var(--accent) 25%, transparent) 0deg, color-mix(in srgb, var(--accent) 25%, transparent) 230deg, var(--accent-hi) 290deg, var(--accent) 320deg, color-mix(in srgb, var(--accent) 25%, transparent) 360deg) border-box;
  animation: beam 6s linear infinite;
}
@keyframes beam { to { --beam: 360deg; } }
.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 ---------- */
.resellers {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; padding: 72px; border-radius: var(--radius-xl);
  background: radial-gradient(50% 70% at 78% 50%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%), var(--night);
}
.white-label { display: grid; place-items: center; }
.white-label .pass { width: 380px; }
.pass.yours { --bg: #FFFFFF; --fg: #0E0F11; --lb: var(--accent); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.pass.yours .brand i { background: var(--accent); color: #FFFFFF; font-family: inherit; }
.pass.yours .strip { background: linear-gradient(160deg, var(--accent-tint), color-mix(in srgb, var(--accent-tint) 40%, #FFFFFF)); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 68px; padding: 18px 24px; font-size: 1.125rem; 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 24px 22px; color: var(--text-2); max-width: 42em; }

/* ---------- Closing ---------- */
.closing { padding: 40px 0 120px; }
.closing-panel {
  position: relative; overflow: hidden; border-radius: 40px; padding: 120px 48px; text-align: center;
  display: grid; justify-items: center; gap: 24px;
}
.closing-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 50% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 75%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.2px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.closing-panel > * { position: relative; }
.closing-mark { width: 96px; height: auto; margin-bottom: 8px; }
.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; }

/* ---------- Narrower screens (the phone layout comes next) ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .story { grid-template-columns: 1fr; height: auto; gap: 24px; justify-items: center; }
  .links, .hero-beam { display: none; }
  .story { height: auto; }
  .wallet-panel, .split, .resellers, .stats-panel { grid-template-columns: 1fr; }
  .bento .panel, .pocket-panel, .lock-panel, .panel.small, .use, .use:nth-child(4), .use:nth-child(5) { grid-column: 1 / -1; }
  .plans, .trio { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Accessibility settings ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .round-btn:active { transform: none; }
  .rotator, .rotator .word, .rotator .word.out { transform: none; filter: none; transition-property: opacity; }
  .rotator .word.on { animation: none; background-position: 50% 0; }
  .tpl, .tpl.left { transform: none; }
  .js .stage { transform: none; }
  .pane, .hero-device [data-screen], .lock-notifs .notif, .add-toast { transform: none; filter: none; }
  .ln { transition: none; }
  .dash { transform: none; }
  .lang ul { animation: none; }
  .beam { animation: none; }
  .story.flowing .links path { animation: none; }
  [data-tilt] { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .dock { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass, .lang ul, .lock-notifs .notif, .add-toast { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass { background: #FFFFFF; }
}
@media (prefers-contrast: more) {
  :root { --text-2: #2E3238; --text-3: #4A4F57; --line: rgba(14, 15, 17, 0.3); }
}
