.hdlrc-app,
.hdlrc-app * {
  box-sizing: border-box;
}

.hdlrc-app {
  --hdl-orange: #fd6d04;
  --hdl-orange-dark: #dc5400;
  --hdl-yellow: #ffb605;
  --hdl-peach: #fdcca4;
  --hdl-purple: #6900ae;
  --hdl-purple-dark: #4d0082;
  --hdl-wine: #891a62;
  --hdl-green: #08a54d;
  --hdl-green-dark: #038e5e;
  --hdl-red: #c93838;
  --hdl-ink: #2a2031;
  --hdl-muted: #6f6676;
  --hdl-border: #e9e2ed;
  --hdl-soft: #fbf8fc;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1240px;
  margin: 24px auto;
  padding: clamp(22px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(105, 0, 174, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 4% 10%, rgba(255, 182, 5, 0.18), transparent 27%),
    radial-gradient(circle at 96% 88%, rgba(105, 0, 174, 0.1), transparent 28%),
    linear-gradient(145deg, #fffaf5 0%, #fff 45%, #fcf7ff 100%);
  color: var(--hdl-ink);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.45;
  box-shadow: 0 24px 70px rgba(54, 18, 73, 0.09);
}

.hdlrc-app [hidden] {
  display: none !important;
}

.hdlrc-app button,
.hdlrc-app input,
.hdlrc-app select {
  font: inherit;
}

.hdlrc-app button,
.hdlrc-app select {
  cursor: pointer;
}

.hdlrc-app a {
  color: inherit;
}

.hdlrc-app h2,
.hdlrc-app h3,
.hdlrc-app p {
  margin-top: 0;
}

.hdlrc-accent {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(1px);
}

.hdlrc-accent--one {
  width: 210px;
  height: 210px;
  top: -120px;
  right: 26%;
  border: 34px solid rgba(253, 109, 4, 0.08);
}

.hdlrc-accent--two {
  width: 160px;
  height: 160px;
  bottom: -92px;
  left: -62px;
  background: rgba(105, 0, 174, 0.05);
}

.hdlrc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hdlrc-intro {
  min-width: 0;
  padding: 16px 0;
}

.hdlrc-kicker,
.hdlrc-step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--hdl-wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hdlrc-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hdl-orange), var(--hdl-yellow));
  box-shadow: 0 0 0 5px rgba(253, 109, 4, 0.1);
}

.hdlrc-intro h2 {
  max-width: 630px;
  margin-bottom: 18px;
  color: var(--hdl-purple);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hdlrc-lead {
  max-width: 580px;
  margin-bottom: 30px;
  color: var(--hdl-muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
}

.hdlrc-benefits {
  display: grid;
  gap: 17px;
  margin: 0 0 28px;
}

.hdlrc-benefit {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.hdlrc-benefit strong,
.hdlrc-benefit small {
  display: block;
}

.hdlrc-benefit strong {
  margin-bottom: 2px;
  color: var(--hdl-ink);
  font-size: 15px;
  font-weight: 800;
}

.hdlrc-benefit small {
  color: var(--hdl-muted);
  font-size: 13px;
}

.hdlrc-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
}

.hdlrc-icon svg,
.hdlrc-calc-badge svg,
.hdlrc-primary-button svg,
.hdlrc-safe-copy svg,
.hdlrc-print svg,
.hdlrc-result-cta a svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hdlrc-icon--check {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(8, 165, 77, 0.11);
  color: var(--hdl-green-dark);
}

.hdlrc-icon--check svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.8;
}

.hdlrc-trust {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 510px;
  padding: 16px 17px;
  border: 1px solid rgba(105, 0, 174, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(75, 25, 92, 0.05);
  backdrop-filter: blur(8px);
}

.hdlrc-trust p {
  margin-bottom: 0;
  color: var(--hdl-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hdlrc-trust strong {
  color: var(--hdl-purple);
}

.hdlrc-icon--shield {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(105, 0, 174, 0.11), rgba(235, 8, 104, 0.08));
  color: var(--hdl-purple);
}

.hdlrc-icon--shield svg {
  width: 23px;
  height: 23px;
}

.hdlrc-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hdl-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 55px rgba(54, 18, 73, 0.12);
}

.hdlrc-form-card {
  padding: clamp(22px, 3vw, 34px);
}

.hdlrc-card-topline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--hdl-orange), var(--hdl-yellow) 42%, var(--hdl-green) 74%, var(--hdl-purple));
}

