/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; background: #F8F9FA; color: #2D2D2D; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: #2D9F6F; }
a:hover { color: #1B2A4A; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Header / Nav */
header { background: #1B2A4A; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Merriweather', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: #fff; text-decoration: none; }
.logo span { color: #2D9F6F; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.5rem; line-height: 1; }

/* Hero */
.hero { background: linear-gradient(135deg, #1B2A4A 0%, #243659 100%); color: #fff; padding: 80px 20px; text-align: center; }
.hero h1 { font-family: 'Merriweather', Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.3; margin-bottom: 18px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; line-height: 1.65; }
.btn { display: inline-block; background: #2D9F6F; color: #fff; font-weight: 700; font-size: 1rem; padding: 14px 28px; border-radius: 6px; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn:hover { background: #238a5e; color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; border: 2px solid #2D9F6F; color: #2D9F6F; }
.btn--outline:hover { background: #2D9F6F; color: #fff; }

/* How it works */
.how-it-works { padding: 72px 20px; background: #fff; }
.how-it-works h2 { font-family: 'Merriweather', Georgia, serif; text-align: center; font-size: 1.7rem; color: #1B2A4A; margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: 900px; margin: 0 auto; }
.step { text-align: center; }
.step-icon { width: 64px; height: 64px; background: #EEF7F3; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-icon svg { width: 28px; height: 28px; stroke: #2D9F6F; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-family: 'Merriweather', Georgia, serif; font-size: 1.05rem; color: #1B2A4A; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: #6B7280; line-height: 1.6; }

/* Section headings */
.section-heading { font-family: 'Merriweather', Georgia, serif; font-size: 1.7rem; color: #1B2A4A; margin-bottom: 8px; }
.section-sub { color: #6B7280; margin-bottom: 36px; }

/* Blog grid */
.blog-section { padding: 72px 20px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 28px; transition: box-shadow 0.2s, transform 0.15s; }
.card:hover { box-shadow: 0 6px 24px rgba(27,42,74,0.1); transform: translateY(-2px); }
.card-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #2D9F6F; margin-bottom: 10px; }
.card h3 { font-family: 'Merriweather', Georgia, serif; font-size: 1.05rem; color: #1B2A4A; line-height: 1.4; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: #6B7280; line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 0.9rem; font-weight: 700; color: #2D9F6F; text-decoration: none; }
.card-link:hover { color: #1B2A4A; }

/* Blog listing (full-width cards) */
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-list-item { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; padding: 28px 32px; transition: box-shadow 0.2s; }
.blog-list-item:hover { box-shadow: 0 4px 16px rgba(27,42,74,0.08); }
.blog-list-item .meta { font-size: 0.82rem; color: #9CA3AF; margin-bottom: 8px; }
.blog-list-item h2 { font-family: 'Merriweather', Georgia, serif; font-size: 1.2rem; color: #1B2A4A; margin-bottom: 8px; line-height: 1.4; }
.blog-list-item p { color: #6B7280; font-size: 0.95rem; line-height: 1.6; margin-bottom: 14px; }

/* Page hero (inner pages) */
.page-hero { background: #1B2A4A; color: #fff; padding: 56px 20px; }
.page-hero h1 { font-family: 'Merriweather', Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* Content body (blog posts, about, legal) */
.content-body { padding: 60px 20px 80px; }
.content-body h2 { font-family: 'Merriweather', Georgia, serif; font-size: 1.35rem; color: #1B2A4A; margin: 36px 0 12px; }
.content-body h3 { font-family: 'Merriweather', Georgia, serif; font-size: 1.1rem; color: #1B2A4A; margin: 24px 0 8px; }
.content-body p { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.75; color: #2D2D2D; }
.content-body ul, .content-body ol { margin: 0 0 18px 24px; }
.content-body li { margin-bottom: 8px; font-size: 1.02rem; line-height: 1.7; }
.content-body a { color: #2D9F6F; }
.content-body strong { font-weight: 700; color: #1B2A4A; }

/* Post meta */
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.85rem; color: #9CA3AF; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #E2E8F0; }

/* Related articles */
.related { background: #fff; border-top: 1px solid #E2E8F0; padding: 48px 20px; }
.related h3 { font-family: 'Merriweather', Georgia, serif; font-size: 1.2rem; color: #1B2A4A; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 1px solid #E2E8F0; border-radius: 8px; padding: 18px; }
.related-card h4 { font-family: 'Merriweather', Georgia, serif; font-size: 0.9rem; color: #1B2A4A; margin-bottom: 8px; line-height: 1.4; }
.related-card a { font-size: 0.85rem; font-weight: 700; color: #2D9F6F; text-decoration: none; }

/* Contact form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; color: #1B2A4A; }
.form-group input, .form-group textarea { width: 100%; border: 1.5px solid #E2E8F0; border-radius: 6px; padding: 12px 14px; font-family: inherit; font-size: 1rem; color: #2D2D2D; background: #fff; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #2D9F6F; }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success { display: none; background: #EEF7F3; border: 1px solid #2D9F6F; border-radius: 6px; padding: 20px; color: #1B2A4A; font-weight: 600; text-align: center; margin-top: 12px; }

/* Footer */
footer { background: #1B2A4A; color: rgba(255,255,255,0.7); padding: 40px 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #1B2A4A; padding: 16px 20px 24px; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links li:last-child { border-bottom: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  header { position: relative; }
}
