:root {
  --accent: #bce734;
  --ink: #17201e;
  --muted: #66706d;
  --paper: #fffef9;
}

* {
  box-sizing: border-box;
}

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

#content_wrapper {
  background: var(--paper);
  border: 1px solid #d7d4c8;
  margin: 3rem auto;
  max-width: 46rem;
  padding: clamp(1.25rem, 5vw, 3rem);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  margin: 1.5rem 0 2.5rem;
}

#content_wrapper > div:not(.result) {
  border-top: 1px solid #dedbd0;
  padding: 1rem 0;
}

#content_wrapper > div > div:first-child,
label {
  font-weight: 650;
}

#service_type_section > div:not(:first-child) {
  display: inline-block;
  margin-right: 1rem;
  margin-top: 0.65rem;
}

input[type="text"],
select {
  background: white;
  border: 1px solid #a7aca8;
  border-radius: 0;
  font: inherit;
  margin-top: 0.5rem;
  max-width: 100%;
  padding: 0.45rem 0.55rem;
}

input[type="text"] {
  width: 8rem;
}

.back_link {
  color: var(--muted);
  font-size: 0.85rem;
}

.estimate_label {
  font-weight: 650;
  padding-bottom: 0 !important;
}

.result {
  color: #587310;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 1;
  padding-top: 0.5rem;
}

@media (max-width: 520px) {
  #content_wrapper {
    border-left: 0;
    border-right: 0;
    margin: 0;
  }
}
