/* The table card: shared by card.html (print) and the demo intro at the top of index.html. */
.qr-card {
  --c-paper: #f6f0d8; --c-olive: #c9c287; --c-ink: #2f2a1f; --c-frame: #3b3a36; --c-muted: #6e6650;
  width: 300px; aspect-ratio: 105 / 148; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 7% 8% 6%; text-align: center; color: var(--c-ink);
  background: var(--c-paper);
  border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.15);
  position: relative; overflow: hidden;
}
.qr-card::before { /* thin double frame */
  content: ''; position: absolute; inset: 4.5%; border: 1.5px solid var(--c-frame); border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--c-paper), inset 0 0 0 4px var(--c-frame); pointer-events: none;
}
.qr-card > * { position: relative; }
.qr-card-top { margin-top: 4%; }
.qr-card-name { font: 600 1.85em/0.95 'Cormorant Garamond', serif; letter-spacing: .05em; text-transform: uppercase; }
.qr-card-rule { display: flex; align-items: center; gap: 8px; margin: 8px auto 6px; width: 70%; font-size: .7em; }
.qr-card-rule::before, .qr-card-rule::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.qr-card-tag { font: 400 .62em/1 'Roboto', sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.qr-card-qr { width: 58%; aspect-ratio: 1; background: #fff; padding: 5%; border-radius: 8px; border: 1.5px solid var(--c-frame); box-sizing: content-box; }
.qr-card-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.qr-card-cta strong { display: block; font: 700 .95em/1.25 'Roboto Slab', serif; }
.qr-card-cta span { display: block; font: 400 .78em/1.3 'Roboto Slab', serif; color: var(--c-muted); margin-top: 2px; }
.qr-card-foot { font: 500 .62em/1 'Roboto', sans-serif; letter-spacing: .08em; color: var(--c-muted); margin-bottom: 3%; }
.qr-card--print { font-size: 16px; }
@media print { .qr-card--print { font-size: 15pt; } }
