@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
body{
  -webkit-font-smoothing: antialiased;
}

.qpc-calc {
  max-width: 650px;
  margin: 0 auto;
  font-family: "Poppins", system-ui, sans-serif;
  color: #3a3a3a;
}

.qpc-calc .qpc-unlock-overlay h4 {
  margin: 0 0 0.75rem 0;
  color: #4d92bd;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  letter-spacing: 6px;
}
.qpc-calc .qpc-results-content h4{
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 400;
  color: #4d92bd;
  letter-spacing: 6px;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.qpc-intro {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: #545454;
}

.qpc-calc input[type="number"],
.qpc-calc input[type="email"] {
  width: 100%;
  padding: 0.5rem 0.65rem;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  font: inherit;
  font-size: 0.95rem;
  color: #3a3a3a;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.5;
}

.qpc-calc input[type="number"]:focus,
.qpc-calc input[type="email"]:focus {
  outline: none;
  border-color: #4d92bd;
  box-shadow: 0 0 0 3px rgba(77, 146, 189, 0.12);
}

.qpc-box {
  border: 1px solid #e0e0e0;
  padding: 1rem;
  border-radius: 10px;
  background: #fff;
}

.qpc-field {
  margin-bottom: 0.9rem;
}

.qpc-field:last-of-type {
  margin-bottom: 0;
}

.qpc-calc label {
  display: block;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0.3rem;
  color: #3a3a3a;
}

.qpc-calc small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #888;
}

.qpc-btn-primary,
.qpc-unlock-button,
.qpc-bench-pill,
.qpc-tip-icon,
.qpc-recalc-link {
  font: inherit;
}

.qpc-btn-primary {
  margin: 1rem auto 0 !important;
  padding: 0.6rem 1.6rem !important;
  border: none;
  background: #da3730 !important;
  color: #fff !important;
  cursor: pointer;
  border-radius: 999px;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  display: block;
  width: fit-content;
  transition: opacity 0.15s;
  text-transform: uppercase;
}
a.btn{
  text-decoration: none;
}

.qpc-btn-primary:hover,
.qpc-unlock-button:hover,
.qpc-unlock-button {
  opacity: 0.88 !important;
}

.qpc-btn-primary:disabled,
.qpc-unlock-button:disabled {
  background: #ccc;
  cursor: default;
}