.hdlrc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.hdlrc-card-header .hdlrc-step {
  margin-bottom: 5px;
  color: var(--hdl-orange-dark);
  font-size: 10px;
}

.hdlrc-card-header h3 {
  margin-bottom: 0;
  color: var(--hdl-purple);
  font-size: clamp(23px, 2.5vw, 29px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hdlrc-card-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--hdl-orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hdlrc-calc-badge {
  display: grid;
  flex: 0 0 auto;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff2e5, #fff9e6);
  color: var(--hdl-orange);
  box-shadow: inset 0 0 0 1px rgba(253, 109, 4, 0.12);
}

.hdlrc-calc-badge svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.hdlrc-calculator-form {
  display: grid;
  gap: 16px;
}

.hdlrc-fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.hdlrc-field {
  min-width: 0;
}

.hdlrc-field--wide {
  grid-column: 1 / -1;
}

.hdlrc-field label,
.hdlrc-label-line {
  color: var(--hdl-ink);
  font-size: 13px;
  font-weight: 750;
}

.hdlrc-field > label,
.hdlrc-label-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 7px;
}

.hdlrc-field label span {
  color: var(--hdl-orange);
}

.hdlrc-field > small {
  display: block;
  margin-top: 6px;
  color: var(--hdl-muted);
  font-size: 11px;
}

.hdlrc-optional {
  color: #9a909f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.hdlrc-field input,
.hdlrc-field select,
.hdlrc-money-control {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  margin: 0;
  border: 1px solid #ddd4e2;
  border-radius: 11px;
  background: #fff;
  color: var(--hdl-ink);
  font-size: 14px;
  line-height: 1.2;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hdlrc-field input,
.hdlrc-field select {
  padding: 0 13px;
}

.hdlrc-field input::placeholder {
  color: #aaa1af;
}

.hdlrc-field input:focus,
.hdlrc-field select:focus,
.hdlrc-money-control:focus-within {
  border-color: var(--hdl-orange);
  box-shadow: 0 0 0 4px rgba(253, 109, 4, 0.11);
}

.hdlrc-control--select {
  position: relative;
}

.hdlrc-control--select::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--hdl-purple);
  border-bottom: 2px solid var(--hdl-purple);
  content: '';
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.hdlrc-field select {
  padding-right: 38px;
  appearance: none;
  -webkit-appearance: none;
}

.hdlrc-money-control {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hdlrc-money-control > span {
  display: grid;
  align-self: stretch;
  width: 49px;
  place-items: center;
  border-right: 1px solid #e7dfea;
  background: #faf6fc;
  color: var(--hdl-purple);
  font-size: 13px;
  font-weight: 850;
}

.hdlrc-money-control input {
  min-height: 45px;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.hdlrc-help {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  padding: 0;
  place-items: center;
  border: 1px solid #d8cddf;
  border-radius: 50%;
  background: #fff;
  color: var(--hdl-purple);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.hdlrc-help:focus-visible,
.hdlrc-primary-button:focus-visible,
.hdlrc-modal-close:focus-visible,
.hdlrc-print:focus-visible,
.hdlrc-restart:focus-visible,
.hdlrc-result-cta a:focus-visible {
  outline: 3px solid rgba(105, 0, 174, 0.24);
  outline-offset: 3px;
}

.hdlrc-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.hdlrc-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.hdlrc-check > span {
  position: relative;
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid #cfc3d5;
  border-radius: 6px;
  background: #fff;
}

.hdlrc-check input:focus-visible + span {
  outline: 3px solid rgba(253, 109, 4, 0.15);
  outline-offset: 2px;
}

.hdlrc-check input:checked + span {
  border-color: var(--hdl-green);
  background: var(--hdl-green);
}

.hdlrc-check input:checked + span::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
  transform: rotate(42deg);
}

.hdlrc-check--subtle {
  margin-top: -5px;
  color: var(--hdl-muted);
  font-size: 12px;
}

.hdlrc-form-error {
  padding: 10px 12px;
  border: 1px solid rgba(201, 56, 56, 0.25);
  border-radius: 9px;
  background: rgba(201, 56, 56, 0.07);
  color: #9e2525;
  font-size: 12px;
  font-weight: 700;
}

.hdlrc-primary-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 2px 0 0;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hdl-orange), #f95b08 62%, #e94a19);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(89, 32, 0, 0.12);
  box-shadow: 0 13px 25px rgba(253, 109, 4, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.hdlrc-primary-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 16px 30px rgba(253, 109, 4, 0.3);
}

.hdlrc-primary-button:active {
  transform: translateY(0);
}

.hdlrc-primary-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.hdlrc-form-security {
  display: flex;
  max-width: 430px;
  margin: -2px auto 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8b818f;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.hdlrc-form-security svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--hdl-green-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hdlrc-primary-button svg,
.hdlrc-result-cta a svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.hdlrc-safe-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -3px 0 0;
  color: #8b818f;
  font-size: 10px;
  text-align: center;
}

.hdlrc-safe-copy svg {
  width: 13px;
  height: 13px;
}

.hdlrc-tooltip {
  position: absolute;
  z-index: 30;
  width: min(260px, calc(100% - 24px));
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--hdl-purple-dark);
  color: #fff;
  font-size: 11px;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(42, 0, 70, 0.25);
}

.hdlrc-results {
  margin-top: clamp(40px, 6vw, 74px);
  scroll-margin-top: 30px;
  outline: none;
}

.hdlrc-results-inner {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--hdl-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 65px rgba(54, 18, 73, 0.11);
}

.hdlrc-results-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.hdlrc-results-heading .hdlrc-step {
  margin-bottom: 5px;
  color: var(--hdl-orange-dark);
  font-size: 10px;
}

.hdlrc-results-heading h2 {
  margin-bottom: 5px;
  color: var(--hdl-purple);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.hdlrc-results-heading p {
  margin-bottom: 0;
  color: var(--hdl-muted);
  font-size: 14px;
}

.hdlrc-print {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--hdl-border);
  border-radius: 10px;
  background: #fff;
  color: var(--hdl-purple);
  font-size: 12px;
  font-weight: 800;
}

.hdlrc-print svg {
  width: 16px;
  height: 16px;
}

.hdlrc-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.hdlrc-summary-grid article {
  position: relative;
  display: grid;
  min-height: 126px;
  align-content: center;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--hdl-border);
  border-radius: 16px;
  background: #fff;
}

.hdlrc-summary-grid small {
  margin-bottom: 5px;
  color: var(--hdl-muted);
  font-size: 11px;
  font-weight: 700;
}

.hdlrc-summary-grid strong {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hdlrc-summary-main {
  border-color: rgba(253, 109, 4, 0.32) !important;
  background: linear-gradient(145deg, #fff8f0, #fffdf7) !important;
  box-shadow: inset 0 0 0 1px rgba(253, 109, 4, 0.06);
}

.hdlrc-summary-main strong {
  color: var(--hdl-orange-dark);
}

.hdlrc-summary-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.hdlrc-summary-icon--green {
  background: rgba(8, 165, 77, 0.1);
  color: var(--hdl-green-dark);
}

.hdlrc-summary-icon--red {
  background: rgba(201, 56, 56, 0.09);
  color: var(--hdl-red);
}

.hdlrc-summary-icon--orange {
  background: rgba(253, 109, 4, 0.11);
  color: var(--hdl-orange-dark);
}

.hdlrc-is-positive,
.hdlrc-app .is-positive {
  color: var(--hdl-green-dark);
}

.hdlrc-is-negative,
.hdlrc-app .is-negative {
  color: var(--hdl-red);
}

.hdlrc-detail-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.hdlrc-detail-chips span {
  padding: 12px 13px;
  border: 1px solid #eee7f1;
  border-radius: 11px;
  background: var(--hdl-soft);
}

.hdlrc-detail-chips small,
.hdlrc-detail-chips b {
  display: block;
}

.hdlrc-detail-chips small {
  margin-bottom: 2px;
  color: var(--hdl-muted);
  font-size: 10px;
}

.hdlrc-detail-chips b {
  color: var(--hdl-purple);
  font-size: 16px;
}

.hdlrc-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.hdlrc-breakdown {
  padding: 20px;
  border: 1px solid var(--hdl-border);
  border-radius: 16px;
  background: #fff;
}

.hdlrc-breakdown h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--hdl-ink);
  font-size: 16px;
  font-weight: 850;
}

.hdlrc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.04);
}

