:root {
  --chalk: #edf1f5;
  --paper: #ffffff;
  --ink: #1b2430;
  --slate: #566170;
  --marigold: #f5b82e;
  --marigold-deep: #d99a0b;
  --go: #0f6e5a;
  --line: #d5dce4;
  --hero-font: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --chalk: #11171e;
    --paper: #1a232d;
    --ink: #eef1f3;
    --slate: #9aa7b4;
    --line: #2a3541;
    --go: #4fd0b4;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-family: var(--hero-font); font-size: 19px; letter-spacing: -0.01em; text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.bar a.quiet { font-size: 15px; color: var(--slate); }

/* hero */
.hero { display: grid; gap: 40px; padding: 28px 0 64px; align-items: center; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.05fr .95fr; gap: 64px; padding: 56px 0 96px; } }
h1 { font: 800 clamp(40px, 8.2vw, 76px)/0.98 var(--hero-font); letter-spacing: -0.035em; margin: 0 0 20px; text-wrap: balance; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--slate); max-width: 34em; margin: 0 0 28px; }
.lede b { color: var(--ink); font-weight: 650; }

.join { max-width: 460px; }
.join label { display: block; font-weight: 650; font-size: 15px; margin: 0 0 6px; }
.field { display: flex; gap: 8px; flex-wrap: wrap; }
.field input[type=email] { flex: 1 1 220px; }
input[type=email], input[type=text] {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 15px; min-height: 52px; width: 100%;
}
input:focus-visible { border-color: var(--ink); outline-offset: 1px; }
.go {
  font: inherit; font-weight: 750; color: #1b2430; background: var(--marigold); border: 0;
  border-radius: 12px; min-height: 52px; padding: 0 22px; cursor: pointer; flex: 0 0 auto;
  box-shadow: 0 2px 0 var(--marigold-deep);
}
.go:active { transform: translateY(2px); box-shadow: none; }
.go:disabled { opacity: .65; cursor: progress; }
.optional { margin-top: 14px; }
.optional summary { cursor: pointer; font-size: 15px; color: var(--slate); }
.optional input { margin-top: 8px; }
.join label.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--slate); margin: 14px 0 0; }
.consent a { color: var(--ink); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: 0 0 auto; }
.err { margin-top: 12px; padding: 11px 13px; border-radius: 10px; font-size: 15px; background: #fdeee6; color: #8a3410; }
@media (prefers-color-scheme: dark) { .err { background: #33211a; color: #f5a77b; } }

.placed { max-width: 460px; }
.placed .place { font: 800 clamp(44px, 9vw, 64px)/1 var(--hero-font); letter-spacing: -0.03em; margin: 4px 0 6px; }
.placed p { margin: 0 0 14px; color: var(--slate); }
.placed b { color: var(--ink); }
.ref { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.ref input { flex: 1 1 220px; font-size: 15px; }
.ref button { font: inherit; font-weight: 700; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 12px; min-height: 52px; padding: 0 18px; cursor: pointer; }
.leave { background: none; border: 0; color: var(--slate); text-decoration: underline; font: inherit; font-size: 14px; padding: 4px 0; cursor: pointer; }

/* the receipt: the one memorable element */
.stage { display: grid; place-items: center; }
.receipt {
  width: min(100%, 360px); background: var(--paper); color: var(--ink);
  font: 15px/1.5 ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  padding: 22px 22px 34px; position: relative; border-radius: 6px 6px 0 0;
  box-shadow: 0 18px 40px -22px rgba(27, 36, 48, .45);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
}
.receipt .you { color: var(--slate); margin: 0 0 4px; }
.receipt .ask { min-height: 3em; margin: 0 0 16px; font-weight: 700; }
.caret { display: inline-block; width: .55ch; height: 1.05em; background: var(--ink); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rule { border: 0; border-top: 1.5px dashed var(--line); margin: 14px 0; }
.found { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.found.show { opacity: 1; transform: none; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.row.big { font-weight: 800; font-size: 19px; }
.mut { color: var(--slate); font-size: 13px; }
.nod {
  width: 100%; margin-top: 16px; min-height: 54px; border: 0; border-radius: 10px; cursor: default; font: inherit; font-weight: 800;
  color: #1b2430; background: var(--marigold); box-shadow: 0 2px 0 var(--marigold-deep); position: relative; overflow: hidden;
}
.nod .fill { position: absolute; inset: 0; background: var(--go); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.nod span { position: relative; }
.nod.done { color: #fff; }
@media (prefers-color-scheme: dark) { .nod.done { color: #0b1f1a; } }
.nod.done .fill { transform: scaleX(1); }
.blocked { margin-top: 14px; font-size: 13px; color: var(--slate); opacity: 0; transition: opacity .5s; }
.blocked.show { opacity: 1; }
.blocked b { color: #b4441b; font-weight: 700; }
@media (prefers-color-scheme: dark) { .blocked b { color: #f5a77b; } }

/* body sections */
section.band { padding: 56px 0; border-top: 1px solid var(--line); }
section.band h2 { font: 800 clamp(26px, 4.4vw, 38px)/1.08 var(--hero-font); letter-spacing: -0.025em; margin: 0 0 14px; max-width: 18em; text-wrap: balance; }
.two { display: grid; gap: 28px 56px; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; } }
.two p { margin: 0 0 12px; color: var(--slate); max-width: 34em; }
.two p b { color: var(--ink); }
ul.cannot { list-style: none; padding: 0; margin: 0; }
ul.cannot li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 2px; }
ul.cannot li b { font-weight: 700; }
ul.cannot li span { color: var(--slate); font-size: 15px; }
.steps { display: grid; gap: 22px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps div { border-top: 3px solid var(--ink); padding-top: 12px; }
.steps b { display: block; font: 750 20px/1.2 var(--hero-font); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--slate); }
.merchant a { font-weight: 700; }

footer { padding: 30px 0 46px; border-top: 1px solid var(--line); color: var(--slate); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer a { color: var(--slate); }
.sr { position: absolute; left: -9999px; }
