/* ============================================================
   DreamCompass — blog post stylesheet (light, Geist, violet)
   Loaded by /blog/<slug>.html post pages on top of program/styles.css.
   Bridges legacy t1-prose / t1-post-body / hero / cta / author markup
   into the live DC design tokens.
   ============================================================ */

/* ---------- post hero ---------- */
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 32px;
  text-align: center;
}
.hero .tag,
.hero .t1-post-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lo);
  border: 1px solid var(--accent-ink);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--accent); font-weight: 500; }
.hero .date {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- hook / lede ---------- */
.hook {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 0 32px;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.55;
  text-align: center;
}

/* ---------- article body ---------- */
article.t1-post-body { max-width: 720px; margin: 0 auto; padding: 32px 32px 56px; }
.t1-prose p {
  font-size: var(--fs-body-lg);
  line-height: 1.75;
  color: var(--text-1);
  margin-bottom: 1.25rem;
}
.t1-prose strong { color: var(--text-1); font-weight: 600; }
.t1-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--accent-ink);
}
.t1-prose a:hover { color: var(--accent-hi); text-decoration-color: var(--accent); }
.t1-prose h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-1);
  margin: 2.75rem 0 1rem;
}
.t1-prose h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-1);
  margin: 1.9rem 0 0.75rem;
}
.t1-prose ul, .t1-prose ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-1); }
.t1-prose li { margin-bottom: 0.55rem; line-height: 1.7; }
.t1-prose blockquote {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 1.18rem;
  border-left: 3px solid var(--accent);
  margin: 1.85rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-1);
}
.t1-prose hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 2.5rem auto;
  max-width: 200px;
}

/* ---------- CTA box (legacy .cta-section + .t1-cta-box) ---------- */
.cta-section,
.t1-cta-box {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0 32px;
}
.cta-section > div,
.t1-cta-box .t1-cta-inner {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cta-section h3,
.t1-cta-box h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 0.85rem;
}
.cta-section p,
.t1-cta-box .t1-cta-inner > p {
  color: var(--text-2);
  margin-bottom: 1.5rem;
  font-size: var(--fs-body);
  line-height: 1.6;
}
.t1-cta-btn,
.cta-section a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(30, 93, 230, 0.28);
  transition: background 0.18s, transform 0.18s;
}
.t1-cta-btn:hover,
.cta-section a:hover { background: var(--accent-hi); transform: translateY(-1px); }

/* ---------- author bio ---------- */
.author,
.t1-author {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 32px 64px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
}
.author .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}
.author .author-info h4,
.t1-author h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}
.author .author-info p,
.t1-author p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 720px) {
  .hero { padding: 64px 20px 24px; }
  article.t1-post-body { padding: 24px 20px 48px; }
  .cta-section, .t1-cta-box { padding: 0 20px; }
  .cta-section > div, .t1-cta-box .t1-cta-inner { padding: 32px 24px; }
  .author, .t1-author { padding: 28px 20px 48px; }
}