.hdlrc-dot--green {
  background: var(--hdl-green);
}

.hdlrc-dot--red {
  background: var(--hdl-red);
}

.hdlrc-result-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #f0eaf2;
}

.hdlrc-result-line:first-of-type {
  border-top: 0;
}

.hdlrc-result-line strong,
.hdlrc-result-line small {
  display: block;
}

.hdlrc-result-line strong {
  color: var(--hdl-ink);
  font-size: 12px;
  font-weight: 780;
}

.hdlrc-result-line small {
  margin-top: 3px;
  color: var(--hdl-muted);
  font-size: 10px;
  line-height: 1.4;
}

.hdlrc-result-line b {
  flex: 0 0 auto;
  font-size: 13px;
  white-space: nowrap;
}

.hdlrc-empty {
  margin-bottom: 0;
  padding: 15px;
  border-radius: 10px;
  background: var(--hdl-soft);
  color: var(--hdl-muted);
  font-size: 12px;
}

.hdlrc-result-alert {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(105, 0, 174, 0.12);
  border-radius: 12px;
  background: rgba(105, 0, 174, 0.045);
  color: var(--hdl-muted);
  font-size: 11px;
  line-height: 1.6;
}

.hdlrc-result-alert strong {
  color: var(--hdl-purple);
}

