@font-face {
  font-family: 'Oswald';
  src: url(/fonts/oswald.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url(/fonts/atkinson.woff2) format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #020202;
  --mint: #13ffa7;
  --mint-hi: #67ffc6;
  --mint-deep: #00df8b;
  --text: #e4fbf1;
  --muted: #a3c6b8;
  --line: rgb(19 255 167 / 0.24);
  --panel: #04120c;
  --field: #0a1c14;
  --error: #ffa197;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --gutter: 16px;
  --perf: radial-gradient(circle at 2px 2px, var(--perf-dot) 1.6px, transparent 2.2px) 0 0 / 11px 4px repeat-x;
  --perf-dot: rgb(19 255 167 / 0.45);
  --error-hi: #ffbdb5;
  --ink-hi: #10241b;
  --bg: #020202;
  --accent: var(--mint);
  --accent-hi: var(--mint-hi);
  --accent-soft: rgb(19 255 167 / 0.1);
  --strong: #fff;
  --panel-top: #082318;
  --line-strong: rgb(19 255 167 / 0.55);
  --placeholder: #739a8a;
  --perk: rgb(2 2 2 / 0.55);
  --art-fill: #020202;
  --art-on-accent: var(--ink);
  --ray: rgb(19 255 167 / 0.2);
  --halo: rgb(19 255 167 / 0.2);
  --glow-text: none;
  --ticket-glow: drop-shadow(0 0 2px rgb(226 255 243 / 0.9)) drop-shadow(0 0 14px rgb(19 255 167 / 0.6)) drop-shadow(0 0 44px rgb(19 255 167 / 0.3));
  color-scheme: dark;
}
/* Light: the same ticket printed on paper. Mint stays a fill under ink text; text and lines use a deep green. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef6f1;
    --text: #0b1f16;
    --muted: #3b5649;
    --strong: #000;
    --line: rgb(0 96 62 / 0.28);
    --line-strong: rgb(0 96 62 / 0.72);
    --panel: #ffffff;
    --panel-top: #dcf2e6;
    --field: #ffffff;
    --error: #b42318;
    --error-hi: #d6453a;
    --accent: #006b45;
    --accent-hi: #004b30;
    --accent-soft: rgb(0 107 69 / 0.09);
    --placeholder: #5f7a6e;
    --perk: #f6fbf8;
    --art-fill: #ffffff;
    --art-on-accent: #ffffff;
    --perf-dot: rgb(0 107 69 / 0.45);
    --ray: rgb(0 140 90 / 0.1);
    --halo: rgb(19 255 167 / 0.28);
    --glow-text: none;
    --ticket-glow: drop-shadow(0 0 0.6px rgb(0 70 45 / 0.9)) drop-shadow(0 10px 22px rgb(0 70 45 / 0.22));
    color-scheme: light;
  }
}
@media (min-width: 600px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--accent) var(--bg);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgb(19 255 167 / 0.18);
  caret-color: var(--accent);
}
main {
  overflow-x: clip;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:visited {
  color: var(--accent);
}
a:hover {
  color: var(--accent-hi);
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}
[tabindex='-1']:focus {
  outline: none;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
strong {
  color: var(--strong);
}
.num {
  font: 500 1.08em/1 var(--display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.small,
.hint {
  font-size: 15px;
  color: var(--muted);
}
.noscript {
  padding: 32px var(--gutter);
  text-align: center;
}

/* Hero: the ticket and its counterfoil */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px var(--gutter) 72px;
  display: grid;
  gap: 20px;
}
.brand {
  justify-self: center;
  display: grid;
  align-items: center;
  min-height: 44px;
  width: min(220px, 60vw);
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-draw {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
h1 {
  font-size: clamp(40px, 11vw, 72px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tagline {
  margin-top: -6px;
  font: 400 clamp(18px, 4.8vw, 23px) / 1.35 var(--body);
  letter-spacing: 0;
}
.draw {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 620px;
  margin: 10px 0 4px;
}
.draw::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 1100px;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 1deg, var(--ray) 0deg 2deg, transparent 3.2deg 8deg);
  mask: radial-gradient(closest-side, #000 10%, rgb(0 0 0 / 0.45) 43%, transparent 95%);
  animation: spin 320s linear infinite;
  transition: opacity 0.6s;
}
.draw::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -30% -25%;
  background: radial-gradient(closest-side, var(--halo), transparent);
}
.draw:has(.is-stamped)::before {
  background: repeating-conic-gradient(from 1deg, rgb(103 255 198 / 0.38) 0deg 2deg, transparent 3.2deg 8deg);
}
.maker,
.sponsor {
  font-size: 15px;
  color: var(--muted);
}
.sponsor a {
  font-weight: 700;
}
.sponsor span {
  display: block;
}

/* The ticket, drawn in SVG with text laid over it */
.ticket {
  position: relative;
  aspect-ratio: 7 / 3;
  container-type: inline-size;
  color: var(--ink);
  text-align: center;
  animation: ticket-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ticket-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: var(--ticket-glow);
}
.ticket-stub,
.ticket-main {
  position: absolute;
  top: 0;
  bottom: 0;
  display: grid;
  place-content: center;
  justify-items: center;
}
.ticket-stub {
  left: 0;
  width: 28.57%;
  gap: 1.1cqw;
  padding: 3cqw 1.5cqw;
}
.ticket-machine {
  width: 12cqw;
  margin-bottom: 1.6cqw;
  color: var(--mint-hi);
}
.ticket-label {
  font: 700 clamp(13px, 2.5cqw, 16px) / 1.15 var(--body);
  color: rgb(2 2 2 / 0.8);
}
.ticket-countdown {
  font: 700 clamp(16px, 5cqw, 31px) / 1 var(--display);
  font-variant-numeric: tabular-nums;
}
.ticket-main {
  left: 28.57%;
  right: 0;
  gap: 1.5cqw;
  padding: 2cqw 5cqw;
}
.ticket-amount {
  font: 700 21cqw/0.8 var(--display);
  letter-spacing: -0.02em;
}
.ticket-main .ticket-label {
  width: 40cqw;
  padding-top: 1.6cqw;
  border-top: 1px solid rgb(2 2 2 / 0.35);
}
.ticket-number {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 44cqw;
  height: max(44px, 10cqw);
  padding: 0 2cqw;
  font: 600 clamp(20px, 6.4cqw, 40px) / 1 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ticket-number.is-revealed > span {
  animation: pop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.foil {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  box-shadow: inset 0 0 0 1px rgb(2 2 2 / 0.3);
  transition:
    opacity 0.4s ease-out,
    scale 0.4s ease-out;
}
.foil:active {
  cursor: grabbing;
}
.ticket :focus-visible {
  outline-color: var(--ink);
}
.foil canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  -webkit-touch-callout: none;
  user-select: none;
}
.foil::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.55) 50%, transparent 62%);
  translate: -100% 0;
  animation: sheen 3.6s ease-in-out 1.2s infinite;
  pointer-events: none;
}
.ticket-number.is-drawing > span {
  opacity: 0.45;
  animation: drawing 1s ease-in-out infinite alternate;
}
.foil.is-gone {
  opacity: 0;
  scale: 1.1;
  pointer-events: none;
}
.ticket-error {
  font: 600 clamp(13px, 3cqw, 17px) / 1.3 var(--body);
}
.ticket-error button {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.ticket-stamp {
  position: absolute;
  top: -7cqw;
  right: -1.5cqw;
  display: grid;
  place-items: center;
  width: 22cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  font: 700 clamp(13px, 4.4cqw, 26px) / 1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  rotate: 14deg;
  box-shadow: 0 0 0 0.6cqw var(--mint);
  outline: 1.5px dashed var(--mint);
  outline-offset: -2.2cqw;
  animation: stamp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* The counterfoil: every player state lives here */
.card {
  position: relative;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  align-self: start;
  padding: 28px 22px 22px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  mask: radial-gradient(14px at 14px 14px, #0000 98%, #000) -14px -14px;
}
.card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 22px;
  right: 22px;
  height: 4px;
  background: var(--perf);
}
.card form {
  display: grid;
  gap: 16px;
}
.card h2 {
  font-size: 32px;
}
.card .lead {
  margin-top: -6px;
}
.card:has(.btn-win) {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.notice {
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent-soft);
  font-size: 15.5px;
}
.loading {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 700;
}
.field .hint {
  margin-top: -4px;
}
.field input {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--field);
  color: var(--strong);
  font: 600 19px/1 var(--body);
  letter-spacing: 0.01em;
  transition: border-color 0.15s;
}
.field input::placeholder {
  color: var(--placeholder);
  font-weight: 400;
}
.field input:hover {
  border-color: var(--accent);
}
.field input:focus-visible {
  border-color: var(--mint);
  outline-offset: 2px;
}
.field input[aria-invalid='true'] {
  border-color: var(--error);
  outline-color: var(--error);
}
.field input.otp {
  height: 64px;
  padding-left: 0.55em;
  font: 600 32px/1 var(--display);
  letter-spacing: 0.55em;
  text-align: center;
}
.error {
  color: var(--error);
  font-size: 15.5px;
  font-weight: 600;
}
.check,
.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
}
.check input,
.switch input {
  flex: none;
  margin: 0;
  appearance: none;
  border: 2px solid var(--accent);
  background: var(--field);
  cursor: pointer;
}
.check input {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}
.check input:checked {
  background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23020202' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
.switch input {
  position: relative;
  width: 50px;
  height: 30px;
  border-radius: 99px;
  transition: background 0.2s;
}
.switch input::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  transition:
    translate 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s;
}
.switch input:checked {
  background: var(--mint);
}
.switch input:checked::before {
  translate: 20px 0;
  background: var(--ink);
}
.switch .small {
  display: block;
  overflow-wrap: anywhere;
}
.btn {
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--mint);
  color: var(--ink);
  font: 600 21px/1 var(--display);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s,
    translate 0.1s;
}
@media (hover: hover) {
  .btn:hover {
    background: var(--mint-hi);
  }
}
.btn:active {
  translate: 0 1px;
  background: var(--mint-deep);
}
.btn:disabled {
  opacity: 0.65;
  cursor: progress;
}
.btn-quiet {
  justify-self: start;
  min-height: 48px;
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
@media (hover: hover) {
  .btn-quiet:hover {
    background: var(--accent-soft);
  }
}
.btn-quiet:active {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.btn-win {
  min-height: 64px;
  font-size: 25px;
}
.hot {
  color: var(--accent);
}
.nb {
  white-space: nowrap;
}
.link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: 600 16px/1.2 var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link:hover {
  color: var(--accent-hi);
}
.link:disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 16px;
}
.logout {
  justify-self: start;
  margin-top: 12px;
}
.link-quiet {
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}
.link-quiet:hover,
.link-quiet:focus-visible {
  color: var(--text);
  text-decoration: underline;
}
.btn-danger {
  background: var(--error);
}
@media (hover: hover) {
  .btn-danger:hover {
    background: var(--error-hi);
  }
}
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.share .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.share-note {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.share-note:empty {
  display: none;
}
.tip {
  position: relative;
  padding: 12px 52px 12px 14px;
  border-radius: 6px;
  background: var(--accent-soft);
  font-size: 15.5px;
}
.tip svg {
  display: inline-block;
  vertical-align: -3px;
  color: var(--accent);
}
.tip-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.tip-close svg {
  color: inherit;
  vertical-align: baseline;
}
.facts {
  display: grid;
  gap: 6px;
  margin: 0;
}
.facts div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.facts dt {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 10px;
  color: var(--muted);
}
.facts dt::after {
  content: '';
  flex: 1;
  height: 4px;
  margin-bottom: 7px;
  background: var(--perf);
}
.facts dd {
  margin: 0;
  font: 600 23px/1.2 var(--display);
  color: var(--strong);
  font-variant-numeric: tabular-nums;
}
.reminder {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.confetti {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: 9px;
  height: 15px;
  border-radius: 2px;
  background: var(--mint);
  rotate: var(--turn);
  animation: fall 3s cubic-bezier(0.25, 0.6, 0.4, 1) var(--delay) forwards;
}
.confetti i:nth-child(3n) {
  width: 7px;
  height: 11px;
  background: #fff;
}
.confetti i:nth-child(3n + 1) {
  height: 9px;
  border-radius: 50%;
  background: var(--mint-hi);
}

/* Sections below the fold */
.section,
.footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}
.section::before,
.footer::before {
  content: '';
  display: block;
  grid-column: 1 / -1;
  height: 4px;
  margin-bottom: 48px;
  background: var(--perf);
}
.section h2 {
  margin-bottom: 28px;
  font-size: clamp(36px, 8vw, 58px);
}
/* ch is Atkinson's wide 0, so 50ch is about 70 characters a line */
.section p {
  max-width: 50ch;
}
.section p + p {
  margin-top: 14px;
}
/* How it works: three ticket stubs, torn along a dashed line */
.stubs {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stubs {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  mask: radial-gradient(12px at 12px 12px, #0000 98%, #000) -12px -12px;
}
.stub {
  position: relative;
  display: grid;
  justify-items: start;
  padding: 22px 20px 22px 18px;
}
.stub + .stub {
  border-top: 2px dashed var(--line-strong);
}
.stub-art {
  width: 104px;
  margin: 10px 0 8px;
  color: var(--accent);
  overflow: visible;
}
.art-amount {
  font: 700 17px var(--display);
  fill: var(--accent);
}
.stub h3 {
  margin: 6px 0 6px;
  font-size: 25px;
}
.stub p {
  color: var(--muted);
  font-size: 16px;
}

/* Every day you play: the player's card, shown to visitors */
.perks {
  position: relative;
  isolation: isolate;
  margin-bottom: 64px;
  background: var(--panel);
  overflow: hidden;
}
.perks::before,
.perks::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--perf);
  background-position: center;
}
.perks::before {
  top: 0;
}
.perks::after {
  bottom: 0;
}
.perks-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px var(--gutter) 60px;
  display: grid;
  gap: 22px;
}
.perks h2 {
  margin-bottom: 14px;
  font-size: clamp(36px, 8vw, 58px);
}
.perks-copy p {
  max-width: 44ch;
  color: var(--muted);
}
.perk {
  display: grid;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 16px;
  margin: 0;
  padding: 0;
  align-content: start;
}
.perk figcaption {
  color: var(--muted);
  font-size: 15.5px;
}
.perk figcaption strong {
  display: block;
  margin-bottom: 2px;
  font: 500 21px/1.2 var(--display);
}
.mate {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 14px 8px;
}
.mate > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.mate-link {
  max-width: 100%;
  padding: 8px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  font-size: 14.5px;
  overflow-wrap: anywhere;
}
.mate-chip {
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--mint);
  color: var(--ink);
  font: 600 18px/1 var(--display);
  white-space: nowrap;
}

