* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1f2328; background: #fff; }
a { color: #0969da; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.25; color: #0d1117; }

/* ---- header ---- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid #eaeef2; }
.hdr-wrap { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.logo { font-weight: 800; font-size: 20px; color: #0d1117; }
.logo span { color: #fbbf24; }
.hdr-nav { display: flex; gap: 22px; flex: 1; }
.hdr-nav a { color: #57606a; font-size: 15px; font-weight: 500; }
.hdr-nav a:hover { color: #0d1117; text-decoration: none; }

/* ---- buttons ---- */
.btn-primary { display: inline-block; background: #1f883d; color: #fff !important; padding: 10px 20px; border-radius: 8px; font-weight: 600; transition: background .15s; }
.btn-primary:hover { background: #1a7f37; text-decoration: none; }
.btn-primary.big { padding: 14px 28px; font-size: 17px; }
.btn-secondary { display: inline-block; padding: 10px 20px; border-radius: 8px; border: 1px solid #d0d7de; color: #1f2328 !important; font-weight: 500; transition: background .15s; }
.btn-secondary:hover { background: #f3f4f6; text-decoration: none; }
.btn-secondary.big { padding: 14px 28px; font-size: 17px; }

/* ---- hero ---- */
.hero { padding: 80px 24px 60px; text-align: center; background:
  radial-gradient(ellipse at top, rgba(31,136,61,0.08), transparent 60%),
  linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid #eaeef2;
}
.hero-wrap { max-width: 880px; margin: 0 auto; }
.hero h1 { font-size: 48px; font-weight: 800; margin: 0 0 20px; letter-spacing: -.02em; }
.hero .lead { font-size: 19px; color: #57606a; margin: 0 0 32px; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-bullets { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; color: #57606a; font-size: 14px; }
.hero-bullets li { padding: 4px 0; }

/* ---- sections ---- */
section { padding: 70px 24px; max-width: 1180px; margin: 0 auto; }
section h2 { font-size: 32px; font-weight: 700; text-align: center; margin: 0 0 16px; letter-spacing: -.01em; }
section .sec-lead { text-align: center; color: #57606a; max-width: 700px; margin: 0 auto 40px; font-size: 17px; }

/* ---- features ---- */
.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 36px; }
.features article { background: #fff; border: 1px solid #eaeef2; border-radius: 12px; padding: 22px 24px; transition: transform .15s, box-shadow .15s; }
.features article:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,20,30,.06); }
.features article h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.features article p { margin: 0; color: #57606a; font-size: 14.5px; line-height: 1.55; }
.features article code { background: #f6f8fa; padding: 1px 6px; border-radius: 4px; font: 13px ui-monospace, SFMono-Regular, monospace; color: #6639ba; }

/* ---- types ---- */
.types { background: #f6f8fa; max-width: none; padding-left: 0; padding-right: 0; }
.types > * { max-width: 1180px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.types-grid div { background: #fff; padding: 18px 20px; border-radius: 10px; border: 1px solid #eaeef2; }
.types-grid b { display: block; font-weight: 600; margin-bottom: 6px; color: #0d1117; }
.types-grid span { color: #57606a; font-size: 14px; }

/* ---- for-whom ---- */
.for-whom ul { list-style: none; padding: 0; margin: 32px auto 0; max-width: 800px; }
.for-whom li { padding: 14px 18px; border-left: 3px solid #1f883d; background: #f6f8fa; margin-bottom: 8px; border-radius: 0 8px 8px 0; font-size: 15px; }
.for-whom li b { color: #0d1117; }

/* ---- cta block ---- */
.cta-block { text-align: center; background: linear-gradient(135deg, #1f883d 0%, #166f30 100%); color: #fff; border-radius: 16px; max-width: 1180px; margin: 60px auto; padding: 60px 24px; }
.cta-block h2 { color: #fff; margin: 0 0 12px; }
.cta-block p { color: rgba(255,255,255,.85); margin: 0 0 28px; font-size: 17px; }
.cta-block .btn-primary { background: #fff; color: #1f883d !important; }
.cta-block .btn-primary:hover { background: #f6f8fa; }

/* ---- faq ---- */
.faq { max-width: 880px; }
.faq details { background: #fff; border: 1px solid #eaeef2; border-radius: 10px; margin-bottom: 10px; padding: 16px 22px; transition: border-color .15s; }
.faq details:hover { border-color: #d0d7de; }
.faq details[open] { border-color: #0969da; background: #fafbfc; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 16px; list-style: none; outline: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 22px; color: #0969da; font-weight: 800; }
.faq details[open] summary::before { content: "−"; }
.faq details p { margin: 12px 0 0; color: #57606a; padding-left: 22px; }

/* ---- footer ---- */
.ftr { background: #0d1117; color: #adbac7; padding: 30px 24px; margin-top: 60px; }
.ftr-wrap { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.ftr a { color: #adbac7; }

@media (max-width: 700px) {
  .hero { padding: 50px 18px 40px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 17px; }
  section { padding: 50px 18px; }
  section h2 { font-size: 26px; }
  .hdr-nav { display: none; }
}