.qpc-bench-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.qpc-bench-pill {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  font-size: 0.78rem;
  color: #545454;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}

.qpc-bench-pill:hover,
.qpc-bench-pill.is-active {
  border-color: #4d92bd;
  color: #4d92bd;
}

.qpc-results {
  position: relative;
  margin-top: 1.25rem;
}

.qpc-results.is-locked .qpc-results-content {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.qpc-unlock-overlay {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.qpc-results.is-locked .qpc-unlock-overlay {
  display: flex;
}

.qpc-unlock-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
  padding: 1.25rem 1.25rem 1.1rem;
}

.qpc-step-label {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.25rem;
}

.qpc-unlock-card p {
  font-size: 0.9rem;
  color: #545454;
  margin: 0 0 0.6rem;
}

.qpc-teaser-box {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.qpc-teaser-label,
.qpc-teaser-note {
  font-size: 0.8rem;
  color: #777;
}

.qpc-teaser-label {
  margin-bottom: 0.25rem;
}

.qpc-teaser-value {
  font-size: 1.6rem;
  font-weight: 600;
  color: #da3730;
  line-height: 1.1;
}

.qpc-teaser-note {
  margin-top: 0.25rem;
}

.qpc-unlock-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.qpc-unlock-actions span {
  font-size: 0.78rem;
  color: #777;
}

.qpc-box .qpc-unlock-button {
  padding: 0.55rem 1.2rem;
  border: none;
  background: #da3730 !important;
  color: #fff !important;
  cursor: pointer;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 0.15s;
  text-transform: uppercase;
}

.qpc-unlock-error {
  font-size: 0.82rem;
  color: #da3730;
  font-weight: 500;
  margin-top: 0.4rem;
}

.qpc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.qpc-result-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  background: #f9fbfd;
}

.qpc-result-card.is-highlight {
  border-color: #4d92bd;
  background: #eaf4fb;
}

.qpc-result-card.is-warning {
  border-color: #f5d0d0;
  background: #fdf4f4;
}

.qpc-rc-label {
  font-size: 0.78rem;
  color: #777;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.qpc-rc-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: #3a3a3a;
  line-height: 1.1;
}

.qpc-result-card.is-highlight .qpc-rc-value {
  color: #2b6fa8;
}

.qpc-result-card.is-warning .qpc-rc-value {
  color: #c0392b;
}

.qpc-rc-value.is-placeholder {
  font-size: 0.85rem;
  color: #aaa;
}

.qpc-rc-sub {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.2rem;
}

.qpc-results-subtitle {
  color: #545454;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.qpc-insight-block {
  background: #f4f6f8;
  border-left: 3px solid #4d92bd;
  padding: 0.75rem 0.9rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #444;
  margin: 0.75rem 0;
}

.qpc-cta-copy {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eee;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #555;
}

.qpc-cta-copy p {
  margin: 0 0 0.5rem;
}

.qpc-cta-copy p:last-child {
  margin-bottom: 0;
}

.qpc-disclaimer {
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.4;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.qpc-recalc-wrap {
  text-align: center;
}

.qpc-recalc-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.qpc-inputs {
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease, border-width 0.35s ease;
  max-height: 1800px;
  opacity: 1;
}

.qpc-inputs.is-collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  margin-bottom: 0;
}

.qpc-field-rel {
  position: relative;
}

.qpc-label-with-tip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

.qpc-label-with-tip label {
  display: inline;
  margin-bottom: 0;
}

.qpc-tip {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.qpc-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #da3730;
  color: #da3730;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
  background: transparent;
  padding: 0;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.qpc-tip-icon:hover,
.qpc-tip-icon:focus-visible {
  background: #da3730;
  color: #fff;
  transform: translateY(-1px);
}

.qpc-tip-icon:focus-visible {
  outline: 2px solid rgba(218, 55, 48, 0.3);
  outline-offset: 2px;
}

.qpc-tip-box {
  position: absolute;
  top: calc(18% + 6px);
  right: 0;
  width: 350px;
  max-width: calc(100vw - 3rem);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  font-size: 0.92rem;
  line-height: 1.45;
  z-index: 20;
  color: #444;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.qpc-tip:hover .qpc-tip-box,
.qpc-tip:focus-within .qpc-tip-box {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.qpc-tip-box strong {
  display: block;
  margin-bottom: 0.7rem;
  color: #3a3a3a;
}

.qpc-tip-box p {
  margin: 0 0 0.7rem;
}

.qpc-tip-box p:last-child {
  margin-bottom: 0;
}

.qpc-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4d92bd;
  margin: 1.1rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e8e8e8;
}

.qpc-section-label:first-child {
  margin-top: 0;
}
.qpc-box .outline-pill-btn {
    background-color: transparent;
    border-color: #e0e0e0;
    color: #545454;
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    margin-right: 0.4rem;
    font-size: 0.8rem;
    line-height: 27px;
    text-transform: none;
}

.qpc-box .outline-pill-btn.is-active {
    border-color: #da3730;
    color: #da3730;
}
button.qpc-tip-icon {
    background: transparent;
    border: 2px solid #da3730;
    color: #da3730;
    padding: 8px 8px;
}
button.qpc-tip-icon:hover {
    color: #da3730;
}
.integration {
    margin-bottom: 50px;
}


@media (max-width: 480px) {
  .qpc-result-grid {
    grid-template-columns: 1fr;
  }

  .qpc-box {
    padding: 1rem;
  }
}