.simulator-page-hero {
  padding: 72px 0 44px;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(28, 87, 180, 0.12),
      transparent 34%
    ),
    #f7f9fc;
}

.simulator-page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.simulator-page-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #65758b;
  font-size: 19px;
}

.simulator-page-section {
  padding: 62px 0 82px;
  background: #f7f9fc;
}

.simulator-page-grid {
  display: grid;
  grid-template-columns:
    minmax(320px, 430px)
    minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.simulator-panel,
.simulation-result-panel {
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(18, 35, 60, 0.08);
}

.simulator-panel {
  padding: 30px;
}

.simulator-panel h2 {
  margin: 0 0 26px;
  font-size: 25px;
}

.simulator-field {
  display: block;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
}

.simulator-field input {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  padding: 0 14px;
  color: #14233b;
  background: #ffffff;
  border: 1px solid #d9e2ed;
  border-radius: 10px;
  outline: none;
}

.simulator-field input:focus {
  border-color: #1c5dbe;
  box-shadow: 0 0 0 4px rgba(28, 93, 190, 0.1);
}

.simulator-field small {
  display: block;
  margin-top: 8px;
  color: #77869a;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.simulator-submit {
  width: 100%;
  margin-top: 2px;
}

.simulator-error {
  margin-bottom: 18px;
  padding: 13px 15px;
  color: #a62929;
  background: #fff0f0;
  border: 1px solid #f1caca;
  border-radius: 10px;
  font-size: 14px;
}

.simulation-result-panel {
  min-height: 500px;
  padding: 34px;
}

.simulation-result-panel h2 {
  max-width: 650px;
  margin: 7px 0 30px;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.primary-result {
  padding: 28px;
  color: #ffffff;
  background: #17345f;
  border-radius: 18px;
}

.primary-result span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.primary-result strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.result-metrics div {
  min-width: 0;
  padding: 20px;
  background: #f5f7fa;
  border: 1px solid #e1e7ee;
  border-radius: 14px;
}

.result-metrics span {
  display: block;
  color: #6d7c8f;
  font-size: 13px;
}

.result-metrics strong {
  display: block;
  margin-top: 7px;
  font-size: 21px;
}

.positive-result {
  color: #15724f;
}

.negative-result {
  color: #b73434;
}

.result-details {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #e2e7ed;
}

.result-details h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.result-details dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
}

.result-details dt {
  margin-bottom: 4px;
  color: #738196;
  font-size: 12px;
}

.result-details dd {
  margin: 0;
  font-weight: 700;
}

.simulator-note-section {
  padding: 70px 0;
}

.simulator-note {
  max-width: 820px;
}

.simulator-note h2 {
  margin-top: 0;
  font-size: 34px;
}

.simulator-note p {
  color: #65758b;
  font-size: 17px;
}

@media (max-width: 900px) {
  .simulator-page-grid {
    grid-template-columns: 1fr;
  }

  .simulator-panel {
    max-width: 650px;
  }
}

@media (max-width: 650px) {
  .simulator-page-hero {
    padding: 50px 0 34px;
  }

  .simulator-page-section {
    padding: 38px 0 58px;
  }

  .simulator-panel,
  .simulation-result-panel {
    padding: 22px;
    border-radius: 17px;
  }

  .result-metrics,
  .result-details dl {
    grid-template-columns: 1fr;
  }
}