/* =========================================================
   Overload — Fito theme + missing layout utilities
   The original Vite build tree-shook out many Tailwind
   classes the landing page needs. This file restores them
   and applies the mint / lime palette.
   ========================================================= */

:root {
  --font-sans: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Poppins", "Segoe UI", system-ui, sans-serif;
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);

  --color-background: #f5f9f1;
  --color-foreground: #3d4465;
  --color-card: #ffffff;
  --color-card-foreground: #3d4465;
  --color-popover: #ffffff;
  --color-popover-foreground: #3d4465;
  --color-primary: #6cc51d;
  --color-primary-foreground: #ffffff;
  --color-secondary: #eef6e4;
  --color-secondary-foreground: #3d4465;
  --color-muted: #eef3ea;
  --color-muted-foreground: #7e7e7e;
  --color-accent: #e8f6d8;
  --color-accent-foreground: #3d4465;
  --color-destructive: #ff285c;
  --color-destructive-foreground: #ffffff;
  --color-border: #eeeeee;
  --color-input: #e6e6e6;
  --color-ring: #6cc51d;
  --color-success: #37d1bf;
  --color-warning: #ff9432;
  --color-info: #1ea7c5;
  --color-sidebar: #fbfbfb;
}

html, body {
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-sans) !important;
}

h1, h2, h3 {
  color: var(--color-foreground);
  font-weight: 600;
}

/* ---------- Color utilities ---------- */
.bg-background { background-color: var(--color-background) !important; }
.bg-background\/80 { background-color: rgb(245 249 241 / 0.8) !important; }
.bg-card { background-color: var(--color-card) !important; box-shadow: 0 8px 24px rgb(61 68 101 / 0.06); }
.bg-primary { background-color: var(--color-primary) !important; color: #fff !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-secondary\/60 { background-color: rgb(238 246 228 / 0.6) !important; }
.bg-accent { background-color: var(--color-accent) !important; }
.bg-muted { background-color: var(--color-muted) !important; }
.bg-popover { background-color: var(--color-popover) !important; }
.bg-destructive { background-color: var(--color-destructive) !important; }
.bg-sidebar { background-color: var(--color-sidebar) !important; }
.bg-transparent { background-color: transparent !important; }
.bg-success\/15 { background-color: rgb(55 209 191 / 0.15) !important; }

.text-foreground { color: var(--color-foreground) !important; }
.text-card-foreground { color: var(--color-card-foreground) !important; }
.text-primary { color: var(--color-primary) !important; }
.text-primary-foreground { color: #fff !important; }
.text-secondary-foreground { color: var(--color-secondary-foreground) !important; }
.text-muted-foreground { color: var(--color-muted-foreground) !important; }
.text-accent-foreground { color: var(--color-accent-foreground) !important; }
.text-destructive { color: var(--color-destructive) !important; }
.text-destructive-foreground { color: #fff !important; }
.text-success { color: var(--color-success) !important; }

.border-border { border-color: var(--color-border) !important; }
.border-input { border-color: var(--color-input) !important; }
.border-primary { border-color: var(--color-primary) !important; }
.border-dashed { border-style: dashed !important; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-color: var(--color-border); }
.divide-border > :not([hidden]) ~ :not([hidden]) { border-color: var(--color-border); }

/* ---------- Layout: containers & width ---------- */
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-9 { height: 2.25rem; }
.h-12 { height: 3rem; }
.h-52 { height: 13rem; }
.min-h-28 { min-height: 7rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-lg { max-width: 32rem; }
.max-h-64 { max-height: 16rem; }
.max-h-\[70dvh\] { max-height: 70dvh; }
.max-h-\[90dvh\] { max-height: 90dvh; }

/* ---------- Grid & flex ---------- */
.grid { display: grid; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.content-center { align-content: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* ---------- Spacing ---------- */
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.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; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-0 { padding-top: 0; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-28 { padding-bottom: 7rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-1 { margin-left: 0.25rem; }

/* ---------- Typography ---------- */
.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; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.uppercase { text-transform: uppercase; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Images ---------- */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-4\/3 { aspect-ratio: 4 / 3; }
.aspect-16\/10 { aspect-ratio: 16 / 10; }
img.framed,
.framed {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Radius ---------- */
.rounded-sm { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.875rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- Position ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.left-0 { left: 0; }
.bottom-0 { bottom: 0; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

/* ---------- Sizing helpers ---------- */
.size-3\.5 { width: 0.875rem; height: 0.875rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-9 { width: 2.25rem; height: 2.25rem; }
.size-11 { width: 2.75rem; height: 2.75rem; }
.size-14 { width: 3.5rem; height: 3.5rem; }

/* ---------- Effects ---------- */
.opacity-0 { opacity: 0; }
.opacity-70 { opacity: 0.7; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }
.transition-opacity { transition-property: opacity; transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-duration: 150ms; }
.transition-\[width\] { transition-property: width; transition-duration: 200ms; }
.duration-200 { transition-duration: 200ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

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

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

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-end { justify-content: flex-end; }
  .sm\:p-5 { padding: 1.25rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-\[1\.1fr_0\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
  .md\:ml-56 { margin-left: 14rem; }
  .md\:ml-72 { margin-left: 18rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:pt-8 { padding-top: 2rem; }
  .md\:pt-12 { padding-top: 3rem; }
  .md\:pb-12 { padding-bottom: 3rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1\.2fr_0\.8fr\] { grid-template-columns: 1.2fr 0.8fr; }
}

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

/* Keep hero / feature images from blowing out the page */
img.w-full,
img.object-cover,
section img {
  max-width: 100%;
  height: auto;
}
