/* Temporary hello-world styles, using the Sweet Potato palette from the spec. */
:root {
  --bg: #FFF4EC;
  --accent: #F4B183;
  --text: #3A2A20;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2A201B;
    --accent: #F2BE97;
    --text: #F6E9DF;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

main { padding: 24px; }

.yam {
  font-size: 72px;
  display: inline-block;
  animation: wiggle 2.4s ease-in-out infinite;
}

h1 {
  margin: 8px 0;
  text-decoration: underline var(--accent) 6px;
  text-underline-offset: 6px;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .yam { animation: none; }
}
