/* ═══════════════════════════════════════════════
   GlowRank — Shared styles for subpages (blog, legal)
   Matches the aesthetic of the homepage
   ═══════════════════════════════════════════════ */

:root {
  --bg: #FDFBF7;
  --bg-alt: #F5F0E8;
  --text: #1A1A1A;
  --text-soft: #5C5650;
  --text-muted: #9B9188;
  --gold: #B8965A;
  --gold-light: #D4B87C;
  --gold-bg: #F9F3E8;
  --border: #E8E0D4;
  --white: #FFFFFF;
  --green: #3A7D5C;
  --green-bg: #EDF5F0;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
a:hover { color: var(--gold-light); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,251,247,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-family: var(--serif); font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: .85rem; font-weight: 500; color: var(--text-soft);
  text-decoration: none; letter-spacing: .02em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--white) !important; padding: 8px 20px;
  border-radius: 6px; font-weight: 600; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Page shell */
.page-header {
  padding: 140px 0 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}
.page-tag {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 100px;
  padding: 5px 16px; margin-bottom: 18px;
}
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15; letter-spacing: -.02em;
  max-width: 780px; margin: 0 auto 12px;
}
.page-header p.lede {
  font-size: 1.05rem; color: var(--text-soft);
  max-width: 620px; margin: 0 auto;
}

/* Article / legal body */
article.prose {
  padding: 56px 0 80px;
}
article.prose h2 {
  font-family: var(--serif);
  font-size: 1.7rem; margin: 36px 0 14px;
  letter-spacing: -.01em; line-height: 1.25;
}
article.prose h3 {
  font-size: 1.15rem; font-weight: 600;
  margin: 28px 0 10px; color: var(--text);
}
article.prose p { margin-bottom: 16px; color: var(--text-soft); font-size: 1rem; }
article.prose ul, article.prose ol { margin: 0 0 18px 20px; color: var(--text-soft); }
article.prose li { margin-bottom: 6px; }
article.prose strong { color: var(--text); font-weight: 600; }
article.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 20px; margin: 24px 0;
  background: var(--gold-bg);
  font-style: italic; color: var(--text);
}
article.prose .meta {
  display: flex; gap: 14px; color: var(--text-muted);
  font-size: .85rem; margin-bottom: 28px; flex-wrap: wrap;
  justify-content: center;
}
article.prose .meta span::before { content: '·'; margin-right: 14px; color: var(--border); }
article.prose .meta span:first-child::before { display: none; margin: 0; }
article.prose hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

/* Legal section cards */
.legal-notice {
  background: var(--gold-bg); border: 1px solid var(--gold-light);
  border-radius: 10px; padding: 20px 22px; margin: 24px 0;
  font-size: .92rem; color: var(--text);
}

/* Blog index */
.post-list { padding: 56px 0 80px; }
.post-card {
  display: block; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: padding-left .2s;
}
.post-card:hover { padding-left: 8px; }
.post-card:hover h3 { color: var(--gold); }
.post-card .meta { font-size: .78rem; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.post-card h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }
.post-card p { color: var(--text-soft); font-size: .95rem; }

/* CTA block for use mid-article */
.inline-cta {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 26px; margin: 36px 0;
  text-align: center;
}
.inline-cta h4 {
  font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px;
}
.inline-cta p { color: var(--text-soft); margin-bottom: 16px; font-size: .95rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--white); padding: 13px 28px;
  border-radius: 8px; font-weight: 600; font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(184,150,90,.25);
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: white; }

/* Footer */
footer.site-footer {
  padding: 40px 0; border-top: 1px solid var(--border);
  text-align: center; font-size: .8rem; color: var(--text-muted);
}
footer.site-footer a { color: var(--text-muted); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }
.footer-nav { margin-top: 16px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: .82rem; }
.footer-line { margin-top: 14px; font-size: .72rem; max-width: 560px; margin-left: auto; margin-right: auto; }