/* Paid out: a stamped receipt next to the gift card it pays */
.receipt {
  display: grid;
  gap: 20px;
  align-items: center;
}
.paid-total {
  position: relative;
  justify-self: start;
  padding-right: 62px;
  font: 700 clamp(56px, 14vw, 76px) / 0.9 var(--display);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--glow-text);
}
.paid-stamp {
  position: absolute;
  top: -6px;
  right: 0;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint);
  font: 700 15px/1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: none;
  rotate: 14deg;
  border: 3px solid var(--mint);
  outline: 1.5px dashed var(--mint);
  outline-offset: -7px;
}
.giftcard {
  display: grid;
  gap: 8px;
  width: min(100%, 320px);
  aspect-ratio: 1.586;
  align-content: center;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--panel);
  box-shadow:
    inset 0 0 0 1.5px var(--accent);
  rotate: -3deg;
}
.giftcard span {
  color: var(--muted);
  font-size: 14px;
}
.giftcard strong {
  font: 700 30px/1 var(--display);
}
.receipt > p:last-child {
  max-width: 44ch;
  color: var(--muted);
}

/* Trust: only what's already true */
.trust ul {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.trust li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  font-size: 18px;
}
.trust li::before {
  content: '';
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='%23020202' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
.perks + .section::before {
  display: none;
}

/* Closing call: a mint band, scalloped like the ticket's ends */
.cta {
  background: var(--mint);
  color: var(--ink);
  mask:
    radial-gradient(7px at 50% 0, #0000 98%, #000) 0 0 / 22px 51% repeat-x,
    radial-gradient(7px at 50% 100%, #0000 98%, #000) 0 100% / 22px 51% repeat-x;
}
.cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px var(--gutter);
  display: grid;
  gap: 14px;
  justify-items: start;
}
.cta h2 {
  font-size: clamp(36px, 8vw, 64px);
}
.cta-clock {
  font-weight: 700;
}
.cta-clock span {
  margin-left: 6px;
  font: 700 26px/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.btn-ink {
  margin-top: 6px;
  padding: 0 34px;
  background: var(--ink);
  color: var(--mint);
  box-shadow: none;
}
@media (hover: hover) {
  .btn-ink:hover {
    background: var(--ink-hi);
  }
}
.btn-ink:active {
  background: var(--ink-hi);
}
.cta :focus-visible {
  outline-color: var(--ink);
}
.cta + .footer::before {
  display: none;
}
.cta + .footer {
  padding-top: 40px;
}
.faq details + details {
  margin-top: 6px;
}
.faq details {
  padding: 0 16px;
  border-radius: 8px;
  background: var(--accent-soft);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  font: 500 22px/1.3 var(--display);
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(var(--accent) 0 0) center / 100% 2px no-repeat,
    linear-gradient(var(--accent) 0 0) center / 2px 100% no-repeat;
  transition: rotate 0.25s ease-out;
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq summary:hover {
  color: var(--accent-hi);
}
.faq details p {
  padding-bottom: 22px;
  color: var(--muted);
}
.footer {
  display: grid;
  gap: 10px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 15px;
}
.footer::before {
  margin-bottom: 40px;
}
.footer nav {
  display: flex;
  gap: 8px 28px;
}
.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  margin-bottom: 14px;
}
.footer-share p {
  color: var(--text);
  font: 500 22px/1.2 var(--display);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px 64px;
    padding-top: 28px;
    padding-bottom: 104px;
  }
  .brand {
    grid-column: 1 / -1;
    justify-self: start;
    width: 250px;
  }
  .hero-draw {
    justify-items: start;
    text-align: left;
  }
  h1 {
    font-size: clamp(48px, 5.4vw, 78px);
  }
  .card {
    justify-self: end;
    align-self: center;
    padding: 36px 32px 28px;
  }
  .section {
    padding-bottom: 80px;
  }
  .section::before {
    margin-bottom: 64px;
  }
  .stubs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .stub {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 28px 28px 30px;
  }
  .stub + .stub {
    border-left: 2px dashed var(--line-strong);
  }
  .stub-art {
    width: 132px;
    margin: 6px 0 14px;
  }
  .perks-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 80px var(--gutter);
  }
  .perks-copy {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    column-gap: 80px;
    margin-bottom: 20px;
  }
  .perks h2 {
    margin: 0;
  }
  .receipt {
    grid-template-columns: auto 1fr;
    column-gap: 72px;
  }
  .receipt > p:last-child {
    grid-column: 1 / -1;
  }
  .giftcard {
    justify-self: start;
  }
  .winners,
  .trust {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 80px;
  }
  .cta-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 64px var(--gutter);
  }
  .cta h2,
  .cta-clock {
    grid-column: 1;
  }
  .cta .btn-ink {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 64px;
    font-size: 25px;
  }
  .faq {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 80px;
  }
}

