/* Butter design guide: one colour on one background. Burgundy on cream,
   cream on burgundy, deep wine as the only support colour. Every other shade
   below is burgundy at reduced opacity, so nothing outside the palette is introduced. */
:root {
  --burgundy: #621c2b;
  --cream: #f9f6f2;
  --wine: #3a0d18;
  --tint: rgba(98, 28, 43, 0.07);        /* burgundy wash for chips and pressed states */
  --tint-2: rgba(98, 28, 43, 0.14);
  --line: rgba(98, 28, 43, 0.25);
  --muted: rgba(98, 28, 43, 0.72);       /* secondary text, still burgundy */
  --cream-muted: rgba(249, 246, 242, 0.75);
  --radius: 14px;
  --script: 'Caveat', 'Bradley Hand', cursive;   /* logo and item names only */
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  /* legacy aliases used by older rules */
  --oxblood: var(--wine);
  --ink: var(--burgundy);
  --paper: var(--cream);
  --cream-2: #ede4e1;                    /* = 8% burgundy over cream, flattened for older browsers */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--burgundy); font-family: var(--sans);
  font-weight: 500; font-size: 16px; line-height: 1.5; -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.brush, .script { font-family: var(--script); font-weight: 700; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.caps { font-weight: 700; text-transform: uppercase; letter-spacing: .3em; font-size: 12px; }

/* Buttons: burgundy fill, cream text. */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 56px; padding: 14px 20px; border: 0; border-radius: var(--radius);
  background: var(--burgundy); color: var(--cream); font-weight: 700; font-size: 17px;
  transition: transform .08s ease, background .15s ease;
}
.btn:active:not(:disabled) { transform: scale(0.98); background: var(--wine); }
.btn:disabled { background: var(--tint-2); color: var(--muted); }
.btn.secondary { background: transparent; color: var(--burgundy); box-shadow: inset 0 0 0 2px var(--burgundy); }
.btn.ghost { background: transparent; color: var(--burgundy); min-height: 44px; font-size: 15px; }
.btn.big { min-height: 64px; font-size: 19px; }
.link { background: none; border: 0; padding: 8px 4px; color: var(--burgundy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
