/* SchimmelCheck Pro — Shared Styles for Static Pages */
:root {
  --ink: #0a0f1a;
  --surface: #fafaf8;
  --accent: #4A6741;
  --accent-light: #E8F5E9;
  --dark-green: #3a5234;
  --blue: #2563eb;
  --purple: #7c3aed;
  --teal: #059669;
  --red-cat: #dc2626;
  --cyan: #0891b2;
  --gray-600: #4a5568;
  --gray-400: #a0aec0;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.scp-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.scp-nav-logo {
  font-family: 'DM Serif Display', serif;
  color: var(--white); font-size: 1.13rem;
  text-decoration: none; letter-spacing: -0.02em;
  z-index: 201; position: relative;
}
.scp-nav-logo span { color: var(--accent); }
.scp-nav-checkbox { display: none; }
.scp-nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 8px; z-index: 201; position: relative;
}
.scp-nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all 0.3s ease; pointer-events: none;
}
.scp-nav-checkbox:checked ~ .scp-nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.scp-nav-checkbox:checked ~ .scp-nav-toggle span:nth-child(2) { opacity: 0; }
.scp-nav-checkbox:checked ~ .scp-nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.scp-nav-links {
  position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
  background: rgba(10, 15, 26, 0.98);
  display: flex; flex-direction: column; padding: 5rem 2rem 2rem;
  gap: 0.25rem; z-index: 200;
  transform: translateX(100%); transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.3);
}
.scp-nav-checkbox:checked ~ .scp-nav-links { transform: translateX(0); }
.scp-nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.94rem; font-weight: 500; padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.scp-nav-links a:hover { color: var(--white); }
.scp-nav-links a:last-child { border-bottom: none; }
.scp-nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 0.65rem 1.25rem !important; border-radius: 8px;
  font-weight: 600 !important; text-align: center; margin-top: 0.75rem;
  border-bottom: none !important;
}
.scp-nav-cta:hover { background: var(--dark-green) !important; }
.scp-nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.scp-nav-checkbox:checked ~ .scp-nav-backdrop { opacity: 1; pointer-events: auto; }

/* ARTICLE */
.article-hero {
  padding: 48px 24px 56px;
  color: var(--white);
}
.article-hero-inner {
  max-width: 720px; margin: 0 auto;
}
.article-back {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.94rem; display: inline-flex; align-items: center;
  gap: 6px; margin-bottom: 24px;
}
.article-back:hover { color: rgba(255,255,255,0.8); }
.article-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.article-category {
  background: rgba(255,255,255,0.15); color: var(--white);
  font-size: 0.69rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 4px 10px; border-radius: 4px;
}
.article-date, .article-read-time {
  color: rgba(255,255,255,0.5); font-size: 0.81rem;
}
.article-dot { color: rgba(255,255,255,0.3); font-size: 0.81rem; }
.article-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700; margin: 0; line-height: 1.25;
  letter-spacing: -0.02em;
}
.article-subtitle {
  color: rgba(255,255,255,0.6); font-size: 1.13rem;
  margin-top: 16px; line-height: 1.6; max-width: 600px;
}

/* ARTICLE BODY */
.article-body {
  max-width: 720px; margin: 0 auto; padding: 48px 24px 96px;
}
.article-body h2 {
  font-size: 1.38rem; font-weight: 700; color: var(--ink);
  margin: 40px 0 16px; line-height: 1.3; letter-spacing: -0.01em;
}
.article-body p {
  color: #333; font-size: 1.13rem; line-height: 1.75; margin: 0 0 18px;
}
.article-body ul, .article-body ol {
  color: #333; font-size: 1.13rem; line-height: 1.75;
  margin: 0 0 18px; padding-left: 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--blue); text-decoration: none; }
.article-body a:hover { text-decoration: underline; }

.article-callout {
  background: #f0f7ff; border-left: 3px solid var(--blue);
  padding: 16px 20px; margin: 24px 0; border-radius: 0 8px 8px 0;
  font-size: 0.94rem; line-height: 1.7; color: #1a3a5c;
}
.article-quote {
  border-left: 3px solid #e5e5e5; padding-left: 20px;
  margin: 32px 0; font-style: italic;
}
.article-quote p { color: #444; font-size: 1.13rem; line-height: 1.7; margin: 0; }
.article-quote footer { color: #888; font-size: 0.94rem; margin-top: 8px; font-style: normal; }

/* AUTHOR BOX */
.author-box {
  margin-top: 64px; padding: 24px 28px; background: var(--white);
  border-radius: 12px; border: 1px solid rgba(0,0,0,0.06);
  display: flex; gap: 16px; align-items: center;
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.13rem; flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--ink); font-size: 0.94rem; }
.author-title { color: #888; font-size: 0.81rem; line-height: 1.5; margin-top: 2px; }

/* CTA BANNER */
.article-cta {
  margin-top: 48px; background: var(--ink); border-radius: 12px;
  padding: clamp(28px, 4vw, 40px); color: var(--white); text-align: center;
}
.article-cta h3 { font-size: 1.38rem; font-weight: 700; margin: 0 0 10px; }
.article-cta p {
  color: rgba(255,255,255,0.6); font-size: 0.94rem;
  max-width: 400px; margin: 0 auto 20px; line-height: 1.6;
}
.article-cta a {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 12px 28px; border-radius: 8px; font-weight: 600;
  font-size: 0.94rem; text-decoration: none;
  transition: background 0.2s;
}
.article-cta a:hover { background: var(--dark-green); }

/* FOOTER */
.scp-footer {
  background: var(--ink); color: var(--gray-400);
  padding: 2.5rem 2rem; text-align: center; font-size: 0.81rem;
}
.scp-footer a { color: var(--gray-400); text-decoration: none; margin: 0 0.75rem; }
.scp-footer a:hover { color: var(--white); }
.scp-footer-links { margin-top: 0.75rem; }

@media (max-width: 768px) {
  .author-box { flex-direction: column; text-align: center; }
}
