/* ============================================================
   Lumperco static Tailwind subset
   Hand-curated CSS — only the classes used in index.html
   Replaces the ~3MB Tailwind CDN with ~12kb of static CSS
   ============================================================ */

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p { margin: 0; }
button, input, [type='button'] {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-image: none;
  border: 1px solid;
  cursor: pointer;
}
button:focus { outline: none; }
svg { display: block; vertical-align: middle; }
a { color: inherit; text-decoration: inherit; }

/* ---------- Layout ---------- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.hidden { display: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.grid { display: grid; }
.inline-block { display: inline-block; }

.top-0 { top: 0; }
.bottom-6 { bottom: 1.5rem; }
.right-2 { right: 0.5rem; }
.right-6 { right: 1.5rem; }
.left-1\/2 { left: 50%; }
.-top-1 { top: -0.25rem; }
.-top-4 { top: -1rem; }
.-right-1 { right: -0.25rem; }
.-right-4 { right: -1rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-2 { gap: 0.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }

.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ---------- Sizing ---------- */
.w-full { width: 100%; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-\[23\%\] { width: 23%; }
.w-\[400px\] { width: 400px; }

.h-full { height: 100%; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-\[600px\] { height: 600px; }

.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[400px\] { max-width: 400px; }
.max-w-\[85\%\] { max-width: 85%; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }

/* ---------- Padding ---------- */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-48 { padding-top: 12rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-32 { padding-bottom: 8rem; }

/* ---------- Typography ---------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-normal { font-weight: 400; }
.font-800 { font-weight: 800; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-relaxed { line-height: 1.625; }

.whitespace-nowrap { white-space: nowrap; }

/* ---------- Colors (text) ---------- */
.text-white { color: #fff; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-950 { color: #020617; }
.text-teal-400 { color: #2dd4bf; }
.text-teal-500 { color: #14b8a6; }

/* ---------- Colors (background) ---------- */
.bg-white { background-color: #fff; }
.bg-red-500 { background-color: #ef4444; }
.bg-slate-500 { background-color: #64748b; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/50 { background-color: rgba(15, 23, 42, 0.5); }
.bg-slate-950 { background-color: #020617; }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8); }
.bg-teal-500 { background-color: #14b8a6; }
.bg-teal-500\/10 { background-color: rgba(20, 184, 166, 0.1); }
.bg-teal-500\/20 { background-color: rgba(20, 184, 166, 0.2); }
.bg-teal-600 { background-color: #0d9488; }

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0)); }
.to-slate-800 { --tw-gradient-to: #1e293b; }

.bg-\[radial-gradient\(circle_at_50\%_0\%\,rgba\(15\,23\,42\,0\.5\)\,transparent_50\%\)\] {
  background-image: radial-gradient(circle at 50% 0%, rgba(15,23,42,0.5), transparent 50%);
}
.bg-\[radial-gradient\(circle_at_50\%_0\%\,rgba\(20\,184\,166\,0\.1\)\,transparent_50\%\)\] {
  background-image: radial-gradient(circle at 50% 0%, rgba(20,184,166,0.1), transparent 50%);
}

/* ---------- Borders ---------- */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-white { border-color: #fff; }
.border-slate-700 { border-color: #334155; }
.border-slate-700\/50 { border-color: rgba(51, 65, 85, 0.5); }
.border-slate-800 { border-color: #1e293b; }
.border-slate-800\/50 { border-color: rgba(30, 41, 59, 0.5); }

.rounded { border-radius: 0.25rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-tl-none { border-top-left-radius: 0; }

/* ---------- Shadows ---------- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-teal-500\/10 { box-shadow: 0 10px 30px -3px rgba(20, 184, 166, 0.1); }

/* ---------- Effects ---------- */
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

.scroll-smooth { scroll-behavior: smooth; }

/* ---------- Transitions & Animations ---------- */
.transition {
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-500 { transition-duration: 500ms; }

/* ---------- Selection ---------- */
.selection\:bg-teal-500\/30 ::selection { background-color: rgba(20, 184, 166, 0.3); }
.selection\:bg-teal-500\/30::selection { background-color: rgba(20, 184, 166, 0.3); }

/* ---------- Hover states ---------- */
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-slate-900:hover { background-color: #0f172a; }
.hover\:bg-teal-50:hover { background-color: #f0fdfa; }
.hover\:bg-teal-500:hover { background-color: #14b8a6; }
.hover\:border-teal-500\/50:hover { border-color: rgba(20, 184, 166, 0.5); }
.hover\:text-teal-400:hover { color: #2dd4bf; }
.hover\:text-white:hover { color: #fff; }

.active\:scale-95:active { transform: scale(0.95); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-teal-500\/50:focus { border-color: rgba(20, 184, 166, 0.5); }

/* ---------- Group hover ---------- */
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* ---------- Animations ---------- */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }

/* ---------- Custom: hide scrollbar ---------- */
.scrollbar-none::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.scrollbar-none,
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ============================================================
   Responsive: md breakpoint (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:space-x-6 > * + * { margin-left: 1.5rem; margin-top: 0; }
  .md\:space-y-0 > * + * { margin-top: 0; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
}
