:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5d6b62;
  --line: #d8e2da;
  --panel: #f6f9f5;
  --accent: #1d6b45;
  --accent-strong: #123d2a;
  --warn: #b65d12;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 8px;
  background: var(--panel);
}

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

.hero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #f3f8f2 0%, #ffffff 100%);
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 8vw, 76px);
  max-width: 900px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 760px;
  margin: 22px 0 0;
}

.section {
  padding: 52px 0;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

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

.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  margin-top: 28px;
}

.tool-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tool-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.tool-form textarea {
  min-width: 0;
  flex: 1;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
}

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

.stacked-form input,
.stacked-form textarea,
.stacked-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.stacked-form textarea {
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.button.secondary {
  background: var(--accent-strong);
}

.button:hover {
  text-decoration: none;
  background: var(--accent-strong);
}

.result {
  display: none;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.result.visible {
  display: block;
}

.result-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.result-row:first-child {
  border-top: 0;
}

.result-label {
  color: var(--muted);
  font-weight: 700;
}

.status-good {
  color: var(--accent);
  font-weight: 800;
}

.status-warn {
  color: var(--warn);
  font-weight: 800;
}

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

.list {
  padding-left: 20px;
}

.list li {
  margin: 8px 0;
}

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

.price {
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding: 32px 0;
  background: var(--panel);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 44px;
  }

  .grid,
  .grid.two,
  .pricing {
    grid-template-columns: 1fr;
  }

  .tool-form {
    align-items: stretch;
    flex-direction: column;
  }

  .result-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
