/* ---------------------------------------------
   Geist font (self-hosted-friendly fallback)
   --------------------------------------------- */
@import url('https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/style.css');

html {
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------------------------------------------
   Headings: tight tracking per design spec
   --------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ---------------------------------------------
   Article / page content typography
   --------------------------------------------- */
.content {
  font-size: 1.0625rem;
}

.content > * + * {
  margin-top: 1.25em;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 2.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #cbd5e1; /* outline-variant */
}

.content h3 {
  font-size: 1.25rem;
  margin-top: 2em;
}

.content p {
  color: #0f172a; /* on-surface */
}

.content a {
  color: #0f172a;
  text-decoration: underline;
  text-decoration-color: #94a3b8; /* outline */
  text-underline-offset: 2px;
}

.content a:hover {
  text-decoration-color: #0f172a;
}

.content ul,
.content ol {
  padding-left: 1.5em;
}

.content ul {
  list-style: disc;
}

.content ol {
  list-style: decimal;
}

.content blockquote {
  border-left: 2px solid #cbd5e1; /* outline-variant */
  padding-left: 1.25em;
  color: #475569; /* on-surface-variant */
  font-style: italic;
}

.content code {
  background: #f2f4f6; /* surface-container-low */
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.875em;
}

.content pre {
  background: #f2f4f6;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 1em;
  overflow-x: auto;
}

.content pre code {
  background: none;
  border: none;
  padding: 0;
}

.content hr {
  border: none;
  border-top: 1px solid #cbd5e1;
  margin: 2.5em 0;
}

/* ---------------------------------------------
   Drop cap for article opening paragraph
   --------------------------------------------- */
.drop-cap > p:first-of-type::first-letter {
  float: left;
  font-family: 'Geist', serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  padding-right: 0.1em;
  padding-top: 0.05em;
  color: #0f172a; /* on-surface */
}