.hdlrc-result-alert--warning {
  border-color: rgba(201, 56, 56, 0.22);
  background: rgba(201, 56, 56, 0.06);
  color: #7f3030;
}

.hdlrc-result-alert--warning strong {
  color: var(--hdl-red);
}

.hdlrc-result-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3vw, 31px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 182, 5, 0.3), transparent 30%),
    linear-gradient(135deg, var(--hdl-purple-dark), var(--hdl-purple) 62%, var(--hdl-wine));
  color: #fff;
  box-shadow: 0 16px 35px rgba(105, 0, 174, 0.2);
}

.hdlrc-result-cta span {
  display: block;
  margin-bottom: 4px;
  color: #ffd998;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hdlrc-result-cta h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 850;
  line-height: 1.2;
}

.hdlrc-result-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.hdlrc-result-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 245px;
  padding: 14px 18px;
  border-radius: 11px;
  background: var(--hdl-yellow);
  color: #4a2500;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(20, 0, 30, 0.22);
  transition: transform 160ms ease, background 160ms ease;
}

.hdlrc-result-cta a:hover {
  background: #ffc634;
  transform: translateY(-2px);
}

.hdlrc-restart {
  display: block;
  margin: 18px auto 0;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: var(--hdl-purple);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hdlrc-modal {
  --hdl-orange: #fd6d04;
  --hdl-orange-dark: #dc5400;
  --hdl-yellow: #ffb605;
  --hdl-peach: #fdcca4;
  --hdl-purple: #6900ae;
  --hdl-purple-dark: #4d0082;
  --hdl-wine: #891a62;
  --hdl-green: #08a54d;
  --hdl-red: #c93838;
  --hdl-muted: #6f6676;
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.hdlrc-modal[hidden],
.hdlrc-modal [hidden] {
  display: none !important;
}

.hdlrc-modal,
.hdlrc-modal * {
  box-sizing: border-box;
}

.hdlrc-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(253, 109, 4, 0.16), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(105, 0, 174, 0.18), transparent 32%),
    rgba(31, 13, 39, 0.78);
  backdrop-filter: blur(12px) saturate(115%);
}

.hdlrc-modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(440px, 1.3fr);
  width: min(100%, 980px);
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 38px 110px rgba(20, 0, 31, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.78) inset;
  animation: hdlrc-modal-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes hdlrc-modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hdlrc-modal-dialog::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 5px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, var(--hdl-orange), var(--hdl-yellow) 38%, var(--hdl-wine) 68%, var(--hdl-purple));
  content: '';
}

.hdlrc-modal-brand {
  position: relative;
  display: flex;
  min-height: 610px;
  padding: 48px 38px 34px;
  overflow: hidden;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 182, 5, 0.31), transparent 25%),
    radial-gradient(circle at 96% 92%, rgba(253, 109, 4, 0.28), transparent 34%),
    linear-gradient(155deg, #3b0065 0%, #6900ae 52%, #891a62 100%);
}

