/* IMPT Swarm — local styles layered on top of Tailwind CDN */

:root {
  --impt-cream: #FAF7F2;
  --impt-green: #0E5F47;
  --impt-accent: #E8B86A;
  --impt-dark: #0A1F1A;
}

html, body {
  background: var(--impt-cream);
  color: var(--impt-dark);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.h-display {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Hero gradient mesh */
.bg-mesh {
  background:
    radial-gradient(60rem 28rem at 80% -10%, rgba(232,184,106,0.22), transparent 60%),
    radial-gradient(60rem 32rem at -10% 30%, rgba(14,95,71,0.18), transparent 60%),
    var(--impt-cream);
}

/* Soft border-card */
.card-soft {
  background: white;
  border: 1px solid rgba(14, 95, 71, 0.10);
  border-radius: 1.25rem;
  box-shadow: 0 1px 0 rgba(14, 95, 71, 0.04), 0 16px 48px -28px rgba(10,31,26,0.18);
}

/* Marquee for stats */
.marquee {
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Subtle motion */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.animate-drift { animation: drift 32s linear infinite; }

@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.text-shine {
  background: linear-gradient(90deg, var(--impt-green), var(--impt-accent), var(--impt-green));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--impt-green);
  color: white;
  box-shadow: 0 8px 24px -10px rgba(14,95,71,0.5);
}
.btn-primary:hover { background: #0a4a37; }

.btn-ghost {
  background: white;
  color: var(--impt-dark);
  border: 1px solid rgba(14,95,71,0.15);
}
.btn-ghost:hover { border-color: var(--impt-green); }

/* Section */
.section { padding: 6rem 0; }
@media (max-width: 768px) { .section { padding: 4rem 0; } }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--impt-green);
}

/* prose tweaks for chat assistant bubble */
.prose { line-height: 1.55; }
.prose strong { color: var(--impt-dark); }
.prose ul { margin: 0.5rem 0; }
.prose a { color: var(--impt-green); }
.prose-sm { font-size: 0.95rem; }

/* tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: rgba(14,95,71,0.08);
  color: var(--impt-green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
