:root {
  --green: #1b8a3c;
  --green-dark: #146b2e;
  --green-deep: #0d3d1c;
  --yellow: #f0c400;
  --ink: #172018;
  --muted: #5c675f;
  --line: #e3ebe5;
  --bg: #f5f7f5;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(20, 60, 30, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--green-dark); text-decoration: none; }

a:hover { text-decoration: underline; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  position: relative;
}

.brand img {
  height: 68px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: #eef7f0;
  color: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover { background: var(--green-dark); text-decoration: none; }

.btn.secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 1px solid #cfe0d3;
}

.btn.secondary:hover { background: #f3faf4; }

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(45deg);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-card li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.hero-card li strong { display: block; }

.hero-card li span { color: var(--muted); font-size: 14px; }

.dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  flex: none;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e5f5ea;
}

.section { padding: 28px 0 64px; }

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head h2 { font-size: 32px; margin-bottom: 8px; }

.section-head p { color: var(--muted); margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.card svg {
  width: 28px;
  height: 28px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  margin-bottom: 14px;
}

.card h3 { font-size: 18px; margin-bottom: 8px; }

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line);
}

.step b {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e8f6ec;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}

.split p { color: var(--muted); }

.cta {
  background: var(--green-deep);
  color: var(--white);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta h2 { font-size: 30px; margin-bottom: 8px; }

.cta p { margin: 0; color: #d7e8dc; max-width: 520px; }

.page-hero {
  padding: 48px 0 12px;
}

.page-hero h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }

.page-hero p { color: var(--muted); max-width: 680px; }

.prose {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  margin: 20px 0 64px;
}

.prose h2 {
  font-size: 22px;
  margin: 28px 0 8px;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li { color: #314036; }

.prose ul, .prose ol { padding-left: 20px; }

.prose a { font-weight: 600; }

.updated {
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  margin: 12px 0 64px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.panel h2 { font-size: 22px; margin-bottom: 16px; }

.detail {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.detail span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
}

label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }

input, textarea, select {
  width: 100%;
  border: 1px solid #d5e0d8;
  border-radius: 10px;
  padding: 12px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #b7e0c2;
  border-color: var(--green);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.note {
  background: #eef8f1;
  border: 1px solid #cfe8d6;
  color: var(--green-deep);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0;
}

.site-footer {
  background: var(--green-deep);
  color: #d7e6db;
  padding: 42px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.1fr 1.2fr;
  gap: 28px;
}

.footer-brand {
  color: white;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-brand span { font-weight: 600; color: var(--yellow); }

.site-footer h2 {
  color: white;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  color: #d7e6db;
  margin: 6px 0;
  text-decoration: none;
}

.site-footer a:hover { color: white; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 14px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero-grid,
  .cards,
  .steps,
  .split,
  .contact-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cta { flex-direction: column; align-items: flex-start; }

  .nav-burger { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .site-nav { display: flex; }
}