.hdlrc-modal-brand::before,
.hdlrc-modal-brand::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.hdlrc-modal-brand::before {
  top: -96px;
  right: -110px;
  width: 310px;
  height: 310px;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.035);
}

.hdlrc-modal-brand::after {
  right: -52px;
  bottom: 95px;
  width: 125px;
  height: 125px;
  background: rgba(255, 255, 255, 0.035);
}

.hdlrc-modal-brand-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hdlrc-modal-brand-badge svg,
.hdlrc-modal-footnote svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hdlrc-modal-brand-copy {
  position: relative;
  z-index: 1;
  margin: auto 0 32px;
}

.hdlrc-modal-brand-copy small {
  display: block;
  margin-bottom: 12px;
  color: var(--hdl-yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hdlrc-modal-brand-copy h3 {
  max-width: 290px;
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.048em;
  line-height: 1.03;
}

.hdlrc-modal-brand-copy p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
  line-height: 1.65;
}

.hdlrc-modal-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 750;
}

.hdlrc-modal-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hdlrc-modal-benefits li span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 182, 5, 0.18);
  color: var(--hdl-yellow);
  font-size: 11px;
}

.hdlrc-modal-seal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  line-height: 1.45;
}

.hdlrc-modal-seal span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65dc94;
  box-shadow: 0 0 0 4px rgba(101, 220, 148, 0.12);
}

.hdlrc-modal-form-panel {
  position: relative;
  min-width: 0;
  padding: 48px clamp(30px, 4vw, 54px) 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 204, 164, 0.19), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fffcfa 100%);
}

.hdlrc-modal-form-panel .hdlrc-step {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(253, 109, 4, 0.09);
  color: var(--hdl-orange-dark);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.hdlrc-modal-form-panel > h3 {
  max-width: 420px;
  margin: 0 42px 8px 0;
  color: var(--hdl-purple-dark);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hdlrc-modal-form-panel > p:not(.hdlrc-modal-footnote) {
  max-width: 500px;
  margin: 0 0 22px;
  color: var(--hdl-muted);
  font-size: 12px;
  line-height: 1.6;
}

.hdlrc-modal-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0 0 2px;
  place-items: center;
  border: 1px solid rgba(105, 0, 174, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--hdl-purple);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(67, 21, 85, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hdlrc-modal-close:hover {
  border-color: rgba(105, 0, 174, 0.28);
  background: #fff;
  transform: rotate(4deg) scale(1.04);
}

.hdlrc-hs-form-shell {
  position: relative;
  min-height: 310px;
  padding: 20px;
  border: 1px solid rgba(105, 0, 174, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 48px rgba(64, 20, 82, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.hdlrc-hs-form-shell::before {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, rgba(253, 109, 4, 0.7), rgba(255, 182, 5, 0.75), transparent);
  content: '';
  pointer-events: none;
}

.hdlrc-hs-loading {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--hdl-muted);
  font-size: 11px;
  font-weight: 750;
}

.hdlrc-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(105, 0, 174, 0.16);
  border-top-color: var(--hdl-purple);
  border-radius: 50%;
  animation: hdlrc-spin 700ms linear infinite;
}

@keyframes hdlrc-spin {
  to { transform: rotate(360deg); }
}

.hdlrc-hs-form-shell .hs-form-frame,
.hdlrc-hs-form-shell .hs-form-frame iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

.hdlrc-hs-error {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 56, 56, 0.18);
  border-radius: 10px;
  background: rgba(201, 56, 56, 0.07);
  color: var(--hdl-red);
  font-size: 11px;
  font-weight: 750;
}

.hdlrc-hs-success {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  padding: 28px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 182, 5, 0.15), transparent 30%),
    rgba(255, 255, 255, 0.98);
  text-align: center;
  animation: hdlrc-success-in 220ms ease-out;
}

.hdlrc-hs-success > span {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 165, 77, 0.11);
  color: var(--hdl-green);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 0 9px rgba(8, 165, 77, 0.045);
}

.hdlrc-hs-success strong {
  color: var(--hdl-purple-dark);
  font-size: 18px;
}

