* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
}

body {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.survey-wrapper {
  width: 100%;
}

.error-page {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.block { display: block; }
.flex { display: flex; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.flex-shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; }
.resize-y { resize: vertical; }
.cursor-pointer { cursor: pointer; }

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-10 { width: 2.5rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.h-2 { height: .5rem; }
.h-4 { height: 1rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.min-h-\[120px\] { min-height: 120px; }
.min-h-\[320px\] { min-height: 320px; }
.min-h-\[480px\] { min-height: 480px; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-1 { margin-top: .25rem; }
.mt-1\.5 { margin-top: .375rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-1 { margin-left: .25rem; }
.ml-3 { margin-left: .75rem; }
.mr-2 { margin-right: .5rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: .5rem; }

.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.space-y-1\.5 > * + * { margin-top: .375rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

.rounded { border-radius: .25rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid #e2e8f0; }
.border-3 { border-width: 3px; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }
.border-indigo-500 { border-color: #6366f1; }
.border-t-indigo-600 { border-top-color: #4f46e5; }

.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; }
.bg-red-50 { background: #fef2f2; }
.bg-red-100 { background: #fee2e2; }
.bg-emerald-500 { background: #10b981; }
.bg-indigo-50 { background: #eef2ff; }
.bg-indigo-600 { background: #4f46e5; }
.hover\:bg-slate-50:hover { background: #f8fafc; }
.hover\:bg-indigo-700:hover { background: #4338ca; }
.hover\:border-slate-300:hover { border-color: #cbd5e1; }
.shadow-sm { box-shadow: 0 1px 2px rgb(15 23 42 / .06); }
.shadow-md { box-shadow: 0 4px 10px rgb(15 23 42 / .08); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; }
.tracking-widest { letter-spacing: .1em; }
.text-white { color: #fff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-indigo-600 { color: #4f46e5; }
.hover\:underline:hover { text-decoration: underline; }

.focus\:outline-none:focus { outline: none; }
.focus\:border-indigo-500:focus { border-color: #6366f1; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgb(99 102 241 / .25); }
.focus\:ring-indigo-100:focus { box-shadow: 0 0 0 3px #e0e7ff; }
.placeholder\:text-slate-400::placeholder { color: #94a3b8; }
.disabled\:opacity-50:disabled { opacity: .5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:bg-slate-50:disabled { background: #f8fafc; }
.accent-indigo-600 { accent-color: #4f46e5; }

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  color: #0f172a;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
