:root {
  --primary-color: #2f9e44;
  --primary-dark: #1b7a32;
  --primary-light: #e6f4ea;
  --primary-soft: #d3f0db;
  --text-color: #2a3b2c;
  --text-muted: #5c6b5e;
  --background-color: #f4faf5;
  --surface-color: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #1a3d2a;
  --border-color: #c5e6cc;
  --shadow-color: rgba(31, 94, 48, 0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

.site-header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 8px var(--shadow-color);
  margin-bottom: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand i {
  width: 1.35em;
  height: 1.35em;
  color: var(--primary-color);
}

.brand:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.btn-app i {
  width: 1em;
  height: 1em;
}

.btn-app:hover {
  background-color: var(--primary-dark);
  text-decoration: none;
  color: white;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 60vh;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h2 {
  font-size: 1.8rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

ul {
  list-style-position: inside;
  margin-left: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

.feature {
  list-style: none;
  display: inline-block;
  width: calc(33.333% - 1rem);
  margin-right: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: var(--surface-color);
  border-radius: 5px;
  box-shadow: 0 2px 4px var(--shadow-color);
}

.feature h3 {
  color: var(--primary-color);
}

.items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.items li {
  background-color: var(--surface-color);
  padding: 0.75rem 1.5rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 3px;
}

.phase-flow {
  margin-top: 2rem;
}

.step-intro {
  margin-bottom: 1rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  background: var(--surface-color);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px var(--shadow-color);
  border-top: 4px solid var(--primary-color);
}

.step-no {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.quick-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.action i {
  width: 1em;
  height: 1em;
}

.action:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.not-found {
  text-align: center;
  padding: 3rem 1rem;
}

.not-found__code {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
  opacity: 0.25;
  margin-bottom: 0.5rem;
}

.not-found h1 {
  margin-bottom: 0.75rem;
}

.not-found__message {
  margin-bottom: 2rem;
  color: #666;
}

.not-found .quick-actions {
  justify-content: center;
}

code {
  background-color: #f0f0f0;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

pre {
  background-color: #1a3d2a;
  color: #ecf0f1;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 1rem 0;
}

pre code {
  background-color: transparent;
  padding: 0;
  color: #ecf0f1;
}

aside {
  background-color: var(--surface-color);
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
  margin-top: 2rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-date {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.article-lead {
  font-size: 1.15rem;
  color: #555;
  margin-top: 0.75rem;
}

.article-body h2 {
  margin-top: 2rem;
}

.article-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body ol li {
  margin-bottom: 0.5rem;
}

.article-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

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

a:hover {
  text-decoration: underline;
}

.site-footer {
  background-color: var(--footer-bg);
  color: #d4edda;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand i {
  width: 1.2em;
  height: 1.2em;
  color: var(--primary-soft);
}

.footer-brand:hover {
  color: var(--primary-soft);
  text-decoration: none;
}

.site-footer p {
  font-size: 0.9rem;
  color: #a8d5b5;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    justify-content: center;
  }

  .feature {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .items {
    flex-direction: column;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }
}
