/* My Loyalty+ — brand tokens, page, consent and legal styles (built by publish.py) */
/* My Loyalty+ — shared tokens. Theme: [data-theme="dark|light"] on any element; falls back to prefers-color-scheme. */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; src: url('/fonts/InstrumentSerif-Regular.42b9b137.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; src: url('/fonts/InstrumentSans-Variable.64ac684d.woff2') format('woff2'); font-display: swap; }
:root {
  --font-display: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-ui: 'Instrument Sans', -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --radius: 14px;
  --pill: 999px;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C0C0E;
  --surface: #1C1C20;
  --text: #F5F5F7;
  --muted: #8E8E96;
  --line: rgba(255, 255, 255, .10);
  --accent: #C8A96B;
  --dot: #C8A96B;
  --ok: #2FB878;
  --err: #E5484D;
  --canvas: #050506;
  --on-primary: #0C0C0E;
  --qr-bg: #F5F5F7;
  --qr-fg: #0C0C0E;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #F5F5F7;
    --surface: #FFFFFF;
    --text: #1D1D1F;
    --muted: #6E6E73;
    --line: rgba(0, 0, 0, .10);
    --accent: #8F6F2E;
    --dot: #B8913F;
    --ok: #1E8F5A;
    --canvas: #E6E6EA;
    --on-primary: #FFFFFF;
    --qr-bg: #FFFFFF;
    --qr-fg: #1D1D1F;
  }
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --muted: #6E6E73;
  --line: rgba(0, 0, 0, .10);
  --accent: #8F6F2E;
  --dot: #B8913F;
  --ok: #1E8F5A;
  --err: #E5484D;
  --canvas: #E6E6EA;
  --on-primary: #FFFFFF;
  --qr-bg: #FFFFFF;
  --qr-fg: #1D1D1F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg { display: block; }
.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }

/* Brand mark — ring, plus, one returning dot */
.mlp-mark .ring, .mlp-mark .plus { stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
.mlp-mark .dot { fill: var(--dot); }
.mlp-mark .orbit { transform-box: view-box; transform-origin: 24px 24px; }
.mlp-mark.animate .orbit { animation: orbit 2.4s var(--ease) 1 both; }
.mlp-mark.loop .orbit { animation: orbit 2.4s var(--ease) infinite both; }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .mlp-mark.animate .orbit, .mlp-mark.loop .orbit { animation: none; }
}

/* My Loyalty+ — marketing site (mock-up). Built on the brand tokens (tokens.css): Ink, Porcelain, one Aurum accent;
   Instrument Serif for display, Instrument Sans for everything else. */
:root { --pad: clamp(22px, 5vw, 84px); --ease-out: cubic-bezier(.16, 1, .3, 1); }
* { box-sizing: border-box; }
html { background: #0C0C0E; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; }
img { height: auto; }   /* width/height attributes reserve the space; class rules below set explicit boxes where the layout needs them */
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--dot); outline-offset: 4px; border-radius: 6px; }

/* ── header ───────────────────────────────────────────────────────────── */
.top { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: 76px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between;
  color: var(--text); background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 1px 0 var(--line); transition: background .4s, color .4s; }
.top nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); font-size: 15px; }
.top nav a:not(.btn) { opacity: .78; transition: opacity .2s; } .top nav a:not(.btn):hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font: 600 16px var(--font-ui); border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease-out), background .3s, color .3s; }
.btn.solid { background: var(--text); color: var(--bg); } .btn.solid:hover { transform: translateY(-2px); }
.btn.gold { background: var(--dot); color: #0C0C0E; } .btn.gold:hover { transform: translateY(-2px); }
.btn.line { border-color: color-mix(in srgb, var(--text) 35%, transparent); } .btn.line:hover { border-color: var(--text); }
.btn.big { height: 60px; padding: 0 34px; font-size: 18px; }

/* ── scenes ───────────────────────────────────────────────────────────── */
.scene { position: relative; }
.pin { height: var(--h, 400vh); }
.stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.bg { position: absolute; inset: 0; overflow: hidden; }
.bg img, .bg video { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.shade { position: absolute; inset: 0; pointer-events: none; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; line-height: .96; margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: color-mix(in srgb, var(--text) 74%, transparent); max-width: 44ch; margin: 0; }

/* ── 1 hero ───────────────────────────────────────────────────────────── */
.hero { height: 100vh; min-height: 640px; overflow: hidden; background: #0C0C0E; }
.hero .shade { background: linear-gradient(90deg, #0C0C0Ef0 0%, #0C0C0E99 38%, #0C0C0E1a 70%, #0C0C0E55 100%), linear-gradient(0deg, #0C0C0E 0%, transparent 28%); }
.hero .inner { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.hero h1 { font-size: clamp(48px, min(6.6vw, 10.5vh), 118px); max-width: 12.5ch; }
.hero .lead.tag { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.25; color: var(--text); max-width: 24ch; }
.hero .lead.sub { margin-top: 18px; }
.nb { white-space: nowrap; }
@media (min-width: 901px) and (max-height: 700px) { .hero .lead { margin-top: 22px; } .hero .lead.sub { margin-top: 12px; } .hero .ctas { margin-top: 24px; } .hero .inner { padding-top: 56px; } section.hero .cue { display: none; } }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: rise 1.3s var(--ease-out) forwards; animation-delay: calc(.35s + var(--i) * .12s); }
.hero .lead.short { display: none; }
.hero .lead { margin-top: 34px; opacity: 0; animation: fade 1.2s ease 1.2s forwards; }
.hero .ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fade 1.2s ease 1.5s forwards; }
.hero .cue { position: absolute; z-index: 3; left: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: color-mix(in srgb, var(--text) 62%, transparent); opacity: 0; animation: fade 1.2s ease 2s forwards; }
.hero .cue i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--dot), transparent); position: relative; }
.hero .cue i::after { content: ""; position: absolute; left: -2.5px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); animation: drip 2.2s ease-in-out infinite; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }

