/* AISocialHub brand tokens — consumed by the inline tailwind.config in base.html. */
:root {
  --color-primary: #D87657;   /* Burnt Orange */
  --color-secondary: #DEB4B4; /* Blush Pink */
  --color-tertiary: #FFDE59;  /* Sunshine Yellow */
  --color-cta: #1a5d1a;       /* Forest Green — CTA buttons ONLY */
  --color-ink: #2B2320;
  --color-surface: #FDF8F5;
  --color-card: #FFFFFF;
  --color-line: #EFDDD6;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-surface);
  color: var(--color-ink);
}

/* Single-font system (matches GrowthOS): headings are bold Inter with tight
   tracking, not a separate display face. */
.font-display {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* The one place Forest Green is allowed. */
.btn-cta {
  background-color: var(--color-cta);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  display: inline-block;
  transition: opacity 0.15s ease;
}
.btn-cta:hover {
  opacity: 0.9;
}

/* Rendered user markdown (Tailwind CDN has no typography plugin). */
.prose-hub {
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.prose-hub p {
  margin: 0.5rem 0;
}
.prose-hub a {
  color: var(--color-primary);
  text-decoration: underline;
}
.prose-hub ul {
  list-style: disc;
  margin: 0.5rem 0 0.5rem 1.5rem;
}
.prose-hub ol {
  list-style: decimal;
  margin: 0.5rem 0 0.5rem 1.5rem;
}
.prose-hub blockquote {
  border-left: 3px solid var(--color-secondary);
  padding-left: 0.75rem;
  color: #6b5f5a;
  margin: 0.5rem 0;
}
.prose-hub code {
  background: #f6ece8;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.9em;
}
.prose-hub pre {
  background: #2b2320;
  color: #f8f0ec;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  margin: 0.5rem 0;
}
.prose-hub pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}
.prose-hub h2,
.prose-hub h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0.75rem 0 0.25rem;
}
.prose-hub h2 {
  font-size: 1.25rem;
}
.prose-hub h3 {
  font-size: 1.1rem;
}

/* @mention profile links inside rendered post/comment bodies */
.prose-hub a[data-mention] {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.prose-hub a[data-mention]:hover {
  text-decoration: underline;
}
