* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #F5F1E8;
  color: #16233F;
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes receiptIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stampThump {
  0%   { opacity: 0; transform: translate(-50%,-50%) rotate(-10deg) scale(2.4); }
  60%  { opacity: 1; transform: translate(-50%,-50%) rotate(-10deg) scale(0.9); }
  80%  { transform: translate(-50%,-50%) rotate(-10deg) scale(1.06); }
  100% { opacity: 1; transform: translate(-50%,-50%) rotate(-10deg) scale(1); }
}

/* Footer + social hover (from DC style-hover) */
.footer-link:hover { color: #F2C94C !important; text-decoration: underline !important; }
.social-link:hover { border-color: #F2C94C !important; }

/* Host section layout (moved off inline styles so it can be responsive) */
#host {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 720px) {
  #host {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #host .host-portrait {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
@media (max-width: 579px) {
  #host .host-portrait {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Keyboard focus rings (from DC style-focus) */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #F0505E;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}
