/**
 * Tailwindi puuduvate utiliitide fallback (eriti mobiil).
 * Laaditakse pärast app.css, enne site.css.
 */

/* Layout */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.hidden { display: none !important; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-6 { gap: 1.5rem; }
.min-h-screen { min-height: 100vh; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.object-contain { object-fit: contain; }
.resize-y { resize: vertical; }
.text-center { text-align: center; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-14 { margin-top: 3.5rem; }
.ml-0 { margin-left: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* Typography */
.font-sans { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.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; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Colors – brand */
.text-brand-green { color: #1b4332; }
.text-brand-accent { color: #f97316; }
.text-brand-accent-hover { color: #ea580c; }
.hover\:text-brand-accent-hover:hover { color: #ea580c; }
.hover\:text-brand-green:hover { color: #1b4332; }
.bg-brand-dark { background-color: #1b4332; }
.text-white { color: #fff; }
.text-stone-500 { color: #78716c; }
.text-stone-600 { color: #57534e; }
.text-stone-700 { color: #44403c; }
.text-stone-800 { color: #292524; }
.text-green-50\/95 { color: rgba(240, 253, 244, 0.95); }
.text-orange-300\/90 { color: rgba(253, 186, 116, 0.9); }
.bg-white { background-color: #fff; }
.bg-stone-100 { background-color: #f5f5f4; }
.bg-green-50 { background-color: #f0fdf4; }
.text-green-800 { color: #166534; }
.border-green-200 { border-color: #bbf7d0; }

/* Borders */
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-stone-200 { border-color: #e7e5e4; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

/* Hover (header links) */
.hover\:bg-stone-50:hover { background-color: #fafaf9; }
.hover\:bg-stone-100:hover { background-color: #f5f5f4; }
.hover\:text-white:hover { color: #fff; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 0.15s; }

/* sm: 640px+ */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:inline-flex { display: inline-flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

/* md: 768px+ */
@media (min-width: 768px) {
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:items-start { align-items: flex-start; }
    .md\:justify-between { justify-content: space-between; }
}

/* lg: 1024px+ */
@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none !important; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1.1; }
}

/* Important modifiers used in templates */
.\!text-base { font-size: 1rem !important; }
.\!py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.\!px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.\!py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
