[data-bo-tool="web-hosting-cost-calculator"] {
  --bo-hosting-blue: #0878f9;
  --bo-hosting-blue-dark: #075ab8;
  --bo-hosting-navy: #10213a;
  --bo-hosting-text: #34445a;
  --bo-hosting-muted: #66758a;
  --bo-hosting-line: #dce6f2;
  --bo-hosting-soft: #f5f9ff;
}

[data-bo-tool="web-hosting-cost-calculator"] .bo-hosting-container {
  width: min(100%, 1120px);
}

.bo-hosting-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -8px 0 26px;
}

.bo-hosting-proof span {
  position: relative;
  padding: 8px 13px 8px 29px;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #42536a;
  font-size: 0.78rem;
  font-weight: 700;
}

.bo-hosting-proof span::before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20ad72;
  content: "";
  transform: translateY(-50%);
}

.bo-hosting-calculator,
.bo-hosting-partners,
.bo-hosting-methodology {
  margin-top: 28px;
}

.bo-hosting-calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(8, 120, 249, 0.13);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 33, 58, 0.1);
}

.bo-hosting-calculator.is-empty {
  grid-template-columns: 1fr;
}

.bo-hosting-calculator.is-empty .bo-hosting-form {
  width: min(100%, 760px);
  margin: 0 auto;
}

.bo-hosting-form,
.bo-hosting-result {
  padding: clamp(24px, 4vw, 38px);
}

.bo-hosting-form {
  background: #fff;
}

.bo-hosting-result {
  border-left: 1px solid var(--bo-hosting-line);
  background: linear-gradient(145deg, #f6faff, #f2fbf8);
}

.bo-hosting-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--bo-hosting-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bo-hosting-form-heading h2,
.bo-hosting-section-heading h2,
.bo-hosting-result-hero h2 {
  margin: 0;
  color: var(--bo-hosting-navy);
  line-height: 1.2;
}

.bo-hosting-form-heading p,
.bo-hosting-section-heading p,
.bo-hosting-result-hero p {
  margin: 10px 0 0;
  color: var(--bo-hosting-muted);
  line-height: 1.65;
}

.bo-hosting-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
  margin-top: 25px;
}

.bo-hosting-field {
  min-width: 0;
}

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

.bo-hosting-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--bo-hosting-navy);
  font-size: 0.84rem;
  font-weight: 750;
}

.bo-hosting-field input,
.bo-hosting-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--bo-hosting-line);
  border-radius: 10px;
  background: #f9fbfd;
  color: var(--bo-hosting-navy);
  font: inherit;
}

.bo-hosting-field input:focus,
.bo-hosting-field select:focus {
  border-color: var(--bo-hosting-blue);
  outline: 3px solid rgba(8, 120, 249, 0.15);
}

.bo-hosting-field small {
  display: block;
  margin-top: 5px;
  color: #748399;
  font-size: 0.7rem;
  line-height: 1.45;
}

.bo-hosting-actions,
.bo-hosting-result-actions,
.bo-hosting-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bo-hosting-actions {
  margin-top: 24px;
}

.bo-hosting-primary,
.bo-hosting-secondary,
.bo-hosting-link-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.bo-hosting-primary {
  border: 1px solid var(--bo-hosting-blue);
  background: var(--bo-hosting-blue);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(8, 120, 249, 0.2);
}

.bo-hosting-primary:hover,
.bo-hosting-primary:focus-visible {
  border-color: var(--bo-hosting-blue-dark);
  background: var(--bo-hosting-blue-dark);
  color: #fff !important;
}

.bo-hosting-secondary {
  border: 1px solid #c9d6e6;
  background: #fff;
  color: var(--bo-hosting-navy) !important;
}

.bo-hosting-link-button {
  border: 0;
  background: transparent;
  color: var(--bo-hosting-blue-dark);
  text-decoration: underline;
}

