/* theme.css: Modern, clean, responsive design system */
:root {
  --color-bg: #f6f7f8;
  --color-bg-alt: #fff;
  --color-primary: #1173d4;
  --color-primary-dark: #0d5ba8;
  --color-text: #334155; /* Lighter slate-700 */
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --radius: 8px; /* Slightly tighter radius */
  --shadow: 0 1px 3px rgba(0,0,0,0.05); /* Softer shadow */
  --container-width: 1024px; /* Tighter container */
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.95rem; /* Slightly smaller base size */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  box-shadow: none; /* Removed heavy shadow */
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px; /* Slightly shorter header */
}
.nav__left, .nav__center, .nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600; /* Lighter weight */
  font-size: 1.25rem;
  color: var(--color-text); /* Use text color instead of primary */
  text-decoration: none;
  letter-spacing: -0.025em;
}
.logo-icon {
    color: var(--color-primary);
}
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  color: var(--color-text-light); /* Lighter nav links */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav__list a:hover {
  color: var(--color-primary);
}
.nav__action-link svg {
  color: var(--color-text-light);
  transition: color 0.2s;
  display: block;
}
.nav__action-link:hover svg {
  color: var(--color-primary);
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background-color: transparent; /* Removed grey background */
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.hero .tagline {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1rem;
  font-weight: 500;
}

.section {
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.75rem; /* Smaller section headers */
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border); /* Thinner border */
  padding-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.section p, .section ul {
  font-size: 1rem; /* Smaller body text */
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section ul {
  list-style-position: inside;
  padding-left: 0;
}

.section li {
  margin-bottom: 0.5rem;
}

.hero, .features, .enterprise, .vendors, .contact {
  padding: 3rem 0 2rem 0;
  background: var(--color-bg);
}
.hero {
  background: transparent;
  text-align: center;
  padding: 2rem 0 2rem 0;
}
.hero h1 {
  font-size: 2.25rem; /* Consistent size */
  font-weight: 700;
  margin-bottom: 1rem;
}

section > .container > h2, section > .container > h1 {
  margin: 0 0 1.5rem 0;
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem; /* Smaller padding */
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}
.btn--secondary {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn--secondary:hover {
  background: var(--color-bg);
  border-color: var(--color-text-light);
  color: var(--color-text);
}

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: 3rem 0;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.content-wrapper {
  padding: 3rem 1.5rem;
  max-width: 800px; /* Readability width */
  margin: 0 auto;
}
.content-wrapper h1, .post-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-text);
  letter-spacing: -0.025em;
}
.content-wrapper h2, .post-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  color: var(--color-text);
  letter-spacing: -0.025em;
}
.content-wrapper ul, .post-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}
.content-wrapper p, .content-wrapper li, .post-content p, .post-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}
.post-content {
  padding: 0;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}
.breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--color-primary);
}

/* Post List Layout */
.list-layout .list-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}
.list-layout .list-header h1 {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
}
.post-list .post-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem; /* Reduced padding */
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-list .post-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.post-item__link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.post-item__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.015em;
}
.post-item__summary {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}
.post-item__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    align-items: center;
}
.post-item__author {
    font-weight: 500;
}

/* Prose styling for blog content */
.prose {
  color: var(--color-text);
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.prose a {
  color: var(--color-primary);
  text-decoration: none;
}

.prose a:hover {
  color: var(--color-primary-dark);
}

.prose blockquote {
  border-left: 3px solid var(--color-primary); /* Thinner border */
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-light);
}

.prose code {
  background-color: var(--color-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
  color: var(--color-text);
}

.prose pre {
  background-color: #1e293b; /* Darker bg for code blocks */
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  color: #f1f5f9;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 800px) {
  .container {
    padding: 0 1rem;
  }
  .nav__list {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  section > .container > h2, section > .container > h1 {
    font-size: 1.5rem;
  }
  .header, .footer {
    font-size: 0.85rem;
  }
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}