/**
 * Utility Classes
 * Minimal utility classes for common patterns
 * Use sparingly - prefer component classes
 */

/* ==========================================================================
   Display
   ========================================================================== */

.hidden {
  display: none !important;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

/* ==========================================================================
   Visibility
   ========================================================================== */

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   Position
   ========================================================================== */

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.static {
  position: static;
}

/* Position Helpers */
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

/* ==========================================================================
   Z-Index
   ========================================================================== */

.z-0 {
  z-index: 0;
}

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

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

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

/* ==========================================================================
   Overflow
   ========================================================================== */

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

.overflow-visible {
  overflow: visible;
}

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

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

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

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

/* ==========================================================================
   Text Utilities
   ========================================================================== */

/* Text Alignment */
.text-left {
  text-align: left;
}

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

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

.text-justify {
  text-align: justify;
}

/* Font Weight */
.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Font Style */
.italic {
  font-style: italic;
}

.not-italic {
  font-style: normal;
}

/* Text Transform */
.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.normal-case {
  text-transform: none;
}

/* Text Decoration */
.underline {
  text-decoration: underline;
}

.line-through {
  text-decoration: line-through;
}

.no-underline {
  text-decoration: none;
}

/* Text Overflow */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis {
  text-overflow: ellipsis;
}

.text-clip {
  text-overflow: clip;
}

/* Whitespace */
.whitespace-normal {
  white-space: normal;
}

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

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

.whitespace-pre-line {
  white-space: pre-line;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

/* Word Break */
.break-normal {
  overflow-wrap: normal;
  word-break: normal;
}

.break-words {
  overflow-wrap: break-word;
}

.break-all {
  word-break: break-all;
}

/* ==========================================================================
   Sizing
   ========================================================================== */

/* Width */
.w-full {
  width: 100%;
}

.w-screen {
  width: 100vw;
}

.w-auto {
  width: auto;
}

.w-fit {
  width: fit-content;
}

.min-w-0 {
  min-width: 0;
}

.min-w-full {
  min-width: 100%;
}

.max-w-full {
  max-width: 100%;
}

.max-w-screen {
  max-width: 100vw;
}

.max-w-none {
  max-width: none;
}

/* Height */
.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.h-auto {
  height: auto;
}

.h-fit {
  height: fit-content;
}

.min-h-0 {
  min-height: 0;
}

.min-h-full {
  min-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.max-h-full {
  max-height: 100%;
}

.max-h-screen {
  max-height: 100vh;
}

/* ==========================================================================
   Cursor
   ========================================================================== */

.cursor-auto {
  cursor: auto;
}

.cursor-default {
  cursor: default;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-wait {
  cursor: wait;
}

.cursor-text {
  cursor: text;
}

.cursor-move {
  cursor: move;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-grab {
  cursor: grab;
}

.cursor-grabbing {
  cursor: grabbing;
}

/* ==========================================================================
   Pointer Events
   ========================================================================== */

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

/* ==========================================================================
   User Select
   ========================================================================== */

.select-none {
  user-select: none;
}

.select-text {
  user-select: text;
}

.select-all {
  user-select: all;
}

.select-auto {
  user-select: auto;
}

/* ==========================================================================
   Border Utilities
   ========================================================================== */

.border-none {
  border: none;
}

.rounded-none {
  border-radius: 0;
}

.rounded-full {
  border-radius: 9999px;
}

/* ==========================================================================
   Opacity
   ========================================================================== */

.opacity-0 {
  opacity: 0;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-100 {
  opacity: 1;
}

/* ==========================================================================
   Object Fit
   ========================================================================== */

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.object-fill {
  object-fit: fill;
}

.object-none {
  object-fit: none;
}

.object-scale-down {
  object-fit: scale-down;
}

/* ==========================================================================
   Transform Utilities
   ========================================================================== */

.rotate-0 {
  transform: rotate(0deg);
}

.rotate-45 {
  transform: rotate(45deg);
}

.rotate-90 {
  transform: rotate(90deg);
}

.rotate-180 {
  transform: rotate(180deg);
}

.-rotate-45 {
  transform: rotate(-45deg);
}

.-rotate-90 {
  transform: rotate(-90deg);
}

.scale-0 {
  transform: scale(0);
}

.scale-50 {
  transform: scale(0.5);
}

.scale-75 {
  transform: scale(0.75);
}

.scale-100 {
  transform: scale(1);
}

.scale-105 {
  transform: scale(1.05);
}

.scale-110 {
  transform: scale(1.1);
}

.scale-125 {
  transform: scale(1.25);
}

.scale-150 {
  transform: scale(1.5);
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

/* Hide/Show on breakpoints */
@media (max-width: 639px) {
  .sm\:hidden {
    display: none !important;
  }
}

@media (min-width: 640px) {
  .sm\:block {
    display: block !important;
  }
  
  .sm\:flex {
    display: flex !important;
  }
  
  .sm\:inline {
    display: inline !important;
  }
  
  .sm\:inline-flex {
    display: inline-flex !important;
  }
  
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block !important;
  }
  
  .md\:flex {
    display: flex !important;
  }
  
  .md\:hidden {
    display: none !important;
  }
  
  .hidden-md {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block !important;
  }
  
  .lg\:flex {
    display: flex !important;
  }
  
  .lg\:hidden {
    display: none !important;
  }
  
  .hidden-lg {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .xl\:block {
    display: block !important;
  }
  
  .xl\:flex {
    display: flex !important;
  }
  
  .xl\:hidden {
    display: none !important;
  }
}

/* ==========================================================================
   Print Utilities
   ========================================================================== */

@media print {
  .print\:hidden {
    display: none !important;
  }
  
  .print\:block {
    display: block !important;
  }
}

/* ==========================================================================
   Aspect Ratio
   ========================================================================== */

.aspect-auto {
  aspect-ratio: auto;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

/* ==========================================================================
   List Style
   ========================================================================== */

.list-none {
  list-style: none;
}

.list-disc {
  list-style-type: disc;
}

.list-decimal {
  list-style-type: decimal;
}

.list-inside {
  list-style-position: inside;
}

.list-outside {
  list-style-position: outside;
}

/* ==========================================================================
   Font Size (Tailwind-compatible)
   ========================================================================== */

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.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;
}

.font-black {
  font-weight: 900;
}

/* ==========================================================================
   Letter Spacing
   ========================================================================== */

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

/* ==========================================================================
   Line Height
   ========================================================================== */

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-snug {
  line-height: 1.375;
}

.leading-normal {
  line-height: 1.5;
}

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

.leading-loose {
  line-height: 2;
}

/* ==========================================================================
   Text Colors (Tailwind-compatible)
   ========================================================================== */

.text-white {
  color: #ffffff;
}

.text-black {
  color: #000000;
}

/* Gray scale */
.text-gray-100 {
  color: oklch(96% 0.005 96);
}

.text-gray-200 {
  color: oklch(92% 0.008 96);
}

.text-gray-300 {
  color: oklch(86% 0.012 96);
}

.text-gray-400 {
  color: oklch(70% 0.015 96);
}

.text-gray-500 {
  color: oklch(55% 0.015 96);
}

.text-gray-600 {
  color: oklch(45% 0.015 96);
}

.text-gray-700 {
  color: oklch(37% 0.012 96);
}

.text-gray-800 {
  color: oklch(27% 0.008 96);
}

.text-gray-900 {
  color: oklch(20% 0.005 96);
}

/* Pink */
.text-pink-300 {
  color: oklch(82% 0.12 350);
}

.text-pink-400 {
  color: oklch(72% 0.16 350);
}

.text-pink-500 {
  color: oklch(65% 0.18 350);
}

.text-pink-600 {
  color: oklch(58% 0.18 350);
}

.text-pink-700 {
  color: oklch(50% 0.16 350);
}

/* Sky/Blue */
.text-sky-300 {
  color: oklch(82% 0.09 220);
}

.text-sky-400 {
  color: oklch(72% 0.12 220);
}

.text-sky-500 {
  color: oklch(65% 0.12 220);
}

.text-sky-600 {
  color: oklch(55% 0.12 220);
}

.text-sky-700 {
  color: oklch(45% 0.10 220);
}

.text-blue-400 {
  color: oklch(70% 0.15 250);
}

.text-blue-500 {
  color: oklch(60% 0.18 250);
}

.text-blue-600 {
  color: oklch(52% 0.18 250);
}

/* Red */
.text-red-400 {
  color: oklch(65% 0.18 25);
}

.text-red-500 {
  color: oklch(58% 0.20 25);
}

.text-red-600 {
  color: oklch(50% 0.20 25);
}

/* Green */
.text-green-400 {
  color: oklch(68% 0.14 145);
}

.text-green-500 {
  color: oklch(60% 0.14 145);
}

.text-green-600 {
  color: oklch(52% 0.14 145);
}

/* ==========================================================================
   Background Colors (Tailwind-compatible)
   ========================================================================== */

.bg-white {
  background-color: #ffffff;
}

.bg-black {
  background-color: #000000;
}

.bg-transparent {
  background-color: transparent;
}

/* Gray scale */
.bg-gray-50 {
  background-color: oklch(98% 0.003 96);
}

.bg-gray-100 {
  background-color: oklch(96% 0.005 96);
}

.bg-gray-200 {
  background-color: oklch(92% 0.008 96);
}

.bg-gray-700 {
  background-color: oklch(37% 0.012 96);
}

.bg-gray-800 {
  background-color: oklch(27% 0.008 96);
}

.bg-gray-900 {
  background-color: oklch(20% 0.005 96);
}

/* Slate (dark mode) */
.bg-slate-700 {
  background-color: oklch(35% 0.03 250);
}

.bg-slate-800 {
  background-color: oklch(25% 0.02 250);
}

.bg-slate-900 {
  background-color: oklch(20% 0.02 260);
}

/* Pink */
.bg-pink-50 {
  background-color: oklch(97% 0.02 350);
}

.bg-pink-100 {
  background-color: oklch(94% 0.04 350);
}

.bg-pink-400 {
  background-color: oklch(72% 0.16 350);
}

.bg-pink-500 {
  background-color: oklch(65% 0.18 350);
}

.bg-pink-900 {
  background-color: oklch(35% 0.12 350);
}

/* Sky/Blue */
.bg-sky-50 {
  background-color: oklch(97% 0.01 220);
}

.bg-sky-100 {
  background-color: oklch(94% 0.03 220);
}

.bg-sky-400 {
  background-color: oklch(72% 0.12 220);
}

.bg-blue-50 {
  background-color: oklch(97% 0.02 250);
}

.bg-blue-600 {
  background-color: oklch(52% 0.18 250);
}

/* Red */
.bg-red-50 {
  background-color: oklch(97% 0.02 25);
}

.bg-red-400 {
  background-color: oklch(65% 0.18 25);
}

.bg-red-900 {
  background-color: oklch(35% 0.12 25);
}

/* Green */
.bg-green-50 {
  background-color: oklch(97% 0.02 145);
}

.bg-green-900 {
  background-color: oklch(30% 0.1 145);
}

/* Amber */
.bg-amber-400 {
  background-color: oklch(78% 0.16 85);
}

/* Indigo */
.bg-indigo-400 {
  background-color: oklch(65% 0.16 265);
}

.bg-indigo-500 {
  background-color: oklch(55% 0.18 265);
}

/* Purple */
.bg-purple-400 {
  background-color: oklch(68% 0.16 285);
}

.bg-purple-500 {
  background-color: oklch(60% 0.18 285);
}

/* ==========================================================================
   Background with Alpha (Tailwind-compatible)
   ========================================================================== */

.bg-white\/80 {
  background-color: rgb(255 255 255 / 0.8);
}

.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}

.bg-black\/10 {
  background-color: rgb(0 0 0 / 0.1);
}

.bg-black\/25 {
  background-color: rgb(0 0 0 / 0.25);
}

.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}

.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}

/* ==========================================================================
   Border Colors
   ========================================================================== */

.border-gray-200 {
  border-color: oklch(92% 0.008 96);
}

.border-gray-300 {
  border-color: oklch(86% 0.012 96);
}

.border-gray-400 {
  border-color: oklch(70% 0.015 96);
}

.border-gray-600 {
  border-color: oklch(45% 0.015 96);
}

.border-gray-700 {
  border-color: oklch(37% 0.012 96);
}

.border-pink-200 {
  border-color: oklch(90% 0.08 350);
}

.border-pink-300 {
  border-color: oklch(82% 0.12 350);
}

.border-pink-600 {
  border-color: oklch(58% 0.18 350);
}

.border-sky-300 {
  border-color: oklch(82% 0.09 220);
}

.border-sky-600 {
  border-color: oklch(55% 0.12 220);
}

.border-red-200 {
  border-color: oklch(88% 0.08 25);
}

.border-red-700 {
  border-color: oklch(42% 0.18 25);
}

.border-green-200 {
  border-color: oklch(88% 0.06 145);
}

.border-green-700 {
  border-color: oklch(45% 0.12 145);
}

.border-white {
  border-color: #ffffff;
}

.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}

/* ==========================================================================
   Border Width
   ========================================================================== */

.border {
  border-width: 1px;
}

.border-0 {
  border-width: 0;
}

.border-2 {
  border-width: 2px;
}

.border-3 {
  border-width: 3px;
}

.border-4 {
  border-width: 4px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-l {
  border-left-width: 1px;
}

.border-r {
  border-right-width: 1px;
}

/* ==========================================================================
   Border Radius
   ========================================================================== */

.rounded {
  border-radius: 0.25rem;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

/* ==========================================================================
   Shadow
   ========================================================================== */

.shadow {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.shadow-none {
  box-shadow: none;
}

/* ==========================================================================
   Backdrop Filter
   ========================================================================== */

.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* ==========================================================================
   Gradients
   ========================================================================== */

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops, transparent));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops, transparent));
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops, transparent));
}

