:root{
  --bg: #0f1218;
  --card: #171b24;
  --card-border: #262b38;
  --input-bg: #10131a;
  --orange: #ff6b00;
  --orange-hover: #ff7f1f;
  --text: #ffffff;
  --muted: #bfbfbf;
  --muted2: #8a8f9c;
  --green: #3ddc84;
}
*{ box-sizing: border-box; }
html,body{
  margin:0;
  padding:0;
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; }
img{ max-width: 100%; display:block; }

/* ---------- Header / Nav ---------- */
.site-header{
  background: #12151c;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner{
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-family:'Poppins','Inter',sans-serif;
  font-weight:800;
  font-size:16px;
  color: var(--text);
}
.brand img{ height: 30px; width:auto; }
.brand span{ color: var(--orange); }
.nav-links{
  display:flex;
  align-items:center;
  gap: 28px;
  flex-wrap: wrap;
}
.nav-links a{
  text-decoration:none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-cta{
  background: var(--orange);
  color:#0f1218 !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight:700 !important;
}
.nav-cta:hover{ background: var(--orange-hover); }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--card-border);
  margin-top: 80px;
}
.footer-inner{
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 24px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted2);
}
.footer-inner a{ text-decoration:none; color: var(--muted2); }
.footer-inner a:hover{ color: var(--text); }
.footer-links{ display:flex; gap:20px; flex-wrap:wrap; }

/* ---------- Layout helpers ---------- */
.wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 72px 0; }
.section-tight{ padding: 48px 0; }
.eyebrow{
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px 0;
}
h1{
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 20px 0;
}
h2{
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.18;
  margin: 0 0 16px 0;
}
h3{
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px 0;
}
p{ line-height: 1.7; color: var(--muted); }
.sub{
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 680px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: var(--orange);
  color:#0f1218;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  padding: 14px 26px;
  border-radius: 10px;
  transition: background-color .15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover{ background: var(--orange-hover); }
.btn-outline{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-outline:hover{ background: var(--card); }

.grid{ display:grid; gap: 24px; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
  h1{ font-size: 36px; }
  h2{ font-size: 28px; }
}

.card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px;
}
.stat{
  font-family:'Poppins','Inter',sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: var(--orange);
  margin: 0 0 6px 0;
}
.hero{
  padding: 90px 0 70px;
  text-align:center;
  background:
    radial-gradient(ellipse at top, rgba(255,107,0,0.10), transparent 60%);
}
.hero .sub{ margin-left:auto; margin-right:auto; }
.hero-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 8px;}
.hero-image{
  margin-top: 48px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--card-border);
}

.pill-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 0 0 20px 0; }
.pill{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color: var(--muted2);
  border:1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Blog cards */
.post-card{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow:hidden;
  text-decoration:none;
  display:block;
  transition: border-color .15s ease;
}
.post-card:hover{ border-color: var(--orange); }
.post-card img{ width:100%; height: 200px; object-fit: cover; }
.post-card-body{ padding: 22px; }
.post-meta{ font-size:13px; color: var(--muted2); margin-bottom:8px; }
.post-card h3{ color: var(--text); margin-bottom: 8px; }
.post-card p{ font-size: 14px; margin:0; }

/* Article */
.article-body h2{ font-size: 26px; margin-top: 40px; }
.article-body h3{ font-size: 19px; margin-top: 28px; color: var(--text); }
.article-body h4{ font-size: 16px; margin-top: 22px; color: var(--text); }
.article-body p{ margin: 0 0 16px 0; }
.article-body ul, .article-body ol{ color: var(--muted); line-height:1.7; padding-left: 22px; }
.article-body li{ margin-bottom: 8px; }
.article-body strong{ color: var(--text); }
.article-meta{ color: var(--muted2); font-size: 14px; margin-bottom: 8px; }

.resource-list{ display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
@media (max-width: 700px){ .resource-list{ grid-template-columns: 1fr; } }
.resource-item{
  display:flex; align-items:center; justify-content:space-between;
  background: var(--card); border:1px solid var(--card-border);
  border-radius: 12px; padding: 16px 20px; text-decoration:none;
}
.resource-item:hover{ border-color: var(--orange); }
.resource-item span{ font-weight:600; font-size:14px; color: var(--text); }
.resource-item small{ color: var(--muted2); }
