:root {
  --brand: #5d7f6f;
  --brand-dark: #4d6e60;
  --accent: #c7a77a;
  --ink: #1e1e1e;
  --text: #1e1e1e;
  --muted: #6a6a6a;

  --bg-1: #f5f7f6;
  --bg-2: #e8f0ea;
  --surface: #ffffff;
  --card: #f9f6ef;
  --card-alt: #f8f3ea;
  --border: #e6e0d8;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #ede8e0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
header {
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-tagline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
}

.cta-button {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(77, 110, 96, 0.26);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(77, 110, 96, 0.32);
}

/* CONTAINER AND LAYOUT */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 500;
}

.back-link:hover {
  color: var(--brand);
}

/* ARTICLE CARD */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 48px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.article-card h1 {
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

.article-card .meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-card h2 {
  font-size: 28px;
  margin: 40px 0 16px;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 600;
}

.article-card h3 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 600;
}

.article-card p {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.article-card ul,
.article-card ol {
  margin: 0 0 20px;
  padding-left: 28px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

.article-card li {
  margin-bottom: 8px;
}

.article-card strong {
  font-weight: 600;
  color: var(--ink);
}

.article-card a {
  color: var(--brand-dark);
  text-decoration: underline;
}

.article-card a:hover {
  color: var(--brand);
}

/* HIGHLIGHTS/CALLOUT BOXES */
.highlight {
  background: rgba(93, 127, 111, 0.06);
  border-left: 4px solid var(--brand);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.highlight p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.highlight strong {
  color: var(--brand-dark);
  font-weight: 600;
}

/* CTA BOX */
.cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cta h3 {
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 600;
}

.cta p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--brand);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 550;
  font-size: 15px;
  border: none;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(77, 110, 96, 0.26);
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(77, 110, 96, 0.32);
  color: #ffffff !important;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff !important;
}

/* FOOTER */
footer {
  background: var(--surface);
  padding: 32px 0 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h3 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
}

.footer-section p {
  margin: 4px 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 4px 0;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--brand-dark);
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  text-align: left;
  color: var(--muted);
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-container {
    padding: 32px 20px;
  }

  .article-card {
    padding: 28px 24px;
  }

  .article-card h1 {
    font-size: 28px;
  }

  .article-card h2 {
    font-size: 24px;
  }

  .article-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .article-card {
    padding: 24px 20px;
  }
}
