/* Article typography for the Notes on search pages.
   Loaded after ../css/styles.css, so the design tokens are already defined. */

.article { color: var(--foreground); }

.article .eyebrow {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.article h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.article .lede {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.article .byline {
  margin-top: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted-foreground);
}

.article h2 {
  margin-top: 2.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.article h3 {
  margin-top: 1.9rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.article p { margin-top: 1.1rem; line-height: 1.78; }

.article ul, .article ol {
  margin-top: 1rem;
  padding-left: 1.15rem;
  color: var(--foreground);
}
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-top: .45rem; line-height: 1.7; }
.article li::marker { color: var(--muted-foreground); }

.article a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.article a:hover { color: var(--muted-foreground); }

.article strong { font-weight: 600; }

.article blockquote {
  margin-top: 1.75rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--foreground);
}

.article .callout {
  margin-top: 1.9rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}
.article .callout strong { display: block; margin-bottom: .25rem; }

.article .endnote {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--muted-foreground);
}

@media print {
  .article h1 { font-size: 30pt; }
  .article h2 { font-size: 16pt; }
  body { background: #fff; }
}