/* Pre-defined gradient combos */
.gradient-pink-purple-indigo {
  background: linear-gradient(to right, oklch(65% 0.18 350), oklch(60% 0.18 285), oklch(55% 0.18 265));
}

.gradient-sky-cyan {
  background: linear-gradient(to right, oklch(65% 0.12 220), oklch(68% 0.12 195));
}

.gradient-pink-amber-sky {
  background: linear-gradient(to bottom right, oklch(72% 0.16 350), oklch(78% 0.16 85), oklch(72% 0.12 220));
}

.gradient-sky-indigo-purple {
  background: linear-gradient(to bottom right, oklch(72% 0.12 220), oklch(65% 0.16 265), oklch(68% 0.16 285));
}

/* ==========================================================================
   Specific Sizes
   ========================================================================== */

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }

.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }

.w-0\.5 { width: 0.125rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }

.max-w-\[95\%\] { max-width: 95%; }
.max-w-\[85\%\] { max-width: 85%; }
.max-w-\[120px\] { max-width: 120px; }
.max-w-\[200px\] { max-width: 200px; }

/* ==========================================================================
   Prose (basic content styling)
   ========================================================================== */

.prose {
  max-width: 65ch;
  color: inherit;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose a {
  color: oklch(55% 0.18 265);
  text-decoration: underline;
}

.prose strong {
  font-weight: 700;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.max-w-none {
  max-width: none;
}

/* ==========================================================================
   Dark Mode Text/BG Variants
   ========================================================================== */

.dark .dark\:text-gray-100,
html.dark .dark\:text-gray-100 {
  color: oklch(96% 0.005 96);
}

.dark .dark\:text-gray-200,
html.dark .dark\:text-gray-200 {
  color: oklch(92% 0.008 96);
}

.dark .dark\:text-gray-300,
html.dark .dark\:text-gray-300 {
  color: oklch(86% 0.012 96);
}

.dark .dark\:text-gray-400,
html.dark .dark\:text-gray-400 {
  color: oklch(70% 0.015 96);
}

.dark .dark\:text-gray-500,
html.dark .dark\:text-gray-500 {
  color: oklch(55% 0.015 96);
}

.dark .dark\:text-gray-600,
html.dark .dark\:text-gray-600 {
  color: oklch(45% 0.015 96);
}

.dark .dark\:text-pink-200,
html.dark .dark\:text-pink-200 {
  color: oklch(90% 0.08 350);
}

.dark .dark\:text-pink-300,
html.dark .dark\:text-pink-300 {
  color: oklch(82% 0.12 350);
}

.dark .dark\:text-pink-400,
html.dark .dark\:text-pink-400 {
  color: oklch(72% 0.16 350);
}

.dark .dark\:text-sky-300,
html.dark .dark\:text-sky-300 {
  color: oklch(82% 0.09 220);
}

.dark .dark\:text-sky-400,
html.dark .dark\:text-sky-400 {
  color: oklch(72% 0.12 220);
}

.dark .dark\:text-red-200,
html.dark .dark\:text-red-200 {
  color: oklch(88% 0.08 25);
}

.dark .dark\:text-green-200,
html.dark .dark\:text-green-200 {
  color: oklch(88% 0.06 145);
}

.dark .dark\:bg-gray-700,
html.dark .dark\:bg-gray-700 {
  background-color: oklch(37% 0.012 96);
}

.dark .dark\:bg-gray-800,
html.dark .dark\:bg-gray-800 {
  background-color: oklch(27% 0.008 96);
}

.dark .dark\:bg-gray-900,
html.dark .dark\:bg-gray-900 {
  background-color: oklch(20% 0.005 96);
}

.dark .dark\:bg-slate-700,
html.dark .dark\:bg-slate-700 {
  background-color: oklch(35% 0.03 250);
}

.dark .dark\:bg-slate-800,
html.dark .dark\:bg-slate-800 {
  background-color: oklch(25% 0.02 250);
}

.dark .dark\:bg-red-900,
html.dark .dark\:bg-red-900 {
  background-color: oklch(35% 0.12 25);
}

.dark .dark\:bg-green-900,
html.dark .dark\:bg-green-900 {
  background-color: oklch(30% 0.1 145);
}

.dark .dark\:bg-pink-900,
html.dark .dark\:bg-pink-900 {
  background-color: oklch(35% 0.12 350);
}

.dark .dark\:bg-blue-500,
html.dark .dark\:bg-blue-500 {
  background-color: oklch(60% 0.18 250);
}

.dark .dark\:border-gray-600,
html.dark .dark\:border-gray-600 {
  border-color: oklch(45% 0.015 96);
}

.dark .dark\:border-gray-700,
html.dark .dark\:border-gray-700 {
  border-color: oklch(37% 0.012 96);
}

.dark .dark\:border-pink-600,
html.dark .dark\:border-pink-600 {
  border-color: oklch(58% 0.18 350);
}

.dark .dark\:border-sky-600,
html.dark .dark\:border-sky-600 {
  border-color: oklch(55% 0.12 220);
}

.dark .dark\:border-red-700,
html.dark .dark\:border-red-700 {
  border-color: oklch(42% 0.18 25);
}

.dark .dark\:border-green-700,
html.dark .dark\:border-green-700 {
  border-color: oklch(45% 0.12 145);
}

.dark .dark\:border-white\/10,
html.dark .dark\:border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

.dark .dark\:bg-black\/25,
html.dark .dark\:bg-black\/25 {
  background-color: rgb(0 0 0 / 0.25);
}

/* Dark mode hover states */
.dark .dark\:hover\:bg-gray-700:hover,
html.dark .dark\:hover\:bg-gray-700:hover {
  background-color: oklch(37% 0.012 96);
}

.dark .dark\:hover\:bg-slate-700:hover,
html.dark .dark\:hover\:bg-slate-700:hover {
  background-color: oklch(35% 0.03 250);
}

.dark .dark\:hover\:bg-blue-600:hover,
html.dark .dark\:hover\:bg-blue-600:hover {
  background-color: oklch(52% 0.18 250);
}

.dark .dark\:hover\:text-gray-100:hover,
html.dark .dark\:hover\:text-gray-100:hover {
  color: oklch(96% 0.005 96);
}

.dark .dark\:hover\:text-gray-300:hover,
html.dark .dark\:hover\:text-gray-300:hover {
  color: oklch(86% 0.012 96);
}

.dark .dark\:hover\:text-pink-300:hover,
html.dark .dark\:hover\:text-pink-300:hover {
  color: oklch(82% 0.12 350);
}

.dark .dark\:hover\:text-sky-300:hover,
html.dark .dark\:hover\:text-sky-300:hover {
  color: oklch(82% 0.09 220);
}

.dark .dark\:focus\:outline-blue-400:focus,
html.dark .dark\:focus\:outline-blue-400:focus {
  outline-color: oklch(70% 0.15 250);
}

.dark .dark\:prose-invert,
html.dark .dark\:prose-invert {
  color: oklch(92% 0.008 96);
}

/* ==========================================================================
   Hover States
   ========================================================================== */

.hover\:bg-gray-100:hover {
  background-color: oklch(96% 0.005 96);
}

.hover\:bg-blue-700:hover {
  background-color: oklch(45% 0.16 250);
}

.hover\:text-gray-600:hover {
  color: oklch(45% 0.015 96);
}

.hover\:text-gray-900:hover {
  color: oklch(20% 0.005 96);
}

.hover\:text-pink-700:hover {
  color: oklch(50% 0.16 350);
}

.hover\:text-sky-700:hover {
  color: oklch(45% 0.10 220);
}

.hover\:-translate-y-0\.5:hover {
  transform: translateY(-0.125rem);
}

/* ==========================================================================
   Focus States
   ========================================================================== */

.focus\:outline-blue-600:focus {
  outline-color: oklch(52% 0.18 250);
}

/* ==========================================================================
   Transitions
   ========================================================================== */

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* ==========================================================================
   Group Utilities
   ========================================================================== */

.group:hover .group-hover\:visible {
  visibility: visible;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

/* ==========================================================================
   Responsive Width/Display (md: prefix)
   ========================================================================== */

@media (min-width: 768px) {
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .md\:w-2\/3 {
    width: 66.666667%;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:p-3 {
    padding: 0.75rem;
  }
  
  .md\:p-8 {
    padding: 2rem;
  }
  
  .md\:max-w-\[85\%\] {
    max-width: 85%;
  }
  
  .md\:max-w-\[200px\] {
    max-width: 200px;
  }
}

/* ==========================================================================
   Flex/justify/align shortcuts
   ========================================================================== */

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex: 1 1 0%;
}

/* ==========================================================================
   Space utilities
   ========================================================================== */

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-1\.5 > * + * {
  margin-top: 0.375rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-x-1 > * + * {
  margin-left: 0.25rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

/* ==========================================================================
   Gap utilities  
   ========================================================================== */

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* ==========================================================================
   Padding specific values
   ========================================================================== */

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.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; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-8 { padding-top: 2rem; padding-bottom: 2rem; }

.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }
.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }

/* ==========================================================================
   Margin specific values
   ========================================================================== */

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-0 { margin-top: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-5 { margin-bottom: 1.25rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.mr-1 { margin-right: 0.25rem; }

.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }

/* ==========================================================================
   Contents utility
   ========================================================================== */

.contents {
  display: contents;
}

/* ==========================================================================
   SM/MD responsive padding/margin
   ========================================================================== */

@media (min-width: 640px) {
  .sm\:pl-4 { padding-left: 1rem; }
  .sm\:pr-4 { padding-right: 1rem; }
  .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:h-10 { height: 2.5rem; }
  .sm\:w-10 { width: 2.5rem; }
  .sm\:h-12 { height: 3rem; }
  .sm\:w-12 { width: 3rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:inline { display: inline; }
  .sm\:flex { display: flex; }
  .sm\:items-center { align-items: center; }
  .sm\:mt-0 { margin-top: 0; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:inline { display: inline; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ==========================================================================
   Font mono
   ========================================================================== */

.font-mono {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

/* ==========================================================================
   Additional Color Utilities
   ========================================================================== */

/* Teal */
.bg-teal-500 {
  background-color: oklch(65% 0.12 175);
}

/* Emerald */
.bg-emerald-500 {
  background-color: oklch(65% 0.14 160);
}

/* Cyan */
.bg-cyan-500 {
  background-color: oklch(68% 0.12 195);
}

/* ==========================================================================
   Gradient Text
   ========================================================================== */

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* ==========================================================================
   Specific Layout Classes
   ========================================================================== */

.-mt-28 {
  margin-top: -7rem;
}

.pt-28 {
  padding-top: 7rem;
}

.mb-\[400px\] {
  margin-bottom: 400px;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-12 {
  padding: 3rem;
}

/* ==========================================================================
   Border Specific
   ========================================================================== */

.border-\[1\.5px\] {
  border-width: 1.5px;
}

.border-\[2px\] {
  border-width: 2px;
}

/* ==========================================================================
   Size Specific
   ========================================================================== */

.h-2 {
  height: 0.5rem;
}

.h-2\.5 {
  height: 0.625rem;
}

.h-3 {
  height: 0.75rem;
}

.h-7 {
  height: 1.75rem;
}

.h-16 {
  height: 4rem;
}

.w-2 {
  width: 0.5rem;
}

.w-3 {
  width: 0.75rem;
}

.w-7 {
  width: 1.75rem;
}

.w-16 {
  width: 4rem;
}

.w-24 {
  width: 6rem;
}

.h-\[2px\] {
  height: 2px;
}

.w-\[1px\] {
  width: 1px;
}

/* ==========================================================================
   Max Height/Width Viewport
   ========================================================================== */

.max-h-\[85vh\] {
  max-height: 85vh;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

/* ==========================================================================
   Grid Responsive
   ========================================================================== */

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Col Span
   ========================================================================== */

.col-span-1 {
  grid-column: span 1 / span 1;
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-11 {
  grid-column: span 11 / span 11;
}

.col-span-12 {
  grid-column: span 12 / span 12;
}

/* ==========================================================================
   Gap Responsive
   ========================================================================== */

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* ==========================================================================
   Space Responsive
   ========================================================================== */

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.space-x-1\.5 > * + * {
  margin-left: 0.375rem;
}

/* ==========================================================================
   Animation
   ========================================================================== */

.animate-bounce {
  animation: bounce 1s infinite;
}

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

/* ==========================================================================
   Focus Outline
   ========================================================================== */

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-pink-500:focus {
  --tw-ring-color: oklch(65% 0.18 350);
  box-shadow: 0 0 0 2px var(--tw-ring-color);
}

.focus\:ring-offset-gray-800:focus {
  --tw-ring-offset-color: oklch(27% 0.008 96);
}

/* ==========================================================================
   Accent Color
   ========================================================================== */

.accent-pink-500 {
  accent-color: oklch(65% 0.18 350);
}

/* ==========================================================================
   Resize
   ========================================================================== */

.resize-none {
  resize: none;
}

/* ==========================================================================
   Scale
   ========================================================================== */

.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}

.active\:scale-\[0\.98\]:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Additional Display/Position
   ========================================================================== */

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:justify-between {
    justify-content: space-between;
  }
  
  .sm\:space-y-0 > * + * {
    margin-top: 0;
  }
  
  .sm\:space-x-2 > * + * {
    margin-left: 0.5rem;
  }
  
  .sm\:w-auto {
    width: auto;
  }
  
  .sm\:p-4 {
    padding: 1rem;
  }
  
  .sm\:p-5 {
    padding: 1.25rem;
  }
  
  .sm\:text-9xl {
    font-size: 8rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}

/* ==========================================================================
   Text Sizes Additional
   ========================================================================== */

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.text-9xl {
  font-size: 8rem;
  line-height: 1;
}

/* ==========================================================================
   Form Checkbox
   ========================================================================== */

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  user-select: none;
  flex-shrink: 0;
  color: currentColor;
  background-color: #fff;
  border-width: 1px;
  border-color: oklch(70% 0.015 96);
}

.form-checkbox:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   Leading/Line Height
   ========================================================================== */

.leading-tight {
  line-height: 1.25;
}

/* ==========================================================================
   Icon Sizing
   ========================================================================== */

.icon {
  display: inline-block;
  flex-shrink: 0;
}

.icon--xs {
  width: 0.75rem;
  height: 0.75rem;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--md {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--xl {
  width: 2rem;
  height: 2rem;
}
