:root {
  --bg-dark: #020617;
  --bg-deep-green: #064e3b;
  --accent-emerald: #22c55e;
  --accent-lime: #a3e635;
  --accent-aqua: #22d3ee;
  --text-main: #f9fafb;
  --text-muted: #d1d5db;
  /* Strain Finder AI page text palette */
  --hf-text-body: #F5FEFB;      /* soft off-white, very readable */
  --hf-text-heading: #B4FFBF;   /* muted leaf green for headings */
  --hf-text-title: #94F7A3;     /* slightly stronger leaf green for big title */
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #10b981 0, #0369a1 40%, #0f172a 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  padding-top: 60px; /* Space for fixed header */
}

/* Disable body scrolling when mobile menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #003b5b, #006a7a);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.header-overlay::before,
.header-overlay::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(52, 211, 153, 0.45), transparent 70%);
  pointer-events: none;
}

.header-overlay::before {
  top: -80px;
  left: -80px;
}

.header-overlay::after {
  top: -80px;
  right: -80px;
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-left {
  position: absolute;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.menu-toggle {
  position: absolute;
  right: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.1));
  color: #e5e7eb;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  border-color: rgba(52, 211, 153, 0.9);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.leaf-icon {
  font-size: 1.25rem;
}

/* Header leaf icon (image-based rotating) */
.header-leaf-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Header logo image */
.header-logo-img {
  height: 108px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .header-logo-img {
    height: 56px;
    max-width: 280px;
  }
  .header-leaf-icon {
    width: 26px;
    height: 26px;
  }
}

.rotating-leaf {
  display: inline-block;
  animation: weediesLeafFlip 18s linear infinite;
  transform-style: preserve-3d;
}

@keyframes weediesLeafFlip {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  50%  { transform: rotateX(180deg) rotateY(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Legacy spin keyframes - kept for other elements if needed */
@keyframes weedies-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* When logo-area is empty, hide it on mobile to allow hamburger to move to right */
.logo-area:empty {
  display: none;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-img {
    height: 40px;
    max-width: 150px;
  }
}

.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-leaf-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.6));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: #e5e7eb;
}

.main-nav {
  display: none;
}

/* Slide-out navigation panel (all screen sizes) */
#main-nav {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 320px;
  height: 100vh;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: -4px 0 20px rgba(10, 99, 122, 0.3);
  padding: 3.5rem 0.75rem 1rem;
  border-radius: 22px 0 0 22px;
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden;
  box-sizing: border-box;
}

#main-nav.open {
  transform: translateX(0);
  visibility: visible;
}

/* Force vertical single-column layout for nav rows */
#main-nav ul.nav-row-primary,
#main-nav ul.nav-row-secondary {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#main-nav .nav-item {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

#main-nav .nav-item a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  overflow: hidden;
}

#main-nav .nav-label {
  white-space: nowrap;
}

#main-nav .nav-leaf-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 1;
  background: none;
  border: none;
  padding: 0;
}

/* Menu overlay backdrop */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile menu close button */
.menu-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.3));
  color: #e5e7eb;
  font-size: 1.25rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.15s ease-out;
  z-index: 10;
  box-sizing: border-box;
}

.menu-close-btn:hover {
  border-color: rgba(52, 211, 153, 0.9);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.7);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-row-primary {
  font-size: 0.8rem;
}

.nav-row-secondary {
  font-size: 0.74rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: #ecfeff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 30% 0, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.2));
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.main-nav a:hover {
  border-color: rgba(190, 242, 100, 0.9);
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.8);
  transform: translateY(-1px);
}

/* Position header-icons (hamburger) on the right - deprecated, use .menu-toggle */
.header-icons {
  display: none;
}

.icon-button {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.1));
  color: #e5e7eb;
  padding: 0.32rem 0.55rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.icon-button:hover {
  border-color: rgba(52, 211, 153, 0.9);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

#mobile-menu-toggle {
  /* Uses .menu-toggle styles */
}

/* Layout */

.page-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3rem;
}

.page-main.narrow {
  max-width: 800px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0.7rem;
  padding: 2rem 1rem;
  min-height: 70vh;
  justify-content: center;
}

.hero-leaf-bg {
  position: relative;
  width: 85%;
  max-width: 615px;
  z-index: 0;
  pointer-events: none;
}

.hero-leaf-img {
  width: 100%;
  height: auto;
  opacity: 0.25;
  object-fit: contain;
}

.hero-cta-section {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.hero h1 {
  font-size: clamp(2rem, 2.7vw, 2.6rem);
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  color: #e5e7eb;
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: #e5e7eb;
}

.primary-button,
.secondary-button {
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.primary-button {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #022c22;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(74, 222, 128, 0.9);
}

.primary-button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.secondary-button {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #ecfeff;
}

.secondary-button:hover {
  border-color: rgba(94, 234, 212, 0.9);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.7);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.ai-orb {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #38bdf8, #4ade80 45%, #0f172a 100%);
  box-shadow:
    0 0 45px rgba(45, 212, 191, 0.9),
    0 0 95px rgba(37, 99, 235, 0.7);
  overflow: hidden;
}

.ai-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.9);
}

