/* "Counter top" theme. Loaded last. Turns the base components into outlined paper objects
   and adds the objects that are unique to this site: receipt, sticker sheet, tickets, hang tags, scratch card. */

html { font-synthesis: none; }
body { background: var(--page); font-weight: 450; }
::selection { background: var(--ink); color: var(--sun); }

h1, h2, .h1, .h2, .display {
  font-family: var(--font-display); font-weight: 400; letter-spacing: var(--tracking-display);
  font-variation-settings: normal; line-height: var(--leading-tight);
}
h3, h4, .h3, .h4 { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.015em; font-variation-settings: normal; line-height: 1.12; }
.lead { color: var(--ink); opacity: 0.86; font-weight: 500; }
.band-dark .lead, .bg-blue .lead, .bg-ink .lead, .bg-grape .lead { color: #fff; opacity: 0.92; }
strong { font-weight: 750; }

/* Things the old design had that this one does not */
.kicker, .cta-band__blob, .footer__word, .hero__scroll, .moment__glow { display: none !important; }

/* ---------- Section colours and cut-paper edges ---------- */
.bg-sun { --bg: var(--sun); background: var(--sun); color: var(--ink); }
.bg-paper { --bg: var(--paper); background: var(--paper); color: var(--ink); }
.bg-blue { --bg: var(--blue); background: var(--blue); color: #fff; }
.bg-pink { --bg: var(--pink-panel); background: var(--pink-panel); color: var(--ink); }
.bg-sky { --bg: var(--sky); background: var(--sky); color: var(--ink); }
.bg-coral { --bg: var(--coral); background: var(--coral); color: var(--ink); }
.bg-grape { --bg: var(--grape); background: var(--grape); color: #fff; }
.bg-ink { --bg: var(--ink); background: var(--ink); color: #fff; }
.band-white { --bg: var(--paper); }
.band-dark { --bg: var(--blue); }
.cut { position: relative; }
.cut::before {
  content: ''; position: absolute; left: 0; right: 0; top: -17px; height: 18px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(135deg, transparent 50%, var(--bg) 50.5%) 0 0 / 26px 18px repeat-x,
    linear-gradient(225deg, transparent 50%, var(--bg) 50.5%) 0 0 / 26px 18px repeat-x;
}
.cut--wave::before {
  top: -23px; height: 24px;
  background: radial-gradient(circle at 50% 100%, var(--bg) 70%, transparent 72%) 0 0 / 40px 24px repeat-x;
}

/* ---------- Inline word labels ---------- */
.lbl {
  display: inline-block; padding: 0.02em 0.28em 0.08em; margin: 0 0.04em;
  border: var(--line) solid var(--ink); border-radius: 0.32em;
  background: var(--pink); color: var(--ink);
  transform: rotate(-2deg); box-shadow: var(--drop-sm);
  line-height: 1;
}
.lbl--blue { background: var(--blue); color: #fff; transform: rotate(1.5deg); }
.lbl--coral { background: var(--coral); transform: rotate(-1deg); }
.lbl--sun { background: var(--sun); transform: rotate(2deg); }
.lbl--paper { background: var(--paper); transform: rotate(-1.5deg); }
.lbl--sky { background: var(--sky); transform: rotate(1deg); }
.page-tag {
  display: inline-block; justify-self: start;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem; border: var(--line) solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper); box-shadow: var(--drop-sm); transform: rotate(-2deg);
}

/* ---------- Buttons: chunky, pressable ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  border: var(--line) solid var(--ink); box-shadow: var(--drop);
  font-family: var(--font-body); font-weight: 750; letter-spacing: -0.01em;
  transition: box-shadow 0.18s var(--ease-out), translate 0.18s var(--ease-out), background-color 0.2s, color 0.2s, transform 0.25s var(--ease-out);
}
.btn:hover { --btn-bg: var(--ink-soft); box-shadow: 7px 7px 0 var(--ink); translate: -2px -2px; }
.btn:active { box-shadow: 0 0 0 var(--ink); translate: 5px 5px; transform: none; }
.btn--accent { --btn-bg: var(--coral); --btn-fg: var(--ink); }
.btn--accent:hover { --btn-bg: #ff6a50; }
.btn--ghost, .band-dark .btn--ghost, .nav--dark .btn--ghost { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-ring: var(--ink); }
.btn--ghost:hover, .band-dark .btn--ghost:hover, .nav--dark .btn--ghost:hover { --btn-bg: var(--sun-soft); --btn-ring: var(--ink); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); }
.btn--sun:hover { --btn-bg: #ffe066; }
.btn--blue { --btn-bg: var(--blue); --btn-fg: #fff; }
.btn--blue:hover { --btn-bg: var(--blue-deep); }
.btn--sm { box-shadow: var(--drop-sm); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn--xl { min-height: 4.25rem; padding: 0.9rem 1.7rem; font-size: 1.25rem; border-radius: 1.4rem; display: inline-grid; grid-auto-flow: row; justify-items: start; gap: 0.1rem; text-align: left; line-height: 1.1; }
.btn--xl small { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.8; }
.btn--xl .btn__arrow { width: 1.2em; height: 1.2em; }
.btn--stamp::after { border-color: var(--ink); border-width: 2px; inset: -9px; }
.audience--merchant .btn, .audience--customer .btn, .tier--featured .btn { --btn-bg: var(--ink); --btn-fg: #fff; }
.text-link, .band-dark .text-link { color: inherit; font-weight: 750; background-size: 100% 3px; }
.text-link:hover { background-size: 0% 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bg-blue :focus-visible, .bg-ink :focus-visible, .bg-grape :focus-visible, .band-dark :focus-visible, .footer :focus-visible { outline-color: var(--sun); }

/* ---------- Tags ---------- */
.tag { border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-weight: 600; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; }
.tag--soon { background: var(--paper); border-style: dashed; color: var(--ink); }
.tag--soon::before { background: var(--coral); }
.tag--lime { background: var(--sun); color: var(--ink); }
.tag--outline, .band-dark .tag--outline { background: transparent; border-color: currentColor; color: inherit; }

/* ---------- Every surface becomes an outlined paper object ---------- */
.card, .feature, .faq, .tier, .contact__card, .contact__form, .progress-demo, .hud__card, .trust__item, .soon__item,
.mini-dash, .branch, .campaign-card, .pricing-note, .cta-band, .audience, .roadmap__item, .how__stage, .form-success, .wallet__one {
  border: var(--line) solid var(--ink);
  box-shadow: var(--drop);
}
.soon__item { border-style: dashed; box-shadow: none; background: transparent; }
.soon__item svg { color: var(--ink); }
.soon__item p { color: var(--ink); }
.feature:hover { box-shadow: var(--drop-lg); transform: translate(-3px, -3px) rotate(-0.6deg); }
.ph { border: 2.5px dashed var(--ink); background: repeating-linear-gradient(-45deg, rgba(20, 26, 61, 0.07) 0 8px, transparent 8px 18px), var(--paper); color: var(--ink); font-family: var(--font-mono); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.03em; }
.band-dark .ph, .card--dark .ph, .bg-blue .ph, .bg-ink .ph { border-color: #fff; color: #fff; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 0 8px, transparent 8px 18px), transparent; }
.ph--inline { font-size: 0.78em; }
.ph--photo, .ph--photo-wide { box-shadow: var(--drop); transform: rotate(1.5deg); }
.ph--screen { box-shadow: var(--drop); transform: rotate(-2deg); border-radius: 2rem; }
.hairline { border-top: var(--line) solid currentColor; opacity: 1; }

/* Reveal: things get slapped onto the counter rather than fading up */
.js [data-reveal] { opacity: 0; transform: scale(0.9) rotate(-3deg) translateY(14px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.75s var(--ease-pop); }
.js .ph--photo[data-reveal].is-in, .js [data-reveal].is-in > .ph--photo { transform: rotate(1.5deg); }

/* ---------- Navigation ---------- */
.nav, .nav--dark { background: transparent; color: var(--ink); padding-block: var(--s-3); }
.nav.is-scrolled, .nav--dark.is-scrolled { background: var(--blue); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 var(--line) 0 var(--ink); }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0; }
.brand .ph--logo { background: var(--paper); transform: rotate(-4deg); box-shadow: var(--drop-sm); border-style: solid; }
.nav__links { gap: var(--s-2); }
.nav__link { font-weight: 700; opacity: 1; border: 2.5px solid transparent; padding: 0.4rem 0.8rem; transition: background-color 0.15s, border-color 0.15s, transform 0.3s var(--ease-pop); }
.nav__link:hover, .nav--dark .nav__link:hover { background: var(--paper); border-color: var(--ink); transform: rotate(-2deg); }
.nav__link[aria-current='page'], .nav--dark .nav__link[aria-current='page'] { background: var(--ink); color: var(--sun); border-color: var(--ink); }
.nav__burger, .sound-toggle, .nav--dark .nav__burger, .nav--dark .sound-toggle { background: var(--paper); border: var(--line) solid var(--ink); box-shadow: var(--drop-sm); color: var(--ink); }
.sound-toggle[aria-pressed='true'] { background: var(--pink); }
.menu { background: var(--blue); color: #fff; }
.menu__link { font-family: var(--font-display); font-weight: 400; border-bottom: var(--line) solid rgba(255, 255, 255, 0.35); }
.menu__close { background: var(--sun); color: var(--ink); border: var(--line) solid var(--ink); }
.menu__note { color: #fff; opacity: 0.85; }

/* ---------- Stamps: every ink a different colour ---------- */
.stamp { border: 2.5px dashed var(--ink); color: var(--ink); }
.stamp--dark { border-color: currentColor; color: inherit; }
.stamp__ink { background: var(--coral); color: var(--ink); }
.stamp__ink::before { border-color: rgba(20, 26, 61, 0.55); border-width: 2px; }
.stamp__ink::after { border-color: var(--ink); }
.lcard__stamps .stamp:nth-child(5n + 1) .stamp__ink, .hud__slots li:nth-child(6n + 1) .stamp__ink, .progress-demo .stamp:nth-child(5n + 1) .stamp__ink, .cta-band__stamps .stamp:nth-child(1) .stamp__ink { background: var(--coral); }
.lcard__stamps .stamp:nth-child(5n + 2) .stamp__ink, .hud__slots li:nth-child(6n + 2) .stamp__ink, .progress-demo .stamp:nth-child(5n + 2) .stamp__ink, .cta-band__stamps .stamp:nth-child(2) .stamp__ink { background: var(--blue); color: #fff; }
.lcard__stamps .stamp:nth-child(5n + 3) .stamp__ink, .hud__slots li:nth-child(6n + 3) .stamp__ink, .progress-demo .stamp:nth-child(5n + 3) .stamp__ink, .cta-band__stamps .stamp:nth-child(3) .stamp__ink { background: var(--pink); }
.lcard__stamps .stamp:nth-child(5n + 4) .stamp__ink, .hud__slots li:nth-child(6n + 4) .stamp__ink, .progress-demo .stamp:nth-child(5n + 4) .stamp__ink, .cta-band__stamps .stamp:nth-child(4) .stamp__ink { background: var(--grape); color: #fff; }
.lcard__stamps .stamp:nth-child(5n + 5) .stamp__ink, .hud__slots li:nth-child(6n + 5) .stamp__ink, .hud__slots li:nth-child(6n + 6) .stamp__ink, .progress-demo .stamp:nth-child(5n + 5) .stamp__ink, .cta-band__stamps .stamp:nth-child(5) .stamp__ink { background: var(--sun); color: var(--ink); }
.stamp--orange .stamp__ink { color: var(--ink); }
.marquee__item .stamp { border: var(--line) solid var(--ink); }
.marquee__item:nth-child(5n + 1) .stamp__ink { background: var(--coral); }
.marquee__item:nth-child(5n + 2) .stamp__ink { background: var(--blue); }
.marquee__item:nth-child(5n + 3) .stamp__ink { background: var(--paper); }
.marquee__item:nth-child(5n + 4) .stamp__ink { background: var(--grape); }
.marquee__item:nth-child(5n + 5) .stamp__ink { background: var(--sky); }

/* ---------- Loyalty card ---------- */
.lcard { border: var(--line) solid var(--ink); box-shadow: var(--drop-lg); border-radius: var(--r-cut); --lcard-bg: var(--paper); }
.lcard--dark { --lcard-bg: var(--blue); --lcard-fg: #fff; }
.lcard--lime { --lcard-bg: var(--sun); }
.lcard--orange { --lcard-bg: var(--coral); --lcard-fg: var(--ink); }
.lcard__name { font-weight: 800; font-size: 1.05rem; }
.lcard__kind, .lcard__sub { opacity: 0.8; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.02em; }
.lcard__mark { border: 2.5px solid var(--ink); background: var(--sun); }
.lcard--dark .lcard__mark { background: var(--sun); color: var(--ink); }
.lcard__gloss { display: none; }
.ring__track { stroke: rgba(20, 26, 61, 0.18); }
.ring__bar, .lcard--dark .ring__bar { stroke: var(--coral); stroke-width: 4; }
.lcard--dark .ring__track { stroke: rgba(255, 255, 255, 0.3); }

/* ---------- Visit card HUD ---------- */
.hud__card { background: var(--paper); border-radius: var(--r-cut); transform: rotate(-1.5deg); }
.hud__title { font-weight: 800; }
.hud__title svg { color: var(--coral); }
.hud__count { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }
.hud__msg { color: var(--ink); opacity: 0.8; }
.hud__reward { background: var(--coral); border: 2.5px solid var(--ink); font-weight: 800; }
.hud__toggle { background: var(--paper) !important; color: var(--ink) !important; border: var(--line) solid var(--ink); box-shadow: var(--drop); font-weight: 800; }
.hud__toggle .stamp { border-color: var(--ink) !important; }
.hud.is-complete .hud__toggle { background: var(--coral) !important; }

/* ---------- Cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor.is-dark { border: 2.5px solid var(--ink); mix-blend-mode: normal; }
  .cursor::after, .cursor.is-dark::after { background: var(--ink); }
  .cursor.is-link { background: rgba(242, 193, 78, 0.55); border-color: var(--ink); }
  .cursor.is-text { background: var(--pink); border: 2.5px solid var(--ink); }
}

/* ========================================================= HOME ===== */

/* ---------- Hero ---------- */
.hero2 { position: relative; overflow: clip; isolation: isolate; padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) clamp(4rem, 3rem + 5vw, 7rem); }
.hero2__dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.hero2__wrap { display: grid; gap: var(--s-8); }
.hero2__title { font-size: var(--text-hero); line-height: 1.02; max-width: 13ch; text-wrap: balance; }
.hero2__title .w { display: inline-block; }
.js .hero2__title .w { opacity: 0; transform: translateY(0.4em) rotate(4deg) scale(0.9); }
.js .hero2.is-go .hero2__title .w { opacity: 1; transform: none; transition: opacity 0.2s ease, transform 0.7s var(--ease-pop); transition-delay: calc(var(--i, 0) * 70ms); }
.js .hero2.is-go .hero2__title .lbl { transform: rotate(-2deg); }
.js .hero2.is-go .hero2__title .lbl--blue { transform: rotate(1.5deg); }
.hero2__row { display: grid; gap: var(--s-6); align-items: end; }
.hero2__lead { font-size: var(--text-xl); font-weight: 550; max-width: 34ch; line-height: 1.35; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.btn--coral { --btn-bg: var(--coral); --btn-fg: var(--ink); }
.btn--coral:hover { --btn-bg: #ff6a50; }
.btn--paper { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--paper:hover { --btn-bg: var(--sky-soft); }
.hero2__table { position: relative; min-height: 25rem; display: grid; place-items: center; perspective: 1400px; }
.hero2__table .lcard { width: min(100%, 21rem); rotate: 5deg; }
.hero2__table .hero__scan { background: var(--paper); border: var(--line) solid var(--ink); box-shadow: var(--drop); font-weight: 800; bottom: 0.5rem; }
.hero2__table .hero__scan .dot { background: var(--coral); box-shadow: none; border: 2px solid var(--ink); width: 0.8rem; height: 0.8rem; }
@media (min-width: 62rem) {
  .hero2__wrap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); grid-template-areas: 'title table' 'row table'; column-gap: var(--s-8); align-items: start; }
  .hero2__title { grid-area: title; }
  .hero2__row { grid-area: row; grid-template-columns: minmax(0, 1fr); }
  .hero2__table { grid-area: table; min-height: 34rem; margin-top: var(--s-10); }
}

/* Stickers you can drag around */
.sticker {
  position: absolute; z-index: 3;
  display: grid; place-items: center; text-align: center;
  border: var(--line) solid var(--ink); box-shadow: var(--drop);
  font-family: var(--font-display); line-height: 0.95; color: var(--ink);
  user-select: none; -webkit-user-select: none; touch-action: none; cursor: grab;
  rotate: var(--rot, 0deg);
  transition: box-shadow 0.2s var(--ease-out), scale 0.3s var(--ease-pop);
  will-change: translate;
}
.sticker:active, .sticker.is-dragging { cursor: grabbing; box-shadow: 12px 14px 0 rgba(20, 26, 61, 0.85); scale: 1.08; z-index: 5; }
.sticker--plus { width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--pink); font-size: 1.7rem; left: 0; top: 6%; --rot: -12deg; }
.sticker--free { width: 5.4rem; height: 5.4rem; background: var(--blue); color: #fff; font-size: 1.25rem; right: -2%; bottom: 16%; --rot: 10deg; border-radius: 1.4rem 0.9rem 1.5rem 1rem; }
.sticker--star { width: 4rem; height: 4rem; background: none; border: 0; box-shadow: none; right: 8%; top: 0; --rot: 14deg; filter: drop-shadow(4px 4px 0 var(--ink)); }
.sticker--star svg { width: 100%; height: 100%; }
.sticker--app { width: 3.8rem; height: 3.8rem; border-radius: 27%; background: var(--paper); font-size: 1.9rem; left: 6%; bottom: 4%; --rot: 8deg; }
.sticker--app .badge { top: -0.5rem; right: -0.5rem; border: 2px solid var(--ink); }
.seal { position: absolute; z-index: 2; width: 8.2rem; height: 8.2rem; right: -1rem; top: 38%; pointer-events: none; }
.seal svg { width: 100%; height: 100%; animation: seal-spin 22s linear infinite; }
.seal text { font-family: var(--font-mono); font-size: 9.2px; font-weight: 700; letter-spacing: 0.12em; fill: var(--ink); text-transform: uppercase; }
.seal__core { position: absolute; inset: 27%; border-radius: 50%; background: var(--coral); border: var(--line) solid var(--ink); display: grid; place-items: center; }
.seal__core svg { width: 55%; height: 55%; animation: none; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (max-width: 61.99rem) { .seal { width: 6.4rem; height: 6.4rem; right: 0; top: auto; bottom: -1rem; } .sticker--free { bottom: 30%; } }

/* Marquee strip between hero and receipt */
.strip { background: var(--ink); color: var(--sun); padding-block: var(--s-4); border-block: var(--line) solid var(--ink); }
.strip::before, .strip::after { display: none; }
.marquee__item { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }

/* ---------- Receipt (how it works) ---------- */
.how2 { display: grid; gap: var(--s-10); }
@media (min-width: 62rem) { .how2 { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--s-12); align-items: start; } }
.how2 h2 { font-size: var(--text-4xl); margin-bottom: var(--s-8); max-width: 12ch; }
.printer { position: relative; max-width: 27rem; }
.printer__slot { position: relative; z-index: 2; height: 1.6rem; border-radius: 0.9rem; background: var(--ink); border: var(--line) solid var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); margin-inline: -0.75rem; }
.printer__slot::after { content: ''; position: absolute; left: 1.25rem; right: 1.25rem; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: #000; }
.receipt {
  position: relative; z-index: 1; margin-top: -0.7rem;
  background: var(--paper); color: var(--ink);
  padding: 2rem 1.35rem 2.4rem;
  font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.55;
  border-inline: var(--line) solid var(--ink);
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at 50% 100%, transparent 90deg, #000 0) 0 100% / 20px 14px repeat-x;
  mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 14px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 100% / 20px 14px repeat-x;
}
.printer__paper { position: relative; z-index: 1; filter: drop-shadow(7px 8px 0 rgba(20, 26, 61, 0.9)); }
.receipt__head { text-align: center; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.receipt__head small { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; margin-top: 0.45rem; font-weight: 600; }
.receipt__rule { border: 0; border-top: 2px dashed var(--ink); margin: 1rem 0; opacity: 0.7; }
.receipt__item {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.6rem; width: 100%; text-align: left;
  padding: 0.7rem 0.6rem; margin-inline: -0.6rem; width: calc(100% + 1.2rem); border-radius: 0.6rem;
  font: inherit; color: inherit;
  transition: background-color 0.3s ease;
}
.receipt__item + .receipt__item { margin-top: 0.15rem; }
.receipt__n { font-weight: 800; font-size: 0.95rem; }
.receipt__item strong { display: block; font-weight: 800; font-size: 0.86rem; letter-spacing: 0.04em; }
.receipt__item span span { display: block; font-family: var(--font-body); font-size: 0.98rem; line-height: 1.35; margin-top: 0.15rem; font-weight: 500; }
.receipt__item.is-active { background: var(--sun); }
.receipt__item.is-active .receipt__n::after { content: ' ◀'; }
.receipt__row { display: flex; align-items: baseline; gap: 0.4rem; font-weight: 600; }
.receipt__row::after { content: ''; order: 1; flex: 1; border-bottom: 2px dotted var(--ink); opacity: 0.55; translate: 0 -0.2em; }
.receipt__row span:last-child { order: 2; font-weight: 800; }
.receipt__row--total { font-size: 0.95rem; margin-top: 0.5rem; }
.receipt__thanks { text-align: center; font-weight: 800; letter-spacing: 0.08em; margin-top: 1.1rem; }
.receipt__barcode { height: 2.6rem; margin-top: 0.9rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 9px, transparent 9px 11px, var(--ink) 11px 12px, transparent 12px 16px); }
.how2 .how__stage { background: var(--sun); color: var(--ink); border-radius: var(--r-cut); box-shadow: var(--drop-lg); transform: rotate(1.2deg); }
.how2 .how__stage-bg { background: radial-gradient(circle, rgba(20, 26, 61, 0.16) 1.5px, transparent 1.6px) 0 0 / 16px 16px; }
.how__phone { background: var(--ink); border: 5px solid var(--ink); box-shadow: var(--drop-lg); }
.how__scanline { background: var(--coral); box-shadow: none; height: 4px; border-radius: 4px; }
.how__toast { background: var(--paper); border: var(--line) solid var(--ink); box-shadow: var(--drop); font-weight: 800; }
.how__dash { border: var(--line) solid var(--ink); box-shadow: var(--drop); border-radius: var(--r-lg); }
.how__tile { background: var(--sky-soft); border: 2px solid var(--ink); }
.how__bars i { background: var(--sky); border: 2px solid var(--ink); border-bottom: 0; }
.how__bars i.hi { background: var(--coral); }
.how__campaign { background: var(--ink); border-radius: var(--r-md); }
.qr { border: 2.5px solid var(--ink); }

/* ---------- Sticker sheet (features) ---------- */
.sheet-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-10); max-width: 46rem; }
.sheet {
  position: relative;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r-2xl);
  box-shadow: var(--drop-lg);
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  display: grid; gap: var(--s-8);
  background-image: radial-gradient(circle, rgba(20, 26, 61, 0.12) 1.4px, transparent 1.5px); background-size: 18px 18px;
}
@media (min-width: 60rem) { .sheet { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: center; } }
.sheet__hole { position: absolute; top: 1rem; left: 50%; width: 1.3rem; height: 1.3rem; margin-left: -0.65rem; border-radius: 50%; background: var(--pink); border: var(--line) solid var(--ink); }
.sheet__stickers { display: flex; flex-wrap: wrap; gap: 0.9rem 0.7rem; align-items: center; justify-content: center; padding-top: var(--s-6); }
.stk {
  position: relative; display: grid; place-items: center; text-align: center;
  padding: 0.9rem 1.3rem; min-height: 4.6rem;
  border: var(--line) solid var(--ink); background: var(--stk, var(--sun)); color: var(--stk-fg, var(--ink));
  font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.65rem); line-height: 1;
  box-shadow: var(--drop-sm);
  rotate: var(--rot, 0deg);
  transition: rotate 0.5s var(--ease-pop), scale 0.4s var(--ease-pop), box-shadow 0.25s var(--ease-out), translate 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.stk:hover { scale: 1.06; rotate: calc(var(--rot, 0deg) * -0.6); box-shadow: var(--drop); }
.stk[aria-pressed='true'] { scale: 1.1; rotate: 0deg; box-shadow: 8px 10px 0 var(--ink); translate: -3px -5px; z-index: 2; }
.stk[aria-pressed='true']::after { content: ''; position: absolute; right: -2px; top: -2px; width: 1.5rem; height: 1.5rem; background: linear-gradient(225deg, var(--paper) 50%, rgba(20, 26, 61, 0.25) 50%); border-left: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); border-radius: 0 0 0 0.6rem; }
.stk--circle { width: 9.5rem; height: 9.5rem; border-radius: 50%; padding: 1rem; --rot: -7deg; }
.stk--pill { border-radius: 99px; padding-inline: 1.8rem; --rot: 4deg; }
.stk--blob { border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; padding: 1.6rem 1.9rem; --rot: -3deg; }
.stk--square { border-radius: 1.2rem; width: 8.6rem; height: 8.6rem; --rot: 6deg; }
.stk--tag { border-radius: 0.9rem 0.9rem 0.9rem 0.9rem; padding: 1.1rem 1.4rem 1.1rem 2.6rem; --rot: -5deg; }
.stk--tag::before { content: ''; position: absolute; left: 0.85rem; top: 50%; width: 0.85rem; height: 0.85rem; margin-top: -0.43rem; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); }
.stk--burst { border: 0; background: none; box-shadow: none; width: 10.5rem; height: 10.5rem; padding: 1.8rem; --rot: 8deg; filter: drop-shadow(3px 3px 0 var(--ink)); }
.stk--burst svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.stk--burst svg polygon { fill: var(--stk, var(--coral)); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.stk--burst[aria-pressed='true'] { filter: drop-shadow(8px 10px 0 var(--ink)); box-shadow: none; }
.stk--burst[aria-pressed='true']::after { display: none; }
.stk--soon { --stk: transparent; border-style: dashed; color: var(--muted); box-shadow: none; font-size: 1.1rem; }
.stk--soon small { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.35rem; color: var(--ink); }
.sheet__notes { position: relative; }
.note { background: var(--sun); border: var(--line) solid var(--ink); border-radius: var(--r-cut); padding: var(--s-6); box-shadow: var(--drop); display: grid; gap: var(--s-3); rotate: 1.5deg; }
.note h3 { font-size: var(--text-xl); }
.note p { font-size: 1.05rem; line-height: 1.45; }
.note__tape { position: absolute; top: -0.8rem; left: 50%; width: 5.5rem; height: 1.6rem; margin-left: -2.75rem; background: rgba(242, 193, 78, 0.85); border: 2px solid var(--ink); rotate: -3deg; z-index: 1; }
.js .note { display: none; }
.js .note.is-active { display: grid; animation: note-in 0.5s var(--ease-pop); }
.note + .note { margin-top: var(--s-4); }
.js .note + .note { margin-top: 0; }
@keyframes note-in { from { opacity: 0; transform: scale(0.9) rotate(-5deg); } to { opacity: 1; transform: none; } }

/* ---------- Phone moment ---------- */
.moment.band-dark { background: var(--grape); --bg: var(--grape); }
.moment__step { border: var(--line) solid transparent; border-radius: var(--r-lg); }
.moment__step-ic { background: rgba(255, 255, 255, 0.16); color: #fff; border: 2.5px solid #fff; }
.moment__step-sub { color: #fff; opacity: 0.88; }
.moment__step.is-active { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: var(--drop); transform: translateX(6px) rotate(-0.6deg); }
.moment__step.is-active .moment__step-sub { color: var(--ink); opacity: 0.85; }
.moment__step.is-active .moment__step-ic { background: var(--coral); color: var(--ink); border-color: var(--ink); }
.moment .muted { color: #fff; opacity: 0.85; }
.phone { background: var(--ink); box-shadow: 0 0 0 var(--line) var(--ink), 12px 14px 0 rgba(20, 26, 61, 0.9); rotate: -3deg; }
.phone__wall { background: radial-gradient(90% 55% at 80% 8%, var(--pink), transparent 62%), radial-gradient(80% 50% at 10% 95%, var(--sun), transparent 62%), linear-gradient(160deg, var(--blue), #1a2fa8 70%); }
.notif__icon { background: var(--sun); border: 2px solid var(--ink); box-shadow: none; font-weight: 400; }
.app--loyila .app__icon { --app-bg: var(--sun); font-weight: 400; border: 2px solid var(--ink); }
.reward { background: var(--blue); border: 2.5px solid var(--ink); }
.reward__rays { background: repeating-conic-gradient(from 0deg, rgba(255, 201, 51, 0.35) 0 10deg, transparent 10deg 20deg); }
.reward__medal { background: var(--sun); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.reward__sub { color: #fff; opacity: 0.9; }
.claim-btn { background: var(--coral); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--drop-sm); font-weight: 800; }
.claim-btn::before { background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); }
.claim-btn.is-done { background: var(--sun); }
.phone__app { background: var(--paper); }
.phone__app-head { font-weight: 400; }
.floater { background: var(--coral); border: 2.5px solid var(--ink); box-shadow: var(--drop-sm); font-weight: 400; }
.twinkle { color: var(--ink); }
.twinkle--orange { color: var(--paper); }
.twinkle--cream { color: var(--coral); }
.bg-coral .twinkle--cream, .cta-band .twinkle--cream { color: var(--sun); }
.site-notif .notif { border: var(--line) solid var(--ink); box-shadow: var(--drop-lg); background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- QR field ---------- */
.qrfield { background: var(--ink); --bg: var(--ink); color: #fff; }
.qrfield__card { background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: 9px 9px 0 var(--coral); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: var(--r-cut); rotate: -1.2deg; }
.qrfield__card .lead { color: var(--ink); opacity: 0.86; }
.qrfield__hint { color: var(--ink); font-family: var(--font-mono); text-transform: uppercase; font-size: 0.66rem; }

/* ---------- Tickets (two audiences) ---------- */
.tix-head { max-width: 40rem; margin-bottom: var(--s-10); }
.tix { display: grid; gap: var(--s-8); }
@media (min-width: 58rem) { .tix { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.tkt {
  position: relative; display: grid; grid-template-rows: 1fr auto;
  border: var(--line) solid var(--ink); border-radius: 1.6rem; background: var(--tk, var(--coral)); color: var(--ink);
  box-shadow: var(--drop-lg);
  rotate: var(--rot, -1.5deg);
  transition: rotate 0.6s var(--ease-pop), translate 0.4s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.tkt:nth-child(2) { --rot: 1.5deg; --tk: var(--sky); }
@media (hover: hover) { .tkt:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 12px 16px 0 var(--ink); } }
.tkt__main { padding: clamp(1.5rem, 1.2rem + 2vw, 2.5rem); display: grid; gap: var(--s-4); align-content: start; }
.tkt__admit { font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; display: flex; justify-content: space-between; gap: var(--s-3); }
.tkt h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); line-height: 1; letter-spacing: 0; }
.tkt p { max-width: 38ch; }
.tkt ul { display: grid; gap: 0.4rem; font-weight: 600; padding: 0; list-style: none; }
.tkt li { display: flex; gap: 0.6rem; align-items: baseline; }
.tkt li::before { content: '★'; font-size: 0.9em; }
.tkt__stub { position: relative; border-top: var(--line) dashed var(--ink); padding: var(--s-5) clamp(1.5rem, 1.2rem + 2vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.tkt__stub::before, .tkt__stub::after { content: ''; position: absolute; top: -1.1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bg, var(--sun)); border: var(--line) solid var(--ink); }
.tkt__stub::before { left: -1.15rem; clip-path: inset(0 0 0 50%); }
.tkt__stub::after { right: -1.15rem; clip-path: inset(0 50% 0 0); }
.tkt__code { height: 2.2rem; width: 7rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 9px, transparent 9px 11px, var(--ink) 11px 12px, transparent 12px 16px); }

/* ---------- "What we won't fake" board ---------- */
.board { display: grid; gap: var(--s-10); }
@media (min-width: 60rem) { .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-12); align-items: start; } }
.board h2 { font-size: var(--text-4xl); margin-bottom: var(--s-6); }
.nofake { display: grid; gap: 0.5rem; list-style: none; padding: 0; }
.nofake li { position: relative; justify-self: start; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; color: var(--ink); opacity: 0.9; }
.nofake li::after { content: ''; position: absolute; left: -2%; right: -2%; top: 52%; height: 0.22em; background: var(--coral); border-radius: 99px; transform: scaleX(0) rotate(-1.5deg); transform-origin: 0 50%; transition: transform 0.6s var(--ease-out-expo); transition-delay: calc(var(--i, 0) * 140ms + 200ms); }
.nofake.is-in li::after, html:not(.js) .nofake li::after { transform: scaleX(1) rotate(-1.5deg); }
.nofake li:nth-child(even)::after { rotate: 2.5deg; }
.truths { display: grid; gap: var(--s-4); list-style: none; padding: 0; }
.truth { position: relative; background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r-cut); box-shadow: var(--drop); padding: var(--s-5) 5.5rem var(--s-5) var(--s-5); }
.truth:nth-child(odd) { rotate: -0.8deg; }
.truth:nth-child(even) { rotate: 0.7deg; margin-left: var(--s-6); }
.truth strong { display: block; font-size: 1.1rem; font-weight: 800; }
.truth span { font-size: 1rem; }
.truth__stamp { position: absolute; right: 0.9rem; top: 50%; translate: 0 -50%; rotate: -14deg; font-family: var(--font-mono); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--coral-deep); border: 3px solid var(--coral-deep); border-radius: 0.5rem; padding: 0.2rem 0.5rem; opacity: 0; scale: 1.8; transition: opacity 0.2s ease, scale 0.45s var(--ease-pop); transition-delay: calc(var(--i, 0) * 160ms + 300ms); }
.truths.is-in .truth__stamp, html:not(.js) .truth__stamp { opacity: 1; scale: 1; }
.pinned { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-8); }
.pinned .ph { min-height: 8rem; position: relative; rotate: -2deg; box-shadow: var(--drop); overflow: visible; }
.pinned .ph:nth-child(2) { rotate: 2.5deg; }
.pinned .ph::before { content: ''; position: absolute; top: -0.8rem; left: 50%; width: 4.5rem; height: 1.4rem; margin-left: -2.25rem; background: rgba(242, 193, 78, 0.9); border: 2px solid var(--ink); rotate: 3deg; }
.pinned__note { grid-column: 1 / -1; font-weight: 600; max-width: 52ch; }

/* ---------- Scratch card (closing call to action) ---------- */
.scratch-wrap { display: grid; gap: var(--s-8); justify-items: center; text-align: center; }
.scratch-wrap h2 { font-size: var(--text-4xl); max-width: 16ch; }
.scratch {
  position: relative; width: min(100%, 44rem);
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--r-2xl); box-shadow: var(--drop-lg);
  rotate: -1deg; overflow: hidden; isolation: isolate;
}
.scratch__prize { padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(1.25rem, 1rem + 2vw, 3rem); display: grid; gap: var(--s-5); justify-items: center; }
.scratch__big { font-family: var(--font-display); font-size: clamp(3rem, 2rem + 6vw, 6.5rem); line-height: 0.9; color: var(--blue); -webkit-text-stroke: 0; }
.scratch__big small { display: block; font-size: 0.32em; color: var(--ink); margin-top: 0.4em; line-height: 1.05; }
.scratch__cta { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.scratch__cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: crosshair; touch-action: none; transition: opacity 0.6s ease; }
.scratch.is-revealed .scratch__cover { opacity: 0; pointer-events: none; }
.scratch__skip { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: underline; text-underline-offset: 3px; color: inherit; font-weight: 600; }
.scratch.is-revealed + .scratch__skip { visibility: hidden; }
html:not(.js) .scratch__cover, html:not(.js) .scratch__skip { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-block: var(--s-16) var(--s-8); }
.footer__big { font-family: var(--font-display); font-size: clamp(2.6rem, 1.5rem + 7vw, 7rem); line-height: 0.95; color: var(--sun); margin-bottom: var(--s-10); }
.footer__big .lbl { color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; list-style: none; padding: 0; }
.footer__links a { display: inline-block; padding: 0.5rem 1rem; border: 2.5px solid #fff; border-radius: 99px; font-weight: 700; transition: background-color 0.15s, color 0.15s, rotate 0.4s var(--ease-pop); }
.footer__links a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); rotate: -3deg; }
.footer__links li:nth-child(even) a:hover { rotate: 3deg; background: var(--pink); border-color: var(--pink); }
.footer__meta { margin-top: var(--s-10); padding-top: var(--s-6); border-top: 2.5px dashed rgba(255, 255, 255, 0.4); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-8); justify-content: space-between; font-size: var(--text-sm); }
.footer__meta p { max-width: 44ch; opacity: 0.9; }
.footer .ph--inline { border-color: #fff; color: #fff; background: transparent; }
.footer__grid, .footer__bottom { display: none; }

/* ====================================================== INNER PAGES ===== */
.page-hero { padding-block: clamp(2rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.25rem); max-width: 15ch; }

/* Value rows: zig-zag, no numbers */
.row { border: 0 !important; padding-block: var(--s-8); align-items: center; }
.row__num { display: none; }
@media (min-width: 52rem) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-12); }
  .row:nth-child(even) > :last-child { order: -1; }
}
.row h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-3xl); letter-spacing: 0; line-height: 1; }
.row p { color: var(--ink); opacity: 0.86; font-size: var(--text-lg); }
.row > :last-child { rotate: 1.6deg; }
.row:nth-child(even) > :last-child { rotate: -1.8deg; }
.row:nth-child(3n) > :last-child { rotate: 2.4deg; }
.mini-dash, .campaign-card { border-radius: var(--r-cut); }
.mini-dash__spark i { background: var(--sky); border: 2px solid var(--ink); border-bottom: 0; }
.mini-dash__spark i.hi { background: var(--coral); }
.campaign-card { background: var(--grape); color: #fff; }
.campaign-card__msg { background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 1.1rem 1.1rem 1.1rem 0.2rem; font-weight: 550; }
.branch { border-radius: var(--r-md); box-shadow: var(--drop-sm); }
.branch:nth-child(odd) { rotate: -0.8deg; } .branch:nth-child(even) { rotate: 0.9deg; margin-left: var(--s-4); }
.branch__who i { border: 2px solid var(--ink); background: var(--sun); }
.branch__who i:nth-child(2) { background: var(--pink); } .branch__who i:nth-child(3) { background: var(--sky); }

/* Steps on a dark band */
.step__num { border: var(--line) dashed currentColor; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; width: 3.6rem; height: 3.6rem; color: inherit !important; }
.step__num .stamp__ink { background: var(--sun); color: var(--ink); font-weight: 400; }
.step:nth-child(2) .step__num .stamp__ink { background: var(--pink); }
.step:nth-child(3) .step__num .stamp__ink { background: var(--coral); }
.step p, .band-dark .step p { color: inherit; opacity: 0.9; font-size: 1.05rem; }
.band-dark .muted { color: #fff; opacity: 0.88; }

/* Pricing: hang tags, not cards */
.tiers { padding-top: var(--s-10); gap: var(--s-8); }
.tier { border-radius: 1.4rem; padding-top: 3.6rem; background: var(--tg, var(--paper)); rotate: var(--rot, -2deg); transform-origin: 50% 0; transition: rotate 0.8s var(--ease-pop); box-shadow: var(--drop-lg); }
.tier:nth-child(1) { --tg: var(--sky); }
.tier:nth-child(2) { --tg: var(--sun); --rot: 1.5deg; margin-top: var(--s-6); }
.tier:nth-child(3) { --tg: var(--pink); --rot: -1deg; }
.tier--featured { background: var(--tg); color: var(--ink); border-color: var(--ink); }
.tier--featured .muted, .tier--featured .tier__per { color: var(--ink); opacity: 0.8; }
.tier--featured .tier__list svg, .tier__list svg { color: var(--ink); }
.tier--featured .ph { border-color: var(--ink); color: var(--ink); background: var(--paper); }
@media (hover: hover) { .tier:hover { rotate: calc(var(--rot, -2deg) * -1); transform: none; } }
.tier::before { content: ''; position: absolute; top: 1.1rem; left: 50%; width: 1.5rem; height: 1.5rem; margin-left: -0.75rem; border-radius: 50%; background: var(--bg, var(--sun)); border: var(--line) solid var(--ink); }
.tier::after { content: ''; position: absolute; left: 50%; bottom: calc(100% - 1.3rem); width: 3px; height: 4.2rem; margin-left: -1.5px; background: var(--ink); transform-origin: 50% 100%; rotate: calc(var(--rot, -2deg) * -1.4); }
.tier__name { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); letter-spacing: 0; line-height: 1; }
.tier__badge { top: 1rem; left: auto; right: -0.8rem; rotate: 8deg; box-shadow: var(--drop-sm); background: var(--coral); font-size: 0.72rem; padding: 0.4rem 0.7rem; }
.tier__price .ph { font-family: var(--font-mono); }
.pricing-note { background: var(--paper); border-radius: var(--r-cut); rotate: -0.6deg; }

/* Roadmap as a route with stops */
.roadmap { position: relative; gap: var(--s-8); padding-top: var(--s-8); }
.roadmap::before { content: ''; position: absolute; left: 1.1rem; top: 0; bottom: 0; width: 6px; background: var(--ink); border-radius: 6px; }
.roadmap__item, .roadmap__item--now { background: none; border: 0; box-shadow: none; color: inherit; padding: 0 0 0 3.6rem; position: relative; }
.roadmap__item::before { content: ''; position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--paper); border: 6px solid var(--ink); }
.roadmap__item--now::before { background: var(--coral); animation: stop-pulse 2.2s ease-in-out infinite; }
@keyframes stop-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(91, 42, 157, 0.6); } 50% { box-shadow: 0 0 0 12px rgba(91, 42, 157, 0); } }
.roadmap__label, .roadmap__item--now .roadmap__label { font-family: var(--font-mono); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 0.4rem; padding: 0.15rem 0.5rem; justify-self: start; }
.roadmap__item--now .roadmap__label { background: var(--coral); }
.roadmap__item h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); letter-spacing: 0; }
.roadmap__item .muted, .roadmap__item--now .muted { color: var(--ink); opacity: 0.85; }
@media (min-width: 52rem) {
  .roadmap { grid-template-columns: repeat(3, 1fr); padding-top: 0; }
  .roadmap::before { left: 0; right: 0; top: 1rem; bottom: auto; width: auto; height: 6px; }
  .roadmap__item, .roadmap__item--now { padding: 4rem 0 0; }
}

