.spt-embed-page {
  background: #F8FAFC;
}

.spt-embed-hero {
  padding: 1.55rem 0 1.15rem;
  background:
    linear-gradient(135deg, rgba(47, 128, 237, 0.1), rgba(18, 184, 166, 0.1)),
    #FFFFFF;
}

.spt-embed-hero h1 {
  margin: 0.75rem auto 0.5rem;
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.spt-embed-hero p {
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.55;
}

.spt-embed-hero .spt-actions {
  margin-top: 1rem;
}

.spt-embed-section {
  padding: 1.9rem 0;
  background: #FFFFFF;
}

.spt-embed-section + .spt-embed-section {
  padding-top: 1.45rem;
}

.spt-embed-section-soft {
  background: #F8FAFC;
}

.spt-embed-grid {
  display: grid;
  gap: 1rem;
}

.spt-embed-section-heading {
  max-width: 780px;
  margin: 0 0 1.1rem;
}

.spt-embed-section-heading h2 {
  margin: 0 0 0.45rem;
  color: #0F172A;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.spt-embed-section-heading p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.spt-embed-card-grid {
  display: grid;
  gap: 1rem;
}

.spt-embed-card {
  display: grid;
  gap: 0.8rem;
  align-content: space-between;
  min-width: 0;
  min-height: 100%;
  padding: 1.2rem;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.spt-embed-card h3 {
  margin: 0;
  color: #0F172A;
  font-size: 1.08rem;
  line-height: 1.25;
}

.spt-embed-card p {
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.55;
}

.spt-embed-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.spt-embed-card-actions .spt-button {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.spt-embed-card-actions button.spt-button {
  cursor: pointer;
}

.spt-copy-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: #1764C8;
  font-size: 0.92rem;
  font-weight: 750;
}

.spt-embed-panel,
.spt-embed-code-card,
.spt-embed-instructions {
  min-width: 0;
  padding: 1.45rem;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.spt-embed-panel h2,
.spt-embed-code-card h2,
.spt-embed-instructions h2 {
  margin: 0 0 0.65rem;
  color: #0F172A;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.18;
}

.spt-embed-panel p,
.spt-embed-instructions p,
.spt-embed-instructions li {
  color: #475569;
  line-height: 1.65;
}

.spt-embed-panel p {
  margin: 0 0 1rem;
}

.spt-embed-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 0.72rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  color: #1764C8;
  background: #EAF3FF;
  font-size: 0.82rem;
  font-weight: 850;
}

.spt-embed-code {
  overflow-x: auto;
  padding: 1rem;
  margin: 1rem 0 0;
  border: 1px solid #D9E2EF;
  border-radius: 12px;
  color: #142235;
  background: #F8FAFC;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre;
}

.spt-embed-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.spt-instruction-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.spt-instruction-list li {
  padding: 0.95rem;
  border: 1px solid #EAF3FF;
  border-radius: 12px;
  background: #F8FBFF;
}

.spt-instruction-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #142235;
}

.spt-embed-example-card {
  margin-top: 1rem;
}

.hc-embed-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
  margin-top: 1.15rem;
  border-radius: 18px;
}

.hc-embed-cta h2 {
  margin: 0 0 0.4rem;
  color: #0F172A;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.hc-embed-cta p {
  max-width: 780px;
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.hc-embed-cta .hc-button {
  width: fit-content;
  min-height: 46px;
  text-decoration: none;
}

.spt-calculator-embed-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
  margin-top: 1.15rem;
  border: 1px solid #DCEBFF;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.spt-calculator-embed-cta h2 {
  margin: 0 0 0.4rem;
  color: #0F172A;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.spt-calculator-embed-cta p {
  max-width: 780px;
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.spt-calculator-embed-cta a {
  justify-self: start;
  width: fit-content;
  min-height: 46px;
  text-decoration: none;
}

.bt-embed-cta-section {
  padding: 0 0 1.5rem;
  background: #F8FAFC;
}

.bt-embed-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem;
  border: 1px solid #DCEBFF;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.bt-embed-cta h2 {
  margin: 0 0 0.45rem;
  color: #0F172A;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.18;
}

.bt-embed-cta p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.bt-embed-cta .spt-button {
  justify-self: start;
}

.spt-embed-calculator-page {
  margin: 0;
  color: #142235;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #F8FAFC;
}

.spt-embed-calculator-page * {
  box-sizing: border-box;
}

.spt-embed-calculator-page button,
.spt-embed-calculator-page input,
.spt-embed-calculator-page select,
.spt-embed-calculator-page textarea {
  font: inherit;
}

.spt-embed-calculator-page .hc-main {
  overflow: visible;
  background: #F8FAFC;
}

.spt-embed-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 14px;
}