/* ── 2 problem ────────────────────────────────────────────────────────── */
.problem { --h: 360vh; background: #0C0C0E; }
.problem .stick { display: flex; align-items: center; justify-content: center; }
.problem .lines { position: relative; z-index: 3; text-align: center; padding: 0 var(--pad); }
.problem .ln { display: block; font-size: clamp(38px, 6.6vw, 112px); opacity: .14; transition: opacity .6s, filter .6s; filter: blur(2px); }
.problem .ln.on { opacity: 1; filter: none; }
.problem .ln.gold { color: var(--dot); font-style: italic; }
.flyer { position: absolute; width: var(--w); aspect-ratio: .72; border: 1px solid color-mix(in srgb, var(--dot) 50%, transparent); border-radius: 6px; background: color-mix(in srgb, var(--dot) 6%, transparent); will-change: transform; }
.flyer::after { content: ""; position: absolute; left: 14%; top: 14%; width: 40%; height: 5%; border-radius: 2px; background: color-mix(in srgb, var(--dot) 50%, transparent); box-shadow: 0 22px 0 -1px color-mix(in srgb, var(--dot) 30%, transparent), 0 44px 0 -1px color-mix(in srgb, var(--dot) 30%, transparent); }

/* ── 3 scan (pinned phone) ────────────────────────────────────────────── */
.scan { --h: 560vh; background: #0C0C0E; }
.scan .shade { background: linear-gradient(90deg, #0C0C0Eee 0%, #0C0C0Eb0 36%, #0C0C0E40 72%, #0C0C0E73 100%), linear-gradient(0deg, #0C0C0E 0%, transparent 22%); }
.scan .bg img { opacity: 0; transition: opacity 1.1s ease; } .scan .bg img.on { opacity: 1; }
.scan .grid { position: relative; z-index: 3; height: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 var(--pad); gap: 4vw; }
.steps { position: relative; height: 260px; }
.steps .step { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .8s var(--ease-out); pointer-events: none; }
.steps .step.on { opacity: 1; transform: none; }
.steps .step h2 { font-size: clamp(54px, 7.4vw, 120px); }
.steps .step p { margin-top: 22px; }
.steps .dots { display: flex; gap: 10px; margin-top: 8px; position: absolute; bottom: -54px; left: 0; }
.steps .dots b { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--text) 24%, transparent); transition: background .4s, transform .4s; }
.steps .dots b.on { background: var(--dot); transform: scale(1.5); }
.scan .stage { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; }
.phone-wrap { position: relative; height: min(82vh, 760px); aspect-ratio: 800 / 1660; }
.phone-wrap::before { content: ""; position: absolute; inset: 2% 1%; border-radius: 17% / 8%; box-shadow: 0 40px 80px #000a; }
.phone-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s; }
.phone-wrap img.on { opacity: 1; }
.reticle { position: absolute; width: 56%; aspect-ratio: 1; left: 22%; top: 25%; pointer-events: none; opacity: 0; transition: opacity .5s; }
.reticle.on { opacity: 1; }
.reticle i { position: absolute; width: 22%; height: 22%; border: 2.5px solid var(--dot); }
.reticle i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.reticle i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }

.role { display: inline-block; margin-bottom: 26px; font-size: 14px; font-weight: 500; padding: 7px 15px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--text) 28%, transparent); color: color-mix(in srgb, var(--text) 78%, transparent); }

