:root {
  --primary: rgb(20, 90, 50);
  --primary-light: rgb(30, 120, 70);
  --bg-dark: #101213;
  --bg-elevated: #171a1c;
  --border-subtle: #24282b;
  --text-main: #f5f5f5;
  --text-muted: #b3b8bd;
  --danger: #ff6b6b;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: radial-gradient(circle at top left, rgba(20, 90, 50, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.6), #000);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(10, 12, 13, 0.94), rgba(10, 12, 13, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #53f08e, var(--primary));
  box-shadow: 0 10px 30px rgba(20, 90, 50, 0.7);
  font-size: 0.85rem;
}

.logo-text {
  font-size: 0.98rem;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0.2rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #53f08e, var(--primary));
  transition: width 0.2s ease-out;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.2rem;
  flex-direction: column;
  gap: 0.23rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

.hero {
  padding: 2.4rem 0 2.6rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.9rem;
}

.hero-text p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.hero-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out,
    border-color 0.15s ease-out;
}

.btn.primary {
  background: linear-gradient(130deg, #4af58a, var(--primary));
  color: #020303;
  box-shadow: 0 12px 30px rgba(20, 90, 50, 0.7);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(20, 90, 50, 0.85);
  text-decoration: none;
}

.btn.ghost {
  background: rgba(12, 14, 15, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(20, 90, 50, 0.15);
  text-decoration: none;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(83, 240, 142, 0.2), transparent 55%),
    var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section {
  padding: 1.4rem 0 1.8rem;
}

.section-featured {
  background: radial-gradient(circle at top right, rgba(20, 90, 50, 0.24), transparent 60%);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-header h2 {
  font-size: 1.3rem;
  margin: 0;
}

.section-link {
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

.card {
  background: rgba(12, 14, 15, 0.82);
  border-radius: var(--radius-md);
  padding: 1rem 0.95rem 0.95rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.section-faq h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

.faq-item {
  background: rgba(10, 12, 13, 0.9);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}

.page-header {
  margin: 1.9rem 0 1.1rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.post-list {
  padding-bottom: 2rem;
}

.post-list-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.post-list-item h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.post-list-item .post-meta {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-list-item .post-excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.post {
  margin: 1.8rem 0 2.4rem;
}

.post-header h1 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.post-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.post-body {
  margin-top: 1.2rem;
  color: var(--text-muted);
}

.post-body h2 {
  color: var(--text-main);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.post-body p {
  margin: 0 0 0.7rem;
}

.post-body ul {
  margin: 0.2rem 0 0.9rem;
  padding-left: 1.2rem;
}

.post-footer {
  margin-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
}

.post-footer h2 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.related-links li + li {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(6, 7, 8, 0.98);
  margin-top: 1rem;
}

.footer-inner {
  padding: 1.1rem 0 1.3rem;
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.footer-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-meta {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(10, 12, 13, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform-origin: top;
    transform: scaleY(0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .site-nav.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.5rem 0.9rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0.3rem;
  }

  .hero-card {
    order: -1;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

