/* ===== Blog article — minimal stylesheet (extends styles.css) ===== */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 28px 80px;
  color: var(--text-mute);
  font-size: 17px;
  line-height: 1.75;
}
.article__crumbs {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.article__crumbs a {
  color: var(--accent);
  text-decoration: none;
}
.article__crumbs a:hover { text-decoration: underline; }

.article h1 {
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 54px);
  letter-spacing: -0.012em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 14px;
}

.article__meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article__meta span { color: var(--text-dim); }
.article__meta strong { color: #e8a99b; font-weight: 500; }

/* The first body paragraph (the one immediately after the
 * "How we know this" experience-note callout) gets a small editorial
 * drop-cap. This is the single most "made by a human" detail on the
 * page — drop-caps are zero-ROI on a SaaS landing template, so seeing
 * one signals real editorial intent. We deliberately scope it to that
 * specific position so the breadcrumb <p> and the byline aside don't
 * accidentally pick it up. .article__intro is an escape hatch you can
 * apply manually to any other paragraph that should lead a section. */
.article p { margin: 0 0 18px; }
.article > .experience-note + p::first-letter,
.article__intro::first-letter {
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  float: left;
  font-size: 3.4em;
  line-height: 0.88;
  margin: 0.06em 0.1em 0 -0.04em;
  color: var(--accent);
}
.article h2 {
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.012em;
  color: var(--text);
  margin: 40px 0 12px;
  line-height: 1.12;
}
.article h3 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 28px 0 10px;
}
.article ul, .article ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.article li { margin: 6px 0; }
.article a { color: var(--accent); }
/* `.btn` inside articles (e.g. the "Email support@…" CTA on /contact)
   should keep its own button color, not the inline-link accent. */
.article a.btn { color: inherit; }
.article a.btn--primary,
.article a.btn--primary:hover,
.article a.btn--primary:visited { color: #fff; }
.article strong { color: var(--text); font-weight: 600; }
.article code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
  background: rgba(216, 84, 58, 0.08);
  border: 1px solid rgba(216, 84, 58, 0.24);
  padding: 1px 7px;
  border-radius: 5px;
  color: #e8a99b;
}

.article__cta {
  margin-top: 48px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(216, 84, 58, 0.28);
  background: linear-gradient(135deg, rgba(216, 84, 58, 0.08), rgba(168, 56, 37, 0.04));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

/* Collection groupings on the blog index. Adds a soft divider above the
   collection heading and tightens spacing between the heading + intro
   + list so a section reads as one block. Reuses .article h2 sizing. */
.blog-collection__heading {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.blog-collection__heading:first-of-type {
  margin-top: 40px;
}
.blog-collection__intro {
  margin: 4px 0 0;
  color: var(--text-mute);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 56ch;
}
.blog-collection__heading + .blog-collection__intro + .blog-list {
  margin-top: 20px;
}

.blog-list {
  list-style: none;
  margin: 36px 0 48px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.blog-list__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
.blog-list__item:hover {
  border-color: rgba(216, 84, 58, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(216, 84, 58, 0.08);
}
.blog-list__link {
  display: block;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
}
.blog-list__title {
  margin: 0 0 8px;
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--text);
}
.blog-list__excerpt {
  margin: 0 0 10px;
  color: var(--text-mute);
  font-size: 15.5px;
  line-height: 1.55;
}
.blog-list__meta {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 720px) {
  .blog-list__link { padding: 18px 18px; }
  .blog-list__title { font-size: 22px; }
}
.article__cta p { margin: 0; color: var(--text); font-size: 15px; }
.article__cta .btn { white-space: nowrap; }

.article__more {
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article__more h3 {
  margin-top: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: "JetBrains Mono", monospace;
}
.article__more ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.article__more li { margin: 0; }
.article__more a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
}
.article__more a:hover { color: var(--accent); }

/* =====================================================
   E-E-A-T blocks — author byline, "How we know this"
   experience callout, sources/references list, end-of-
   article author card, "Reviewed by" footer.
   These exist so each blog post can credibly evidence
   first-hand Experience and Expertise per Google's
   Quality Rater Guidelines.
   ===================================================== */
.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin: 0 0 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.byline__avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.01em;
}
.byline__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
  line-height: 1.45;
}
.byline__name {
  color: var(--text);
  font-weight: 600;
}
.byline__name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.byline__name a:hover { border-bottom-color: var(--text); }
.byline__role { color: var(--text-mute); }
.byline__dates {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.experience-note {
  margin: 0 0 32px;
  padding: 18px 20px 6px;
  border: 1px solid rgba(216, 84, 58, 0.20);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(216, 84, 58, 0.05), rgba(168, 56, 37, 0.025));
}
.experience-note__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8a99b;
  margin: 0 0 8px;
}
.experience-note p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--text-mute); }
.experience-note ul { margin: 0 0 12px; padding-left: 20px; font-size: 14.5px; line-height: 1.65; }
.experience-note li { margin: 4px 0; color: var(--text-mute); }
.experience-note strong { color: var(--text); }

.references {
  margin: 40px 0 0;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.references h3 {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.references ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-mute);
}
.references li { margin: 5px 0; }
.references a { word-break: break-word; }

.author-card {
  margin: 40px 0 0;
  display: flex;
  gap: 18px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}
.author-card__avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.author-card__body {
  flex: 1 1 auto;
  min-width: 0;
}
.author-card__name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 2px;
}
.author-card__role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: block;
}
.author-card__bio {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-mute);
}
.author-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}
.author-card__links a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.author-card__links a:hover { border-bottom-color: var(--accent); }

.reviewed-by {
  margin: 24px 0 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.reviewed-by strong { color: var(--text-mute); font-weight: 500; }

@media (max-width: 720px) {
  .article {
    padding: 80px 20px 60px;
    font-size: 16px;
    line-height: 1.7;
  }
  .article h1 { font-size: clamp(28px, 7vw, 36px); }
  .article h2 { font-size: 21px; }
  .article__more ul { grid-template-columns: 1fr; }
  .byline { padding: 12px 14px; gap: 12px; }
  .byline__avatar { width: 40px; height: 40px; font-size: 14px; }
  .author-card { flex-direction: column; gap: 14px; padding: 18px; }
  .author-card__avatar { width: 48px; height: 48px; font-size: 18px; }
}
