:root {
  --bg-color: #0f1014;
  --text-main: #e2e4e9;
  --text-muted: #8b92a5;
  --accent: #e2e4e9;
  --border-color: #2a2d36;
  --surface: #17181c;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, border-bottom-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  opacity: 0.8;
  border-bottom-color: var(--accent);
}

header {
  padding: 2rem 5%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

header p {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 0;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

header nav a {
  color: var(--text-muted);
}

header nav a:hover {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

main {
  padding: 4rem 5%;
  max-width: 100%;
  margin: 0 auto;
}

section, article {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-top: 1.5rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

p {
  color: var(--text-muted);
  max-width: 65ch;
}

strong {
  color: var(--text-main);
  font-weight: 500;
}

ul, ol {
  margin-left: 1.5rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

li::marker {
  color: #4a4d57;
}

li a {
  color: var(--text-main);
}

footer {
  padding: 3rem 5%;
  max-width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Call to Action elements for CRO */
.cta-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--text-main);
  color: var(--bg-color) !important;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 1rem;
  border: none !important;
}

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

@media (max-width: 600px) {
  header {
    padding: 1.5rem 5%;
  }
  main {
    padding: 2.5rem 5%;
  }
  h1 {
    font-size: 1.8rem;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumbs li {
  display: flex;
  align-items: center;
}
.breadcrumbs li::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--border-color);
}
.breadcrumbs li:last-child::after {
  content: "";
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--text-main);
}
.breadcrumbs [aria-current="page"] {
  color: var(--text-main);
}
