:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --gold: #f59e0b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: var(--card);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-dark);
}

.site-header nav a {
  margin-left: 18px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
}
.btn-cta:hover { background: var(--teal-dark); }

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  background: var(--card);
}

.hero-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-banner img {
  width: 100%;
  border-radius: 14px;
  display: block;
  margin: 20px 0;
}

article h1 {
  font-size: 2.2rem;
  color: var(--teal-dark);
  line-height: 1.25;
  margin-bottom: 6px;
}

article .meta-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

article h2 {
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-top: 36px;
  border-bottom: 2px solid var(--teal-light);
  padding-bottom: 6px;
}

article h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 22px;
}

article p { margin: 14px 0; }

article ul { margin: 14px 0; padding-left: 22px; }
article li { margin-bottom: 8px; }

.cta-box {
  background: var(--teal-light);
  border: 1px solid var(--teal);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
  text-align: center;
}

.cta-box a.btn-cta {
  display: inline-block;
  margin-top: 10px;
}

.related-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}

.related-box h2 { margin-top: 0; }

.related-box ul { padding-left: 20px; }

.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid #e5e7eb;
  margin-top: 36px;
  padding-top: 16px;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 20px;
  margin-top: 0;
}

.site-footer .wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 30px;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

/* Index page */
.blog-grid {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.blog-card h2 {
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-top: 0;
  border: none;
  padding: 0;
}

.blog-card p { flex-grow: 1; color: var(--muted); font-size: 0.95rem; }

.blog-card a.read-more {
  font-weight: 700;
  color: var(--teal-dark);
}

.page-hero {
  text-align: center;
  padding: 50px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.4rem;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.page-hero p { color: var(--muted); font-size: 1.05rem; }

.badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
