:root {
  color-scheme: light;
  font: 17px/1.5 system-ui, sans-serif;
  color: #21342a;
  background: #f6f4eb;
  --green: #223f30;
  --line: #d9dfd4;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
header { display: flex; justify-content: space-between; align-items: center; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.8rem; font-weight: 800; letter-spacing: -.095em; text-decoration: none; color: inherit; }
.brand span { color: #627c47; }
main { min-height: 70vh; padding-block: clamp(2rem, 6vw, 5rem); }
footer { border-top: 1px solid var(--line); color: #59695e; padding-block: 1.2rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.06; margin: 0 0 1rem; }
h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); letter-spacing: -.06em; }
h2 { font-size: 1.85rem; letter-spacing: -.035em; }
h3 { margin: .25rem 0; }
p { margin: .45rem 0 1rem; }
.hero { max-width: 32rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1rem; align-items: start; }
.panel { padding: clamp(1rem, 3vw, 1.7rem); border: 1px solid var(--line); border-radius: 1rem; background: #fffdf7; }
section + section { margin-top: 2rem; }
.stack { display: grid; gap: .75rem; }
.card { border-top: .45rem solid var(--merchant-color, #627c47); }
.points { font: 2.6rem/1 Georgia, serif; margin: .7rem 0; }
.stats { color: #405847; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
button, input { font: inherit; padding: .6rem .85rem; min-height: 2.75rem; border-radius: .55rem; border: 1px solid var(--line); }
button { background: var(--green); color: white; border-color: var(--green); cursor: pointer; }
button:disabled { opacity: .58; cursor: default; }
.secondary { background: transparent; color: var(--green); }
input { display: block; width: 100%; background: white; color: inherit; }
label { display: grid; gap: .2rem; }
:focus-visible { outline: .17rem solid #6e682f; outline-offset: .15rem; }
.qr { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: .5rem; margin-block: .8rem; }
code { font-size: .78rem; overflow-wrap: anywhere; }
video { width: 100%; max-height: 24rem; background: #223f30; border-radius: .55rem; }
#notice { padding: .65rem .9rem; border-radius: .55rem; background: #e7ecdc; overflow-wrap: anywhere; }
li { margin-bottom: .45rem; }
[hidden] { display: none !important; }