.spt-embed-widget {
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.spt-embed-header {
  display: grid;
  gap: 0.4rem;
  padding: 15px 18px 0;
}

.spt-embed-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  color: #1764C8;
  font-size: 0.82rem;
  font-weight: 850;
}

.spt-embed-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  object-position: left center;
}

.spt-embed-header h1 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(1.35rem, 4.4vw, 2rem);
  line-height: 1.15;
}

.spt-embed-header p {
  margin: 0;
  color: #64748B;
  font-size: 0.94rem;
  line-height: 1.5;
}

.spt-embed-calculator-page .hc-calculator-grid {
  display: grid;
  grid-template-areas: "form results";
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
  gap: 14px;
  padding: 16px 18px 18px;
  margin-top: 0;
}

.spt-embed-calculator-page .cc-calculator-grid,
.spt-embed-calculator-page .ad-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.72fr);
  gap: 14px;
  padding: 16px 18px 18px;
  margin-top: 0;
}

.spt-embed-calculator-page .hc-card {
  border-radius: 14px;
  box-shadow: none;
}

.spt-embed-calculator-page .cc-card,
.spt-embed-calculator-page .ad-card {
  border-radius: 14px;
  box-shadow: none;
}

.spt-embed-calculator-page .hc-form-card,
.spt-embed-calculator-page .hc-results-card {
  padding: 15px;
}

.spt-embed-calculator-page .cc-form-card,
.spt-embed-calculator-page .cc-results-card,
.spt-embed-calculator-page .ad-form-card,
.spt-embed-calculator-page .ad-estimate-panel {
  padding: 15px;
}

.spt-embed-calculator-page .hc-results-card {
  position: static;
  top: auto;
}

.spt-embed-calculator-page .cc-results-card,
.spt-embed-calculator-page .ad-estimate-panel {
  position: static;
  top: auto;
}

.spt-embed-calculator-page .hc-form-heading {
  margin-bottom: 12px;
}

.spt-embed-calculator-page .cc-card-heading,
.spt-embed-calculator-page .ad-card-heading,
.spt-embed-calculator-page .spt-form-heading {
  margin-bottom: 12px;
}

.spt-embed-calculator-page .hc-form-heading h2 {
  font-size: 0.82rem;
}

.spt-embed-calculator-page .cc-card-heading h2,
.spt-embed-calculator-page .ad-card-heading h2,
.spt-embed-calculator-page .spt-form-heading h2 {
  font-size: 0.9rem;
}

.spt-embed-calculator-page .hc-form-grid {
  gap: 10px;
}

.spt-embed-calculator-page .cc-form-grid,
.spt-embed-calculator-page .ad-form-grid {
  gap: 10px;
}

.spt-embed-calculator-page .hc-input-group label,
.spt-embed-calculator-page .hc-addons-accordion summary strong,
.spt-embed-calculator-page .cc-input-group label,
.spt-embed-calculator-page .ad-input-group label,
.spt-embed-calculator-page .spt-addons-accordion summary strong {
  font-size: 0.86rem;
}

.spt-embed-calculator-page .hc-field-heading output {
  font-size: 0.9rem;
}

