/* Healthcare App — 08 Try it · Estimate */

.cw-healthcare-estimate {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-healthcare-estimate__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-healthcare-estimate__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-healthcare-estimate__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-healthcare-estimate__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-healthcare-estimate__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #1f6fa8;
}

.cw-healthcare-estimate__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
}

.cw-healthcare-estimate__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
  align-items: start;
}

.cw-healthcare-estimate__builder {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-healthcare-estimate__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-healthcare-estimate__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.cw-healthcare-estimate__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-healthcare-estimate__chip {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: left;
}

.cw-healthcare-estimate__chip--multi {
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
}

.cw-healthcare-estimate__chip--toggle.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-healthcare-estimate__chip--multi.is-active {
  background: #d4f53c;
}

.cw-healthcare-estimate__chip--compliance.is-active {
  background: #7cf5c8;
}

.cw-healthcare-estimate__chip:focus-visible {
  outline: 2px solid #1f6fa8;
  outline-offset: 2px;
}

.cw-healthcare-estimate__summary {
  position: sticky;
  top: 90px;
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cw-healthcare-estimate__summary-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7cf5c8;
}

.cw-healthcare-estimate__price {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 5.4vw, 72px);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.cw-healthcare-estimate__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cw-healthcare-estimate__stat {
  background: rgba(243, 239, 231, 0.06);
  border-radius: 14px;
  padding: 10px;
}

.cw-healthcare-estimate__stat-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(243, 239, 231, 0.55);
}

.cw-healthcare-estimate__stat-value {
  display: block;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-top: 4px;
}

.cw-healthcare-estimate__scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(243, 239, 231, 0.6);
  gap: 8px;
}

.cw-healthcare-estimate__scale {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-healthcare-estimate__scale-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(243, 239, 231, 0.1);
  overflow: hidden;
}

.cw-healthcare-estimate__scale-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7cf5c8, #d4f53c);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.cw-healthcare-estimate__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(243, 239, 231, 0.75);
}

.cw-healthcare-estimate__cta {
  align-self: flex-start;
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-healthcare-estimate__cta:hover {
  background: #fff;
  color: #141210;
}

.cw-healthcare-estimate__cta:focus-visible {
  outline: 2px solid #7cf5c8;
  outline-offset: 3px;
}

.cw-healthcare-estimate__disclaimer {
  margin: 0;
  font-size: 11.5px;
  color: rgba(243, 239, 231, 0.5);
}

@media (max-width: 900px) {
  .cw-healthcare-estimate__summary {
    position: static;
  }
}
