* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f5;
  color: #1c2b24;
}

.page {
  padding: 32px 20px 60px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.hero {
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #d8e2dc;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
}

h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
}

.intro {
  max-width: 900px;
  margin: 0;
  color: #496057;
  font-size: 17px;
  line-height: 1.6;
}

.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.main-column,
.side-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #d8e2dc;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(22, 41, 32, 0.05);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.section-intro {
  margin: 0 0 20px;
  color: #5b7068;
  line-height: 1.5;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field,
.field-block {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  border: 1px solid #c7d5cd;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: #ffffff;
  color: #1c2b24;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e2dc;
  border-radius: 14px;
  background: #ffffff;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-grid input {
  width: auto;
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  background: #eef4f0;
  color: #2d473c;
  border: 1px solid #d8e2dc;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.empty-state {
  border: 1px dashed #b9c9c0;
  border-radius: 16px;
  padding: 28px;
  color: #62766e;
  background: #fbfcfb;
}

.selection-summary {
  margin-bottom: 16px;
  background: #f6f9f7;
  border-radius: 14px;
  padding: 14px 16px;
  color: #445951;
  line-height: 1.6;
}

.recommendation-card {
  border: 1px solid #d8e2dc;
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  margin-bottom: 14px;
}

.recommendation-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.recommendation-name {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.recommendation-text {
  margin: 0 0 12px;
  color: #566961;
  line-height: 1.6;
}

.best-fit {
  display: inline-block;
  margin-top: 2px;
  color: #445951;
  font-size: 14px;
  line-height: 1.6;
}

.match-pill {
  background: #edf5ef;
  border: 1px solid #d3e3d7;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.value-box {
  margin-bottom: 18px;
  background: #f6f9f7;
  border-radius: 14px;
  padding: 16px;
}

.value-box.compact {
  margin-bottom: 0;
}

.value-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.value-list {
  margin: 0;
  padding-left: 18px;
  color: #445951;
  line-height: 1.7;
}

button,
.submit-button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #1f5a3f;
  color: #ffffff;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

button:hover,
.submit-button:hover {
  background: #184731;
}

.form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef7f1;
  color: #1f5a3f;
  font-weight: 700;
  line-height: 1.5;
}

.hidden {
  display: none;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .field-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-top {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 32px;
  }
}
