@font-face { font-family: Archivo; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: Atkinson; src: url(/fonts/atkinson-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Atkinson; src: url(/fonts/atkinson-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #EEF3F7; --white: #FFFFFF; --ink: #14213D; --ink-soft: #4A5670; --line: #C5D0DC;
  --stamp: #1D4ED8; --marker: #FFE066; --caution: #B3261E;
  --head: Archivo, "Arial Narrow", Arial, sans-serif; --body: Atkinson, Verdana, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); }
a { color: var(--stamp); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 2; }

h1, h2, h3 { font-family: var(--head); font-weight: 800; font-stretch: 80%; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h1 { font-size: 40px; }
h2 { font-size: 28px; margin-top: 48px; }
h3 { font-size: 22px; margin-top: 28px; }
p, ul, ol { margin: 14px 0 0; max-width: 66ch; }
li { margin-top: 6px; }
.lede { font-size: 22px; line-height: 1.45; }
.quiet { color: var(--ink-soft); font-size: 16px; }

.top { border-bottom: 2px solid var(--ink); background: var(--white); }
.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.mark { display: inline-flex; align-items: center; gap: 8px; font: 900 24px/1 var(--head); font-stretch: 75%; color: var(--ink); text-decoration: none; }
.mark img { display: block; }
.art { display: block; width: 200px; height: auto; margin: 2px 0 -8px; }
.art-wide { width: min(100%, 320px); }
main .wrap::after { content: ""; display: block; clear: both; }
.top nav { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; padding: 3px 0; }
.top nav a:hover, .top nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

.preview { background: var(--ink); color: var(--white); font-size: 16px; padding: 8px 0; }
main { padding: 36px 0 64px; }
.hero { display: grid; gap: 32px; }
.btn { display: inline-block; margin-top: 22px; background: var(--stamp); color: var(--white); padding: 13px 22px; border-radius: 4px; font: 700 18px/1.2 var(--body); text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn[aria-disabled] { background: var(--line); color: var(--ink); cursor: default; }

.disclose { margin-top: 28px; max-width: 66ch; }
.disclose span { background: var(--marker); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 2px 4px; }

/* The Sweeps Facts label. The one loud object on any page. */
.label { background: var(--white); border: 2px solid var(--ink); padding: 8px 12px 12px; max-width: 400px; width: 100%; font-family: var(--head); font-stretch: 90%; }
.label h2, .label h3, .label h4 { font-size: 40px; font-weight: 900; font-stretch: 75%; margin: 0; line-height: 1; }
.label .for { font-size: 16px; font-weight: 500; padding: 4px 0 6px; }
.label dl { margin: 0; }
.label .row { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding: 5px 0; font-size: 16px; line-height: 1.3; }
.label .row:first-child { border-top: 10px solid var(--ink); }
.label .row.big { border-top-width: 5px; }
.label dt { font-weight: 800; }
.label dd { margin: 0; text-align: right; font-weight: 500; }
.label dd.nc { color: var(--ink-soft); font-style: normal; }
.label .watch { border-top: 5px solid var(--ink); padding-top: 6px; color: var(--caution); font-size: 16px; line-height: 1.35; font-weight: 600; }
.label .stamp { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 6px; font-size: 14px; line-height: 1.35; font-weight: 500; }

.plain { list-style: none; padding: 0; }
.plain li { border-top: 1px solid var(--line); padding: 12px 0 0; margin-top: 12px; }
.pair { display: grid; gap: 8px 32px; }
.offer { border-top: 2px solid var(--ink); padding-top: 24px; margin-top: 32px; display: grid; gap: 24px; }
.offer h2 { margin-top: 0; }
.sample { font-size: 16px; color: var(--ink-soft); }

.foot { background: var(--ink); color: var(--white); padding: 32px 0; font-size: 16px; }
.foot a { color: var(--white); }
.foot p { margin-top: 10px; max-width: 76ch; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }

/* Test page: a coupon book. The peel is the one showpiece, so everything else stays still. */
main.full { padding: 0; }
.top-jump { display: none; color: var(--ink); font-size: 16px; }
@media (max-width: 819px) { [data-variant="b"] .top nav { display: none; } [data-variant="b"] .top-jump { display: block; } }
.blast { background: var(--stamp); color: var(--white); padding: 20px 0 40px; }
.blast h1 { font-size: clamp(46px, 13.4vw, 92px); font-weight: 900; font-stretch: 70%; line-height: .98; letter-spacing: -.01em; }
.blast-note { font-size: 15px; line-height: 1.4; margin-top: 10px; }
.deck { perspective: 1100px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
.book { margin-top: 16px; }
.deal.lead { order: -1; }
.more-note { font: 800 22px/1.2 var(--head); font-stretch: 84%; margin-top: 8px; }
.more-note[hidden], .deck-count[hidden] { display: none; }
.deck-count { font-weight: 700; font-size: 16px; margin-top: 8px; }
/* Phones get one swipeable row, so the page ends quickly and the next coupon always peeks in. */
@media (max-width: 819px) {
  .deck { flex-direction: row; align-items: flex-start; gap: 12px; margin: 0 -16px; padding: 6px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .deck::-webkit-scrollbar { display: none; }
  .deal { flex: 0 0 calc(100% - 36px); scroll-snap-align: start; }
  .after .change:nth-child(n+4) { display: none; }
  .after { padding-top: 28px; }
}
.deal { background: var(--marker); color: var(--ink);
  -webkit-mask: radial-gradient(circle 6px at 9px 0, transparent 97%, #000) top / 18px 51% repeat-x, radial-gradient(circle 6px at 9px 100%, transparent 97%, #000) bottom / 18px 51% repeat-x;
  mask: radial-gradient(circle 6px at 9px 0, transparent 97%, #000) top / 18px 51% repeat-x, radial-gradient(circle 6px at 9px 100%, transparent 97%, #000) bottom / 18px 51% repeat-x; }
.stub { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 22px 18px 14px; }
.deal h3 { margin: 0; font-size: 20px; }
.track { background: none; border: 0; padding: 6px 0 6px 8px; min-height: 40px; color: var(--ink); font: 700 16px/1 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.track[aria-pressed="true"] { text-decoration: none; }
.track[aria-pressed="true"]::before { content: "Tracking"; }
.track[aria-pressed="true"] { font-size: 0; }
.track[aria-pressed="true"]::before { font-size: 16px; }
.deal-offer { grid-column: 1 / -1; font: 900 54px/.98 var(--head); font-stretch: 68%; margin: 0; max-width: none; }
.deal-fact { grid-column: 1 / -1; margin: 2px 0 0; font: 800 21px/1.2 var(--head); font-stretch: 84%; }
.deal-offer + .deal-fact { margin-top: 8px; }
.deal-catch { grid-column: 1 / -1; margin: 8px 0 0; font-size: 16px; line-height: 1.35; }
.reveal { border-top: 3px dashed var(--ink); padding: 14px 18px 24px; }
.reveal summary { list-style: none; cursor: pointer; background: var(--ink); color: var(--white); font: 700 20px/1.2 var(--body); padding: 16px; text-align: center; }
.reveal summary::-webkit-details-marker { display: none; }
.reveal[open] summary { display: none; }
.sealwrap { position: relative; }
.code-row { display: flex; align-items: stretch; gap: 8px; min-height: 76px; }
.code-row code { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; background: var(--white); font: 900 32px/1 var(--head); font-stretch: 80%; letter-spacing: .03em; padding: 12px 10px; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.code-row code.no-code { font-size: 28px; letter-spacing: 0; }
.copy { background: var(--ink); color: var(--white); border: 0; font: 700 18px/1 var(--body); padding: 0 18px; cursor: pointer; min-height: 48px; }
.copy:hover, .copy.done { background: var(--stamp); }
.seal { overflow: hidden; position: absolute; inset: 0; width: 100%; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; border: 0; padding: 0; margin: 0; background: transparent; cursor: grab; touch-action: pan-y; color: var(--white); font: 900 28px/1 var(--head); font-stretch: 76%; }
.seal::before { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c, 40px)), calc(100% - var(--c, 40px)) 100%, 0 100%); }
.seal-text { position: relative; display: flex; align-items: center; height: 100%; padding-left: 18px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c, 40px)), calc(100% - var(--c, 40px)) 100%, 0 100%); }
.flap { position: absolute; right: 0; bottom: 0; width: var(--c, 40px); height: var(--c, 40px); background: linear-gradient(135deg, #fff 45%, var(--line)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.seal.gone { display: none; }
.sealed .unsealed { display: none; }
.unsealed .sample { color: var(--ink); }
.unsealed .btn { background: var(--ink); border-radius: 0; font-size: 20px; padding: 16px 24px; }
.unsealed .btn[aria-disabled] { background: var(--white); color: var(--ink); }
.stamped { position: relative; }
.stamped .label { margin-top: 20px; max-width: none; }
.thud { position: absolute; display: none; right: -2px; top: 18px; width: 116px; height: auto; transform: rotate(-8deg); pointer-events: none; }
.unsealed.live .thud { display: block; }
.book-note { font-size: 15px; line-height: 1.4; margin-top: 8px; }
.after { background: var(--paper); padding: 36px 0 104px; scroll-margin-top: 0; }
.after h2 { margin-top: 0; font-size: 40px; }

.change-status { font-weight: 700; min-height: 1.6em; }
.only-tracked { background: none; border: 2px solid var(--ink); color: var(--ink); font: 700 16px/1 var(--body); padding: 10px 14px; margin-top: 12px; cursor: pointer; }
.only-tracked[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.changes { list-style: none; padding: 0; margin: 16px 0 0; max-width: 720px; }
.change { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 14px 0; border-top: 2px solid var(--ink); margin: 0; }
.change[hidden] { display: none; }
.change time { font: 800 18px/1.3 var(--head); font-stretch: 80%; }
.change a { font: 800 20px/1.3 var(--head); font-stretch: 80%; color: var(--ink); }
.change.new time { background: var(--marker); align-self: start; padding: 0 4px; }
.field { display: block; font-size: 16px; color: var(--ink-soft); line-height: 1.4; }
.diff { margin-top: 4px; font: 900 30px/1.1 var(--head); font-stretch: 74%; }
.diff del { color: var(--ink-soft); font-weight: 500; text-decoration-thickness: 2px; }
.diff ins { text-decoration: none; background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 0 / 100% 100%; padding: 0 .12em; }
.signup { background: var(--white); color: var(--ink); margin-top: -18px; padding: 18px; border-top: 6px solid var(--ink); }
.signup[hidden] { display: none; }
.signup-title { margin: 0; font-size: 28px; }
.signup-field { display: block; margin-top: 12px; font-weight: 700; font-size: 16px; }
.signup-field span { display: block; margin-bottom: 4px; }
.signup-field input { width: 100%; min-height: 50px; border: 2px solid var(--ink); border-radius: 0; padding: 10px 12px; font: 400 18px/1.3 var(--body); color: var(--ink); background: var(--white); }
.signup-check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin-top: 12px; font-size: 16px; line-height: 1.35; }
.signup-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--stamp); }
.signup-trap { position: absolute; left: -9999px; }
.signup button { width: 100%; min-height: 52px; margin-top: 14px; border: 0; background: var(--stamp); color: var(--white); font: 700 18px/1.2 var(--body); cursor: pointer; }
.signup button:disabled { background: var(--line); color: var(--ink); }
.signup-note { font-size: 15px; margin-top: 10px; }
.signup-status { font-weight: 700; margin-top: 8px; }
.signup-status:empty { display: none; }
.token-status, .join-status { font-weight: 700; }
.join { max-width: 560px; margin-top: 8px; }
.join .btn { border: 0; cursor: pointer; }
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; display: block; text-align: center; background: var(--marker); color: var(--ink); font: 900 24px/1 var(--head); font-stretch: 76%; padding: 18px; text-decoration: none; }
.dock[hidden] { display: none; }
.dock:hover { color: var(--ink); background: var(--white); }

/* Immersive layer. The veil covers the first frames and clears itself if scripts never run. */
.veil { position: fixed; inset: 0; z-index: 30; background: var(--stamp); pointer-events: none; animation: veil-off .01s 1.4s forwards; }
@keyframes veil-off { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .veil { display: none; } }
.intro { position: fixed; inset: 0; z-index: 25; display: grid; place-items: center; overflow: hidden; background: var(--stamp); cursor: pointer; }
.map { display: grid; grid-template-columns: repeat(11, 1fr); gap: clamp(2px, .6vw, 5px); width: min(94vw, 680px); will-change: transform; }
.tile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--ink); font: 800 clamp(9px, 2.5vw, 17px)/1 var(--head); font-stretch: 80%; }
.tile i { font-style: normal; }
.tile.off { background: transparent; box-shadow: inset 0 0 0 1px var(--white); color: var(--white); }
.tile.home { background: var(--marker); z-index: 1; }
.word { display: inline-block; white-space: nowrap; perspective: 500px; }
.ch { display: inline-block; }
.scrap { position: fixed; z-index: 15; width: 12px; height: 8px; pointer-events: none; }
.deal { position: relative; transform-style: preserve-3d; will-change: transform; }
.deal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent calc(var(--fx, -30%) - 16%), rgba(255, 255, 255, .4) var(--fx, -30%), transparent calc(var(--fx, -30%) + 16%)); opacity: 0; transition: opacity .25s; }
.deal.foil::after { opacity: 1; }
.scene { background: var(--ink); color: var(--white); }
.scene-stage { min-height: 100svh; display: flex; align-items: center; padding: 24px 0; overflow: hidden; perspective: 1200px; }
.scene-stage .wrap { width: 100%; }
.scene h2 { margin: 0 0 18px; font-size: clamp(46px, 13vw, 88px); font-weight: 900; font-stretch: 70%; line-height: 1; }
.scene .bit { display: inline-block; }
.scene-label { position: relative; max-width: 400px; color: var(--ink); }
.scene .label { max-width: none; }
.scene .watch { color: var(--ink); }
.thud-big { position: absolute; right: -6px; top: -30px; width: 112px; height: auto; transform: rotate(-8deg); pointer-events: none; }
.scene-back { background: var(--marker); color: var(--ink); border-radius: 0; font-weight: 700; margin-top: 18px; }
.scene-back:hover { background: var(--white); color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .sealed .seal:not(.dragging) { animation: tease 1.4s .8s ease-in-out 3; }
  .nudge { animation: nudge .3s ease-out; }
}
/* Start states keep everything on screen, so a stalled animation stays readable. */
@property --c { syntax: "<length>"; inherits: true; initial-value: 40px; }
@keyframes tease { 50% { --c: 66px; } }
@keyframes nudge { 50% { transform: translateX(6px); } }

@media (min-width: 820px) {
  .blast { padding: 56px 0 64px; }
  .edition { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .blast-copy { position: sticky; top: 32px; }
  .book { margin-top: 0; }
  .deck-count { display: none; }
  .after { padding-bottom: 56px; }
  .art { float: right; clear: right; width: 240px; margin: 0 0 16px 32px; }
  .art-wide { width: 340px; }
  .hero .art { float: none; }
  .dock { display: none; }
  h1 { font-size: 60px; }
  .hero { grid-template-columns: 1fr 400px; align-items: start; gap: 56px; }
  .offer { grid-template-columns: 1fr 400px; gap: 56px; }
  .pair { grid-template-columns: 1fr 1fr; }
  main { padding-top: 56px; }
}
