.qhi-public-page {
  color: #0b1b33;
}

.qhi-public-hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: #dfeaf7 url('/assets/images/home/home-hosting-web-card.png') center / cover no-repeat;
  border-bottom: 1px solid #c9d7e7;
}

.qhi-public-hero::before {
  position: absolute;
  inset: 0;
  background: rgba(246, 250, 255, .78);
  content: '';
}

.qhi-public-hero-inner {
  position: relative;
  display: grid;
  min-height: 510px;
  align-content: center;
  padding-top: 42px;
  padding-bottom: 42px;
}

.qhi-public-kicker {
  margin: 0 0 10px;
  color: #0869e8;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.qhi-public-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #07182f;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.qhi-public-lead {
  max-width: 690px;
  margin: 18px 0 0;
  color: #314965;
  font-size: 20px;
  line-height: 1.55;
}

.qhi-domain-quick {
  display: flex;
  width: min(680px, 100%);
  gap: 10px;
  margin-top: 28px;
}

.qhi-domain-search {
  width: min(760px, 100%);
}

.qhi-domain-search .qhi-domain-result {
  max-width: 760px;
}

.qhi-domain-hosting-cta {
  margin-top: 13px;
}

.qhi-domain-hosting-cta[hidden] {
  display: none;
}

.qhi-domain-quick input {
  min-width: 0;
  min-height: 50px;
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #aebfd5;
  border-radius: 6px;
  background: #fff;
  color: #0b1b33;
  font: inherit;
}

.qhi-domain-quick button,
.qhi-domain-quick a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid #176df2;
  border-radius: 6px;
  background: #176df2;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.qhi-public-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.qhi-public-fact {
  padding: 7px 10px;
  border: 1px solid #b9c9dc;
  border-radius: 5px;
  background: rgba(255, 255, 255, .82);
  color: #29415e;
  font-size: 13px;
  font-weight: 750;
}

.qhi-public-band {
  padding: 52px 0;
  border-bottom: 1px solid #d6e1ee;
}

.qhi-public-band-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.qhi-public-band h2,
.qhi-domain-page h1,
.qhi-prices-page h1 {
  margin: 0;
  color: #07182f;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: 0;
}

.qhi-public-band-head p,
.qhi-domain-intro,
.qhi-prices-intro {
  margin: 7px 0 0;
  color: #52647e;
  line-height: 1.6;
}

.qhi-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.qhi-service-card {
  display: flex;
  min-width: 0;
  min-height: 375px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c9d6e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(27, 59, 101, .09);
}

.qhi-service-card-media {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #d7e1ed;
}

.qhi-service-card-body {
  display: grid;
  gap: 10px;
  padding: 19px;
}

.qhi-service-state {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #9bdcc1;
  border-radius: 999px;
  background: #ecfbf4;
  color: #087446;
  font-size: 12px;
  font-weight: 800;
}

.qhi-service-state.is-pending {
  border-color: #e7c988;
  background: #fff7e5;
  color: #7c5300;
}

.qhi-service-card h3 {
  margin: 0;
  color: #0b1b33;
  font-size: 21px;
  letter-spacing: 0;
}

.qhi-service-card p {
  margin: 0;
  color: #52647e;
  line-height: 1.55;
}

.qhi-service-card .qhi-service-price {
  color: #125fd5;
  font-weight: 850;
}

.qhi-service-card-action {
  margin-top: auto;
  padding: 0 19px 19px;
}

.qhi-service-card-action a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid #176df2;
  border-radius: 6px;
  background: #176df2;
  color: #fff;
  font-weight: 800;
}

.qhi-public-operate {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 34px;
  align-items: center;
}

.qhi-public-operate img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border: 1px solid #c9d7e7;
  border-radius: 8px;
}

.qhi-domain-page,
.qhi-prices-page,
.qhi-not-found-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.qhi-domain-search-panel {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #c8d6e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(27, 59, 101, .08);
}

.qhi-domain-search-panel form {
  display: flex;
  gap: 10px;
}

.qhi-domain-search-panel input {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  padding: 11px 13px;
  border: 1px solid #b6c6da;
  border-radius: 6px;
  color: #0b1b33;
  font: inherit;
}

.qhi-domain-search-panel button {
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid #176df2;
  border-radius: 6px;
  background: #176df2;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.qhi-domain-result {
  min-height: 24px;
  margin: 15px 0 0;
  color: #314965;
  line-height: 1.55;
}

.qhi-domain-result.is-error {
  color: #a33124;
}

.qhi-domain-result.is-available {
  color: #08715f;
  font-weight: 700;
}

.qhi-domain-result.is-unavailable {
  color: #8d371f;
  font-weight: 700;
}

.qhi-domain-result.is-loading {
  color: #314965;
}

.qhi-domain-table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  border: 1px solid #c8d6e7;
  border-radius: 8px;
  background: #fff;
}

.qhi-domain-table {
  width: 100%;
  border-collapse: collapse;
}

.qhi-domain-table th,
.qhi-domain-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #dbe4ef;
  text-align: left;
}

.qhi-domain-table th {
  background: #edf4fc;
  color: #213956;
  font-size: 13px;
}

.qhi-domain-table tr:last-child td {
  border-bottom: 0;
}

.qhi-domain-gate {
  margin-top: 22px;
  padding: 17px 19px;
  border-left: 4px solid #d39a17;
  background: #fff8e8;
  color: #5f4a19;
  line-height: 1.55;
}

.qhi-price-groups {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}

.qhi-price-group {
  padding: 24px;
  border: 1px solid #c8d6e7;
  border-radius: 8px;
  background: #fff;
}

.qhi-price-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.qhi-price-group h2 {
  margin: 0;
  color: #0b1b33;
  font-size: 25px;
  letter-spacing: 0;
}

.qhi-price-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.4fr) repeat(2, minmax(110px, .6fr));
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #dbe4ef;
  color: #334b68;
}

.qhi-price-row strong {
  color: #10233e;
}

.qhi-not-found-page {
  min-height: 560px;
}

.qhi-not-found-page p {
  max-width: 620px;
  color: #52647e;
  font-size: 18px;
  line-height: 1.6;
}

.qhi-not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .qhi-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .qhi-public-hero,
  .qhi-public-hero-inner {
    min-height: 470px;
  }

  .qhi-public-hero h1 {
    font-size: 42px;
  }

  .qhi-public-lead {
    font-size: 17px;
  }

  .qhi-domain-quick,
  .qhi-domain-search-panel form,
  .qhi-public-band-head,
  .qhi-price-group-head {
    align-items: stretch;
    flex-direction: column;
  }

  .qhi-public-operate,
  .qhi-service-grid {
    grid-template-columns: 1fr;
  }

  .qhi-price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .qhi-domain-table {
    table-layout: fixed;
  }

  .qhi-domain-table th,
  .qhi-domain-table td {
    padding: 12px 7px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
}
