/* ===============================
   Base Reset (Tailwind-inspired)
   =============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111827; /* gray-900 */
  background-color: #ffffff;
}

/* ===============================
   Typography
   =============================== */

h1 {
  font-size: 2.25rem; /* text-4xl */
  line-height: 2.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.5rem; /* text-2xl */
  line-height: 2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===============================
   Layout Utilities
   =============================== */

.max-w-6xl {
  max-width: 72rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

/* ===============================
   Flex & Grid
   =============================== */

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.grid {
  display: grid;
}

.gap-8 {
  gap: 2rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===============================
   Borders & Cards
   =============================== */

.border {
  border: 1px solid #e5e7eb; /* gray-200 */
}

.border-b {
  border-bottom: 1px solid #e5e7eb;
}

.border-t {
  border-top: 1px solid #e5e7eb;
}

.rounded-lg {
  border-radius: 0.5rem;
}

/* ===============================
   Text Utilities
   =============================== */

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

/* ===============================
   Buttons
   =============================== */

button,
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.button-primary {
  background-color: #000000;
  color: #ffffff;
}

.button-outline {
  border: 1px solid #d1d5db;
  color: #111827;
  background: transparent;
}

/* ===============================
   Hover Effects
   =============================== */

.hover\:shadow:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
