@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff; color: #1d1d1f; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.bar {
  background: #1d1d1f; color: white; text-align: center;
  padding: 0.6rem 1rem; font-size: 0.9rem; font-weight: 500;
}
nav {
  background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08); padding: 0.8rem 0;
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: 780px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-inner a { color: #1d1d1f; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-inner a:hover { color: #667eea; }
.article {
  max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 4rem;
}
.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.25; margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.article .meta {
  color: #6e6e73; font-size: 0.85rem; margin-bottom: 2rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid #e5e5ea;
}
.article h2 {
  font-size: 1.4rem; font-weight: 600; margin: 2.5rem 0 1rem;
  color: #1d1d1f;
}
.article h3 {
  font-size: 1.15rem; font-weight: 600; margin: 2rem 0 0.75rem;
  color: #3a3a3c;
}
.article p { margin-bottom: 1.2rem; color: #3a3a3c; }
.article ul, .article ol { margin: 0 0 1.2rem 1.5rem; color: #3a3a3c; }
.article li { margin-bottom: 0.5rem; }
.cta-box {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white; border-radius: 18px; padding: 2.5rem;
  text-align: center; margin: 3rem 0 2rem;
}
.cta-box h3 { color: white; font-size: 1.3rem; margin-bottom: 0.5rem; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.cta-btn {
  display: inline-block; background: white; color: #667eea;
  padding: 0.9rem 2.5rem; border-radius: 980px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform 0.2s;
}
.cta-btn:hover { transform: scale(1.03); }
.blog-index { list-style: none; margin: 2rem 0; }
.blog-index li { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e5ea; }
.blog-index a { text-decoration: none; color: #1d1d1f; }
.blog-index a:hover { color: #667eea; }
.blog-index h2 { margin: 0 0 0.3rem; font-size: 1.15rem; background: none; -webkit-text-fill-color: #1d1d1f; color: #1d1d1f; }
.blog-index .date { color: #6e6e73; font-size: 0.85rem; }
footer {
  background: #1d1d1f; color: #86868b; text-align: center;
  padding: 2rem 1rem; font-size: 0.85rem;
}
footer a { color: #667eea; text-decoration: none; }

/* ===== Links ===== */
a { color: #667eea; text-decoration: none; }
a:hover { color: #764ba2; text-decoration: underline; }

/* Blog index links — dark, not blue */
.blog-index a, .article_list a {
  color: #1d1d1f !important;
  font-weight: 500;
}
.blog-index a:hover, .article_list a:hover {
  color: #667eea !important;
  text-decoration: underline;
}

/* Article body links */
.article a {
  color: #667eea;
  font-weight: 500;
}
.article a:hover {
  color: #764ba2;
}

/* ===== OVERRIDE BROWSER DEFAULT LINK COLORS ===== */
a, a:link, a:visited {
  color: #667eea !important;
  text-decoration: none !important;
}
a:hover, a:active {
  color: #764ba2 !important;
  text-decoration: underline !important;
}

/* Blog index — dark links, not blue */
.blog-index a, .blog-index a:link, .blog-index a:visited {
  color: #1d1d1f !important;
  font-weight: 500 !important;
}
.blog-index a:hover, .blog-index a:active {
  color: #667eea !important;
  text-decoration: underline !important;
}

/* Nav links */
.nav-inner a, .nav-inner a:link, .nav-inner a:visited {
  color: #1d1d1f !important;
}
.nav-inner a:hover {
  color: #667eea !important;
}

/* 🔥 NUCLEAR: kill ALL underlines on blog pages */
body a:link, body a:visited, body a:active {
  text-decoration: none !important;
  border-bottom: none !important;
}
body a:hover {
  text-decoration: none !important;
}
.blog-index a, .blog-index a:link, .blog-index a:visited {
  color: #1d1d1f !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.breadcrumbs a { color: #6e6e73; text-decoration: none; font-size: 0.85rem; }
.breadcrumbs a:hover { color: #667eea; }
