/* afreshai — blog typography. Loaded by pages under /blog/ in addition
   to shared.css. Long-form reading needs a narrower measure and more
   air than the app pages. */

.article, .blog-index { max-width: 44rem; }

.post-meta { font-size: 0.92rem; color: var(--muted); margin: 0.5rem 0 0; }
.post-meta span + span::before { content: "  ·  "; }

.article h1 { font-size: clamp(2rem, 4.4vw, 2.7rem); line-height: 1.12; margin: 0 0 0.5rem; }
.article h2 {
  font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em;
  margin: 3rem 0 0.9rem;
}
.article h3 { font-size: 1.12rem; margin: 2rem 0 0.5rem; }
.article p { margin: 0 0 1.15rem; line-height: 1.72; }
.article > p:first-of-type { font-size: 1.15rem; color: var(--ink); }
.article ul, .article ol { margin: 0 0 1.3rem; padding-left: 1.3rem; line-height: 1.7; }
.article li { margin-bottom: 0.55rem; }
.article strong { color: var(--ink); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* Examples of resume wording sit on white, so they read as the page
   they are describing rather than as more of the article. */
.sample {
  background: var(--sheet); border-radius: 10px; padding: 1.4rem 1.5rem;
  margin: 0 0 1.4rem; box-shadow: 0 20px 44px -30px rgba(0,0,0,0.5);
}
.sample p { margin: 0 0 0.7rem; }
.sample p:last-child { margin-bottom: 0; }
.sample .label {
  display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem;
}
.sample .bad .label  { color: var(--error); }
.sample .good .label { color: var(--good); }
.sample .quote { font-family: var(--serif); font-size: 1.02rem; line-height: 1.6; }
.sample .terms { font-family: var(--serif); font-size: 1.02rem; }

/* Checklist */
.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.32em;
  width: 1.05rem; height: 1.05rem; border: 2px solid var(--line); border-radius: 3px;
}

/* Closing note about the product */
.endnote {
  border-left: 3px solid var(--dawn); padding: 1.1rem 1.3rem; margin: 3rem 0 0;
  background: color-mix(in srgb, var(--dawn) 10%, transparent); border-radius: 0 8px 8px 0;
}
.endnote p { margin: 0; color: var(--ink); }

/* Index listing */
.post-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { text-decoration: none; color: var(--ink); }
.post-list a:hover h2 { text-decoration: underline; }
.post-list h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 0.35rem; letter-spacing: -0.015em; }
.post-list p { margin: 0.4rem 0 0; color: var(--muted); max-width: 58ch; }
