/* ============================================
   尤里改 MCP — Design System
   Professional B2B SaaS Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+SC:wght@400;500;600;700;900&display=swap');

:root {
  /* Background — warm dark, not pure black */
  --bg-deep: #111118;
  --bg-surface: #18181f;
  --bg-card: #1e1e28;
  --bg-card-hover: #252530;
  --bg-elevated: #2a2a36;

  /* Brand — deep blue + muted gold accent */
  --brand: #4f6ef7;
  --brand-light: #7b93ff;
  --brand-muted: rgba(79, 110, 247, 0.12);
  --accent: #e0a84c;
  --accent-muted: rgba(224, 168, 76, 0.12);

  /* Semantic */
  --green: #3ecf8e;
  --green-muted: rgba(62, 207, 142, 0.1);
  --red: #e5484d;

  /* Text */
  --text-1: #ededf0;
  --text-2: rgba(237, 237, 240, 0.68);
  --text-3: rgba(237, 237, 240, 0.38);

  /* Borders */
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  /* Typography */
  --sans: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Menlo', monospace;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.35);

  /* Size */
  --max-w: 1120px;
  --section-py: clamp(80px, 10vw, 120px);
  --section-px: clamp(24px, 5vw, 64px);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--text-1);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: var(--brand-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.section { padding: var(--section-py) var(--section-px); position: relative; }

/* --- Section Headers --- */
.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--text-2);
  max-width: 620px;
  line-height: 1.8;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--section-px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(17, 17, 24, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-1);
}

.nav-brand .logo-mark {
  width: 28px;
  height: 28px;
  background: var(--brand);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
}

.nav-brand .tag {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-muted);
  color: var(--brand-light);
  letter-spacing: 0.05em;
  margin-left: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-1); }

.nav-cta {
  padding: 7px 18px !important;
  border-radius: var(--r-sm);
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 64px;
}

/* Subtle grid pattern background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 110, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 110, 247, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black, transparent);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
}

.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(62, 207, 142, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-1);
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-body {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.hero-body strong { color: var(--text-1); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: var(--sans);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 12px rgba(79, 110, 247, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79, 110, 247, 0.35);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  color: var(--text-1);
  transform: translateY(-1px);
}

/* --- Divider line between sections --- */
.divider {
  height: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* --- Pain Points --- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.pain-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  background: rgba(229, 72, 77, 0.08);
  border: 1px solid rgba(229, 72, 77, 0.12);
}

.pain-card:nth-child(2) .pain-icon {
  background: rgba(224, 168, 76, 0.08);
  border-color: rgba(224, 168, 76, 0.12);
}

.pain-card:nth-child(3) .pain-icon {
  background: rgba(79, 110, 247, 0.08);
  border-color: rgba(79, 110, 247, 0.12);
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* --- Solution / Two Modes --- */
.modes-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.mode-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.mode-card:nth-child(1) .mode-badge {
  background: var(--brand-muted);
  color: var(--brand-light);
}

.mode-card:nth-child(2) .mode-badge {
  background: var(--accent-muted);
  color: var(--accent);
}

.mode-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.mode-card > p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Code Block */
.code-block {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.65;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.code-header .dot { width: 7px; height: 7px; border-radius: 50%; }
.code-header .dot:nth-child(1) { background: #ff5f57; }
.code-header .dot:nth-child(2) { background: #febc2e; }
.code-header .dot:nth-child(3) { background: #28c840; }

.code-body {
  padding: 14px;
  overflow-x: auto;
}

.code-body .key { color: var(--brand-light); }
.code-body .str { color: var(--green); }
.code-body .comment { color: var(--text-3); font-style: italic; }
.code-body .num { color: var(--accent); }
.code-body .br { color: var(--text-3); }

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.feature-card:nth-child(1) .feature-icon { background: var(--brand-muted); }
.feature-card:nth-child(2) .feature-icon { background: var(--accent-muted); }
.feature-card:nth-child(3) .feature-icon { background: var(--green-muted); }
.feature-card:nth-child(4) .feature-icon { background: rgba(229, 72, 77, 0.08); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* Chat Demo inside feature card */
.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  max-width: 92%;
}

.chat-bubble.user {
  background: var(--brand-muted);
  border: 1px solid rgba(79, 110, 247, 0.15);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-2);
}

/* Responsibility split */
.resp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.resp-box {
  padding: 12px;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  line-height: 1.6;
}

.resp-box.machine {
  background: var(--brand-muted);
  border: 1px solid rgba(79, 110, 247, 0.12);
}

.resp-box.human {
  background: var(--accent-muted);
  border: 1px solid rgba(224, 168, 76, 0.12);
}

.resp-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.resp-box.machine strong { color: var(--brand-light); }
.resp-box.human strong { color: var(--accent); }
.resp-box span { color: var(--text-2); font-size: 0.8rem; }

/* Security checks */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.check-item {
  text-align: center;
  padding: 12px;
  background: var(--green-muted);
  border: 1px solid rgba(62, 207, 142, 0.1);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  color: var(--text-2);
}

.check-item .icon {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 4px;
  color: var(--green);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pricing-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.pricing-badge.free {
  background: var(--brand-muted);
  color: var(--brand-light);
}

.pricing-badge.promo {
  background: var(--accent-muted);
  color: var(--accent);
}

.pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-1);
  margin-bottom: 8px;
  line-height: 1.2;
}

.pricing-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-2);
  padding-left: 4px;
}

.pricing-features li strong {
  color: var(--accent);
}

/* --- WeChat CTA --- */
.wechat-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.wechat-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  transition: border-color 0.3s, transform 0.3s;
}

