:root {
  --green: #65ad32;
  --green-dark: #4d9224;
  --text: #333;
  --muted: #6d6d6d;
  --border: #e6e6e6;
  --surface: #fff;
  --surface-soft: #f7f8f5;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
}
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--green);
}
.brand:hover { text-decoration: none; }
.brand-dot { color: #777; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav a { color: #555; }
.nav a[aria-current="page"] { color: var(--green-dark); font-weight: 700; }
.menu-button {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  cursor: pointer;
}

.hero {
  padding: 112px 0 98px;
  text-align: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(101,173,50,.10), transparent 35%),
    linear-gradient(#fff, #fbfcfa);
  border-bottom: 1px solid var(--border);
}
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 59px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 500;
}
.hero h1 strong { color: var(--green); font-weight: 700; }
.hero .tagline {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 23px);
  max-width: 760px;
}

.features {
  padding: 72px 0 82px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  padding: 30px 28px 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(0,0,0,.035);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(101,173,50,.12);
  color: var(--green-dark);
  font-size: 23px;
  margin-bottom: 16px;
}
.feature-card h2 { margin: 0 0 10px; font-size: 21px; color: #3e3e3e; }
.feature-card p { margin: 0; color: #666; }

.page-hero {
  padding: 62px 0 48px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.2; }
.content { padding: 54px 0 80px; }
.prose { max-width: 860px; }
.prose h2 { margin: 45px 0 14px; font-size: 27px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 35px 0 10px; font-size: 21px; }
.prose h4 { margin: 30px 0 8px; font-size: 17px; color: var(--green-dark); }
.prose p { margin: 0 0 15px; }
.prose ul, .prose ol { margin-top: 8px; padding-left: 24px; }
.prose li { margin: 5px 0; }
.callout {
  margin: 22px 0;
  padding: 18px 20px;
  background: rgba(101,173,50,.08);
  border-left: 4px solid var(--green);
  border-radius: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 11px 17px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}
.button:hover { color: #fff; background: var(--green-dark); text-decoration: none; }
.material-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}
.material-nav a {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: #555;
  background: #fff;
}
.material-nav a:hover { border-color: var(--green); color: var(--green-dark); text-decoration: none; }

.info-card {
  max-width: 820px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.03);
}
.info-card p:last-child { margin-bottom: 0; }

.site-footer {
  padding: 30px 0;
  background: #242424;
  color: #cfcfcf;
  font-size: 13px;
}
.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer a { color: #e7e7e7; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: white;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  font-size: 18px;
}
.back-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 760px) {
  .header-inner { min-height: 66px; }
  .menu-button { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 66px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(0,0,0,.10);
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  .hero { padding: 80px 0 68px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding: 45px 0 58px; }
  .content { padding: 38px 0 60px; }
  .page-hero { padding: 42px 0 34px; }
}
