/* Article content */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}
.article h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 3.5rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.article h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.article p {
  margin-bottom: 1.25rem;
  color: var(--text);
  line-height: 1.8;
}
.article strong { color: var(--text); font-weight: 600; }
.article ul, .article ol {
  margin: 0.5rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}
.article ul li, .article ol li {
  margin-bottom: 0.4rem;
  color: var(--text);
}

/* Types table */
.types-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.types-table {
  width: 100%;
  border-collapse: collapse;
}
.types-table th, .types-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.types-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-alt);
}
.types-table td:first-child { font-weight: 600; }
.types-table td:nth-child(2) { color: var(--text-secondary); }
.types-table tr:last-child td { border-bottom: none; }
.types-table tr:hover { background: rgba(0, 113, 227, 0.03); }

/* Section card */
.section-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.section-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.section-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.section-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.section-card p:last-child { margin-bottom: 0; }
.section-num {
  display: inline-block;
  background: var(--accent);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Checklist */
.checklist-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.checklist-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  margin-top: 0;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0.5rem;
}

/* Install command */
.install {
  max-width: 500px;
  margin: 1.5rem auto;
  background: var(--bg-dark);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--green);
  text-align: left;
}
.install .prompt { color: var(--text-secondary); }

/* Note callout */
.note {
  background: rgba(0,113,227,0.04);
  border: 1px solid rgba(0,113,227,0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.note strong { color: var(--accent); }

/* Table of contents */
.toc {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin: 2rem 0 3rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.toc:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.toc h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  margin-top: 0;
}
.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}
.toc li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.toc a { color: var(--accent); }
.toc a:hover { color: var(--accent-hover); }

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
}
.compare-table th, .compare-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-alt);
}
.compare-table td:first-child { font-weight: 600; }

/* Responsive — page-specific overrides */
@media (max-width: 640px) {
  .article h2 { font-size: 1.35rem; }
  .types-table th, .types-table td { padding: 0.5rem 0.5rem; font-size: 0.8rem; }
  .cta-card { padding: 1.75rem; }
  .checklist-card { padding: 1.5rem; }
}