.ai-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(203, 213, 225, 0.7);
}

.ai-orb-ring-1 {
  top: 16%;
  left: 7%;
  right: 7%;
  bottom: 16%;
}

.ai-orb-ring-2 {
  top: 8%;
  left: 14%;
  right: 14%;
  bottom: 8%;
}

.ai-orb-ring-3 {
  top: 1%;
  left: 24%;
  right: 24%;
  bottom: 1%;
}

.ai-orb-caption {
  font-size: 0.8rem;
  color: #e5e7eb;
  text-align: center;
}

/* Feature grid */

.feature-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.feature-card {
  background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
}

.feature-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.text-link {
  display: inline-flex;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #a5f3fc;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Why section */

.why-section {
  margin-top: 2.5rem;
}

.why-section h2 {
  margin-bottom: 0.6rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.why-item {
  background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  font-size: 0.9rem;
  color: #FFFFFFCC;
  box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
}

/* Advertise strip */

.advertise-strip {
  margin-top: 2.5rem;
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.3), rgba(129, 230, 217, 0.15));
  border: 1px solid rgba(45, 212, 191, 0.9);
}

/* Chat layout - ChatGPT-style full-screen bright interface */

/* Rotating marijuana leaf animations - 3D style spin */
@keyframes leafSpin3Dcw {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes leafSpin3Dccw {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(-360deg); }
}

.leaf-top-left,
.leaf-top-right {
  position: absolute;
  top: 8px;
  width: 36px;
  height: 36px;
  transform-origin: center center;
  animation-duration: 14s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.leaf-top-left {
  left: 12px;
  animation-name: leafSpin3Dcw;
}

.leaf-top-right {
  right: 12px;
  animation-name: leafSpin3Dccw;
}

/* AI header rotating leaf icons - 3D flip animation matching main header */
.ai-header .rotating-leaf-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transform-style: preserve-3d;
}

/* Left leaf in AI header - same direction as main header leaf */
.ai-header .rotating-leaf-img:first-of-type {
  animation: weediesLeafFlip 18s linear infinite;
}

/* Right leaf in AI header - reverse direction for mirrored motion */
.ai-header .rotating-leaf-img:last-of-type {
  animation: weediesLeafFlip 18s linear infinite reverse;
}

/* Hide entire header section on Munchies AI page */
body[data-ai-mode="munchies"] .site-header {
  display: none !important;
}

/* Full-screen layout for chat pages */
body.chat-fullscreen {
  margin: 0;
  padding: 0;
  padding-top: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
}

body.chat-fullscreen .page-main.chat-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
  max-width: none;
  margin: 0;
}

.chat-topbar {
  position: relative;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #16a34a;
  text-align: center;
  flex-shrink: 0;
}

.chat-topbar h1 {
  margin: 0;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Subtitle shown under the header on AI chat pages */
.chat-subtitle {
  margin: 0.25rem 0 0 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: #4b5563;
}

.chat-subtitle:empty {
  display: none;
}

/* AI Header for AI chat pages (Strain Finder, Grower, Munchies) */
.ai-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0.5rem 0.5rem;
}

.ai-title-block {
  text-align: center;
}

.ai-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.ai-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #4a4a4a;
}

.chat-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 150px);
  padding: 0 !important;
  max-width: none !important;
}

.page-header {
  background: #ffffff;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.4rem;
  color: #111827;
}

.page-header p {
  color: #4b5563;
  font-size: 0.92rem;
}

.page-note {
  font-size: 0.82rem;
  color: #6b7280;
}

.chat-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
  border-radius: 0;
  border-left: 2px solid #16a34a;
  border-right: 2px solid #16a34a;
  padding: 0;
  margin: 0;
  min-height: 0;
}

.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
}

