:root {
  --bg: #ffffff;
  --ink: #17211c;
  --muted: #5e6a63;
  --line: #e6ece8;
  --accent: #1f6b4f;
  --accent-dark: #164f3b;
  --wash: #f4f7f5;
  --soft: #e8f3ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent-dark); }
img { max-width: 100%; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(720px, 100%); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  font-size: 15px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light { background: #fff; color: var(--accent-dark); }

main { padding: 72px 0 40px; }
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h1 { margin: 0 0 18px; font-size: clamp(42px, 6vw, 68px); max-width: 12ch; }
h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 40px); }
h3 { margin: 0 0 8px; font-size: 24px; }
.lede { margin: 0; max-width: 38rem; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

section { margin-top: 88px; }
.section-head { margin-bottom: 22px; }

.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: 1fr; }
.steps { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.card, .panel {
  background: var(--wash);
  border-radius: 20px;
  padding: 22px;
}
.card p, .panel p, .prose p { color: var(--muted); }
.card p, .panel p { margin: 0; }
.num {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
input[type="number"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
input:focus { outline: 2px solid #c9e4d8; border-color: var(--accent); }
.fields { display: grid; gap: 14px; }
@media (min-width: 700px) { .fields { grid-template-columns: 1fr 1fr; } }

.rows { margin-top: 8px; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.row span { color: var(--muted); }
.row strong { font-variant-numeric: tabular-nums; }
.note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--accent-dark);
}

ul.clean { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
ul.clean li + li { margin-top: 8px; }

.cta {
  margin-top: 88px;
  background: #16382f;
  color: #f7faf8;
  border-radius: 28px;
  padding: 36px 28px;
}
.cta h2 { max-width: 16ch; }
.cta p { max-width: 36rem; color: rgba(247, 250, 248, 0.82); }

.prose { padding-bottom: 24px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); max-width: none; }
.prose h2 { margin-top: 36px; font-size: 28px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 18px; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.legal { margin: 14px 0 0; max-width: 46rem; }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  main { padding-top: 40px; }
  section, .cta { margin-top: 64px; }
}
