/* =========================================================================
   Blog post: "Google's DESIGN.md: What the Design System Spec Means
                for Your Website"
   /blog/design-md-design-systems/styles.css

   Page-scoped additions only. Everything structural lives in the shared
   component at /assets/css/sections/article.css, already linked via
   site.bundle.css:

     - .article-hero   page shell, title block centred in a hero band that
                       clears the 80px fixed header
     - .table-scroll   data tables, which collapse into stacked labelled
                       blocks below 700px instead of scrolling sideways
     - table/caption/thead th/tbody th/td/.num/.table-note
     - figure + figcaption

   So this post only needs the shell plus plain table markup to get the
   same layout and the same mobile behaviour.

   Local additions: the answer-first callout, the three-up stat row, and
   inline <code> for the token examples. All scoped under .article so
   nothing can leak to another page.

   Colours are existing design tokens from base/reset.css plus the accent
   already used by .article blockquote (Rule #5: no new brand colours).
   ========================================================================= */

/* Answer-first callout — the direct response to the section question,
   repeated visually so it survives skimming. */
.article .key-takeaway {
  border-left: 3px solid #e63946;
  background: var(--color-dark-gray);
  padding: 20px 24px;
  margin: 0 0 1.5rem;
}

.article .key-takeaway p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-white);
  margin: 0;
}

.article .key-takeaway p + p {
  margin-top: 0.75rem;
}

/* Three-up headline figures */
.article .stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.75rem 0 2.25rem;
}

.article .stat {
  border-top: 2px solid #e63946;
  padding-top: 14px;
}

.article .stat .v {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.article .stat .k {
  display: block;
  font-size: 0.82rem;
  color: var(--color-gray);
  margin-top: 6px;
  line-height: 1.5;
}

/* Inline code — token names, property values and the file extension are
   the literal subject of this post, so they carry more weight here than
   in a normal article. Kept monospace and quiet; the blockquote and
   callout already own the accent. */
.article p code,
.article li code,
.article td code,
.article blockquote code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: var(--color-white);
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 1px 5px;
  word-break: break-word;
}

@media (max-width: 768px) {
  .article .stat-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article .key-takeaway {
    padding: 18px 20px;
  }
}