/* Safe in the Seat — Blog Preview Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

:root {
  --ocean: #3c4d49;
  --cream: #fdf5ec;
  --ivory: #fcf3df;
  --coral: #f4aa90;
  --blush: #fac4a6;
  --sky: #8ea6d1;
  --seafoam: #c8d3cc;
  --beige: #e9d7cd;
  --charcoal: #313030;
  --berry: #731445;
  --alabaster: #efe8df;
  --white: #ffffff;
  --text-primary: #3c4d49;
  --text-secondary: #5d6e6a;
  --text-muted: #8a9693;
  --border-light: rgba(60,77,73,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

/* ── Navigation ─────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-weight: 500;
  font-size: 18px;
  color: var(--ocean);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--coral); }
.nav-draft {
  position: absolute;
  right: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(244,170,144,0.12);
  padding: 4px 12px;
  border-radius: 12px;
}

/* ── Article Layout ─────────────────────── */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Category tag */
.category-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(244,170,144,0.12);
  padding: 6px 14px;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* Meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta .author { font-weight: 400; color: var(--text-secondary); }
.article-meta .dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

/* Headings */
h1 {
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ocean);
  margin-bottom: 16px;
}
h2 {
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ocean);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--coral);
}
h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ocean);
  margin-top: 32px;
  margin-bottom: 12px;
}

/* Body text */
p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
p strong { color: var(--text-primary); font-weight: 500; }
p a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
p a:hover { color: var(--ocean); }

/* Status callouts (like SITS uses) */
.status-box {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid var(--coral);
}
.status-box.warning {
  border-left-color: #d4a017;
  background: #fffdf5;
}
.status-box.danger {
  border-left-color: #c0392b;
  background: #fdf5f5;
}
.status-box.info {
  border-left-color: var(--sky);
  background: #f5f8fd;
}
.status-box p { margin-bottom: 8px; font-size: 16px; }
.status-box p:last-child { margin-bottom: 0; }
.status-icon { font-size: 16px; margin-right: 6px; }

/* Lists */
ul, ol {
  margin: 16px 0 24px 24px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
}
li { margin-bottom: 8px; }
li strong { color: var(--text-primary); font-weight: 500; }

/* Key facts box */
.key-facts {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 28px 0;
}
.key-facts h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.key-facts ul { margin-left: 16px; font-size: 16px; }

/* Graphic container */
.graphic-container {
  margin: 36px 0;
  text-align: center;
}
.graphic-container img {
  width: 100%;
  max-width: 680px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.graphic-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* CTA Box */
.cta-box {
  background: var(--ocean);
  color: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  margin: 48px 0 32px;
  text-align: center;
}
.cta-box h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--seafoam);
  font-size: 16px;
  margin-bottom: 20px;
}
.cta-box a.btn {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

/* Sources */
.sources {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.sources h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sources ol {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.sources a { color: var(--coral); }

/* Related articles */
.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}
.related h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 20px;
}
.related-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.related-card {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--ocean);
  transition: box-shadow 0.2s;
}
.related-card:hover { box-shadow: 0 4px 20px rgba(60,77,73,0.1); }
.related-card .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.related-card .title { font-weight: 400; font-size: 16px; line-height: 1.35; }

/* Footer */
.footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

/* ── Index page ─────────────────────────── */
.hub {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}
.hub h1 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 8px;
}
.hub .subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}
.post-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card:hover {
  box-shadow: 0 8px 32px rgba(60,77,73,0.1);
  transform: translateY(-2px);
}
.post-card .num {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.post-card .card-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--ocean);
  line-height: 1.25;
}
.post-card .card-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.post-card .card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .article { padding: 32px 16px 64px; }
  .hub { padding: 40px 16px; }
  .hub h1 { font-size: 32px; }
}
