/* IdeaBuz — only global resets + the prototype's own keyframes.
   All component styling lives inline in the template, exactly as designed. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #E7E3D9; font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; }

.hsx::-webkit-scrollbar { display: none; }
.hsx { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes sheetUp { from { transform: translateY(102%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

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

/* ---- Auth screens (IdeaBuz sign in / sign up / password reset) ---- */
.ib-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ib-card {
  width: 100%; max-width: 400px; background: #F7F5EF; border: 1px solid #E7E3DA;
  border-radius: 26px; padding: 34px 30px; box-shadow: 0 40px 90px -40px rgba(40,36,28,.5);
  animation: pop .22s ease;
}
.ib-brand { font-family: 'Newsreader', serif; font-size: 32px; color: #21201C; text-align: center; letter-spacing: .2px; }
.ib-tag { text-align: center; color: #8C867A; font-size: 14.5px; margin: 4px 0 22px; }
.ib-note { color: #8C867A; font-size: 13.5px; line-height: 1.5; margin: 0 0 16px; }
.ib-field { margin-bottom: 14px; }
.ib-field label { display: block; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: #A79F90; font-weight: 700; margin-bottom: 7px; }
.ib-input {
  width: 100%; border: 1px solid #E2DDD2; background: #fff; border-radius: 12px;
  padding: 12px 14px; outline: none; font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; color: #21201C;
}
.ib-input:focus { border-color: #21201C; }
.ib-btn {
  width: 100%; margin-top: 6px; padding: 14px; border-radius: 14px; border: none; cursor: pointer;
  background: #21201C; color: #F4F2EC; font-family: 'Hanken Grotesk', sans-serif; font-size: 15px; font-weight: 700;
}
.ib-btn:hover { background: #3a382f; }
.ib-alt { text-align: center; margin-top: 16px; }
.ib-link { background: none; border: none; cursor: pointer; color: #C0735C; font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; font-weight: 600; text-decoration: underline; }
.ib-err { color: #C0735C; font-size: 13.5px; min-height: 18px; margin: 2px 0 10px; }
.ib-code {
  font-family: 'Newsreader', serif; font-size: 30px; letter-spacing: 6px; text-align: center; color: #21201C;
  background: #fff; border: 1px solid #E7E3DA; border-radius: 14px; padding: 14px; margin: 4px 0 16px;
}
