/* Retirement Wealth Check — shared stylesheet for standalone Guide pages */

:root {
  --navy: #1a2744;
  --navy-light: #243358;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f8f4ed;
  --cream-dark: #ede8df;
  --green: #2d7a5f;
  --green-light: #e8f5f0;
  --red: #c0392b;
  --red-light: #fdecea;
  --amber: #d4820a;
  --amber-light: #fef3e2;
  --text-dark: #1a2744;
  --text-mid: #4a5568;
  --text-light: #718096;
  --shadow: 0 4px 24px rgba(26,39,68,0.10);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}

/* HEADER */
header {
  background: var(--navy);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { display: block; }

/* DISCLAIMER BANNER */
.disclaimer-banner {
  background: #fff8e8;
  border-bottom: 2px solid var(--gold);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #7a5c00;
}
.disclaimer-banner strong { color: var(--amber); }
.disclaimer-banner a { color: var(--amber); text-decoration: underline; cursor: pointer; }

/* MAIN CONTENT */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 20px;
}
.back-link:hover { color: var(--green); }

.guide-meta {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,39,68,0.06);
}

article h1 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}
article p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
article ul {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0 0 18px 20px;
}
article li { margin-bottom: 4px; }
article strong { color: var(--text-dark); }

.related-guides {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(26,39,68,0.08);
}
.related-guides h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
}
.related-guides a {
  display: block;
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(26,39,68,0.08);
}
.related-guides a:hover { color: var(--green); }
.related-guides a:last-child { border-bottom: none; }

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cta-row a {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}
.cta-primary { background: var(--navy); color: #fff; }
.cta-gold { background: var(--gold); color: var(--navy); }

/* FOOTER */
footer {
  background: var(--navy);
  padding: 40px 32px 24px;
  margin-top: 40px;
}
footer .footer-grid {
  max-width: 1400px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
footer .footer-logo span { color: var(--gold-light); }
footer p { color: rgba(255,255,255,0.5); font-size: 13px; line-height: 1.6; }
footer h4 { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; display: block; margin-bottom: 6px; }
footer a:hover { color: var(--gold-light); }
footer .footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 auto 20px; max-width: 1400px; }
footer .footer-bottom { max-width: 1400px; margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.35); }
.disclaimer-full { margin-top: 12px; font-size: 11.5px; color: rgba(255,255,255,0.4); line-height: 1.6; }

@media (max-width: 700px) {
  header { padding: 0 16px; height: 64px; }
  header svg { width: 220px; height: 50px; }
  .disclaimer-banner { padding: 10px 16px; font-size: 11.5px; }
  main { padding: 20px 16px 40px; }
  .card { padding: 20px; }
  article h1 { font-size: 24px; }
  footer { padding: 28px 16px 18px; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
