/* League Spartan (SIL Open Font License), self-hosted so visitors' browsers never contact Google. */
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/league-spartan-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "League Spartan"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/league-spartan-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Pinched homepage. Brand: red #ff0742, ink #1a1414, warm greys and pinks, League Spartan. */
body.home {
  --red: #ff0742;
  --red-deep: #e3063c; /* behind small white text: passes AA (4.8:1); #ff0742 is 3.9:1 */
  --ink: #1a1414;
  --muted: #6f6062;
  --soft: #6f6062; /* #8a7a7a is too faint for small text (3.9:1) */
  --pink: #fff0f3;
  --blush: #fff8f7;
  --line: #f4e8e8;
  --green: #1f9d55;
  --ground: #fffaf9;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --depth: 0 1px 2px rgba(26,20,20,.04), 0 6px 16px rgba(26,20,20,.05), 0 24px 56px rgba(26,20,20,.07);
  font-family: "League Spartan", -apple-system, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--ground);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.home a { color: inherit; }
.home .red { color: var(--red); }
.home .green { color: var(--green); }
.home .num { font-variant-numeric: tabular-nums; }
.home .center { text-align: center; }

.h-wrap { max-width: clamp(1160px, 84vw, 1640px); margin: 0 auto; padding-inline: clamp(20px, 2vw, 40px); box-sizing: border-box; }
.h-sec { padding-top: clamp(110px, 9vw, 190px); }
.center-col { display: flex; flex-direction: column; align-items: center; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 40px; }
.h2 { margin: 0; font-weight: 600; font-size: clamp(34px, 3.7vw, 72px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.sub { margin: 0; font-size: clamp(17px, 1.2vw, 23px); line-height: 1.5; color: var(--muted); max-width: 36em; }
.fine { font-size: 13px; color: var(--soft); margin-top: 14px; }
.fine a { color: var(--ink); }

/* Wordmark (the PNG is white; masks recolour it) */
.wm { display: block; width: clamp(136px, 8.6vw, 184px); height: clamp(34px, 2.15vw, 46px); background: #fff; -webkit-mask: url("wordmark.png") left center / contain no-repeat; mask: url("wordmark.png") left center / contain no-repeat; }
.wm-red { background: var(--red); }
.wm-sm { width: 96px; height: 24px; }
.wm-xs { width: 92px; height: 23px; -webkit-mask-position: center; mask-position: center; }

/* Buttons and press feedback */
.press { transition: transform 160ms var(--ease-out), filter 200ms ease; }
.press:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .press:hover { filter: brightness(1.06); } }
.btn-red, .btn-ink, .btn-white { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.home .btn-red { background: var(--red); color: #fff; font-size: 19px; font-weight: 700; padding: 16px 26px; } /* 19px bold = large text, 3:1 is enough */
.btn-ink { background: var(--ink); color: #fff !important; font-size: clamp(15px, 0.95vw, 19px); padding: 0.75em 1.25em; }
.btn-white { background: #fff; color: var(--ink) !important; font-size: 19px; padding: 17px 30px; }

/* Top bar */
.h-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,250,249,.9); backdrop-filter: blur(12px) saturate(1.3); }
.h-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: clamp(18px, 1.3vw, 26px); flex-wrap: wrap; }
.h-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px clamp(30px, 2vw, 44px); font-size: clamp(15px, 0.95vw, 19px); font-weight: 500; color: #4a3f41; }
.h-nav a:not(.btn-ink) { text-decoration: none; }
.h-nav a:not(.btn-ink):hover { color: var(--red); }

/* Hero */
.hero2 { display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 3vw, 60px); padding-top: clamp(36px, 3.2vw, 72px); }
.hero2-title { margin: 0; font-weight: 600; font-size: clamp(40px, 5.6vw, 120px); line-height: 1.05; letter-spacing: -0.035em; text-align: center; white-space: nowrap; overflow: hidden; padding: 0.06em 0.05em 0.1em; }
.roll { display: inline-block; transition: transform 460ms var(--ease-out), opacity 360ms ease, filter 360ms ease; }
.roll-late { transition-delay: 70ms; }
.roll.out { transform: translateY(-70%); opacity: 0; filter: blur(6px); transition: transform 220ms var(--ease-in-out), opacity 220ms ease, filter 220ms ease; }
.roll.pre { transform: translateY(70%); opacity: 0; filter: blur(6px); transition: none; }
.hero2-lead { margin: 0; font-size: clamp(20px, 1.9vw, 36px); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; text-align: center; max-width: 24em; }
.hero2-caption { font-size: 13px; color: var(--soft); margin-top: -26px; text-align: center; }

/* Receipt (torn bottom edge, stacked sheets behind) */
.paper { -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 14px 51% repeat-x, linear-gradient(#000 0 0) top / 100% 51% no-repeat; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 14px 51% repeat-x, linear-gradient(#000 0 0) top / 100% 51% no-repeat; }
.receipt-stage { position: relative; width: 100%; max-width: clamp(560px, 40vw, 780px); margin-top: 8px; }
.receipt-stage.small { max-width: clamp(460px, 32vw, 620px); }
.sheet-a { position: absolute; inset: 18px 22px -14px 22px; background: #ffe3ea; transform: rotate(-2.2deg); border-radius: 18px 18px 0 0; }
.sheet-b { position: absolute; inset: 10px 10px -6px 10px; background: var(--pink); transform: rotate(1.6deg); border-radius: 18px 18px 0 0; }
.receipt-stage.small .sheet-a { transform: rotate(2deg); }
.receipt-shadow { position: relative; filter: drop-shadow(0 24px 40px rgba(255,7,66,.14)) drop-shadow(0 4px 10px rgba(26,20,20,.06)); }
.receipt { background: #fff; border-radius: 20px 20px 0 0; padding: 26px 30px 42px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.r-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: clamp(18px, 1.25vw, 23px); }
.r-muted { font-size: 13px; color: var(--soft); }
.r-shop { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.r-shop img { width: 26px; height: 26px; border-radius: 7px; object-fit: contain; background: #fff; }
.r-shop.muted { color: var(--muted); font-size: 13px; font-weight: 400; }
.r-shop.muted img { width: 18px; height: 18px; border-radius: 5px; }
.r-fade { transition: opacity 280ms var(--ease-out), filter 280ms var(--ease-out); }
.receipt.switching .r-fade { opacity: 0; filter: blur(6px); }
.dash { border-top: 2px dashed #f0dcdc; }
.r-total { font-size: clamp(26px, 1.8vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.r-total.sm { font-size: 18px; }
.r-total-right { display: flex; align-items: center; gap: 12px; }
.r-discount { color: var(--green); font-weight: 500; opacity: 0; transform: translateY(-6px); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
.receipt.won .r-discount { opacity: 1; transform: none; }
.saved-badge { font-size: 14px; font-weight: 600; color: #fff; background: var(--red-deep); padding: 6px 11px; border-radius: 999px; opacity: 0; transform: scale(.94); transition: opacity 320ms var(--ease-out) 120ms, transform 320ms var(--ease-out) 120ms; letter-spacing: 0; }
.receipt.won .saved-badge, .saved-badge.on { opacity: 1; transform: none; }
.saved-badge.on { align-self: flex-start; font-size: 13px; }

/* The code slot */
.slot { background: var(--blush); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; transition: background-color 300ms ease; }
.receipt.won .slot { background: #f1faf4; }
.slot-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.slot-label { display: flex; align-items: center; gap: 8px; }
.slot-label img { width: 18px; height: 18px; border-radius: 5px; }
.slot-main { height: 44px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slot-code { font-size: clamp(26px, 1.8vw, 34px); font-weight: 600; letter-spacing: 0.01em; }
.slot-left { display: flex; align-items: center; min-width: 0; }
.slot-pic { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; margin-left: -36px; opacity: 0; transform: scale(.5); transition: opacity 150ms ease, transform 150ms ease, margin-left 0s linear 150ms; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(26,20,20,.14); }
.receipt.won .slot.creator .slot-pic { margin-left: 12px; opacity: 1; transform: none; transition: margin-left 360ms var(--ease-out), opacity 240ms ease, transform 360ms var(--ease-out); }
.receipt.won .slot-code { color: var(--green); }
.slot-res { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--soft); transition: color 200ms ease; }
.slot.failed .slot-res { color: #b5475d; }
.receipt.won .slot-res { color: var(--green); }
.receipt.won .slot-res .spin, .slot.failed .spin { display: none; }
.spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #f0dcdc; border-top-color: var(--red); animation: spin .7s linear infinite; display: inline-block; flex: none; box-sizing: border-box; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Call-to-action bar */
.cta-bar { width: 100%; max-width: clamp(680px, 48vw, 900px); background: #fff; border-radius: 999px; padding: 8px 8px 8px 28px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: var(--depth); }
.perks { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; color: #4a3f41; }
.perks span { display: inline-flex; align-items: center; gap: 6px; }
.perks svg { width: 15px; height: 15px; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Creators split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(460px, 32vw, 620px)); gap: 64px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 16px; }
.split-text .sub { max-width: 26em; }
.lead-row { display: flex; align-items: flex-end; font-size: clamp(18px, 1.25vw, 23px); }
.lead-row.strong { font-weight: 600; }
.lead-row > span:last-child { font-weight: 600; }
.dots { flex: 1; min-width: 20px; height: 4px; margin: 0 10px 5px; background: radial-gradient(circle, #d9c6ca 1.1px, transparent 1.5px) 0 50% / 8px 4px repeat-x; }
.big { font-size: 30px; }

/* Moving rows */
/* No fade mask on the edges: redrawing it every frame made the row stutter. */
.mq { overflow: hidden; }
/* Spacing after every item (not flex gap): with a gap, half the row was 7px
   short of one copy and the row jumped back 7px each time the loop restarted. */
.track { display: flex; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.track > * { margin-right: 14px; }
.track.rev { animation-direction: reverse; }
.track.slow { animation-duration: 75s; }
@media (hover: hover) and (pointer: fine) { .mq:hover .track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.faces { margin-top: 72px; display: flex; flex-direction: column; gap: 30px; padding: 8px 0 14px; }
.face { flex: none; width: 116px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; text-decoration: none; }
.face-pic { position: relative; display: block; }
.face-pic img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; background: var(--pink); box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(26,20,20,.12); }
.face-name { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.tag { position: absolute; right: -6px; bottom: -4px; background: var(--red-deep); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 8px 4px 13px; clip-path: polygon(7px 0, 100% 0, 100% 100%, 7px 100%, 0 50%); border-radius: 0 6px 6px 0; }
.tag::before { content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: #fff; }

/* Comparison */
.compare { width: 100%; max-width: clamp(860px, 62vw, 1180px); background: #fff; border-radius: 28px; padding: 12px; box-sizing: border-box; box-shadow: var(--depth); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; padding: 18px 20px; border-radius: 18px; }
.cmp-row:nth-child(odd) { background: var(--blush); }
.cmp-head { background: none !important; padding: 14px 20px; font-size: 14px; color: var(--soft); text-align: center; }
.cmp-head span:first-child { text-align: left; }
.cmp-mid { display: flex; justify-content: center; }
.cmp-what { font-size: clamp(17px, 1.15vw, 21px); font-weight: 500; }
.tick, .cross { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tick { background: var(--red-deep); margin: 0 auto; }
.tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cross { width: 26px; height: 26px; background: var(--line); }
.cross svg { width: 12px; height: 12px; fill: none; stroke: var(--soft); stroke-width: 3.4; stroke-linecap: round; }
.cmp-them { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: var(--soft); }

/* Stats */
.stats { width: 100%; max-width: clamp(980px, 70vw, 1300px); margin: 0 0 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stat strong { font-size: clamp(56px, 4vw, 80px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat > span { font-size: 16px; color: var(--muted); }
.stat-art { height: 40px; display: flex; align-items: center; }
.chips { gap: 6px; }
.chips span { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; background: #fff; padding: 8px 10px; border-radius: 8px; transform: rotate(var(--r)); box-shadow: 0 2px 8px rgba(26,20,20,.1); }
.stack img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--pink); box-shadow: 0 0 0 3px var(--ground); margin-left: -10px; }
.stack img:first-child { margin-left: 0; }
.stack.logos img { border-radius: 12px; background: #fff; object-fit: contain; padding: 6px; box-sizing: border-box; box-shadow: 0 0 0 3px var(--ground), 0 2px 6px rgba(26,20,20,.12); }

/* Shop search */
.find { width: 100%; max-width: clamp(620px, 44vw, 820px); display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 10px 10px 10px 26px; box-sizing: border-box; box-shadow: 0 1px 2px rgba(26,20,20,.04), 0 10px 30px rgba(26,20,20,.08); transition: box-shadow 200ms ease; margin: 0; }
.find:focus-within { box-shadow: 0 0 0 2px var(--red), 0 12px 30px rgba(255,7,66,.14); }
.find input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: none; padding: 8px 0; }
.find-all { flex: none; font-size: 15px; font-weight: 600; background: var(--pink); text-decoration: none; padding: 11px 16px; border-radius: 999px; }
.merch { margin-top: 28px; padding: 10px 0 14px; }
.shop-tile { flex: none; width: 108px; font: inherit; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px; color: var(--ink); font-size: 14px; font-weight: 500; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .shop-tile:hover { transform: translateY(-2px); } }
.shop-tile .tile { width: 64px; height: 64px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(26,20,20,.05), 0 8px 20px rgba(26,20,20,.08); transition: box-shadow 200ms ease; }
.shop-tile.on .tile { box-shadow: 0 0 0 3px var(--red), 0 12px 26px rgba(255,7,66,.22); }
.shop-tile img { width: 38px; height: 38px; object-fit: contain; }
.result { width: 100%; max-width: clamp(720px, 52vw, 960px); margin-top: 18px; transition: opacity 260ms var(--ease-out), filter 260ms var(--ease-out), transform 260ms var(--ease-out); }
.result.out { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.res-card { background: #fff; border-radius: 28px; padding: 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--depth); }
.res-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 12px; }
.res-head > span:first-child { display: flex; align-items: center; gap: 12px; }
.res-head strong { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.res-head img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.res-count { font-size: 14px; color: var(--soft); }
.res-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 16px; align-items: center; border-radius: 18px; padding: 16px; }
.res-row:nth-child(odd) { background: var(--blush); }
.res-code { display: flex; align-items: center; gap: 12px; min-width: 0; }
.res-code img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.res-code strong { font-size: 17px; letter-spacing: 0.02em; display: block; overflow: hidden; text-overflow: ellipsis; }
.res-code small { font-size: 13px; color: var(--soft); }
.res-off { font-size: 16px; font-weight: 600; color: var(--green); }
.res-worked { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; display: block; }
.bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.res-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 10px 6px 16px; font-size: 15px; color: var(--muted); }
.res-foot .btn-red { font-size: 16px; padding: 14px 22px; background: var(--red-deep); }
.res-msg { text-align: center; font-size: 17px; color: var(--muted); padding: 24px; }
.res-msg a { color: var(--ink); font-weight: 500; }

/* How it works */
.steps3 { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; }
.step3 { display: flex; flex-direction: column; gap: 20px; transition: transform 420ms var(--ease-out); }
.step3.on { transform: translateY(-8px); }
.step-shadow { filter: drop-shadow(0 10px 24px rgba(26,20,20,.07)); transition: filter 420ms ease; }
.step3.on .step-shadow { filter: drop-shadow(0 26px 40px rgba(255,7,66,.16)); }
.step-paper { background: #fff; border-radius: 18px 18px 0 0; padding: 22px 22px 34px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; box-sizing: border-box; }
.step-paper .r-row { font-size: 15px; }
.step-paper .r-shop img { width: 22px; height: 22px; }
.step-cap { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.step-cap strong { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: #4a3f41; transition: color 300ms ease; }
.step3.on .step-cap strong { color: var(--ink); }
.step-cap span { font-size: 15px; color: var(--muted); }
.try { display: flex; justify-content: space-between; align-items: center; background: var(--blush); border-radius: 10px; padding: 10px 12px; font-size: 14px; transition: background-color 250ms ease; }
.try > span { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--soft); }
.try em { font-style: normal; }
.try .spin { display: none; }
.try.trying .spin { display: inline-block; }
.try.done > span { color: var(--green); }
.try.best { background: #f1faf4; }
.was-now { display: flex; align-items: baseline; gap: 10px; }
.was-now s { font-size: 15px; color: var(--soft); }
.was-now strong { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: var(--red); }
.arrow { width: 64px; height: 24px; margin-bottom: 70px; }
.arrow path { fill: none; stroke: #f0c4cf; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 300ms ease; }
.arrow.lit path { stroke: var(--red); }
.flow { stroke-dasharray: 4 7; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }

/* No catch */
.catch { background: var(--ink); color: #fff; border-radius: 32px; padding: 56px; display: flex; flex-direction: column; gap: 40px; box-shadow: var(--depth); }
.catch-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.catch-head > span { font-size: 17px; color: #b3a5a8; max-width: 28em; }
.catch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.catch-grid > div { background: #251c1e; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.catch-grid strong { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.catch-grid > div > span:last-child { font-size: 15px; line-height: 1.5; color: #b3a5a8; }
.ic { width: 44px; height: 44px; border-radius: 14px; background: var(--red-deep); display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.faq2 { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
.faq2 details { background: #fff; border-radius: 20px; padding: 22px 26px; box-shadow: 0 1px 2px rgba(26,20,20,.04), 0 6px 16px rgba(26,20,20,.04); }
.faq2 summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(19px, 1.3vw, 24px); font-weight: 500; cursor: pointer; list-style: none; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary i { width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); flex: none; margin-top: -4px; transition: transform 200ms var(--ease-out); }
.faq2 details[open] summary i { transform: rotate(225deg); margin-top: 4px; }
.faq2 p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Footer */
.h-foot { background: var(--red-deep); color: #fff; overflow: hidden; margin-top: 160px; }
.h-foot-in { padding-top: 100px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.h-foot h2 { margin: 0; font-weight: 600; font-size: clamp(38px, 5.4vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.h-foot-links { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 80px; font-size: 14px; }
.h-foot-links > span:last-child { display: flex; gap: 20px; }
.h-foot-mark { display: flex; justify-content: center; padding: 40px 24px 0; transform: translateY(22%); }
.h-foot-mark img { width: 100%; max-width: 1240px; }

/* Phones and small screens */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .steps3 { grid-template-columns: 1fr; gap: 28px; }
  .arrow { display: none; }
  .catch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .h-sec { padding-top: 100px; }
  .h-nav a:not(.btn-ink) { display: none; }
  .hero2 { gap: 32px; padding-top: 22px; }
  .hero2-title { white-space: nowrap; font-size: 7vw; letter-spacing: -0.03em; }
  .h-wrap { padding-inline: 16px; }
  .receipt { padding: 22px 20px 38px; }
  .slot-code { font-size: 22px; }
  .r-total { font-size: 22px; }
  .cta-bar { flex-direction: column; border-radius: 26px; padding: 18px; gap: 14px; }
  .cta-bar .btn-red { width: 100%; }
  .perks { justify-content: center; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .stat strong { font-size: 48px; }
  .compare { padding: 6px; border-radius: 22px; }
  .cmp-row { padding: 14px 12px; grid-template-columns: minmax(0, 1.4fr) 44px minmax(0, 1fr); gap: 8px; }
  .cmp-what { font-size: 15px; }
  .cmp-them { font-size: 13px; justify-content: flex-start; }
  .find-all { display: none; }
  .res-row { grid-template-columns: 1fr 1fr; }
  .res-worked { grid-column: 1 / -1; }
  .catch { padding: 32px 22px; border-radius: 26px; }
  .catch-grid { grid-template-columns: 1fr; }
  .h-foot-in { padding-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .track, .spin, .flow { animation: none; }
  .roll, .roll.out, .r-fade, .step3, .result { transition: none; }
}

/* ---------------- Sub-pages: shops, creators, privacy ---------------- */
.sub-main { padding-top: clamp(64px, 6vw, 120px); padding-bottom: 20px; }
.subpage .page-head { padding: 0 0 32px; display: flex; flex-direction: column; gap: 16px; max-width: 46em; }
.subpage .page-head h1 { margin: 0; font-weight: 600; font-size: clamp(40px, 4.4vw, 84px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.subpage .page-head p { margin: 0; font-size: clamp(17px, 1.2vw, 23px); line-height: 1.5; color: var(--muted); }
.find-left { margin: 0; max-width: 620px; }
.subpage .search { border: 0; border-radius: 999px; background: #fff; padding: 10px 10px 10px 26px; max-width: 620px; box-shadow: 0 1px 2px rgba(26,20,20,.04), 0 10px 30px rgba(26,20,20,.08); }
.subpage .search:focus-within { box-shadow: 0 0 0 2px var(--red), 0 12px 30px rgba(255,7,66,.14); }
.subpage .search input { font-size: 18px; }
.subpage .search button { background: var(--ink); border-radius: 999px; font-weight: 600; padding: 12px 20px; }
.subpage .result-count { color: var(--muted); margin: 14px 0 0; }
.subpage .letters { margin-top: 24px; gap: 8px; }
.subpage .letters a, .sub .letters span { min-width: 40px; height: 40px; border-radius: 12px; font-weight: 600; }
.subpage .letters a { background: #fff; box-shadow: 0 1px 2px rgba(26,20,20,.05), 0 4px 12px rgba(26,20,20,.06); }
.subpage .letters a:hover { background: var(--ink); color: #fff; }
.subpage .letter-group { padding-top: 48px; }
.subpage .letter-group h2 { font-size: clamp(28px, 2.2vw, 40px); font-weight: 600; border: 0; padding: 0 0 6px; }
.subpage .shop-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.subpage .shop { border: 0; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(26,20,20,.04), 0 6px 18px rgba(26,20,20,.06); transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
@media (hover: hover) and (pointer: fine) { .subpage .shop:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(26,20,20,.05), 0 12px 28px rgba(26,20,20,.09); } }
.subpage .shop-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--blush); overflow: hidden; }
.subpage .shop-mark img { width: 28px; height: 28px; object-fit: contain; }
.subpage .shop-text span { color: var(--muted); }
.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 36px 16px; margin: 40px 0 48px; }
.face.big { width: auto; }
.face.big .face-pic img, .face .initial { width: 88px; height: 88px; }
.face .initial { border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--red); font-size: 32px; font-weight: 600; box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(26,20,20,.12); }
.face.big .face-name { font-size: 15px; }
.subpage .prose { padding: 0; max-width: 70ch; }
.subpage .prose h1 { font-size: clamp(40px, 4.4vw, 84px); font-weight: 600; letter-spacing: -0.03em; }
.subpage .prose h2 { font-size: clamp(22px, 1.7vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 12px; }
.subpage .prose p, .sub .prose li { font-size: clamp(17px, 1.15vw, 21px); line-height: 1.6; color: #4a3f41; }
.subpage .fine { margin-top: 24px; }
.subpage .h-foot { margin-top: clamp(100px, 8vw, 160px); }

/* Header spans the full window at every width */
.h-bar .h-wrap { max-width: none; padding-inline: clamp(16px, 1.5vw, 32px); }
/* Creator section: the words carry the point, not just the receipt */
.split-text .h2 { font-size: clamp(40px, 4.4vw, 92px); font-weight: 700; line-height: 1.04; }
.split-text .sub { font-size: clamp(19px, 1.45vw, 27px); color: #4a3f41; }
/* Codes nobody has tried yet */
.new-code { align-self: flex-start; font-size: 12px; font-weight: 600; color: #fff; background: var(--red-deep); padding: 4px 9px; border-radius: 999px; }
/* Laptops: size the hero by screen height too, so headline, receipt and button all fit on a 13-inch screen */
@media (min-width: 721px) {
  .hero2 { gap: clamp(16px, min(3vw, 2.8vh), 60px); padding-top: clamp(12px, min(3.2vw, 2.4vh), 72px); }
  .hero2-title { font-size: clamp(40px, min(5.6vw, 9.2vh), 120px); }
  .hero2-lead { font-size: clamp(19px, min(1.9vw, 3.3vh), 36px); }
  .hero2 .receipt-stage { max-width: clamp(480px, min(40vw, 66vh), 780px); }
  .hero2 .receipt { padding: clamp(16px, 2.4vh, 26px) 30px clamp(26px, 3.8vh, 42px); gap: clamp(8px, 1.5vh, 16px); }
  .hero2-caption { margin-top: calc(-1 * clamp(10px, 2vh, 26px)); }
}

/* Phones: the whole hero, button included, fits the first screen */
@media (max-width: 720px) {
  .hero2 { gap: clamp(14px, 2.6vh, 32px); padding-top: clamp(10px, 2vh, 22px); }
  .hero2 .receipt-stage { margin-top: 0; }
  .hero2 .receipt { padding: clamp(14px, 2.2vh, 22px) 18px clamp(24px, 3.6vh, 38px); gap: clamp(8px, 1.4vh, 16px); }
  .hero2 .slot { padding: 10px 14px; gap: 6px; }
  .hero2 .slot-main { height: 36px; }
  .slot-pic { width: 30px; height: 30px; margin-left: -30px; }
  .receipt.won .slot.creator .slot-pic { margin-left: 10px; }
  .hero2-lead { font-size: clamp(17px, 2.6vh, 20px); }
  .hero2 .cta-bar { padding: 12px; gap: 10px; border-radius: 22px; }
  .hero2 .perks { font-size: 12.5px; gap: 2px 10px; flex-wrap: nowrap; white-space: nowrap; }
  .hero2 .perks svg { width: 13px; height: 13px; }
  .hero2 .btn-red { padding: 14px 20px; }
  .hero2-caption { margin-top: -8px; font-size: 12px; }
}
@media (max-width: 720px) and (max-height: 760px) {
  .hero2 .r-item { display: none; } /* the total already shows the price */
  .hero2-lead { max-width: 21em; }
}

/* Phones: League Spartan reads thin at small sizes, so everything steps up a weight */
@media (max-width: 720px) {
  body.home { font-weight: 500; }
  .hero2-title { font-weight: 800; }
  .h2, .split-text .h2, .h-foot h2, .stat strong, .subpage .page-head h1, .subpage .prose h1, .subpage .prose h2, .subpage .letter-group h2 { font-weight: 700; }
  .hero2-lead, .h-nav, .cmp-what, .faq2 summary, .face-name, .shop-tile, .r-shop, .r-discount, .res-msg a { font-weight: 600; }
  .lead-row.strong, .lead-row > span:last-child, .r-total, .slot-code, .res-head strong, .res-off, .step-cap strong, .catch-grid strong, .was-now strong { font-weight: 700; }
}

/* 404 page */
.nf .page-head { padding-top: clamp(20px, 4vw, 80px); }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.nf-alt { display: inline-flex; align-items: center; font-weight: 600; font-size: 17px; text-decoration: none; padding: 16px 24px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(26,20,20,.05), 0 6px 16px rgba(26,20,20,.07); }

/* ================= Header: separate frosted pills at the edges (every page) ================= */
.h-bar { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; z-index: 30; }
body.home:not(.subpage) .h-bar { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); }
.h-bar-in { padding-block: 14px; flex-wrap: nowrap; }
.h-bar .wm-link, .h-nav { pointer-events: auto; }
.h-nav { gap: 8px; flex-wrap: nowrap; }
.h-bar .wm-link, .h-links { background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 1px 2px rgba(26,20,20,.04), 0 8px 24px rgba(26,20,20,.07); border-radius: 999px; transition: background-color 300ms ease, box-shadow 300ms ease; }
.h-bar.scrolled .wm-link, .h-bar.scrolled .h-links { background: rgba(255,250,249,.4); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 30px rgba(26,20,20,.12); }
.h-bar .wm-link { display: flex; align-items: center; height: 52px; padding: 0 22px; box-sizing: border-box; }
.h-bar .wm { width: 108px; height: 27px; }
.h-links { display: flex; align-items: center; gap: clamp(22px, 1.7vw, 32px); height: 52px; padding: 0 26px; box-sizing: border-box; }
.h-nav .btn-ink { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; box-sizing: border-box; font-size: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 8px 22px rgba(26,20,20,.22); }
/* Glass bar (28 Oct 2026): one see-through bar across the full width, logo left,
   links centred, Add to Chrome right. The logo and links lose their own pills. */
.h-bar .h-bar-in { width: 100%; max-width: none; margin: 0; padding: 10px clamp(16px, 1.5vw, 32px); position: relative; pointer-events: auto;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.34));
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,7,66,.06), 0 10px 30px -12px rgba(26,20,20,.16); }
.h-bar .wm-link, .h-links, .h-bar.scrolled .wm-link, .h-bar.scrolled .h-links { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.h-links { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.h-bar .wm-link, .h-nav .btn-ink { height: 46px; }
@media (max-width: 720px) {
  .h-links { display: none; }
  .h-bar .wm-link, .h-nav .btn-ink { height: 46px; }
  .h-bar .wm-link { padding: 0 18px; }
  .h-bar .wm { width: 92px; height: 23px; }
}

/* ================= The story: one 3D receipt that changes as you scroll ================= */
.story { position: relative; height: 600vh; }
.story-anchor { position: absolute; left: 0; width: 1px; height: 1px; top: 0; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.copy { position: absolute; will-change: opacity, transform; }
.c1, .c2, .c3, .faces-strip { opacity: 0; pointer-events: none; }

/* Page background: aurora and dot grid behind the whole site; the story adds two splats (codes, then shops) */
.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.story-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; inset: -20%; }
/* Still on purpose: drifting, the glass top bar had to re-blur it every frame. */
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); }
.aurora i:nth-child(1) { width: 44vw; height: 44vw; left: 16%; top: 12%; background: rgba(255,7,66,.16); }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; right: 12%; top: 26%; background: rgba(255,150,175,.26); }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 38%; top: 50%; background: rgba(255,214,224,.5); }
.dotgrid { position: absolute; inset: 0; background: radial-gradient(circle, rgba(26,20,20,.14) 1.1px, transparent 1.6px) 0 0 / 24px 24px; -webkit-mask: radial-gradient(ellipse 75% 65% at 50% 50%, #000 15%, transparent 80%); mask: radial-gradient(ellipse 75% 65% at 50% 50%, #000 15%, transparent 80%); }
.splat { position: absolute; inset: 0; }
#splat-faces { opacity: 0; }
.splat-tier { position: absolute; inset: 0; will-change: transform; }
.bg-code, .bg-tile { position: absolute; translate: -50% -50%; filter: blur(var(--b)); opacity: var(--o); animation: float 9s ease-in-out infinite alternate; animation-delay: var(--dl); }
.bg-code { white-space: nowrap; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: rgba(255,255,255,.88); border: 1.5px dashed rgba(255,7,66,.42); border-radius: 10px; padding: 9px 13px 8px; box-shadow: 0 8px 24px rgba(26,20,20,.07); }
.bg-tile { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px #fff, 0 10px 26px rgba(26,20,20,.1); }
.bg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-tile.is-brand { border-radius: 26%; } .bg-tile.is-brand img { width: 72%; height: 72%; flex: none; object-fit: contain; border-radius: 18%; }
.bg-tile.is-person { border-radius: 50%; }
@keyframes float { from { transform: translateY(-5px) rotate(var(--rt)); } to { transform: translateY(5px) rotate(var(--rt)); } }

/* Hero copy */
.c0 { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2vh, 28px); padding: 80px 16px 22px; text-align: center; box-sizing: border-box; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #4a3f41; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(26,20,20,.06); padding: 8px 16px 7px 12px; border-radius: 999px; box-shadow: 0 1px 2px rgba(26,20,20,.04), 0 6px 16px rgba(26,20,20,.05); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,157,85,.45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(31,157,85,0); } }
.story .hero2-title { font-weight: 700; font-size: clamp(40px, min(6vw, 8.2vh), 124px); line-height: 1; letter-spacing: -0.045em; overflow: visible; padding: 0; text-shadow: 0 1px 0 #fff, 0 18px 40px rgba(26,20,20,.12); }
.amt { display: inline-block; color: var(--red); font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 #fff, 0 16px 40px rgba(255,7,66,.3); transform-origin: 50% 80%; }
.amt.bounce { animation: bounce 600ms cubic-bezier(.33,1,.68,1); }
@keyframes bounce { 0% { transform: none; } 35% { transform: translateY(-5%) scale(1.025); } 70% { transform: translateY(1%); } 100% { transform: none; } }
.ph { width: min(520px, 100%, 64vh); flex: none; }
.story .hero2-lead { font-size: clamp(19px, min(1.8vw, 3.1vh), 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; max-width: 25em; color: #3a3032; }
.cta-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-wrap { position: relative; display: inline-flex; border-radius: 999px; isolation: isolate; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cta-wrap::before, .cta-wrap::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; }
.cta-wrap::before { background: conic-gradient(from var(--a), #ff0742, #ff9db4, #fff, #ff0742 35%, #ff6b8e 60%, #ffd1dc 80%, #ff0742); animation: turn 3.2s linear infinite; }
.cta-wrap::before { inset: -2px; padding: 2px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); z-index: 1; pointer-events: none; }
.cta-wrap::after { inset: 0; z-index: -1; box-shadow: 0 0 22px 2px rgba(255,7,66,.32), 0 0 48px 8px rgba(255,120,150,.22); animation: bloom 3.2s ease-in-out infinite alternate; }
@keyframes bloom { to { box-shadow: 0 0 28px 4px rgba(255,7,66,.42), 0 0 60px 12px rgba(255,120,150,.28); } }
@keyframes turn { to { --a: 360deg; } }
.home .cta { position: relative; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 700; font-size: clamp(18px, 1.3vw, 22px); letter-spacing: -0.01em; padding: 20px 30px 19px 34px; border-radius: 999px; background: linear-gradient(180deg, #ff3364 0%, #ff0742 52%, #ec0840 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(120,0,25,.18), 0 2px 4px rgba(255,7,66,.25), 0 14px 30px -8px rgba(255,7,66,.55), 0 30px 60px -22px rgba(26,20,20,.45); transform: translateY(-2px); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.cta svg { width: 20px; height: 20px; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .home .cta:hover { transform: translateY(0); box-shadow: inset 0 3px 8px rgba(110,0,25,.38), inset 0 -1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(255,7,66,.25), 0 6px 16px -6px rgba(255,7,66,.45); }
  .cta:hover svg { transform: translateX(3px); }
}
.home .cta:active { transform: translateY(1px) scale(.985); }
.cta-group .perks { gap: 16px; font-size: 14px; color: var(--muted); flex-wrap: nowrap; white-space: nowrap; }
.cta-group .perks svg { width: 13px; height: 13px; stroke: var(--green); }

/* Section copy */
.story .h2 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(36px, min(4.6vw, 8vh), 92px); text-shadow: 0 1px 0 #fff, 0 16px 36px rgba(26,20,20,.10); }
.story .sub { margin: 16px 0 0; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.45; max-width: 30em; }
.c1 { left: max(24px, 6vw); top: 41%; width: min(42vw, 660px); }
.c1 .h2 { font-weight: 800; font-size: clamp(48px, min(5.6vw, 9.4vh), 120px); letter-spacing: -0.045em; line-height: .98; }
.c1 .sub { font-size: clamp(18px, 1.45vw, 24px); font-weight: 500; color: #4a3f41; }
.c2 { left: 0; right: 0; top: 12vh; text-align: center; }
.c3 { left: 0; right: 0; top: 13vh; text-align: center; }
.c2 .sub, .c3 .sub { margin-inline: auto; }
.c3 .stats { width: auto; max-width: none; display: flex; justify-content: center; gap: clamp(28px, 6vw, 90px); margin: 28px 0 0; }
.c3 .stat { gap: 4px; }
.c3 .stat strong { font-size: clamp(40px, 3.6vw, 64px); font-weight: 700; }
.c3 .stat > span { font-size: 15px; }
.faces-strip { position: absolute; left: 0; right: 0; bottom: clamp(10px, 2.4vh, 30px); will-change: opacity; }
.faces-strip .faces { margin: 0; gap: 16px; padding: 8px 0 6px; }
.faces-strip .face { width: 112px; gap: 9px; }
.faces-strip .face-pic img { width: 60px; height: 60px; }
.faces-strip .fine { margin: 6px 16px 0; font-size: 12px; }

/* The card */
.story-card { position: absolute; z-index: 5; left: 0; top: 0; perspective: 1400px; will-change: transform, width, height; --r: 22px; --rb: 0px; --th: 45deg; }
.floor { position: absolute; left: 8%; right: 8%; height: 60px; bottom: var(--fb, -44px); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(40,12,20,.34), rgba(80,20,35,.12) 45%, transparent 70%); filter: blur(14px); }
.tilt, .bob, .content { position: absolute; inset: 0; transform-style: preserve-3d; }
.tilt { will-change: transform; }
.bob { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate3d(0, -7px, 0); } }
.shape { position: absolute; inset: 0; border-radius: var(--r) var(--r) var(--rb) var(--rb); }
/* Torn bottom edge. --th widens the teeth until they vanish for the search pill. Masks flatten 3D, so each sits on one layer. */
.torn { -webkit-mask: conic-gradient(from calc(-1 * var(--th)) at bottom, #0000, #000 1deg calc(2 * var(--th)), #0000 calc(2 * var(--th) + 1deg)) bottom / 16px 20px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 19px) no-repeat; mask: conic-gradient(from calc(-1 * var(--th)) at bottom, #0000, #000 1deg calc(2 * var(--th)), #0000 calc(2 * var(--th) + 1deg)) bottom / 16px 20px repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 19px) no-repeat; }
/* Paper thickness: thin stacked layers, darker towards the back */
.ex.e1 { transform: translateZ(-3px); background: #ece6e4; } .ex.e2 { transform: translateZ(-6px); background: #e4dcda; }
.ex.e3 { transform: translateZ(-9px); background: #dbd2d0; } .ex.e4 { transform: translateZ(-12px); background: #d1c7c5; }
.ex.e5 { transform: translateZ(-15px); background: #c6bbb9; }
.drop { transform: translate3d(0, 16px, -40px); background: rgba(50,15,25,.22); filter: blur(22px); }
.sheet-paper { background: linear-gradient(180deg, #ffffff 0%, #fffdfc 55%, #fbf6f4 100%); overflow: hidden; }
.sheet-paper::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--sx, 30%) var(--sy, 20%), rgba(255,255,255,.95), rgba(255,255,255,0) 45%), linear-gradient(180deg, rgba(255,255,255,.9), transparent 3px); mix-blend-mode: soft-light; }
.sheet-paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 45%, transparent 60%); transform: translateX(-60%); }
.sheet-paper.shine::after { animation: shine 900ms var(--ease-out); }
@keyframes shine { to { transform: translateX(140%); } }
.content { transform: translateZ(.6px); }
.panel { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px 30px 40px; text-align: left; transform-style: preserve-3d; will-change: opacity; box-sizing: border-box; }
.p1, .p2, .p3 { opacity: 0; pointer-events: none; }
.z1 { transform: translateZ(16px); } .z2 { transform: translateZ(34px); }
.barcode { display: block; width: 100%; height: clamp(22px, 3.4vh, 34px); fill: var(--ink); opacity: .88; margin-top: 2px; }
/* Receipt */
.p0 { padding: clamp(16px, 2.6vh, 28px) 30px clamp(30px, 4.4vh, 44px); gap: clamp(9px, 1.5vh, 15px); }
.story-card .r-row { font-size: 20px; }
.story-card .r-total { font-size: 30px; font-weight: 700; }
.story-card .slot { border-radius: 16px; padding: 13px 16px; gap: 9px; background: #fff3f4; box-shadow: inset 0 2px 5px rgba(120,20,40,.08), inset 0 -1px 0 rgba(255,255,255,.9), 0 1px 0 #fff; }
#receipt.won .slot { background: #eefaf2; box-shadow: inset 0 2px 5px rgba(20,100,50,.08), inset 0 -1px 0 rgba(255,255,255,.9), 0 1px 0 #fff; }
.story-card .slot-main { height: 40px; overflow: visible; }
.story-card .slot-code { font-size: 30px; font-weight: 700; text-shadow: 0 1px 0 #fff, 0 8px 18px rgba(26,20,20,.12); }
#receipt.won .slot-code { color: var(--green); text-shadow: 0 1px 0 #fff, 0 8px 18px rgba(31,157,85,.25); }
#receipt.won .slot.creator .slot-pic { margin-left: 12px; opacity: 1; transform: none; transition: margin-left 360ms var(--ease-out), opacity 240ms ease, transform 360ms var(--ease-out); }
#receipt.won .slot-res { color: var(--green); }
#receipt.won .slot-res .spin { display: none; }
.story-card .r-discount { font-weight: 600; transform: translateZ(16px) translateY(-6px); }
#receipt.won .r-discount { opacity: 1; transform: translateZ(16px); }
#receipt.switching .r-fade { opacity: 0; filter: blur(6px); }
/* Your codes */
.p1 { gap: clamp(12px, 2vh, 18px); padding: 30px 34px 44px; }
.p1 .lead-row { font-size: clamp(19px, 1.6vw, 24px); }
.p1 .r-total { font-size: 36px; }
.p1 .wm-sm { width: 110px; height: 28px; }
/* Comparison */
.p2 { padding: 18px 20px 40px; gap: 0; }
.p2 .cmp-row { padding: 12px 14px; border-radius: 14px; }
.p2 .cmp-row:nth-child(odd) { background: rgba(255,240,243,.6); }
.p2 .cmp-head { padding: 8px 14px 12px; border-bottom: 2px dashed #ecdcdc; border-radius: 0; margin-bottom: 6px; }
.p2 .cmp-what { font-size: 18px; }
.p2 .tick { transform: translateZ(14px); box-shadow: 0 6px 14px -4px rgba(255,7,66,.5); }
/* Search pill */
.story-card .find { bottom: 0; max-width: none; background: none; box-shadow: none; border-radius: 0; flex-direction: row; align-items: center; gap: 14px; padding: 0 8px 0 24px; }
.story-card .find:focus-within { box-shadow: none; }
.find-go { flex: none; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--ink); border: 0; border-radius: 999px; padding: 14px 22px; cursor: pointer; transform: translateZ(10px); box-shadow: 0 8px 18px -6px rgba(26,20,20,.5); }
.story-card:focus-within .sheet-paper { box-shadow: inset 0 0 0 2px var(--red); }
/* Search results inside the last part of the story */
.story-result { position: absolute; z-index: 6; left: 50%; top: 0; width: min(760px, calc(100% - 32px)); opacity: 0; pointer-events: none; will-change: transform, opacity; }
.story-result .result { margin-top: 0; max-width: none; }
.story-result .res-card { box-shadow: 0 2px 4px rgba(26,20,20,.04), 0 24px 50px -16px rgba(26,20,20,.22); animation: res-in 420ms var(--ease-out); }
@keyframes res-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.story-result .res-row { padding: 12px 16px; }
.find-more { margin-top: 12px; }
.c3 .sub, .c3 .stats { transition: opacity 300ms ease; }
.searching .c3 .sub, .searching .c3 .stats { opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .c0 { justify-content: flex-start; padding-top: 76px; gap: 13px; }
  .story .hero2-title { font-size: 7.4vw; font-weight: 800; }
  .hero-tag { font-size: 12px; padding: 7px 13px 6px 10px; }
  .ph { width: min(100%, 360px); }
  .story .hero2-lead { font-size: 17px; font-weight: 600; max-width: 21em; }
  .home .cta { padding: 16px 24px 15px 26px; font-size: 18px; }
  .cta-group .perks { font-size: 12px; gap: 10px; }
  .p0 { padding: 16px 18px 30px; gap: 10px; }
  .panel { padding: 18px 18px 32px; gap: 10px; }
  .story-card .slot { padding: 10px 14px; } .story-card .slot-main { height: 34px; }
  .story-card .slot-code { font-size: 23px; } .story-card .r-total { font-size: 22px; } .story-card .r-row { font-size: 16px; }
  .barcode { height: 22px; }
  .story .h2 { font-weight: 800; }
  .c1 { left: 16px; right: 16px; width: auto; top: 84px; }
  .c1 .h2 { font-size: 38px; }
  .c1 .sub { display: none; }
  .c2, .c3 { top: 84px; padding: 0 16px; }
  .c2 .sub { display: none; }
  .p1 { padding: 18px 18px 32px; gap: 10px; } .p1 .lead-row { font-size: 15px; } .p1 .r-total { font-size: 22px; } .p1 .wm-sm { width: 92px; height: 23px; }
  .faces-strip .faces { gap: 10px; } .faces-strip .face { width: 76px; gap: 6px; } .faces-strip .face-pic img { width: 42px; height: 42px; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(26,20,20,.12); }
  .faces-strip .face-name { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .faces-strip .faces { padding: 4px 0; }
  .c1 .h2 { font-size: 34px; }
  .p1 { padding: 14px 16px 26px; gap: 8px; } .p1 .lead-row { font-size: 14px; } .p1 .barcode { display: none; }
  .c2 .h2 { font-size: 30px; }
  .c2 { top: 74px; }
  .p2 .cmp-row { padding: 6px 6px; }
  .faces-strip .tag { font-size: 11px; padding: 4px 6px 3px 11px; }
  .faces-strip .fine { font-size: 11px; }
  .p2 { padding: 10px 8px 30px; }
  .p2 .cmp-row { grid-template-columns: minmax(0, 1.4fr) 58px minmax(0, 1fr); padding: 8px 6px; gap: 6px; }
  .p2 .cmp-head .wm-xs { width: 58px; height: 15px; }
  .p2 .cmp-what { font-size: 13.5px; } .p2 .cmp-them { font-size: 12px; }
  .p2 .tick { width: 26px; height: 26px; }
  .c3 .stats { gap: 20px; } .c3 .stat strong { font-size: 40px; } .c3 .stat > span { font-size: 12px; }
  .story-card .find { padding-left: 18px; } .story-card .find input { font-size: 16px; } .find-go { padding: 12px 16px; font-size: 14px; }
}
@media (max-width: 720px) and (max-height: 700px) { .p0 .r-item { display: none; } }
@media (prefers-reduced-motion: reduce) { .bob, .aurora i, .cta-wrap::before, .cta-wrap::after, .live, .bg-code, .bg-tile, .story-result .res-card { animation: none; } }
@media (max-width: 720px) { .story-result .res-row { padding: 10px 12px; } .story-result .res-head { padding: 10px 12px 8px; } .story-result .res-foot { padding: 10px 8px 4px 12px; font-size: 13px; } }
/* Phones: more room under the header pills, and lighter background effects so the page loads and scrolls quickly */
@media (max-width: 720px) {
  .c0 { padding-top: 96px; }
  .aurora i { animation: none; filter: blur(50px); }
  .bg-code, .bg-tile { animation: none; filter: none; opacity: calc(var(--o) * .7); }
  .drop { display: none; }
  .h-bar .wm-link, .h-links { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .hero-tag { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.85); }
}
/* Phones: the search results fit under the pill in the same screen */
@media (max-width: 720px) {
  .story-result .res-card { padding: 8px; border-radius: 22px; }
  .story-result .res-head strong { font-size: 20px; }
  .story-result .res-head img { width: 30px; height: 30px; }
  .story-result .res-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 10px 12px; }
  .story-result .res-card > .res-row:nth-child(4) { display: none; }
  .story-result .res-code small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .story-result .res-worked { grid-column: 1 / -1; gap: 5px; font-size: 12px; }
  .story-result .res-foot > span { display: none; }
  .story-result .res-foot { justify-content: center; padding: 8px 4px 4px; }
  .story-result .res-foot .btn-red { width: 100%; font-size: 15px; padding: 12px 18px; }
  .find-more { margin-top: 8px; }
}

/* ---------- Goodbye page (uninstall feedback) ---------- */
.bye .page-head { padding-bottom: 28px; }
.bye-card, .bye-thanks { max-width: 760px; background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--depth); margin-bottom: 48px; }
.bye-card fieldset { border: 0; margin: 0; padding: 0; }
.bye-card legend { padding: 0; margin-bottom: 16px; font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.bye-reasons { display: flex; flex-wrap: wrap; gap: 10px; }
.bye-reasons label { position: relative; cursor: pointer; }
.bye-reasons input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bye-reasons span { display: inline-flex; align-items: center; padding: 13px 20px 11px; border-radius: 999px; background: var(--pink, #fff0f3); font-size: 17px; font-weight: 600; color: var(--ink); transition: background 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.bye-reasons label:hover span { background: #ffe3ea; }
.bye-reasons input:checked + span { background: var(--red); color: #fff; }
.bye-reasons input:focus-visible + span { outline: 3px solid rgba(255,7,66,.35); outline-offset: 2px; }
.bye-reasons label:active span { transform: scale(0.97); }
.bye-more { display: block; margin: 26px 0 10px; font-size: 18px; font-weight: 600; }
.bye-more span { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 15px; }
.bye-card textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 96px; font: inherit; font-size: 17px; line-height: 1.45; color: var(--ink); padding: 14px 16px; border-radius: 16px; border: 1px solid #ecdfe1; background: #fffaf9; }
.bye-card textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,7,66,.12); }
.bye-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.bye-card .btn-red { border: 0; cursor: pointer; font-family: inherit; }
.bye-card .btn-red:disabled { opacity: .4; cursor: default; filter: none; transform: none; }
.bye-status { margin: 0; font-size: 15px; color: var(--muted); }
.bye-thanks h2 { margin: 0 0 8px; font-size: clamp(26px, 2.4vw, 38px); font-weight: 600; letter-spacing: -0.03em; }
.bye-thanks p { margin: 0 0 22px; font-size: 18px; color: var(--muted); }
.bye-thanks .nf-links { margin-bottom: 0; }
@media (max-width: 560px) {
  .bye-reasons span { font-size: 16px; padding: 12px 16px 10px; }
  .bye-actions .btn-red { width: 100%; }
}

/* Share a code page */
.share-fields .bye-more:first-child { margin-top: 0; }
.share-card input[type="text"] { width: 100%; box-sizing: border-box; font: inherit; font-size: 18px; color: var(--ink); padding: 15px 16px 13px; border-radius: 16px; border: 1px solid #ecdfe1; background: #fffaf9; }
.share-card input[type="text"]:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,7,66,.12); }
.share-card #share-code { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.share-card #share-code::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.share-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.share-note { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.bye-thanks button.btn-red { border: 0; cursor: pointer; font-family: inherit; }

/* PinchedBot page: robots.txt snippet */
.subpage .prose pre { background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--depth); font-size: 15px; line-height: 1.5; overflow-x: auto; max-width: 36em; }
.subpage .prose code { font-size: 0.86em; }
.subpage .prose pre code { font-size: inherit; }

/* ---------------- Shop pages: /codes/<shop>/ (built by Backend/build-shop-pages.js) ---------------- */
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.shop-codes { max-width: 980px; }
.shop-codes .res-row { row-gap: 8px; }
.res-terms { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.45; color: var(--soft); }
.shop-codes .res-worked .bar i { transition: none; }
.shop-info { max-width: 46em; padding-top: 56px; }
.shop-info h2, .shop-related h2 { font-size: clamp(24px, 1.9vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 12px; }
.shop-info h2:first-child { margin-top: 0; }
.shop-info p, .shop-info li { font-size: 17px; line-height: 1.6; color: var(--muted); }
.shop-info ol { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.shop-info strong { color: var(--ink); }
.shop-related { padding: 40px 0 24px; }
.shop-related .shop-grid { list-style: none; padding: 0; display: grid; }
.res-more { font-size: 15px; font-weight: 600; color: var(--ink); }
