:root {
  --bg: #f9f7f3;
  --bg-alt: #fdf6ec;
  --surface: #ffffff;
  --surface-muted: #fafafa;
  --ink: #2c2c2c;
  --ink-muted: #757575;
  --line: #e0e0e0;
  --brand: #1b5e20;
  --brand-strong: #145218;
  --brand-soft: #c8e6c9;
  --accent: #c49b63;
  --accent-strong: #b08a52;
  --accent-soft: #f9ebcf;
  --hero-start: #1b5e20;
  --hero-end: #2e7d32;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px rgba(27, 94, 32, 0.09);
  --content-width: 1024px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 155, 99, 0.18), transparent 34%),
    radial-gradient(circle at 0% 24%, rgba(27, 94, 32, 0.13), transparent 30%),
    linear-gradient(180deg, var(--bg), #f4f1ea 52%, #f9f7f3 100%);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(249, 247, 243, 0.9);
  border-bottom: 1px solid rgba(224, 224, 224, 0.9);
}

.site-header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-links a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 26px 20px 70px;
}

.hero {
  background:
    linear-gradient(130deg, var(--hero-start), var(--hero-end)),
    linear-gradient(0deg, rgba(196, 155, 99, 0.22), rgba(196, 155, 99, 0.22));
  color: #f8fcfb;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(249, 235, 207, 0.34), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 36px 30px;
  display: grid;
  gap: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dcefe9;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.hero p {
  margin: 0;
  max-width: 66ch;
  color: rgba(248, 252, 251, 0.95);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #2c2c2c;
  box-shadow: 0 10px 24px rgba(176, 138, 82, 0.34);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.56);
  color: #f8fcfb;
}

.section {
  margin-top: 28px;
}

.section h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 8px;
  color: var(--brand);
}

.section-intro {
  margin: 0;
  color: var(--ink-muted);
  max-width: 74ch;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.grid.features {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.06);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 7px;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
}

.tinted {
  background: linear-gradient(180deg, var(--surface), #f7f2e8);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-muted);
}

.list li + li {
  margin-top: 8px;
}

.content-page {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.content-page h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 10px;
}

.content-page h2 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: clamp(1.22rem, 3.4vw, 1.55rem);
  color: var(--brand);
}

.content-page p,
.content-page li {
  color: var(--ink-muted);
}

.content-page ul {
  padding-left: 18px;
}

.content-page code {
  background: #f4efe5;
  border: 1px solid #eadcc2;
  border-radius: 6px;
  padding: 0 6px;
  color: #5f4b2b;
}

.meta {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: #5d7485;
}

.faq {
  border-top: 1px solid var(--line);
  margin-top: 14px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-strong);
}

.faq p {
  margin: 10px 0 4px;
}

.site-footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  animation: rise-in 520ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 70ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page {
    padding-top: 20px;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .content-page {
    padding: 22px 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121714;
    --bg-alt: #1c2420;
    --surface: #1c2420;
    --surface-muted: #232e29;
    --ink: #e8e6e1;
    --ink-muted: #bdbdbd;
    --line: #3a4540;
    --brand: #a5d6a7;
    --brand-strong: #c8e6c9;
    --brand-soft: rgba(27, 94, 32, 0.25);
    --accent: #d4ad6a;
    --accent-strong: #c49b63;
    --accent-soft: rgba(212, 173, 106, 0.2);
    --hero-start: #232e29;
    --hero-end: #121714;
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  }

  body {
    background:
      radial-gradient(circle at 100% 0%, rgba(212, 173, 106, 0.12), transparent 34%),
      radial-gradient(circle at 0% 24%, rgba(165, 214, 167, 0.1), transparent 30%),
      linear-gradient(180deg, var(--bg), #161d19 52%, #121714 100%);
  }

  .site-header {
    background: rgba(18, 23, 20, 0.8);
    border-bottom-color: rgba(58, 69, 64, 0.9);
  }

  .button-secondary {
    border-color: rgba(232, 230, 225, 0.46);
  }

  .button-primary {
    color: #221c13;
  }

  .tinted {
    background: linear-gradient(180deg, var(--surface), var(--surface-muted));
  }
}
