/* Guide pages shared styles */
:root {
  --blue-700: #238a70;
  --blue-600: #2ea887;
  --blue-500: #48b5a0;
  --blue-400: #6ac7b5;
  --blue-100: #ddf4ef;
  --blue-50: #effaf7;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --warm-700: #c2410c;
  --warm-100: #ffedd5;
  --warm-50: #fff7ed;
  --rose-600: #e11d48;
  --rose-100: #ffe4e6;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Noto Serif SC', 'Georgia', 'Songti SC', serif;
  --radius: 16px;
  --radius-sm: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate-800);
  background: linear-gradient(180deg, #f0faf7 0%, #f8fafc 100%);
  -webkit-font-smoothing: antialiased;
}
.guide-container { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.guide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}
.guide-logo, .guide-link {
  font-size: .9rem;
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 500;
}
.guide-logo:hover, .guide-link:hover { color: var(--blue-700); text-decoration: underline; }
.guide-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue-500);
  background: var(--blue-100);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.guide-article h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.guide-meta {
  font-size: .85rem;
  color: var(--slate-400);
  margin-bottom: 2rem;
}
.guide-lead {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  padding: 1.25rem;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--blue-500);
  margin-bottom: 2rem;
}
.guide-article h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--blue-100);
}
.guide-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 1.5rem 0 .75rem;
}
.guide-article p {
  font-size: .95rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.guide-article ul, .guide-article ol {
  margin: 0 0 1rem 1.5rem;
}
.guide-article li {
  font-size: .95rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: .35rem;
}
.guide-article strong { color: var(--slate-800); }
.guide-article em { color: var(--slate-500); }
.guide-cta {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
}
.guide-cta p { margin-bottom: 1rem; font-size: .9rem; }
.btn-guide {
  display: inline-block;
  padding: 10px 24px;
  background: var(--blue-600);
  color: var(--white);
  border-radius: 100px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: all .3s;
}
.btn-guide:hover { background: var(--blue-700); transform: translateY(-2px); }
.guide-related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}
.guide-related h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: .75rem;
}
.guide-related li { margin-bottom: .5rem; }
.guide-related a {
  color: var(--blue-600);
  text-decoration: none;
  font-size: .9rem;
}
.guide-related a:hover { text-decoration: underline; color: var(--blue-700); }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; }
th, td { padding: .6rem .75rem; text-align: left; border: 1px solid var(--slate-200); }
th { background: var(--blue-50); font-weight: 600; color: var(--slate-700); }
td { color: var(--slate-600); }
.ref-list { font-size: .85rem; color: var(--slate-400); line-height: 1.7; }
.ref-list li { font-size: .85rem; margin-bottom: .3rem; }
@media (max-width: 640px) {
  .guide-container { padding: 1.25rem 1rem 3rem; }
  .guide-article h1 { font-size: 1.4rem; }
  .guide-article h2 { font-size: 1.1rem; }
}