.bo-hosting-form-note,
.bo-hosting-estimate-note,
.bo-hosting-method-note {
  color: var(--bo-hosting-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.bo-hosting-form-note {
  margin: 13px 0 0;
}

.bo-hosting-result-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.bo-hosting-fit-label {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: #dff8ec;
  color: #167149;
  font-size: 0.72rem;
  font-weight: 800;
}

.bo-hosting-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.bo-hosting-metric {
  padding: 17px;
  border: 1px solid #d9e5f3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.bo-hosting-metric-featured {
  grid-column: 1 / -1;
  border-color: #a9cef9;
  background: #fff;
}

.bo-hosting-metric span,
.bo-hosting-metric small {
  display: block;
  color: var(--bo-hosting-muted);
}

.bo-hosting-metric span {
  font-size: 0.74rem;
  font-weight: 750;
}

.bo-hosting-metric strong {
  display: block;
  margin: 6px 0;
  color: var(--bo-hosting-navy);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

#bo-hosting-resource-target {
  font-size: 1.02rem;
  line-height: 1.38;
}

.bo-hosting-metric small {
  font-size: 0.68rem;
  line-height: 1.45;
}

.bo-hosting-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.bo-hosting-reason-grid h3 {
  margin: 0 0 10px;
  color: var(--bo-hosting-navy);
  font-size: 0.95rem;
}

.bo-hosting-reason-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bo-hosting-reason-grid li {
  position: relative;
  margin: 8px 0;
  padding-left: 20px;
  color: var(--bo-hosting-text);
  font-size: 0.78rem;
  line-height: 1.5;
}

.bo-hosting-reason-grid li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #1aa66c;
  content: "\2713";
  font-weight: 900;
}

.bo-hosting-result-actions {
  margin-top: 22px;
}

.bo-hosting-estimate-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #f2d58d;
  border-radius: 10px;
  background: #fff9e9;
  color: #69541d;
}

.bo-hosting-section-heading {
  max-width: 720px;
  margin: 0 auto 22px;
  text-align: center;
}

.bo-hosting-partners,
.bo-hosting-methodology {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(8, 120, 249, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
}

.bo-hosting-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bo-hosting-partner-card {
  padding: 22px;
  border: 1px solid var(--bo-hosting-line);
  border-radius: 16px;
  background: #fff;
}

.bo-hosting-partner-label {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--bo-hosting-blue-dark);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bo-hosting-partner-card h3 {
  margin: 13px 0 8px;
  color: var(--bo-hosting-navy);
}

.bo-hosting-next-tool {
  border-color: rgba(8, 120, 249, 0.16);
  background:
    radial-gradient(circle at top right, rgba(8, 120, 249, 0.12), transparent 34%),
    linear-gradient(145deg, #ffffff, #f2f8ff);
}

.bo-hosting-accuracy-note {
  background:
    radial-gradient(circle at top left, rgba(32, 168, 107, 0.1), transparent 35%),
    linear-gradient(145deg, #ffffff, #f7fbff);
}

.bo-hosting-next-tool .bo-hosting-section-heading {
  margin-bottom: 18px;
}

.bo-hosting-next-tool .bo-hosting-section-heading p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.bo-hosting-next-tool .bo-hosting-card-actions {
  justify-content: center;
}

.bo-hosting-partner-card p {
  margin: 0 0 18px;
  color: var(--bo-hosting-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.bo-hosting-card-actions .bo-hosting-primary,
.bo-hosting-card-actions .bo-hosting-secondary {
  flex: 1 1 145px;
  padding-inline: 14px;
  font-size: 0.78rem;
}

.bo-hosting-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bo-hosting-method-grid article {
  padding: 18px;
  border: 1px solid var(--bo-hosting-line);
  border-radius: 14px;
  background: #fff;
}

.bo-hosting-method-grid article > strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--bo-hosting-blue-dark);
}

.bo-hosting-method-grid h3 {
  margin: 12px 0 7px;
  color: var(--bo-hosting-navy);
  font-size: 0.9rem;
}

.bo-hosting-method-grid p {
  margin: 0;
  color: var(--bo-hosting-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.bo-hosting-method-note {
  margin: 18px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .bo-hosting-calculator {
    grid-template-columns: 1fr;
  }

  .bo-hosting-result {
    border-top: 1px solid var(--bo-hosting-line);
    border-left: 0;
  }

  .bo-hosting-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bo-hosting-form-grid,
  .bo-hosting-result-grid,
  .bo-hosting-reason-grid,
  .bo-hosting-partner-grid,
  .bo-hosting-method-grid {
    grid-template-columns: 1fr;
  }

  .bo-hosting-field-wide,
  .bo-hosting-metric-featured {
    grid-column: auto;
  }

  .bo-hosting-result-hero {
    display: block;
  }

  .bo-hosting-fit-label {
    display: inline-block;
    margin-top: 12px;
  }

  .bo-hosting-actions > *,
  .bo-hosting-result-actions > * {
    width: 100%;
  }
}

@media print {
  .bo-hosting-form,
  .bo-hosting-partners,
  .bo-hosting-methodology,
  .bo-tool-privacy,
  .bo-tool-faq,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .bo-hosting-calculator {
    display: block;
    box-shadow: none;
  }
}
