@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --background: #f8fffe;
  --foreground: #0d2b1a;
  --primary: #1a6b2f;
  --primary-dark: #0d3d1a;
  --primary-mid: #2d9348;
  --primary-light: #52c273;
  --primary-bg: #e8f5e9;
  --accent: #f97316;
  --accent-dark: #ea6d0a;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(13, 61, 26, 0.12);
  --glass-dark-bg: rgba(13, 61, 26, 0.6);
  --glass-dark-border: rgba(255, 255, 255, 0.15);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Lato', sans-serif;
}

html {
  scroll-behavior: smooth;
}

[x-cloak] { display: none !important; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
.input::placeholder {
  color: #9ca3af;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-dark-border);
}

.glass-subtle {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.gradient-hero {
  background: linear-gradient(135deg, #b7e1c4 0%, #d4edda 35%, #e8f5e9 65%, #f1f8e9 100%);
}

.blob {
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: #0d3d1a; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; color: #1a6b2f; }
.prose p { color: #374151; line-height: 1.75; margin-top: 0.75rem; margin-bottom: 0.75rem; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin: 1rem 0; }
.prose ol { list-style-type: decimal; padding-left: 1.5rem; margin: 1rem 0; }
.prose li { color: #374151; line-height: 1.7; margin-bottom: 0.25rem; }
.prose blockquote { border-left: 4px solid #2d9348; padding-left: 1rem; color: #4b5563; font-style: italic; margin: 1.25rem 0; }
.prose strong { font-weight: 600; color: #0d3d1a; }
.prose a { color: #1a6b2f; text-decoration: underline; }
.prose a:hover { color: #f97316; }

/* Quill editor prose rendering */
.ql-editor h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; color: #0d3d1a; }
.ql-editor h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: #1a6b2f; }
.ql-editor p { color: #374151; line-height: 1.75; margin: 0.75rem 0; }
.ql-editor ul { list-style-type: disc; padding-left: 1.5rem; margin: 1rem 0; }
.ql-editor ol { list-style-type: decimal; padding-left: 1.5rem; margin: 1rem 0; }
.ql-editor li { color: #374151; line-height: 1.7; margin-bottom: 0.25rem; }
.ql-editor blockquote { border-left: 4px solid #2d9348; padding-left: 1rem; color: #4b5563; font-style: italic; margin: 1.25rem 0; }
.ql-editor strong { font-weight: 600; color: #0d3d1a; }
.ql-editor a { color: #1a6b2f; text-decoration: underline; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #e8f5e9; }
::-webkit-scrollbar-thumb { background: #2d9348; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1a6b2f; }
