/* Notion-inspired Clean & Minimalist Style */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FBFBFA;
  --bg-hover: rgba(55, 53, 47, 0.06);
  --text-main: #37352F;
  --text-muted: #787774;
  --text-light: #9B9A97;
  --border-color: rgba(55, 53, 47, 0.12);
  --border-light: rgba(55, 53, 47, 0.08);
  --accent-blue: #2383E2;
  --accent-green: #0F7B6C;
  --max-w: 800px;
}

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

body {
  font-family: 'Inter', 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-secondary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header {
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  background: #2B2A27;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 120ms ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: var(--bg-hover);
}

.content-wrapper {
  max-width: var(--max-w);
  margin: 40px auto 80px;
  padding: 0 24px;
}

.doc-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(15, 123, 108, 0.1);
  color: #0F7B6C;
  margin-bottom: 16px;
}

.doc-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.doc-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.section {
  margin-bottom: 32px;
}

.section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section p {
  color: #4B4843;
  margin-bottom: 12px;
  font-size: 14.5px;
}

.section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.section li {
  margin-bottom: 6px;
  font-size: 14.5px;
  color: #4B4843;
}

.callout {
  background: #F7F6F3;
  border-left: 3px solid #37352F;
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin: 20px 0;
  font-size: 14px;
  color: #4B4843;
}

.contact-box {
  background: #FBFBFA;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 40px;
}
