/* Blog chrome + article typography. The blog loads tailwind.css plus this file
   only — main.css carries homepage-specific rules (hero, modals, sliders) that
   the blog has no use for. */

:root {
  --navy: #121635;
  --navy-light: #1E2650;
  --gold: #C79748;
  --gold-dark: #A87E39;
  --gold-gradient: linear-gradient(135deg, #E3C892 0%, #C79748 100%);
}

body { font-family: 'Inter', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.font-serif { font-family: 'Inter', Arial, sans-serif; letter-spacing: -0.02em; }
h1.font-serif { font-weight: 800; letter-spacing: -0.03em; }

::selection { background-color: var(--navy); color: #fff; }
.dark ::selection { background-color: var(--gold); color: var(--navy); }

.cta-button { background: var(--gold-gradient); border: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.cta-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 25px -5px rgba(199, 151, 72, 0.4); }

.post-card { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(18, 22, 53, 0.14); border-color: rgba(199, 151, 72, 0.45); }
.dark .post-card:hover { box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6); }

/* Article body — HubSpot outputs bare tags, so style them directly */
.post-body { font-size: 1.0625rem; line-height: 1.8; color: #334155; }
.dark .post-body { color: #cbd5e1; }
.post-body h2 { font-size: 1.6rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.dark .post-body h2, .dark .post-body h3 { color: #fff; }
.post-body p { margin: 0 0 1.25rem; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 0.6rem; padding-left: 0.25rem; }
.post-body li::marker { color: var(--gold); }
.post-body strong { color: var(--navy); font-weight: 700; }
.dark .post-body strong { color: #fff; }
.post-body a { color: #8A6425; text-decoration: underline; text-underline-offset: 2px; }
.dark .post-body a { color: var(--gold); }
.post-body blockquote { border-left: 3px solid var(--gold); background: #faf6ef; padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-radius: 0 0.5rem 0.5rem 0; }
.dark .post-body blockquote { background: rgba(199, 151, 72, 0.08); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .post-card, .cta-button { transition: none; }
  .post-card:hover, .cta-button:hover { transform: none; }
  html { scroll-behavior: auto; }
}
