:root {
  --primary: #0A0A23;
  --secondary: #004d40;
  --accent: #917239;
  --support: #6A1B9A;
  --light: #f5f5f5;
  --text: #1a1a1a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', Arial, sans-serif; line-height: 1.7; color: var(--text); background: var(--light); }

/* Navigation (shared with home) */
header { background: var(--primary); color: #fff; }
.navbar { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: #fff; }
.brand .logo-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: 1px; line-height: 1.15; }
.navbar nav a { color: #fff; margin-left: 2rem; text-decoration: none; font-weight: 500; transition: opacity 0.2s; }
.navbar nav a:hover { opacity: 0.7; }

/* Article banner */
.article-banner { background: linear-gradient(135deg, var(--primary) 0%, #1a1a4a 100%); color: #fff; padding: 3.5rem 2rem; }
.article-banner .inner { max-width: 820px; margin: 0 auto; }
.article-banner .eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.75rem; }
.article-banner h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
.article-banner .meta { margin-top: 1rem; color: #b9b9cf; font-size: 0.9rem; }

/* Article body */
.article { max-width: 820px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.article p { margin-bottom: 1.25rem; }
.article h3 { font-size: 1.6rem; color: var(--primary); margin: 2.5rem 0 1rem; position: relative; }
.article h3::after { content: ""; width: 50px; height: 4px; background: var(--accent); position: absolute; bottom: -8px; left: 0; }
.article h4 { font-size: 1.15rem; color: var(--secondary); margin: 1.75rem 0 0.5rem; }
.article ul, .article ol { margin: 0 0 1.25rem 1.5rem; }
.article li { margin-bottom: 0.6rem; }
.article strong { color: var(--primary); }
.article em { color: var(--support); font-style: italic; }
.lead { font-size: 1.2rem; color: #333; }

/* Callout / figure box */
.callout { background: #fff; border-left: 6px solid var(--accent); border-radius: 8px; padding: 1.5rem 1.75rem; margin: 2rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.callout p:last-child { margin-bottom: 0; }

/* Table */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid #e6e6e6; }
th { background: var(--primary); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* Checklist */
.checklist { list-style: none; margin-left: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border: 2px solid var(--accent); border-radius: 4px; }

/* Back link + CTA */
.article-nav { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.back-link { display: inline-block; margin-top: 2rem; color: var(--support); text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }
.article-cta { background: var(--secondary); color: #fff; border-radius: 12px; padding: 2rem; text-align: center; margin: 3rem auto 0; max-width: 820px; }
.article-cta h3 { color: #fff; margin-bottom: 0.75rem; }
.article-cta p { margin-bottom: 1.5rem; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: 0.9rem 2rem; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.btn-primary:hover { background: #a58d54; }

/* Footer (shared) */
footer { background: var(--primary); color: #bbb; text-align: center; padding: 2rem; font-size: 0.875rem; }

@media (max-width: 640px) {
  .navbar nav a { margin-left: 1rem; font-size: 0.9rem; }
  .brand h1 { font-size: 1.15rem; }
}
