h1 {
  font-size: 2.75rem;
  font-weight: 700;
  text-align: center;
  margin: 140px 30px 40px;
/*  margin-bottom: 40px;*/
/*  margin-top: 140px;*/
}
.container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.inputs {
  flex: 1;
  min-width: 350px;
  margin-left: 20px;
  margin-bottom: 40px;
}
.input-group {
  margin-bottom: 25px;
}
.input-group label {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: block;
}
.input-group input[type="range"] {
  width: 100%;
  margin-top: -2px;
  outline: none;
}
.input-group input[type="text"] {
  margin-top: 10px;
  width: 140px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
}
.input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.input-label-row label {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 24px;
  margin-left: 4px;
}
.input-label-row input[type="text"] {
  width: 100px;
  padding: 8px;
  font-size: 0.9rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 6px;
  color: #475569;
  margin-left: 4px;
}
.helper-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 15px;
}
.advanced-inputs {
  margin-top: 80px;
}
.results {
  flex: 1;
  min-width: 320px;
  background-color: #f1f5f9;
  padding: 30px;
  border-radius: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
}
.results-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.results-text {
  max-width: 70%;
}
.results-text label {
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}
.results-text p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 15px;
}
.results-text a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
}
.highlight {
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
  margin-top: -45px;
}
.highlight.final {
  font-size: 1.4rem;
  font-weight: 700;
}
.results.calculator .results-text label {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: -10px;
}
.results.calculator .highlight {
  font-weight: 400;
  font-size: 1rem;
  margin-top: 0px;
  margin-bottom: -10px;
}
.results-text.final label, .results.calculator .results-text.final label {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.results.calculator .highlight.final {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: -55px;
}
.results-divider {
  border-top: 1px solid #cbd5e1; /* light gray-blue */
  padding-top: 24px;
  margin-top: 30px;
}
.cta {
  margin-top: -10px;
  text-align: center;
  background-color: white;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}
.cta label {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.cta p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 20px;
}
.cta button {
  background-color: #00D48C;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.cta button:hover {
  background-color: #10B981;
}
.cta a {
  text-decoration: none;
  color: white;
}

@media (max-width: 809px) {
  .inputs {
    margin: 0px 30px;
  }
  .advanced-inputs {
    margin-top: 20px;
  }
  .results {
    margin: 0px 30px 60px;
  }
@media (max-width: 500px) {
  h1 {
    font-size: 2.2rem;
  }
@media (max-width: 410px) {
  h1 {
    font-size: 2rem;
  }
  .inputs {
    min-width: 250px;
  }
  .results {
    min-width: 200px;
  }
}