@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=JetBrains+Mono:wght@400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #0B0F1A;
  color: #cbd5e1;
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
  font-size: 18px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.glow { position: fixed; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: 0.08; pointer-events: none; z-index: 0; }
.g1 { top: -200px; left: -100px; background: #D97757; }
.g2 { bottom: -100px; right: -200px; background: #10a37f; }

/* Nav */
nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(148,163,184,0.08);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-accent { color: #D97757; margin-left: 1px; }
.logo-dim { color: #64748b; font-weight: 400; }
.logo-icon {
  width: 24px; height: 24px; border-radius: 6px; background: #D97757;
  display: flex; align-items: center; justify-content: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-blog-link {
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-blog-link:hover { color: #cbd5e1; }

/* Layout */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: #64748b;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: #D97757; text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* Article header */
.article-header { padding: 16px 0 32px; }
.article-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }
h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #f8fafc;
  margin-bottom: 14px;
}
.article-header > p {
  font-size: 19px;
  color: #94a3b8;
  line-height: 1.6;
}

/* TOC */
.toc {
  background: rgba(30,41,59,0.5);
  border: 1px solid rgba(148,163,184,0.08);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.toc-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 10px;
}
.toc a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 0;
  transition: color 0.15s;
}
.toc a:hover { color: #D97757; }
.toc a::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(217,119,87,0.4);
  margin-right: 10px;
  vertical-align: middle;
}

/* Article body */
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 44px 0 16px;
  letter-spacing: -0.3px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  margin-bottom: 18px;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 18px;
}
.article-body a {
  color: #D97757;
  text-decoration: none;
  border-bottom: 1px solid rgba(217,119,87,0.3);
  transition: border-color 0.15s;
}
.article-body a:hover { border-bottom-color: #D97757; }
.article-body strong { color: #e2e8f0; font-weight: 600; }
.article-body em { color: #94a3b8; }

/* Prompt box */
.prompt-box {
  margin: 20px 0 24px;
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15,23,42,0.8);
}
.prompt-header {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: rgba(30,41,59,0.5);
  border-bottom: 1px solid rgba(148,163,184,0.06);
}
.prompt-label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #94a3b8; font-weight: 500; }
.prompt-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.prompt-body {
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #b4c0cc;
  white-space: pre-wrap;
}

/* Callout */
.callout {
  background: rgba(217,119,87,0.06);
  border: 1px solid rgba(217,119,87,0.12);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0 24px;
  font-size: 16px;
  line-height: 1.7;
}
.callout p { margin-bottom: 0; }

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 15px;
}
.compare-table th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(30,41,59,0.6);
  border: 1px solid rgba(148,163,184,0.08);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14px;
}
.compare-table td {
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,0.06);
  color: #cbd5e1;
  vertical-align: top;
  line-height: 1.6;
}
.compare-table tr:hover td { background: rgba(30,41,59,0.3); }

/* Numbered takeaway list */
.takeaway-list {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: takeaway;
}
.takeaway-list li {
  counter-increment: takeaway;
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148,163,184,0.06);
  font-size: 17px;
  line-height: 1.7;
}
.takeaway-list li:last-child { border-bottom: none; }
.takeaway-list li::before {
  content: counter(takeaway);
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(217,119,87,0.1);
  color: #D97757;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Related guides */
.related-guides {
  margin: 48px 0 40px;
  padding: 28px;
  background: rgba(30,41,59,0.5);
  border: 1px solid rgba(148,163,184,0.08);
  border-radius: 16px;
}
.related-guides h3 { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 16px; }
.guide-link {
  display: block;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(148,163,184,0.06);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.guide-link:hover { border-color: rgba(217,119,87,0.3); background: rgba(217,119,87,0.04); }
.guide-link-title { font-size: 16px; font-weight: 600; color: #e2e8f0; }
.guide-link-desc { font-size: 14px; color: #64748b; margin-top: 2px; }

/* Blog index */
.blog-index { padding: 48px 0 60px; }
.blog-index h1 { margin-bottom: 8px; }
.blog-index > p { font-size: 18px; color: #94a3b8; margin-bottom: 36px; }
.post-card {
  display: block;
  background: rgba(30,41,59,0.5);
  border: 1px solid rgba(148,163,184,0.08);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.post-card:hover { border-color: rgba(217,119,87,0.3); background: rgba(30,41,59,0.7); transform: translateY(-1px); }
.post-card-title { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; letter-spacing: -0.3px; }
.post-card-desc { font-size: 16px; color: #94a3b8; line-height: 1.6; }
.post-card-meta { font-size: 13px; color: #64748b; margin-top: 10px; display: flex; gap: 14px; }
.post-card-meta span { display: flex; align-items: center; gap: 4px; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(148,163,184,0.06);
  font-size: 15px;
  color: #ffffff;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: #cbd5e1; }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .article-body h2 { font-size: 20px; }
  .article-meta { flex-direction: column; gap: 6px; align-items: flex-start; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links { gap: 14px; }
}