.chat-message {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  max-width: 900px;
  align-self: center;
  width: 100%;
  padding: 0 1rem;
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-bubble {
  border-radius: 0;
  padding: 0.75rem 0;
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  color: #0f172a;
}

.chat-message.ai .chat-bubble {
  background: transparent;
  border: none;
}

.chat-message.user .chat-bubble {
  background: transparent;
  border: none;
}

.chat-bubble p {
  margin: 0 0 0.75rem 0;
  color: #0f172a;
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-input-row {
  margin: 0;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  max-width: 900px;
  width: 100%;
  align-self: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.chat-input-row textarea {
  flex: 1;
  resize: none;
  min-height: 52px;
  max-height: 200px;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chat-input-row textarea::placeholder {
  color: #9ca3af;
}

.chat-input-row textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.chat-input-row .primary-button {
  align-self: flex-end;
  margin-bottom: 2px;
  background: #10b981;
  color: #ffffff;
  padding: 0.65rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  border: none;
  transition: background 0.2s;
}

.chat-input-row .primary-button:hover {
  background: #059669;
  filter: none;
  transform: none;
}

.chat-input-row .primary-button:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.chat-footer-tip {
  padding: 0.75rem 1.5rem 1rem;
  font-size: 0.8rem;
  color: #022c22;
  text-align: center;
  background: #16a34a;
  border-top: 2px solid #15803d;
  border-left: 2px solid #16a34a;
  border-right: 2px solid #16a34a;
  border-bottom: 2px solid #16a34a;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  body.chat-fullscreen .chat-topbar {
    padding: 0.75rem 1rem;
  }

  body.chat-fullscreen .chat-topbar h1 {
    font-size: 1.1rem;
  }

  .leaf-top-left,
  .leaf-top-right {
    width: 28px;
    top: 6px;
  }

  .leaf-top-left {
    left: 8px;
  }

  .leaf-top-right {
    right: 8px;
  }

  .chat-page {
    min-height: calc(100vh - 100px);
  }

  .page-header {
    padding: 1rem;
  }

  .chat-window {
    padding: 1rem;
    gap: 1rem;
  }

  .chat-message {
    padding: 0 0.5rem;
  }

  .chat-input-row {
    padding: 0.75rem 1rem;
  }
}

/* Learn page & sections */

.learn-page .learn-section {
  margin-top: 1.6rem;
  padding: 1rem;
  border-radius: 1.1rem;
  background: radial-gradient(circle at top, rgba(74, 222, 128, 0.22), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.8);
}

/* Full-screen AI section - fills viewport when scrolled to */
.full-screen-ai-section {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Full-page wrapper for Munchies AI section */
.ai-fullpage-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 120px;
  box-sizing: border-box;
  overflow: hidden;
}

.laws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.law-card {
  background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  font-size: 0.85rem;
  color: #FFFFFFCC;
  box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
}

.section-note {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-top: 0.6rem;
}

.bullet-list {
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.bullet-list li + li {
  margin-top: 0.25rem;
}

/* Dispensary search */

.search-section {
  margin-top: 1.3rem;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  align-items: flex-end;
}

.search-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.search-form input[type="text"],
.search-form select {
  margin-top: 0.2rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  padding: 0.45rem 0.6rem;
  min-width: 200px;
}

.checkbox-inline {
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
}

.checkbox-inline input {
  width: auto;
  margin-top: 0;
}

.results-hint {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.partner-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.partner-links a {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(96, 165, 250, 0.95);
  color: #ecfeff;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 1.2rem 1.25rem 1.6rem;
  text-align: center;
  font-size: 0.8rem;
  color: #e5e7eb;
  border-top: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.94), #020617);
}

/* Landing page content styles */
.landing-content {
  padding: 2rem 0;
}

.landing-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.landing-writeup {
  background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
}

.landing-writeup h2 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--accent-lime);
}

.landing-writeup h2:first-child {
  margin-top: 0;
}

.landing-writeup h3 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--accent-aqua);
}

.landing-writeup p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.landing-writeup ul,
.landing-writeup ol {
  padding-left: 1.5rem;
  margin: 0.75rem 0;
  color: #e5e7eb;
}

.landing-writeup li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Custom leaf bullet list */
.leaf-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.leaf-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  background-image: url("/assets/img/cannabis-leaf-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.landing-cta {
  text-align: center;
  padding: 1rem 0 2rem;
}

.landing-cta-button {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links a {
  color: #a5f3fc;
  text-decoration: none;
}

/* Homepage info sections */
.info-section {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #0A637A 0%, #062B45 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(10, 99, 122, 0.3);
}

.info-section h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  color: var(--accent-lime);
}

.info-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.how-step {
  background: rgba(15, 23, 42, 0.4);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.how-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent-aqua);
}

.how-step p {
  margin: 0;
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.4);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent-aqua);
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .info-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .info-section h2 {
    font-size: 1.25rem;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }
}

/* Strain Finder AI page typography */
.strain-finder-page h1 {
  color: var(--hf-text-title);
}

.strain-finder-page h2,
.strain-finder-page h3 {
  color: var(--hf-text-heading);
}

.strain-finder-page p,
.strain-finder-page li,
.strain-finder-page span {
  color: var(--hf-text-body);
}

/* keep bolded emphasis readable but not black */
.strain-finder-page strong,
.strain-finder-page b {
  color: var(--hf-text-heading);
}

/* ensure any links on this page are not black */
.strain-finder-page a {
  color: var(--hf-text-heading);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-leaf-bg {
    width: 90%;
  }
  .hero-cta-section {
    padding: 1.5rem 1rem;
  }

  /* Landing page mobile styles */
  .landing-content {
    padding: 1.5rem 0;
  }

  .landing-writeup {
    padding: 1.25rem;
  }

  .landing-cta-button {
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
}
