:root {
  --brand: #1b5e3b;
  --brand-deep: #1a5a4a;
  --mint: #e8f5e9;
  --page: #f9fafb;
  --ink: #111827;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --error: #dc2626;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
}

.font-display {
  font-family: Poppins, Inter, system-ui, sans-serif;
}

.field {
  width: 100%;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.12);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #687280;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-deep);
  color: #fff;
  font-family: Poppins, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: var(--page);
}

.calc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--brand);
}

.nav-active {
  color: var(--brand);
  font-weight: 600;
}

.nav-active::after {
  content: '';
  display: block;
  width: 20px;
  height: 3px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--brand);
}

.hero-search {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.03);
}

.result-panel[hidden] {
  display: none !important;
}

.mobile-nav {
  display: none;
}

.mobile-nav.open {
  display: block;
}

.ad-slot[data-ads='off'] {
  display: none !important;
}

.stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
  transition: background 0.15s ease;
}

.stepper-btn:hover {
  background: var(--mint);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .calc-card,
  .btn-primary {
    transition: none;
  }
}