/* Terms and privacy */
.doc-page .footer,
.doc-head,
.doc {
  max-width: 620px;
}
.doc-head {
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
.doc-head a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  text-decoration: none;
}
.doc-head img {
  display: block;
  width: 200px;
  height: auto;
}
.doc-head span {
  font-weight: 600;
  text-decoration: underline;
}
.doc {
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}
.doc h1 {
  font-size: clamp(38px, 9vw, 60px);
}
.doc h2 {
  margin: 40px 0 12px;
  font-size: 27px;
}
.doc p,
.doc li {
  max-width: 50ch;
}
.doc p + p,
.doc li + li {
  margin-top: 10px;
}
.doc ul {
  margin: 12px 0 14px;
  padding-left: 1.2em;
}
.doc li::marker {
  color: var(--accent);
}
.doc .updated {
  margin: 12px 0 8px;
  color: var(--muted);
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes ticket-in {
  from {
    opacity: 0;
    translate: 0 28px;
    rotate: -4deg;
    scale: 0.94;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
@keyframes stamp {
  from {
    opacity: 0;
    scale: 2.2;
  }
}
@keyframes fall {
  75% {
    opacity: 1;
  }
  to {
    translate: var(--drift) 110vh;
    rotate: calc(var(--turn) + 640deg);
    opacity: 0;
  }
}
@keyframes sheen {
  40%,
  100% {
    translate: 100% 0;
  }
}
@keyframes drawing {
  to {
    opacity: 1;
  }
}
@keyframes glow {
  50% {
    box-shadow: 0 0 0 6px rgb(19 255 167 / 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .confetti {
    display: none;
  }
}
.art-bg {
  fill: var(--art-fill);
}

/* The hero settles in on arrival, one piece after another; the reduced-motion rule above switches it off. */
h1,
.tagline,
.card {
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tagline {
  animation-delay: 0.08s;
}
.card {
  animation-delay: 0.2s;
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }
}

/* Legal pages: a contents list beside the text on wide screens. */
.toc {
  display: none;
}
@media (min-width: 900px) {
  .doc-page .footer,
  .doc-head,
  .doc {
    max-width: 980px;
  }
  .doc {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 64px;
  }
  .doc > * {
    grid-column: 2;
  }
  .toc {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 200;
    position: sticky;
    top: 24px;
    align-self: start;
    font-size: 15px;
  }
  .toc p {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text);
  }
  .toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .toc a {
    display: flex;
    align-items: center;
    min-height: 36px;
    color: var(--muted);
    text-decoration: none;
  }
  .toc a:hover {
    color: var(--accent);
    text-decoration: underline;
  }
  .doc h2 {
    scroll-margin-top: 24px;
  }
}

/* Real capture of the player card, framed like the counterfoil. */
.perk-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line);
  outline: 1px solid var(--line);
}

/* Below the fold, the pieces settle in one after another on arrival. */
.stub,
.perk,
.receipt > *,
.trust li {
  animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stub:nth-child(2),
.perk:nth-of-type(2),
.receipt > :nth-child(2),
.trust li:nth-child(2) {
  animation-delay: 0.1s;
}
.stub:nth-child(3),
.perk:nth-of-type(3),
.receipt > :nth-child(3),
.trust li:nth-child(3) {
  animation-delay: 0.2s;
}
@media (min-width: 900px) {
  .stub + .stub {
    border-top: 0;
  }
}

/* A real capture as the first step's picture, framed like the counterfoil. */
.stub-shot {
  display: block;
  width: min(100%, 300px);
  margin: 6px 0 14px;
}
.stub-shot img,
.perk-shot img {
  max-width: 360px;
}
.stub-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  outline: 1px solid var(--line);
}
/* Sections part by space; the perforation stays on ticket-like things. */
.section::before {
  background: none;
}
/* Wide screens: the lone heading in a two-column section stays beside its content as you read. */
@media (min-width: 900px) {
  .winners > h2,
  .trust > h2,
  .faq > h2 {
    position: sticky;
    top: 32px;
    align-self: start;
  }
}
/* The contents list marks the section you're reading. */
.toc a[aria-current='true'] {
  color: var(--accent);
  font-weight: 700;
}

/* Steps line up: the picture slot is the same height in each, so the titles share a baseline. */
@media (min-width: 900px) {
  .stub {
    grid-template-rows: 250px auto 1fr;
  }
  .stub > :first-child {
    align-self: end;
  }
}
/* Tablet: the perks sit two to a row rather than one wide column. */
@media (min-width: 600px) and (max-width: 899px) {
  .perks-inner {
    grid-template-columns: 1fr 1fr;
  }
  .perks-copy {
    grid-column: 1 / -1;
  }
}
.doc li {
  text-wrap: pretty;
}