/* Values as stickers, team as taped photos */
.values { gap: var(--s-6); }
.value { border: var(--line) solid var(--ink) !important; border-radius: var(--r-cut); background: var(--sun); box-shadow: var(--drop); padding: var(--s-6); }
.value:nth-child(1) { rotate: -1.2deg; } .value:nth-child(2) { rotate: 1deg; background: var(--pink); } .value:nth-child(3) { rotate: 0.8deg; background: var(--sky); } .value:nth-child(4) { rotate: -1deg; background: var(--coral); }
.value p { color: var(--ink); opacity: 0.88; }
.about-mission blockquote { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: 0; }
.about-mission blockquote em { font-style: normal; color: var(--blue); }
.card--flat { border: var(--line) solid var(--ink); box-shadow: var(--drop); background: var(--paper); border-radius: 0.4rem; padding: 0.9rem 0.9rem 1.4rem; }
.grid--3 > .card--flat:nth-child(1) { rotate: -2deg; } .grid--3 > .card--flat:nth-child(2) { rotate: 1.5deg; margin-top: var(--s-6); } .grid--3 > .card--flat:nth-child(3) { rotate: -1deg; }
.card--flat .ph--photo { transform: none; box-shadow: none; border-radius: 0.2rem; }

/* Customers page */
.wallet { background: var(--blue); --bg: var(--blue); }
.wallet__one { background: var(--paper); color: var(--ink); border-radius: var(--r-cut); rotate: -1deg; }
.wallet__one .muted { color: var(--ink); opacity: 0.8; }
.wallet__one .ph { border-color: var(--ink); color: var(--ink); background: var(--sun-soft); }
.wallet__hint { color: #fff; font-family: var(--font-mono); text-transform: uppercase; font-size: 0.7rem; }
.progress-demo { border-radius: var(--r-2xl); rotate: -0.5deg; }
.progress-demo__big { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; color: var(--blue); }
.progress-demo__big small { color: var(--ink); font-weight: 600; }
.progress-demo__bar { height: 1.1rem; border: var(--line) solid var(--ink); background: var(--paper); }
.progress-demo__bar i { background: repeating-linear-gradient(-45deg, var(--coral) 0 10px, var(--sun) 10px 20px); border-radius: 0; }
.feature { border-radius: var(--r-cut); }
.grid--2 > .feature:nth-child(1) { background: var(--sun); rotate: -0.8deg; }
.grid--2 > .feature:nth-child(2) { background: var(--sky); rotate: 0.9deg; }
.grid--2 > .feature:nth-child(3) { background: var(--pink); rotate: 0.6deg; }
.grid--2 > .feature:nth-child(4) { background: var(--paper); rotate: -1deg; }
.feature.ticket { -webkit-mask: none; mask: none; }
.feature__icon, .feature__icon--green, .feature__icon--orange { background: var(--paper); color: var(--ink); border: var(--line) solid var(--ink); border-radius: 50%; box-shadow: var(--drop-sm); rotate: -8deg; }
.feature p { color: var(--ink); opacity: 0.88; }
.feature h3 { font-size: var(--text-2xl); font-family: var(--font-display); font-weight: 400; letter-spacing: 0; line-height: 1; }
.ticket__tear { border-top: 2.5px dashed var(--ink); }

/* Generic closing band on inner pages */
.cta-band { background: var(--coral); color: var(--ink); border-radius: var(--r-2xl); rotate: -0.7deg; }
.cta-band h2 { font-size: var(--text-4xl); }
.cta-band .lead { color: var(--ink); opacity: 0.88; }
.cta-band .btn--accent { --btn-bg: var(--sun); }
.cta-band .btn--accent:hover { --btn-bg: #ffe066; }
.cta-band .muted { color: var(--ink); }
.cta-band .ph { border-color: var(--ink); color: var(--ink); background: var(--paper); }

/* FAQ */
.faq { border-radius: var(--r-lg); box-shadow: var(--drop-sm); transition: box-shadow 0.25s var(--ease-out), translate 0.25s var(--ease-out), background-color 0.25s; }
.faq:nth-child(odd) { rotate: -0.35deg; } .faq:nth-child(even) { rotate: 0.35deg; }
.faq.is-open { background: var(--sun-soft); box-shadow: var(--drop); translate: -2px -2px; border-color: var(--ink); }
.faq__q { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.01em; }
.faq__icon { background: var(--sun); border: 2.5px solid var(--ink); }
.faq.is-open .faq__icon { background: var(--coral); }
.faq__a-inner > * { color: var(--ink); opacity: 0.9; }

/* Forms: like filling in a card at the counter */
.contact__form { border-radius: var(--r-2xl); rotate: 0.5deg; box-shadow: var(--drop-lg); }
.field__label { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; font-weight: 700; }
.field__input { border: var(--line) solid var(--ink); border-radius: var(--r-md); font-weight: 550; box-shadow: inset 3px 3px 0 rgba(20, 26, 61, 0.08); }
.field__input:focus-visible { border-color: var(--ink); box-shadow: var(--drop); background: var(--sun-soft); translate: -2px -2px; }
.field.is-error .field__input { border-color: var(--coral-deep); background: var(--coral-soft); }
.field__error { color: var(--coral-deep); font-weight: 700; }
.choice label { border: var(--line) solid var(--ink); border-radius: var(--r-md); transition: background-color 0.15s, box-shadow 0.2s, translate 0.2s; }
.choice label:has(input:checked) { background: var(--sun); box-shadow: var(--drop-sm); translate: -2px -2px; border-color: var(--ink); }
.choice span { color: var(--ink); opacity: 0.8; }
.form__note, .form__consent { color: var(--ink); opacity: 0.85; }
.form-success { background: var(--sun); border-radius: var(--r-2xl); }
.contact__card { border-radius: var(--r-cut); }
.contact__card:nth-child(odd) { rotate: -0.7deg; } .contact__card:nth-child(even) { rotate: 0.8deg; }
.contact__card p { color: var(--ink); opacity: 0.88; }
.contact__card[style] { background: var(--sky) !important; border-color: var(--ink) !important; }

/* Legal */
.legal__toc a { color: var(--ink); font-weight: 600; }
.legal__body p, .legal__body li { color: var(--ink); opacity: 0.9; }
.ph--legal { text-transform: none; font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: 0; }

@media (max-width: 40rem) {
  .truth { padding-right: var(--s-5); padding-bottom: 3rem; }
  .truth__stamp { top: auto; bottom: 0.7rem; translate: 0 0; }
  .truth:nth-child(even) { margin-left: 0; }
  .tier, .tier:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .seal svg, .roadmap__item--now::before { animation: none; }
  .js .hero2__title .w { opacity: 1; transform: none; }
  .nofake li::after { transform: scaleX(1) rotate(-1.5deg); }
  .truth__stamp { opacity: 1; scale: 1; }
  .scratch__cover, .scratch__skip { display: none; }
}

/* rotated objects may poke past the edge on small screens: clip instead of scrolling sideways */
main { overflow-x: clip; }

/* small screens: stickers shrink so the sheet stays one thumb-scroll tall */
@media (max-width: 40rem) {
  .sheet__stickers { gap: 0.7rem 0.5rem; }
  .stk { font-size: 1rem; }
  .stk--circle { width: 7rem; height: 7rem; padding: 0.6rem; }
  .stk--burst { width: 7.6rem; height: 7.6rem; padding: 1.4rem; }
  .stk--square { width: 6.6rem; height: 6.6rem; }
  .stk--pill, .stk--blob { padding: 1rem 1.2rem; }
  .stk--tag { padding: 0.9rem 1rem 0.9rem 2.2rem; }
  .stk--soon { font-size: 0.95rem; }
  .footer__meta { padding-bottom: 4.5rem; }
}

/* word labels need a little air so their outline never touches the line above */
.page-hero h1:has(.lbl) { line-height: 1.16; }

/* ---------- Pinned scroll scenes (classes are added by JS, so without JS or with reduced motion nothing changes) ---------- */
.how--pin, .moment--pin {
  height: 100vh; height: 100svh; min-height: 0;
  padding-block: 5.75rem 1.5rem;
  overflow: clip;
}
.how--pin > .container, .moment--pin > .container { height: 100%; }

/* Receipt: the paper is revealed from the slot downwards, and the torn edge travels with it */
.receipt.is-printing {
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% calc(var(--h, 100%) - 14px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 calc(var(--h, 100%) - 14px) / 20px 14px repeat-x;
  mask: linear-gradient(#000, #000) 0 0 / 100% calc(var(--h, 100%) - 14px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 calc(var(--h, 100%) - 14px) / 20px 14px repeat-x;
}
.how--pin .printer { transform: scale(var(--fit, 1)); transform-origin: 50% 0; margin-inline: auto; width: 100%; }
.how--pin .how2 { gap: var(--s-5); align-content: start; }
.how--pin .how2 h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.6rem); margin-bottom: var(--s-5); max-width: 16ch; }
.how--pin .printer__slot::before { content: ''; position: absolute; right: 1.1rem; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem; border-radius: 50%; background: #3d3560; z-index: 1; }
.how--pin.is-feeding .printer__slot::before { background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 201, 51, 0.35); }
.how--pin.is-feeding .printer__slot { animation: slot-hum 0.18s linear infinite; }
@keyframes slot-hum { 0%, 100% { translate: 0 0; } 50% { translate: 0 1px; } }
@media (max-width: 61.99rem) {
  .how--pin .how__stage { display: none; }   /* the phone screen only has room for the receipt */
}
@media (min-width: 62rem) {
  .how--pin .how2 { grid-template-rows: auto minmax(0, 1fr); gap: var(--s-6) var(--s-12); }
  .how--pin .how2 > div:first-child { display: contents; }
  .how--pin .how2 h2 { grid-column: 2; grid-row: 1; margin-bottom: 0; font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); max-width: 14ch; }
  .how--pin .printer { grid-column: 1; grid-row: 1 / 3; transform-origin: 0 0; margin-inline: 0; }
  .how--pin .how__stage { grid-column: 2; grid-row: 2; position: relative; top: auto; min-height: 0; height: 100%; max-height: 30rem; align-self: start; }
}

/* Phone story */
.moment--pin .moment__layout { align-content: center; gap: var(--s-5); }
.moment--pin .moment__stage { min-height: 0; }
.moment--pin .phone { width: min(17.5rem, 78vw, calc((100svh - 12.5rem) * 9 / 19)); }
.moment--pin .phone-demo { gap: var(--s-2); }
.moment__dots { display: flex; gap: 0.4rem; margin-top: var(--s-3); }
.moment__dots i { width: 1.6rem; height: 0.5rem; border-radius: 99px; border: 2px solid #fff; transition: background-color 0.3s, width 0.4s var(--ease-pop); }
.moment__dots i.is-on { background: var(--sun); border-color: var(--ink); width: 2.4rem; }
@media (max-width: 59.99rem) {
  .moment--pin h2 { font-size: clamp(1.5rem, 1rem + 2.6vw, 2.2rem); }
  .moment--pin .lead, .moment--pin .stack > .small { display: none; }     /* the caption under the phone carries the "coming soon" note */
  .moment--pin .moment__step { display: none; }
  .moment--pin .moment__step.is-active, .moment--pin .moment__steps:not(:has(.is-active)) .moment__step:first-child { display: grid; }
  .moment--pin .moment__step.is-active { transform: none; }
  .moment--pin .moment__steps { margin-top: var(--s-2); min-height: 5.2rem; align-content: start; }
  .moment--pin .phone { width: min(17.5rem, 70vw, calc((100svh - 23rem) * 9 / 19)); }
  .moment--pin .phone-demo__controls { font-size: 0.75rem; }
}
@media (min-width: 60rem) {
  .moment--pin .moment__layout { align-items: center; }
  .moment--pin .phone { width: min(17.5rem, calc((100svh - 11rem) * 9 / 19)); }
}
@media (min-width: 60rem) and (max-height: 46rem) {
  .moment--pin .lead { display: none; }
  .moment--pin .moment__step { padding-block: 0.45rem; }
}

/* short phones: give the phone illustration the room instead of the heading (still read by screen readers) */
@media (max-width: 59.99rem) and (max-height: 720px) {
  .moment--pin h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .moment--pin .phone { width: min(17.5rem, 70vw, calc((100svh - 18.5rem) * 9 / 19)); }
}

/* ---------- Palette tuning: yellow is a brand colour, the page itself is a warm off-white ---------- */
.hero2, .page-hero { background: var(--blue); --bg: var(--blue); }
.page-hero { border-bottom: var(--line) solid var(--ink); }
.page-hero + .section, .page-hero + section { padding-top: var(--section); }
.sheet__hole { background: var(--pink-panel); }
.nav, .nav--dark { background: var(--blue); }
.nav__links a, .nav a { white-space: nowrap; }
/* mid-width screens: the ghost "Open the app" button steps aside so the bar never overflows (it is still in the menu) */
@media (max-width: 72rem) { .nav__actions .btn--ghost { display: none; } .nav__links { gap: 0; } }

/* ---------- Calm counter: neutral section backgrounds, colour lives in the objects ---------- */
.bg-page { --bg: var(--page); background: var(--page); color: var(--ink); }
.band-dark, .moment.band-dark, .wallet { background: var(--ink); --bg: var(--ink); }
.sheet__hole { background: var(--bg, var(--paper)); }
.bg-paper .sheet { background-color: var(--page); }
.bg-sun .twinkle, .bg-sun .twinkle--cream { color: var(--paper); }
.bg-sun .twinkle--orange { color: var(--coral); }
.cta-band { background: var(--sun); }
.cta-band .btn--accent { --btn-bg: var(--coral); }
.cta-band .btn--accent:hover { --btn-bg: var(--coral-deep); }
.cta-band .twinkle, .cta-band .twinkle--cream { color: var(--paper); }
.wallet, .wallet h2 { color: #fff; }
.wallet__copy > .lead { color: #fff; opacity: 0.9; }

/* ---------- Royal theme (2026-09-22): royal blue primary, gold and royal purple in support, navy ink ----------
   The blue is a mid-tone, so everything that sits on it is white. Gold is flat and never lettering on black. */
.page-hero .page-tag { color: var(--ink); }
.qrfield__card { box-shadow: 9px 9px 0 var(--sun); }
.how2 .how__stage { background: var(--sun); }
/* ---- the blue hero, nav and page headers: white type ---- */
.nav, .hero2, .page-hero { color: #fff; }
.nav :focus-visible, .hero2 :focus-visible, .page-hero :focus-visible { outline-color: var(--sun); }
.nav .brand, .nav__link { color: #fff; }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current='page'] { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.nav__actions .btn:not(.btn--ghost) { --btn-bg: var(--sun); --btn-fg: var(--ink); }
.hero2__title, .hero2__lead,
.page-hero h1, .page-hero .lead, .page-hero .text-link { color: #fff; }
.page-hero h1 .lbl { color: var(--ink); }
.hero2__title .lbl { background: var(--sun); color: var(--ink); }
.hero2__title .lbl--blue { background: var(--grape); color: #fff; }
.lbl--blue { background: var(--blue); color: #fff; }
.sticker--free { background: var(--grape); color: #fff; }
.hero2 .btn--coral { background-image: none; }
.seal text { fill: #fff; }

/* ---- the rest of the page ---- */
.strip { background: var(--grape); background-image: none; color: var(--sun); --bg: var(--grape); }
.qrfield, .footer, .band-dark { background-image: none; }
.footer__big { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--sun); -webkit-text-fill-color: var(--sun); }
.footer__big .lbl { background: var(--grape); color: #fff; -webkit-text-fill-color: #fff; }
.phone { box-shadow: 0 0 0 var(--line) var(--ink), 12px 14px 0 rgba(20, 26, 61, 0.9); }
.printer__paper { filter: drop-shadow(7px 8px 0 rgba(20, 26, 61, 0.92)); }
.sticker:active, .sticker.is-dragging { box-shadow: 12px 14px 0 rgba(20, 26, 61, 0.88); }
.btn--accent:hover, .btn--coral:hover,
.btn--sun:hover, .cta-band .btn--accent:hover { --btn-bg: #f6d381; }
.cursor.is-link { background: rgba(91, 42, 157, 0.4); }
.note__tape, .pinned .ph::before { background: rgba(242, 193, 78, 0.92); }
.truth__stamp { color: var(--grape); border-color: var(--grape); }
.scratch__big { color: var(--blue); }
/* stamp inks run deep gold, royal blue, lilac, royal purple, gold */
.lcard__stamps .stamp:nth-child(5n + 4) .stamp__ink,
.hud__slots li:nth-child(6n + 4) .stamp__ink,
.progress-demo .stamp:nth-child(5n + 4) .stamp__ink { background: var(--grape); color: #fff; }
.lcard__stamps .stamp:nth-child(5n + 5) .stamp__ink,
.progress-demo .stamp:nth-child(5n + 5) .stamp__ink { background: var(--sun); color: var(--ink); }
/* the pretend phone */
.app:not(.app--loyila):nth-child(4n + 1) .app__icon { background: #f2c14e !important; color: #141a3d !important; }
.app:not(.app--loyila):nth-child(4n + 2) .app__icon { background: #4169e1 !important; color: #ffffff !important; }
.app:not(.app--loyila):nth-child(4n + 3) .app__icon { background: #ffffff !important; color: #5b2a9d !important; }
.app:not(.app--loyila):nth-child(4n + 4) .app__icon { background: #5b2a9d !important; color: #ffffff !important; }

/* the phone story sits on pale lilac */
.moment.band-dark { background: var(--soft); --bg: var(--soft); color: var(--ink); }
.moment :focus-visible { outline-color: var(--ink); }
.moment h2, .moment .lead, .moment .muted { color: var(--ink); opacity: 1; }
.moment__step { color: var(--ink); }
.moment__step-ic { background: rgba(20, 26, 61, 0.06); color: var(--ink); border-color: var(--ink); }
.moment__step.is-active .moment__step-ic { background: var(--sun); }
.moment__step-sub { color: var(--ink); opacity: 0.85; }
.moment__dots i { border-color: var(--ink); }
.moment__dots i.is-on { background: var(--grape); }
.moment .phone-demo__controls { color: var(--ink); }
.moment .twinkle, .moment .twinkle--cream { color: var(--grape); }
.moment .twinkle--orange { color: var(--sun-deep); }
.bg-sun .twinkle, .bg-sun .twinkle--cream { color: #fff; }
.bg-sun .twinkle--orange { color: var(--grape); }
/* page headers on royal blue: the second label is purple (blue on blue would vanish), and small print is white */
.page-hero h1 .lbl--blue { background: var(--grape); color: #fff; }
.page-hero .legal__meta, .page-hero .legal__meta > span, .page-hero .muted, .page-hero .small { color: #fff; }
.page-hero .legal__meta .tag { color: var(--ink); }
.page-hero .ph--inline { border-color: #fff; color: #fff; background: transparent; }

/* ---------- The Loyila logo (brand kit, 2026-10-01) ----------
   Mark: the "Lo" infinity loop. Wordmark: the loop followed by "yila". Files are in assets/logo-*.svg.
   The logo is never tilted, outlined, stretched or recoloured outside the brand kit's own combinations. */
.brand { gap: 0.7rem; }
.brand__mark { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; background: var(--paper); border-radius: 27%; box-shadow: var(--drop-sm); }
.brand__mark img { width: 63%; height: auto; display: block; }
.brand__word { font-family: var(--font-body); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.015em; line-height: 1; }
.sticker--app img { width: 62%; height: auto; display: block; pointer-events: none; }
/* the app icon and notification icon on the illustrated phone: gold loop on a royal blue tile, as in the brand kit */
.app--loyila .app__icon { --app-bg: var(--blue); background: var(--blue); border: 0; }
.app--loyila .app__icon img { width: 62%; height: auto; display: block; }
.notif__icon { background: var(--blue); border: 0; display: grid; place-items: center; }
.notif__icon img { width: 62%; height: auto; display: block; }
.footer__logo { display: inline-block; flex: none; align-self: center; }
.footer__logo img { width: clamp(7.5rem, 5rem + 8vw, 10.5rem); height: auto; display: block; }

/* the lead form's failure message */
.form__fail { margin-top: var(--s-4); padding: 0.75rem 1rem; border: 2px solid var(--ink); border-radius: var(--r-md); background: #ffe7e3; color: var(--ink); font-weight: 600; }
