/* Styles for guides index and article pages */

:root { --max-w: 720px; }

body > nav { position: sticky; }

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 16px;
}

.page-h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-intro {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.55;
}

.guide-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-card {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.18s ease;
}

.guide-card:first-child { border-top: 1px solid var(--border); }
.guide-card:hover { opacity: 0.85; }
.guide-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.guide-card-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.guide-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.guide-card-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--accent);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}

.article-body p,
.article-body li {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.article-body ul {
  padding-left: 1.25em;
  margin-bottom: 20px;
}

.article-body strong { color: var(--text-primary); font-weight: 600; }

.article-body a {
  color: var(--accent);
  text-decoration: none;
}
.article-body a:hover { text-decoration: underline; }

.article-cta {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-cta .btn { margin-top: 16px; }

.related-guides {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.related-guides h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.related-guides ul {
  list-style: none;
  padding: 0;
}

.related-guides li { margin-bottom: 8px; }

.related-guides a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
}
.related-guides a:hover { text-decoration: underline; }

.pro-inline {
  font-size: 0.7em;
  opacity: 0.7;
  font-weight: 500;
}

footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text-primary); }