/* ── faces: behind every scan is a person ─────────────────────────────── */
.faces { background: #0C0C0E; padding: clamp(100px, 14vw, 210px) var(--pad) clamp(90px, 12vw, 180px); overflow: hidden; }
.faces h2 { font-size: clamp(48px, 7.6vw, 128px); max-width: 13ch; }
.faces .strip { display: grid; grid-template-columns: 1.05fr 1.35fr 1fr; gap: clamp(14px, 2vw, 30px); margin: clamp(48px, 6vw, 90px) 0; align-items: end; }
.faces figure { margin: 0; position: relative; overflow: hidden; border-radius: 28px; background: #161618; }
.faces .f1 { aspect-ratio: .8; } .faces .f2 { aspect-ratio: 1; margin-bottom: clamp(30px, 5vw, 80px); } .faces .f3 { aspect-ratio: .74; }
.faces figure img { position: absolute; left: -6%; top: -8%; width: 112%; height: 116%; object-fit: cover; will-change: transform; }
.faces .lead { max-width: 56ch; }

/* ── close the loop: the cashier's side, light and distinct ───────────── */
.loop { background: var(--bg); color: var(--text); }
.loop .stick { background: var(--bg); }
.loop .grid { height: 100%; display: grid; grid-template-columns: 1fr 1.55fr; align-items: center; padding: 0 var(--pad); gap: 3vw; }
.loop .steps h2 { font-size: clamp(50px, 6.6vw, 112px); }
.loop .stage { position: relative; height: 100vh; }
.loop .photo { position: absolute; right: 0; top: 9vh; width: 100%; height: 80vh; border-radius: 34px; overflow: hidden; background: #d9d9dd; }
.loop .photo img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; opacity: 0; transition: opacity .9s; }
.loop .photo img.on { opacity: 1; }
.loop .cap { position: absolute; left: 22px; bottom: calc(11vh + 22px); margin: 0; z-index: 3; padding: 8px 18px; border-radius: 999px; font-size: 16px; font-weight: 500; color: #fff; background: rgba(12,12,14,.58); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.18); }

/* ── 4 where it starts (horizontal reel) ─────────────────────────────── */
.reel { --h: 420vh; background: #0C0C0E; }
.reel .stick { display: flex; flex-direction: column; justify-content: center; gap: 3.5vh; padding-top: 88px; }
.reel .head { padding: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.reel .head h2 { font-size: clamp(38px, 5.2vw, 88px); max-width: 20ch; }
.reel .track { display: flex; gap: clamp(18px, 2vw, 34px); padding: 0 var(--pad); will-change: transform; }
.card { position: relative; flex: none; height: min(56vh, 580px); aspect-ratio: .8; border-radius: 26px; overflow: hidden; background: #161618; }
.card img { position: absolute; left: -10%; top: 0; width: 120%; height: 100%; object-fit: cover; will-change: transform; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0C0C0Ed0 0%, transparent 50%); }
.card .cap { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; }
.card .cap b { display: block; font: 400 clamp(26px, 2.4vw, 40px) var(--font-display); letter-spacing: -.01em; }
.card .cap span { display: block; margin-top: 6px; font-size: 15px; color: #fffa; }
.card .qr { position: absolute; z-index: 2; right: 22px; top: 22px; width: 54px; height: 54px; border-radius: 12px; background: #F5F5F7; padding: 6px; }
.card.end { background: transparent; display: flex; align-items: flex-end; width: clamp(260px, 24vw, 420px); aspect-ratio: auto; }
.card.end { overflow: visible; }
.card.end::after { display: none; }
.card.end p { font: 400 clamp(30px, 3vw, 50px)/1.12 var(--font-display); margin: 0; padding-bottom: .22em; letter-spacing: -.01em; }

/* ── 5 people ─────────────────────────────────────────────────────────── */
.people { --h: 300vh; background: #0C0C0E; }
.people .shade { background: linear-gradient(0deg, #0C0C0Ef5 0%, #0C0C0Ee0 30%, #0C0C0E80 52%, transparent 74%), linear-gradient(180deg, #0C0C0E 0%, transparent 18%); }
.people .copy { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 9vh; max-width: 1180px; }
.people .copy h2 { font-size: clamp(44px, 6.6vw, 112px); max-width: 15ch; }
.people .facts { margin-top: 30px; display: grid; gap: 12px; }
.people .facts p { margin: 0; display: flex; gap: 16px; align-items: baseline; font-size: clamp(18px, 1.7vw, 26px); opacity: .12; transition: opacity .7s; }
.people .facts p.on { opacity: 1; }
.people .facts p i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: none; transform: translateY(-2px); }
.floaters { position: absolute; right: var(--pad); bottom: 7vh; width: min(30vw, 440px); height: min(52vh, 470px); z-index: 3; }
.floaters img { position: absolute; width: min(14.5vw, 214px); filter: drop-shadow(0 30px 60px #000b); }

/* ── 6 network ────────────────────────────────────────────────────────── */
.network { --h: 320vh; background: #0C0C0E; }
.network .shade { background: radial-gradient(80% 80% at 50% 50%, #0C0C0E55, #0C0C0Ed0 100%); }
.network .copy { position: absolute; z-index: 4; left: var(--pad); top: 50%; transform: translateY(-50%); max-width: 640px; }
.network .copy h2 { font-size: clamp(48px, 7.6vw, 124px); }
.network .copy .lead { margin-top: 26px; }
.constellation { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
.constellation line { stroke: var(--dot); stroke-width: 1; opacity: .55; }
.constellation circle.n { fill: var(--dot); } .constellation circle.halo { fill: var(--dot); opacity: .18; }
.constellation text { fill: #F5F5F7; font: 500 15px var(--font-ui); }
.constellation .tagbg { fill: #0C0C0Eb3; stroke: #fff3; }
.constellation circle.walker { fill: #fff; filter: drop-shadow(0 0 10px var(--dot)); }

/* ── 7 for business (light) ───────────────────────────────────────────── */
.biz { background: var(--bg); color: var(--text); padding: clamp(90px, 14vw, 200px) var(--pad); overflow: hidden; position: relative; }
.biz .row { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.biz h2 { font-size: clamp(52px, 7.4vw, 124px); }
.biz .list { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 38px 40px; }
.biz .list h3 { margin: 0 0 8px; font: 600 19px var(--font-ui); } .biz .list p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.biz .list svg { width: 34px; height: 34px; stroke: var(--text); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.biz .visual { position: relative; height: min(78vw, 760px); }
.biz .owner { position: absolute; left: 0; top: 4%; width: 58%; aspect-ratio: .78; border-radius: 28px; overflow: hidden; background: #ddd; }
.biz .owner img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.biz .ph { position: absolute; filter: drop-shadow(0 30px 50px #0004); }
.biz .ph.a { right: 0; top: 0; width: 38%; } .biz .ph.b { right: 24%; bottom: 0; width: 34%; }
.biz .cta { margin-top: 56px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.biz .fine { font-size: 14px; color: var(--muted); }

/* ── 8 return (the ring) ──────────────────────────────────────────────── */
.again { background: #0C0C0E; padding: clamp(80px, 12vw, 180px) var(--pad); position: relative; overflow: hidden; }
.again .row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.again .ring { position: relative; width: min(46vw, 660px); aspect-ratio: 1; margin: 0 auto; }
.again .ring .lens { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: #181816; }
.again .ring .lens img { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; object-fit: cover; will-change: transform; }
.again .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.again .ring circle.track { fill: none; stroke: color-mix(in srgb, var(--text) 55%, transparent); stroke-width: 1.2; }
.again .ring .orb { transform-origin: 50% 50%; transform-box: fill-box; }
.again h2 { font-size: clamp(46px, 6.6vw, 112px); }
.again .lead { margin-top: 28px; }

/* ── 9 closing + contact ──────────────────────────────────────────────── */
.closing { position: relative; min-height: 100vh; overflow: hidden; background: #0C0C0E; display: flex; align-items: center; }
.closing .shade { background: linear-gradient(270deg, #0C0C0Ee8 0%, #0C0C0E80 55%, #0C0C0E33 100%), linear-gradient(0deg, #0C0C0E 0%, transparent 24%); }
.closing .copy { position: relative; z-index: 3; margin-left: auto; width: min(100%, 880px); padding: 150px var(--pad) 120px; }
.closing h2 { font-size: clamp(46px, 7vw, 120px); }
.closing .lead { margin: 26px 0 0; max-width: 34em; color: #ffffffb3; }
.cform { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; max-width: 720px; }
.cform .wide { grid-column: 1 / -1; }
.cform label { display: grid; gap: 8px; font-size: 14px; color: #ffffffa6; }
.cform label em { font-style: normal; } .cform label em span { color: #ffffff6b; margin-left: 6px; }
.cform input:not([type=checkbox]), .cform select, .cform textarea { width: 100%; box-sizing: border-box; font: 400 17px var(--font-ui); color: #fff; background: #ffffff0f; border: 1px solid #ffffff24; border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s, background .2s; }
.cform select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffffff99' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.cform select option { color: #0C0C0E; }
.cform textarea { resize: vertical; min-height: 88px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: #ffffff80; background: #ffffff14; }
.cform .bad { border-color: #e48a8a !important; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: #ffffffa6; }
.cform .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fff; flex: none; }
.cform .check span { margin: 0; color: inherit; } .cform .check a { color: #fff; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; }
.cform .row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.cform .status { margin: 0; font-size: 15px; color: #ffffffb3; }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; flex-wrap: wrap; padding: 22px var(--pad); background: #0C0C0E; color: #ffffffb3; font-size: 14px; border-top: 1px solid #ffffff1f; }
.legal b { font-weight: 600; color: #fff; } .legal .links { display: flex; align-items: center; gap: 20px; } .legal .links i { width: 1px; height: 16px; background: #ffffff3d; } .legal a { font-weight: 500; color: #fff; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; transition: text-decoration-color .2s; } .legal a:hover { text-decoration-color: #fff; }
.foot { background: #0C0C0E; padding: 56px var(--pad) 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--text); }
.foot .meta { font-size: 14px; color: var(--muted); display: flex; gap: 26px; flex-wrap: wrap; }

/* ── thread: one gold dot, the returning customer, travels the whole page ─ */
.thread { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; }
.thread path.base { fill: none; stroke: var(--dot); stroke-width: 1; opacity: .16; }
.thread path.done { fill: none; stroke: var(--dot); stroke-width: 1.6; opacity: .85; }
.thread circle { fill: var(--dot); filter: drop-shadow(0 0 12px var(--dot)); }

@media (max-width: 900px) {
  .cform { grid-template-columns: 1fr; }
  .faces .strip { grid-template-columns: 1fr; } .faces .f2 { margin-bottom: 0; }
  .loop .grid { grid-template-columns: 1fr; align-content: start; padding-top: 12vh; } .loop .stage { height: 52vh; } .loop .photo { width: 100%; top: 0; height: 40vh; } .loop .cap { bottom: auto; top: calc(40vh - 52px); left: 14px; font-size: 14px; }
  .top nav a:not(.btn) { display: none; }
  .scan .grid { grid-template-columns: 1fr; align-content: center; gap: 2vh; }
  .steps { height: 240px; } .steps .step h2 { font-size: 50px; }
  .loop .steps { height: 210px; } .loop .steps h2 { font-size: clamp(40px, 11vw, 50px); } .loop .steps .step p { margin-top: 14px; }
  .loop .grid { padding-top: 11vh; gap: 10px; }
  .scan .stage { height: auto; } .phone-wrap { height: 46vh; }
  .biz .row, .again .row { grid-template-columns: 1fr; } .biz .list { grid-template-columns: 1fr; }
  .again .ring { width: 86vw; } .floaters { display: none; } .thread { display: none; }
  .network .copy { top: 34%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w > span, .hero .lead, .hero .ctas, .hero .cue { animation: none; transform: none; opacity: 1; }
  .thread { display: none; }
}

/* ── phones and small screens ─────────────────────────────────────────── */
@supports (height: 100svh) { .stick { height: 100svh; } .loop .stage { height: 100svh; } }
@media (max-width: 900px) {
  /* hero: the photo fills the first screen, one short headline on a black fade */
  .hero { height: 100svh; min-height: 600px; display: block; }
  .hero .inner { height: 100%; justify-content: flex-start; padding: 112px var(--pad) 0; }
  .hero h1 { font-size: clamp(38px, 10.2vw, 66px); max-width: 11ch; }
  .hero .lead, .hero .ctas { display: none; }
  .hero .lead.short { display: block; margin-top: 18px; max-width: 24em; font-size: 19px; line-height: 1.4; color: #fff; }
  .hero .cue { display: flex; bottom: 26px; }
  .hero .shade { display: block; background: linear-gradient(180deg, #0C0C0E 0%, #0C0C0Ef2 20%, #0C0C0Ed9 40%, #0C0C0E40 58%, #0C0C0E00 74%), linear-gradient(0deg, #0C0C0E 0%, #0C0C0E00 22%); }
  .hero .bg img { top: 0; height: 100%; object-position: 64% 50%; }
  .display, .problem .ln { text-wrap: balance; }
  /* reel: headline right under the previous section, not centred in a full-height pin */
  .faces { padding-bottom: 8px; }
  .reel .stick { justify-content: flex-start; padding-top: 84px; gap: 24px; }
  .reel .card { height: min(66vh, 122vw); }
  /* register scene: keep each phone in frame */
  .loop .photo img:nth-child(1) { object-position: 62% 50%; } .loop .photo img:nth-child(2) { object-position: 60% 50%; }
  .loop .photo img:nth-child(3) { object-position: 46% 50%; } .loop .photo img:nth-child(4) { object-position: 40% 50%; }
  /* people: show the faces, not just the lights */
  .people .bg img { object-position: 26% 50%; }
  .people .copy { padding-bottom: 7vh; } .people .copy h2 { font-size: clamp(40px, 11.5vw, 58px); }
  /* network: the doors sit in the right half of the map, so crop to them and show the whole group above the copy */
  .network .constellation { inset: 78px 0 auto 0; height: 52%; } .constellation text { font-size: 24px; }
  /* network: copy at the bottom so the map labels never sit on the headline */
  .network .shade { background: linear-gradient(0deg, #0C0C0E 0%, #0C0C0Ee6 38%, #0C0C0E40 66%, #0C0C0E26 100%); }
  .network .copy { top: auto; bottom: 7vh; transform: none; left: var(--pad); right: var(--pad); max-width: none; }
  .network .copy h2 { font-size: clamp(42px, 12.5vw, 60px); }
  /* register scene: taller photo */
  .loop .stage { height: 56vh; } .loop .photo { height: 50vh; } .loop .cap { top: calc(50vh - 56px); }
  /* business: phones sit inside their own box */
  .biz .visual { height: 104vw; margin-top: 48px; }
  .biz .ph.a { width: 40%; } .biz .ph.b { width: 36%; right: 26%; }
  .biz h2, .again h2 { font-size: clamp(40px, 11.5vw, 58px); }
  .biz .cta { margin-top: 40px; }
  .closing .copy { padding: 120px var(--pad) 80px; } .closing h2 { font-size: clamp(42px, 12vw, 60px); }
  .legal { padding: 22px var(--pad) 30px; }
}
@media (min-width: 600px) and (max-width: 900px) { .loop .photo { height: 54vh; } .loop .stage { height: 60vh; } .loop .cap { top: calc(54vh - 56px); } }
@media (max-width: 480px) { .btn.big { height: 54px; padding: 0 26px; font-size: 17px; } .cform .row .btn { width: 100%; justify-content: center; } }

/* ── phones: header, problem spacing, register scene that fits one screen ─ */
.top { transition: background .4s, color .4s, height .3s var(--ease-out); }
.top > a:first-child { display: flex; align-items: center; align-self: stretch; line-height: 0; }
@media (max-width: 900px) {
  .top { height: 64px; } .top.min { height: 48px; }
  .top .btn { height: 36px; padding: 0 16px; font-size: 14px; }
  .top.min .btn { height: 32px; }
  .hero .inner { padding-top: 96px; }
  /* problem: less dead space before the faces */
  .problem { --h: 300vh; margin-bottom: -28svh; }
  .faces { position: relative; z-index: 2; padding-top: 44px; }
  /* register: header, text, photo and caption all fit inside one screen */
  .loop .stick { height: 100svh; }
  .loop .grid { display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: stretch; height: 100%; padding: 72px var(--pad) 56px; gap: 12px; }
  .loop .role { margin-bottom: 12px; }
  .loop .steps { height: 196px; } .loop .steps .dots { display: none; }
  .loop .stage { height: 100%; min-height: 0; }
  .loop .photo { top: 0; height: 100%; }
  .loop .cap { top: auto; bottom: 14px; left: 14px; }
}

/* ── language toggle (EN | ES) ─────────────────────────────────────────── */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid color-mix(in srgb, var(--text) 28%, transparent); border-radius: 999px; }
.lang button { font: 600 12px/1 var(--font-ui); letter-spacing: .08em; min-width: 36px; height: 30px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: inherit; opacity: .72; cursor: pointer; transition: background .25s, color .25s, opacity .2s; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); opacity: 1; cursor: default; }
@media (max-width: 900px) {
  .top nav { gap: 12px; }
  .lang button { height: 26px; min-width: 32px; padding: 0 8px; font-size: 11.5px; }
  .top.min .lang button { height: 24px; }
}

/* My Loyalty+ — cookie consent skin for vanilla-cookieconsent v3 (loaded after vendor/cookieconsent.css).
   Ink surface, one gold accent, Instrument Sans, small radii; every control keeps a 44px target. */
#cc-main {
  --cc-font-family: var(--font-ui);
  --cc-z-index: 100;
  --cc-bg: #1C1C20;
  --cc-primary-color: #F5F5F7;
  --cc-secondary-color: #B4B4BC;
  --cc-modal-border-radius: 8px;
  --cc-btn-border-radius: 6px;
  --cc-pm-toggle-border-radius: 999px;
  --cc-modal-margin: 16px;
  --cc-overlay-bg: rgba(5, 5, 6, .72);
  --cc-link-color: #C8A96B;
  --cc-btn-primary-bg: #C8A96B; --cc-btn-primary-border-color: #C8A96B; --cc-btn-primary-color: #0C0C0E;
  --cc-btn-primary-hover-bg: #D6BC86; --cc-btn-primary-hover-border-color: #D6BC86; --cc-btn-primary-hover-color: #0C0C0E;
  --cc-btn-secondary-bg: transparent; --cc-btn-secondary-border-color: rgba(255, 255, 255, .34); --cc-btn-secondary-color: #F5F5F7;
  --cc-btn-secondary-hover-bg: rgba(255, 255, 255, .08); --cc-btn-secondary-hover-border-color: #F5F5F7; --cc-btn-secondary-hover-color: #F5F5F7;
  --cc-separator-border-color: rgba(255, 255, 255, .12);
  --cc-toggle-on-bg: #C8A96B; --cc-toggle-off-bg: #55555E; --cc-toggle-on-knob-bg: #0C0C0E; --cc-toggle-off-knob-bg: #F5F5F7;
  --cc-toggle-enabled-icon-color: #C8A96B; --cc-toggle-disabled-icon-color: #55555E;
  --cc-toggle-readonly-bg: #3A3A42; --cc-toggle-readonly-knob-bg: #8E8E96; --cc-toggle-readonly-knob-icon-color: #3A3A42;
  --cc-cookie-category-block-bg: transparent; --cc-cookie-category-block-border: transparent;
  --cc-cookie-category-block-hover-bg: rgba(255, 255, 255, .04); --cc-cookie-category-block-hover-border: transparent;
  --cc-cookie-category-expanded-block-bg: transparent; --cc-cookie-category-expanded-block-hover-bg: rgba(255, 255, 255, .04);
  --cc-section-category-border: transparent;
  --cc-footer-bg: #1C1C20; --cc-footer-color: #B4B4BC; --cc-footer-border-color: rgba(255, 255, 255, .12);
  color-scheme: dark;
  font-family: var(--font-ui);
}
#cc-main .cm, #cc-main .pm { border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
#cc-main .cm { max-width: 400px; }
#cc-main .cm__title, #cc-main .pm__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: -.01em; line-height: 1.15; color: #F5F5F7; }
#cc-main .cm__desc, #cc-main .pm__section-desc, #cc-main .pm__section:not(.pm__section--toggle) .pm__section-desc { font-size: 14px; line-height: 1.55; color: #B4B4BC; }
#cc-main .pm__section-title { font-weight: 600; font-size: 15px; color: #F5F5F7; }
#cc-main .cm__btn, #cc-main .pm__btn { min-height: 44px; font: 600 14px var(--font-ui); border-radius: 6px; padding: 0 16px; }
#cc-main a.cc__link, #cc-main .cm__desc a, #cc-main .pm__section-desc a { color: #C8A96B; text-decoration: underline; text-underline-offset: 3px; background-image: none; }
#cc-main .cm__btn:focus-visible, #cc-main .pm__btn:focus-visible, #cc-main .pm__close:focus-visible, #cc-main a:focus-visible, #cc-main .section__toggle:focus-visible ~ .toggle__icon, #cc-main .pm__section-arrow:focus-visible { outline: 2px solid #C8A96B; outline-offset: 3px; }
#cc-main .pm__section--toggle { border-top: 1px solid var(--cc-separator-border-color); border-radius: 0; }
#cc-main .section__toggle-wrapper:has(input.section__toggle[disabled]) { width: auto; height: auto; }
#cc-main .section__toggle-wrapper:has(input.section__toggle[disabled]) .toggle__icon { display: none; }
#cc-main .section__toggle-wrapper:has(input.section__toggle[disabled])::after { content: 'Always active'; display: inline-block; font: 600 11.5px/1 var(--font-ui); color: #C8A96B; border: 1px solid rgba(200, 169, 107, .45); border-radius: 999px; padding: 7px 10px; white-space: nowrap; }
html[lang="es"] #cc-main .section__toggle-wrapper:has(input.section__toggle[disabled])::after { content: 'Siempre activas'; }
/* compact banner: Allow and Reject share one row, Manage sits below, so little of the page (and the form) is covered */
#cc-main .cm .cm__btns { padding: 12px 0 0 !important; gap: 8px; border: 0; max-width: none; flex-direction: column; }
#cc-main .cm .cm__title, #cc-main .cm .cm__desc { padding: 0 !important; margin-left: 0; margin-right: 0; }
#cc-main .cm .cm__title { margin-bottom: 8px; }
#cc-main .cm .cm__desc { margin-bottom: 14px; }
#cc-main .cm .cm__btn-group { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px; grid-template-columns: none; width: 100%; }
#cc-main .cm .cm__btn-group .cm__btn { flex: 1 1 calc(50% - 4px) !important; width: auto; min-width: 0; margin: 0 !important; align-self: stretch; }
#cc-main .cm .cm__btn-group .cm__btn--secondary { flex-basis: 100% !important; }
#cc-main .cm .cm__body { padding: 0; }
#cc-main .cm .cm__texts { padding: 0; }
#cc-main .cm { padding: 18px 18px 18px; }
@media (max-width: 600px) {
  #cc-main .cm { max-width: none; padding: 14px 16px 16px; }
  #cc-main .cm__title { font-size: 20px; }
  #cc-main .cm__desc { font-size: 13px; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { #cc-main, #cc-main * { transition: none !important; animation: none !important; } }

/* reCAPTCHA: its badge is replaced by the disclosure line under the form button (allowed by Google when the text is shown) */
.grecaptcha-badge { visibility: hidden; }
.cform .fine { margin: 0; font-size: 13px; line-height: 1.5; color: #ffffff8c; }
.cform .fine a { color: #ffffffbf; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; }
.legal button { font: 500 14px var(--font-ui); color: #fff; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 3px; min-height: 24px; }
.legal button:hover { text-decoration-color: #fff; }
.legal .links { flex-wrap: wrap; }
@media (max-width: 900px) { .legal a, .legal button { display: inline-flex; align-items: center; min-height: 44px; } .legal .links i { display: none; } .legal .links { gap: 4px 20px; } }

/* while the cookie banner is open the page keeps room below its last line (--cc-h is set by site.js), and the form status is never hidden under it */
html.show--consent body { padding-bottom: var(--cc-h, 0px); }
.cform .status { scroll-margin: 96px 0 calc(var(--cc-h, 0px) + 16px); min-height: 1.5em; }

/* My Loyalty+ — legal pages (/privacy/, /terms/, /cookies/ and the Spanish twins): same header, footer and theme as the home page, readable text. */
body.doc { overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
body.doc .docmain { flex: 1 0 auto; width: 100%; }
body.doc .top nav { gap: clamp(12px, 2.4vw, 32px); }
body.doc .top .lang a { display: inline-flex; align-items: center; justify-content: center; font: 600 12px/1 var(--font-ui); letter-spacing: .08em; min-width: 36px; height: 30px; padding: 0 9px; border-radius: 999px; opacity: .72; }
body.doc .top .lang a:hover { opacity: 1; }
body.doc .top .lang a[aria-current="true"] { background: var(--text); color: var(--bg); opacity: 1; }
.docmain { padding: calc(76px + clamp(36px, 7vw, 88px)) var(--pad) clamp(56px, 8vw, 110px); }
.docwrap { max-width: 760px; margin: 0 auto; }
.docwrap h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; line-height: 1; font-size: clamp(44px, 7vw, 76px); margin: 0 0 18px; text-wrap: balance; }
.docwrap .updated { margin: 0 0 clamp(28px, 4vw, 48px); color: var(--muted); font-size: 15px; }
.docwrap { font-size: 17.5px; line-height: 1.7; color: color-mix(in srgb, var(--text) 88%, transparent); }
.docwrap h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(28px, 3.4vw, 38px); color: var(--text); margin: 2.2em 0 .5em; scroll-margin-top: 96px; }
.docwrap h3 { font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--text); margin: 1.8em 0 .4em; scroll-margin-top: 96px; }
.docwrap p, .docwrap ul, .docwrap ol { margin: 0 0 1.1em; }
.docwrap ul, .docwrap ol { padding-left: 1.3em; } .docwrap li { margin: .3em 0; } .docwrap li::marker { color: var(--accent); }
.docwrap a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.docwrap a:hover { text-decoration-color: var(--accent); }
.docwrap strong { color: var(--text); font-weight: 600; }
.docwrap hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.docwrap blockquote { margin: 0 0 1.2em; padding: .2em 0 .2em 1.1em; border-left: 2px solid var(--accent); color: var(--muted); }
.docwrap .tablewrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 8px; }
.docwrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.5px; line-height: 1.5; }
.docwrap th, .docwrap td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.docwrap th { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--text) 5%, transparent); }
.docwrap tr:last-child td { border-bottom: 0; }
.docwrap code { font: 500 .92em ui-monospace, SFMono-Regular, Menlo, monospace; background: color-mix(in srgb, var(--text) 9%, transparent); padding: .1em .35em; border-radius: 4px; }
.docwrap mark.unresolved { background: #E5484D; color: #fff; padding: 0 .3em; border-radius: 3px; font: 600 .85em ui-monospace, Menlo, monospace; }
body.doc .legal { margin-top: 0; }
@media (max-width: 900px) { body.doc .top .lang a { height: 26px; min-width: 32px; padding: 0 8px; font-size: 11.5px; } .docwrap { font-size: 17px; } }
