/* spicyclips — an aubergine, a peach, and one yellow call to action */

:root {
  --aubergine: #2A1130;
  --peach:     #FFC6A4;
  --yellow:    #FFD23F;
  --ink:       #24101F;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --emoji:   "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: 2rem 1.5rem;
  background: var(--aubergine);
  color: var(--peach);
  font-family: var(--display);
  text-align: center;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; border-radius: 2px; }

.mark {
  font-family: var(--emoji);
  font-size: clamp(3.5rem, 13vw, 8rem);
  line-height: .82;   /* emoji glyph boxes carry a lot of air below the baseline */
  letter-spacing: -.04em;
}

h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(.85rem, .8rem + .25vw, .95rem);
  letter-spacing: .03em;
  text-decoration: none;
  padding: 1.15rem 2rem;
  transition: transform .18s cubic-bezier(.22,.68,.28,1), background .18s ease;
}
.btn:hover { background: color-mix(in srgb, var(--yellow) 84%, #fff); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 560px) {
  .btn { width: 100%; max-width: 22rem; }
}