.spt-embed-calculator-page .hc-input-group select,
.spt-embed-calculator-page .cc-input-group select,
.spt-embed-calculator-page .ad-input-group select {
  min-height: 39px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.spt-embed-calculator-page .hc-addons-accordion summary,
.spt-embed-calculator-page .spt-addons-accordion summary {
  min-height: 52px;
  padding: 9px 10px;
}

.spt-embed-calculator-page .hc-check-list,
.spt-embed-calculator-page .cc-check-list,
.spt-embed-calculator-page .ad-check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spt-embed-calculator-page .hc-check-option,
.spt-embed-calculator-page .cc-check-option,
.spt-embed-calculator-page .ad-check-option {
  min-height: 39px;
  padding: 7px 8px;
  font-size: 0.8rem;
}

.spt-embed-calculator-page .hc-trust-note,
.spt-embed-calculator-page .hc-result-note,
.spt-embed-calculator-page .hc-disclaimer p,
.spt-embed-calculator-page .cc-trust-note,
.spt-embed-calculator-page .cc-result-note,
.spt-embed-calculator-page .cc-disclaimer p,
.spt-embed-calculator-page .ad-trust-note,
.spt-embed-calculator-page .ad-result-note,
.spt-embed-calculator-page .ad-disclaimer p,
.spt-embed-calculator-page .spt-result-note,
.spt-embed-calculator-page .spt-disclaimer p {
  font-size: 0.8rem;
}

.spt-embed-calculator-page .hc-results-heading,
.spt-embed-calculator-page .spt-results-heading {
  margin-bottom: 11px;
}

.spt-embed-calculator-page .hc-featured-result,
.spt-embed-calculator-page .cc-featured-result,
.spt-embed-calculator-page .ad-featured-result,
.spt-embed-calculator-page .spt-featured-result {
  min-height: 66px;
  padding-bottom: 10px;
}

.spt-embed-calculator-page .hc-featured-result strong,
.spt-embed-calculator-page .cc-featured-result strong,
.spt-embed-calculator-page .ad-featured-result strong,
.spt-embed-calculator-page .spt-featured-result strong {
  font-size: clamp(2rem, 4vw, 2.45rem);
}

.spt-embed-calculator-page .hc-secondary-results,
.spt-embed-calculator-page .cc-secondary-results,
.spt-embed-calculator-page .ad-secondary-results,
.spt-embed-calculator-page .spt-secondary-results {
  gap: 8px;
  margin-top: 18px;
}

.spt-embed-calculator-page .hc-secondary-results > div,
.spt-embed-calculator-page .cc-secondary-results > div,
.spt-embed-calculator-page .ad-secondary-results > div,
.spt-embed-calculator-page .spt-secondary-results > div {
  min-height: 67px;
  padding: 12px 8px;
}

.spt-embed-calculator-page .hc-result-footnotes,
.spt-embed-calculator-page .spt-result-footnotes {
  padding-top: 12px;
  margin-top: 14px;
  font-size: 0.78rem;
}

.spt-embed-calculator-page .hc-disclaimer,
.spt-embed-calculator-page .cc-disclaimer,
.spt-embed-calculator-page .ad-disclaimer,
.spt-embed-calculator-page .spt-disclaimer {
  padding: 10px;
  margin-top: 12px;
}

.spt-embed-calculator-page .cc-form-actions,
.spt-embed-calculator-page .ad-form-actions {
  margin-top: 12px;
}

.spt-embed-calculator-page .form-error:empty {
  display: none;
}

.spt-embed-powered {
  padding: 12px 18px 14px;
  border-top: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 0.82rem;
  text-align: center;
}

.spt-embed-powered a {
  color: #1764C8;
  font-weight: 850;
  text-decoration: none;
}

.spt-embed-powered a:hover {
  color: #0F4EAD;
  text-decoration: underline;
}

@media (min-width: 760px) {
  .spt-embed-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .spt-embed-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spt-instruction-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-embed-cta,
  .spt-calculator-embed-cta,
  .bt-embed-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1080px) {
  .spt-embed-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .spt-embed-calculator-page .hc-calculator-grid,
  .spt-embed-calculator-page .cc-calculator-grid,
  .spt-embed-calculator-page .ad-calculator-grid {
    grid-template-areas:
      "form"
      "results";
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .spt-embed-hero {
    padding: 1.25rem 0 1rem;
  }

  .spt-embed-hero h1 {
    margin-top: 0.65rem;
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .spt-embed-hero p {
    font-size: 0.98rem;
  }

  .spt-embed-hero .spt-actions {
    margin-top: 0.9rem;
  }

  .spt-embed-section {
    padding: 1.45rem 0;
  }

  .spt-embed-section + .spt-embed-section {
    padding-top: 1.15rem;
  }

  .spt-embed-panel,
  .spt-embed-code-card,
  .spt-embed-card,
  .spt-embed-instructions,
  .hc-embed-cta,
  .spt-calculator-embed-cta,
  .bt-embed-cta {
    padding: 1rem;
  }

  .spt-embed-card-actions {
    grid-template-columns: 1fr;
  }

  .hc-embed-cta .hc-button,
  .spt-calculator-embed-cta a,
  .bt-embed-cta .spt-button {
    width: 100%;
  }

  .spt-embed-shell {
    padding: 10px;
  }

  .spt-embed-header {
    padding: 13px 14px 0;
  }

  .spt-embed-calculator-page .hc-calculator-grid {
    padding: 14px;
  }

  .spt-embed-calculator-page .cc-calculator-grid,
  .spt-embed-calculator-page .ad-calculator-grid {
    padding: 14px;
  }

  .spt-embed-calculator-page .hc-form-card,
  .spt-embed-calculator-page .hc-results-card {
    padding: 13px;
  }

  .spt-embed-calculator-page .cc-form-card,
  .spt-embed-calculator-page .cc-results-card,
  .spt-embed-calculator-page .ad-form-card,
  .spt-embed-calculator-page .ad-estimate-panel {
    padding: 13px;
  }

  .spt-embed-calculator-page .hc-check-list,
  .spt-embed-calculator-page .cc-check-list,
  .spt-embed-calculator-page .ad-check-list,
  .spt-embed-calculator-page .hc-secondary-results,
  .spt-embed-calculator-page .cc-secondary-results,
  .spt-embed-calculator-page .ad-secondary-results,
  .spt-embed-calculator-page .spt-secondary-results {
    grid-template-columns: 1fr;
  }
}
