/* Groff — shared brand tokens (same colours and type as groffcafe.com) */
@font-face { font-family: "DM Sans"; src: url("/shared/fonts/dmsans.woff") format("woff"); font-weight: 100 1000; font-display: swap; }

:root {
  --green: #063724;
  --green-2: #0B4A31;
  --green-soft: #E3ECE6;
  --yellow: #FFD140;
  --yellow-soft: #FBE7A1;
  --bg: #EFE7DA;
  --bg-soft: #F6F1E8;
  --paper: #FFFFFF;
  --ink: #2B2B2A;
  --muted: #5C574F;
  --line: #D8CDBB;
  --danger: #B3261E;
  --ok: #1E7A46;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(6, 55, 36, .06), 0 6px 20px rgba(6, 55, 36, .07);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;  /* Fraunces has no Polish/Azerbaijani letters in our subset */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg-soft); line-height: 1.45; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--green); background: var(--green); color: #fff; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: transform .06s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--green); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: 14px; }
.btn.big { min-height: 64px; font-size: 22px; padding: 14px 28px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--muted); }
.input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(255, 209, 64, .55); }
textarea.input { min-height: 90px; resize: vertical; }

/* stamp grid (card + panel) */
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 209, 64, .55); display: grid; place-items: center;
  color: rgba(255, 255, 255, .35); font-weight: 700; font-size: 15px; position: relative; }
.stamp.on { border: 0; background: var(--yellow); color: var(--green); }
.stamp.on svg { width: 58%; height: 58%; }
.stamp.gift { border-style: solid; border-color: var(--yellow); color: var(--yellow); }
.stamp.gift svg { width: 54%; height: 54%; }
.stamp.gift.ready { background: var(--yellow); color: var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 209, 64, .7); } 50% { box-shadow: 0 0 0 10px rgba(255, 209, 64, 0); } }
@media (prefers-reduced-motion: reduce) { .stamp.gift.ready { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