.wechat-box:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.wechat-icon {
  font-size: 1.6rem;
}

.wechat-label {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 2px;
}

.wechat-id {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-light);
  letter-spacing: 0.04em;
}

/* --- CTA Section --- */
.cta-section { text-align: center; }

.cta-section .section-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.cta-stat { text-align: center; }

.cta-stat .number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-light);
  display: block;
}

.cta-stat .label {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* --- Footer --- */
.footer {
  padding: 32px var(--section-px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left { font-size: 0.78rem; color: var(--text-3); }
.footer-right { display: flex; gap: 20px; }
.footer-right a { font-size: 0.78rem; color: var(--text-2); }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .pain-grid,
  .modes-container,
  .features-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .resp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .cta-stats { gap: 24px; }
  .check-grid { grid-template-columns: 1fr; }
  .wechat-box { padding: 14px 20px; }
}

/* ============================================
   Doc / Tutorial Pages
   ============================================ */

.doc-page {
  padding-top: 64px;
}

.doc-page .container {
  max-width: 780px;
}

/* Breadcrumb / Back link */
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 32px;
  padding-top: 40px;
  transition: color 0.2s;
}

.doc-back:hover { color: var(--text-1); }

/* Article header */
.doc-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.doc-header .doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.doc-badge.mode-a {
  background: var(--brand-muted);
  color: var(--brand-light);
}

.doc-badge.mode-b {
  background: var(--accent-muted);
  color: var(--accent);
}

.doc-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.doc-header p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* Doc prose */
.doc-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-1);
}

.doc-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.doc-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.doc-content p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 16px;
}

.doc-content strong {
  color: var(--text-1);
  font-weight: 600;
}

.doc-content ul,
.doc-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.doc-content li {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 6px;
}

.doc-content code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-light);
}

/* Step blocks */
.doc-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.doc-step:hover {
  border-color: var(--border-hover);
}

.doc-step-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 10px;
}

.doc-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
}

.doc-step p {
  margin-bottom: 16px;
}

/* Callout */
.doc-callout {
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.doc-callout.tip {
  background: var(--green-muted);
  border: 1px solid rgba(62, 207, 142, 0.12);
  color: var(--green);
}

.doc-callout.warning {
  background: var(--accent-muted);
  border: 1px solid rgba(224, 168, 76, 0.12);
  color: var(--accent);
}

.doc-callout.info {
  background: var(--brand-muted);
  border: 1px solid rgba(79, 110, 247, 0.12);
  color: var(--brand-light);
}

.doc-callout strong:first-child {
  display: block;
  margin-bottom: 4px;
}

/* Table */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.doc-table th,
.doc-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.doc-table th {
  font-weight: 600;
  color: var(--text-1);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.doc-table td {
  color: var(--text-2);
}

.doc-table td code {
  font-size: 0.82em;
}

/* Nav on doc pages (simpler) */
.doc-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.doc-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  flex: 1;
  text-decoration: none;
}

.doc-nav-link:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
  color: var(--text-1);
}

.doc-nav-link.next {
  text-align: right;
}

.doc-nav-link .label {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.doc-nav-link .title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
}
