:root {
  --navy: #1a2744; --blue: #2563eb; --gold: #f59e0b;
  --gray: #6b7280; --light-gray: #f9fafb; --text: #111827; --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); line-height: 1.7; }

nav { background: var(--navy); padding: 16px 40px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.logo { color: white; font-size: 20px; font-weight: 700; text-decoration: none; }
.logo span { color: var(--gold); }
nav div a { color: #cbd5e1; text-decoration: none; font-size: 14px; margin-left: 24px; }
nav div a:hover { color: white; }
.nav-cta { background: var(--blue); color: white !important; padding: 7px 16px; border-radius: 6px; font-weight: 600; }

.article-hero { background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 100%); color: white; padding: 70px 40px 60px; text-align: center; }
.article-hero .label { display: inline-block; background: rgba(245,158,11,0.2); border: 1px solid var(--gold); color: var(--gold); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; letter-spacing: 0.05em; margin-bottom: 20px; text-transform: uppercase; }
.article-hero h1 { font-size: clamp(24px, 4vw, 44px); font-weight: 800; line-height: 1.2; max-width: 780px; margin: 0 auto 16px; }
.article-hero .meta { font-size: 14px; color: #94a3b8; }

.article-wrap { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.article-wrap h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; }
.article-wrap h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.article-wrap p { font-size: 16px; color: #374151; margin-bottom: 18px; }
.article-wrap ul, .article-wrap ol { padding-left: 24px; margin-bottom: 18px; }
.article-wrap li { font-size: 16px; color: #374151; margin-bottom: 8px; }
.article-wrap a { color: var(--blue); }
.article-wrap a:hover { text-decoration: underline; }

.step-card { background: var(--light-gray); border: 1px solid #e5e7eb; border-left: 4px solid var(--blue); border-radius: 10px; padding: 24px 28px; margin: 28px 0; }
.step-card .step-label { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.step-card h3 { margin: 0 0 10px; font-size: 18px; }
.step-card p { margin: 0; }

.callout { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 20px 24px; margin: 28px 0; }
.callout strong { color: var(--blue); }
.tip { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 16px 20px; margin: 20px 0; font-size: 15px; }
.tip strong { color: #92400e; }

table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
th { background: var(--navy); color: white; padding: 10px 16px; text-align: left; font-weight: 600; }
td { padding: 10px 16px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
tr:nth-child(even) td { background: var(--light-gray); }

.cta-box { background: linear-gradient(135deg, var(--navy), #1e3a6e); color: white; border-radius: 16px; padding: 48px 40px; text-align: center; margin: 60px 0 0; }
.cta-box h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; border: none; color: white; }
.cta-box p { color: #cbd5e1; margin-bottom: 28px; }
.cta-btn { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 16px; padding: 14px 32px; border-radius: 8px; text-decoration: none; }
.cta-btn:hover { background: #d97706; }

footer { background: var(--navy); color: #94a3b8; padding: 40px; text-align: center; font-size: 14px; }
footer a { color: #94a3b8; text-decoration: none; margin: 0 12px; }
footer a:hover { color: white; }
.footer-logo { color: white; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }

/* Blog index */
.blog-index-hero { background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 100%); color: white; padding: 70px 40px 60px; text-align: center; }
.blog-index-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.blog-index-hero p { color: #cbd5e1; font-size: 18px; max-width: 600px; margin: 0 auto; }
.blog-grid { max-width: 900px; margin: 0 auto; padding: 60px 24px 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 28px; }
.post-card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s; text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(37,99,235,0.1); }
.post-card .tag { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.post-card h2 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.post-card p { font-size: 15px; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.post-card .read-more { font-size: 14px; font-weight: 600; color: var(--blue); }

@media (max-width: 600px) {
  nav { padding: 14px 20px; }
  nav div a { margin-left: 14px; font-size: 13px; }
  .article-hero, .blog-index-hero { padding: 50px 20px 40px; }
  .blog-grid { grid-template-columns: 1fr; padding: 40px 20px 60px; }
}