.hdlrc-hs-success small {
  margin-top: 4px;
  color: var(--hdl-muted);
  font-size: 11px;
}

@keyframes hdlrc-success-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.hdlrc-modal.is-submitted .hs-form-frame {
  opacity: 0;
  pointer-events: none;
}

.hdlrc-modal-footnote {
  display: flex;
  margin: 14px 2px 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #827788;
  font-size: 9px;
  font-weight: 700;
}

.hdlrc-modal-footnote svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--hdl-green);
}

html.hdlrc-modal-open {
  overflow: hidden;
}

/* Primeira dobra compacta: mantém todo o conteúdo essencial visível no desktop. */
@media (min-width: 981px) {
  .hdlrc-app.hdlrc-app[data-hdlrc-version] {
    min-height: auto !important;
    padding: clamp(24px, 2.15vw, 36px) clamp(32px, 4vw, 68px) !important;
  }

  .hdlrc-app[data-hdlrc-version] .hdlrc-layout {
    grid-template-columns: minmax(350px, 0.88fr) minmax(500px, 1.12fr) !important;
    gap: clamp(34px, 4vw, 66px) !important;
    align-items: center;
  }

  .hdlrc-intro {
    padding: 0 !important;
  }

  .hdlrc-intro h2 {
    max-width: 570px;
    margin-bottom: 12px;
    font-size: clamp(38px, 3.35vw, 50px);
    line-height: 1.02;
  }

  .hdlrc-lead {
    max-width: 560px;
    margin-bottom: 20px;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.45;
  }

  .hdlrc-benefits {
    gap: 11px;
    margin-bottom: 18px;
  }

  .hdlrc-benefit {
    gap: 10px;
  }

  .hdlrc-benefit strong {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.3;
  }

  .hdlrc-benefit small {
    font-size: 11px;
    line-height: 1.35;
  }

  .hdlrc-icon--check {
    width: 23px;
    height: 23px;
    border-radius: 8px;
  }

  .hdlrc-trust {
    gap: 10px;
    max-width: 500px;
    padding: 11px 13px;
    border-radius: 12px;
  }

  .hdlrc-trust p {
    font-size: 11px;
    line-height: 1.4;
  }

  .hdlrc-icon--shield {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .hdlrc-icon--shield svg {
    width: 19px;
    height: 19px;
  }

  .hdlrc-app[data-hdlrc-version] .hdlrc-form-card {
    max-width: 760px !important;
    padding: 22px 28px 20px !important;
    border-radius: 20px;
  }

  .hdlrc-card-header {
    margin-bottom: 14px;
  }

  .hdlrc-card-eyebrow {
    margin-bottom: 2px;
    font-size: 8px;
  }

  .hdlrc-card-header h3 {
    font-size: clamp(23px, 2vw, 28px);
  }

  .hdlrc-calc-badge {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .hdlrc-calc-badge svg {
    width: 22px;
    height: 22px;
  }

  .hdlrc-calculator-form {
    gap: 9px;
  }

  .hdlrc-fields-row {
    gap: 11px;
  }

  .hdlrc-field > label,
  .hdlrc-label-line {
    margin-bottom: 4px;
  }

  .hdlrc-field label,
  .hdlrc-label-line {
    font-size: 11px;
    line-height: 1.25;
  }

  .hdlrc-field input,
  .hdlrc-field select,
  .hdlrc-money-control {
    min-height: 41px;
    border-radius: 10px;
    font-size: 13px;
  }

  .hdlrc-field input,
  .hdlrc-field select {
    padding-right: 34px;
    padding-left: 12px;
  }

  .hdlrc-help {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .hdlrc-check--subtle {
    margin-top: -2px;
    font-size: 10px;
  }

  .hdlrc-check > span {
    flex-basis: 17px;
    width: 17px;
    height: 17px;
  }

  .hdlrc-primary-button {
    min-height: 45px;
    margin-top: 1px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
  }

  .hdlrc-form-security {
    margin-top: -2px;
    font-size: 8px;
  }
}

@media (max-width: 980px) {
  .hdlrc-app {
    border-radius: 22px;
  }

  .hdlrc-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hdlrc-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: 0 36px;
    align-items: start;
  }

  .hdlrc-kicker,
  .hdlrc-intro h2,
  .hdlrc-lead {
    grid-column: 1;
  }

  .hdlrc-benefits,
  .hdlrc-trust {
    grid-column: 2;
  }

  .hdlrc-benefits {
    grid-row: 1 / span 3;
    align-self: center;
    margin-bottom: 18px;
  }

  .hdlrc-trust {
    grid-row: 4;
  }

  .hdlrc-form-card {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .hdlrc-intro {
    display: block;
  }

  .hdlrc-intro h2 {
    font-size: clamp(34px, 8vw, 47px);
  }

  .hdlrc-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hdlrc-summary-main {
    grid-column: 1 / -1;
  }

  .hdlrc-detail-chips {
    grid-template-columns: 1fr 1fr;
  }

  .hdlrc-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .hdlrc-result-cta {
    grid-template-columns: 1fr;
  }

  .hdlrc-result-cta a {
    width: 100%;
    min-width: 0;
  }

  .hdlrc-modal {
    padding: 12px;
  }

  .hdlrc-modal-dialog {
    grid-template-columns: 1fr;
    max-width: 620px;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .hdlrc-modal-brand {
    min-height: 0;
    padding: 27px 28px 24px;
  }

  .hdlrc-modal-brand-copy {
    margin: 28px 0 0;
  }

  .hdlrc-modal-brand-copy h3 {
    max-width: 430px;
    margin-bottom: 9px;
    font-size: 29px;
  }

  .hdlrc-modal-brand-copy p {
    max-width: 470px;
  }

  .hdlrc-modal-benefits,
  .hdlrc-modal-seal {
    display: none;
  }

  .hdlrc-modal-form-panel {
    padding: 29px 28px 24px;
  }

  .hdlrc-modal-close {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 540px) {
  .hdlrc-app {
    margin: 12px auto;
    padding: 20px 14px;
    border-radius: 18px;
  }

  .hdlrc-intro {
    padding-top: 5px;
  }

  .hdlrc-intro h2 {
    font-size: 35px;
  }

  .hdlrc-lead {
    font-size: 16px;
  }

  .hdlrc-form-card,
  .hdlrc-results-inner {
    padding: 22px 17px;
    border-radius: 17px;
  }

  .hdlrc-fields-row {
    grid-template-columns: 1fr;
  }

  .hdlrc-card-header {
    margin-bottom: 20px;
  }

  .hdlrc-calc-badge {
    width: 43px;
    height: 43px;
  }

  .hdlrc-summary-grid,
  .hdlrc-detail-chips {
    grid-template-columns: 1fr;
  }

  .hdlrc-summary-main {
    grid-column: auto;
  }

  .hdlrc-results-heading {
    display: block;
  }

  .hdlrc-print {
    margin-top: 14px;
  }

  .hdlrc-result-line {
    display: block;
  }

  .hdlrc-result-line b {
    display: block;
    margin-top: 6px;
  }

  .hdlrc-modal-dialog {
    border-radius: 18px;
  }

  .hdlrc-modal-brand {
    padding: 23px 20px 20px;
  }

  .hdlrc-modal-brand-badge {
    max-width: calc(100% - 45px);
    font-size: 8px;
  }

  .hdlrc-modal-brand-copy {
    margin-top: 22px;
  }

  .hdlrc-modal-brand-copy h3 {
    font-size: 26px;
  }

  .hdlrc-modal-brand-copy p {
    font-size: 11px;
  }

  .hdlrc-modal-form-panel {
    padding: 25px 17px 20px;
  }

  .hdlrc-modal-form-panel > h3 {
    font-size: 25px;
  }

  .hdlrc-hs-form-shell {
    min-height: 280px;
    padding: 13px;
    border-radius: 15px;
  }

  .hdlrc-hs-loading {
    min-height: 250px;
  }

  .hdlrc-modal-footnote {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hdlrc-app *,
  .hdlrc-app *::before,
  .hdlrc-app *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .hdlrc-results,
  .hdlrc-results * {
    visibility: visible !important;
  }

  .hdlrc-results {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
  }

  .hdlrc-results-inner {
    border: 0;
    box-shadow: none;
  }

  .hdlrc-print,
  .hdlrc-result-cta,
  .hdlrc-restart {
    display: none !important;
  }
}
