/* HostScout homepage styles. Global reset, navigation, buttons, headings, footer and reveal utilities live in base.css. */

/* ----------------------------------------------------------------------
   HERO SECTION (ABOVE THE FOLD)
---------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  align-items: center;
  gap: 54px;
  min-height: 560px;
  padding: 42px 0 70px;
}

/* Homepage H1 */
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(48px, 4.7vw, 64px);
  line-height: .98;
  letter-spacing: -.06em;
}

.hero-title-line {
  display: block;
}

.hero-title-line.red {
  color: var(--red);
}

/* Keep Canadian-Owned together on desktop */
@media (min-width: 981px) {
  .hero-title-line.red {
    white-space: nowrap;
  }
}

.lead {
  max-width: 620px;
  margin: 29px 0 0;
  color: #5f6267;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.015em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
  flex-wrap: wrap;
}

.visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #fff;
}

.hero-photo-wrap {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* ----------------------------------------------------------------------
   CARD / RANKING ELEMENTS
---------------------------------------------------------------------- */

.hosting-card {
  position: relative;
  width: min(410px, 92%);
  border-radius: 22px;
  padding: 15px;
  background: rgba(248,248,249,.82);
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hosting-inner {
  background: #fff;
  border: 1px solid #ececed;
  border-radius: 16px;
  overflow: hidden;
  min-height: 366px;
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 17px;
  border-bottom: 1px solid #f0f0f1;
}

.visual-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flag-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  border: 1px solid #ffd6de;
}
.visual-brand strong { display: block; font-size: 13px; }
.visual-brand span { color: #8a8c91; font-size: 11px; }
.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red);
  background: #fff3f5;
  border: 1px solid #ffd8df;
  padding: 6px 9px;
  border-radius: 999px;
}

.ranking {
  padding: 15px 15px 10px;
}

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #44464a;
}
.ranking-title span:last-child { color: #9b9da1; font-size: 10px; font-weight: 600; }

.rank-item {
  display: grid;
  grid-template-columns: 30px 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #ededee;
  border-radius: 14px;
  margin-bottom: 9px;
  background: #fff;
}
.rank-no {
  font-size: 11px;
  font-weight: 800;
  color: #929499;
  text-align: center;
}
.host-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  background: #f5f5f6;
  border: 1px solid #ededee;
}
.host-info strong { display: block; font-size: 12px; margin-bottom: 4px; }
.host-info span { color: #929499; font-size: 9.5px; }
.score { text-align: right; }
.score strong { display: block; font-size: 12px; }
.score span { display: block; font-size: 9px; color: #a0a2a6; margin-top: 3px; }

.server-chip {
  position: absolute;
  right: 6px;
  bottom: 15px;
  transform: translate(28%, 40%);
  width: 105px;
  height: 105px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid #eee;
  box-shadow: 0 18px 40px rgba(0,0,0,.11);
}

.server-chip-inner {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--red);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.26), 0 10px 20px rgba(173,0,0,.22);
}

/* ----------------------------------------------------------------------
   TRUST BAR
---------------------------------------------------------------------- */

.trustbar {
  background: #f8f8f9;
  border-bottom: 1px solid #f0f0f1;
  padding: 38px 0;
}

.trust-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.trust-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 720px;
}

.trust-heading p {
  max-width: 420px;
  margin: 0;
  color: #85878b;
  font-size: 12px;
  line-height: 1.55;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e7e9;
  border-radius: 7px;
}

.trust-item {
  min-height: 205px;
  padding: 28px 28px 26px;
  border-left: 1px solid #ececee;
  display: flex;
  flex-direction: column;
}
.trust-item:first-child { border-left: 0; }

.trust-number {
  color: #d9dadd;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.trust-label {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 9px;
  max-width: 190px;
}

.trust-item p {
  margin: 0;
  max-width: 220px;
  font-size: 11.5px;
  color: #7f8186;
  line-height: 1.55;
}

/* ----------------------------------------------------------------------
   RANKINGS SECTION (WITH CONTENT-VISIBILITY OPTIMIZATION)
---------------------------------------------------------------------- */

.section {
  padding: 95px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

#rankings .section-head {
  align-items: flex-start;
  margin-bottom: 26px;
}

.hosting-directory-heading {
  min-width: 0;
}

.hs-hosting-update-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: fit-content;
  margin-top: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #17191d;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.hs-hosting-update-meta span {
  color: #17191d;
  font-weight: 500;
}

.hs-hosting-update-meta time {
  color: #17191d;
  font-weight: 400;
}



.section-copy {
  max-width: 430px;
  margin: 0;
  color: #75777c;
  font-size: 14px;
  line-height: 1.65;
}

.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.host-rank-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 26px 58px rgba(17,17,17,.09), 0 8px 18px rgba(17,17,17,.04);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.host-rank-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 72px rgba(17,17,17,.12), 0 12px 24px rgba(17,17,17,.06);
}

.host-rank-main {
  padding: 25px 25px 19px;
  min-width: 0;
}

.host-rank-side {
  border-left: 1px solid #ececee;
  padding: 25px 23px 23px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: #fbfbfb;
}

.host-rank-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 17px;
}

.host-fact {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 12;
}

.host-fact > summary {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9cdd3;
  border-radius: 50%;
  background: #fff;
  color: #6f7680;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.host-fact > summary::-webkit-details-marker {
  display: none;
}

.host-fact > summary:hover,
.host-fact[open] > summary {
  border-color: #999fa8;
  background: #fafafa;
  color: #22262c;
}

.host-fact > summary:focus-visible {
  outline: 2px solid rgba(173,0,0,.18);
  outline-offset: 3px;
}

.host-fact-panel {
  position: absolute;
  top: 34px;
  right: 0;
  width: min(350px, calc(100vw - 72px));
  padding: 14px 15px 15px;
  border: 1px solid #dedfe3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17,17,17,.13), 0 4px 12px rgba(17,17,17,.05);
}

.host-fact-label {
  display: block;
  color: var(--red-dark);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.host-fact-panel p {
  margin: 7px 0 0;
  color: #3f444c;
  font-size: 12px;
  line-height: 1.58;
  font-weight: 400;
}

.logo-slot {
  width: 305px;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  flex: 0 0 auto;
}

.logo-slot img {
  display: block;
  width: 285px;
  max-width: 100%;
  height: 80px;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
}

.host-rank-summary {
  margin: 0;
  color: #474b52;
  font-size: 14px;
  line-height: 1.72;
  max-width: 800px;
}
.host-rank-summary strong {
  color: #121417;
  font-weight: 800;
}

.host-rank-summary + .host-rank-summary {
  margin-top: 11px;
}

.host-more-copy.host-more-copy-long {
  color: #474b52;
  font-size: 14px;
  line-height: 1.72;
  max-width: 800px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.host-more {
  margin-top: 2px;
  margin-bottom: 0;
}

.host-more summary {
  cursor: pointer;
  list-style: none;
  width: fit-content;
  user-select: none;
}

.host-more summary::-webkit-details-marker {
  display: none;
}

.read-arrow {
  transition: transform .2s ease;
}

.host-more[open] .read-arrow {
  transform: rotate(180deg);
}

.host-more-content {
  padding-top: 3px;
}

.host-more-copy {
  margin: 14px 0 0;
  color: #777b82;
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 760px;
}

.hs-card-best-for {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px 15px;
  border: 1px solid #e7e8eb;
  border-radius: 4px;
  background: #f4f4f6;
  color: #30333a;
  font-family: inherit;
  box-sizing: border-box;
}

.hs-card-best-for-label {
  display: block;
  margin: 0 0 5px;
  color: #30333a;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.hs-card-best-for-copy {
  margin: 0;
  color: #30333a;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: normal;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e7e8ec;
}

.feature-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #34373c;
  font-size: 12px;
  line-height: 1.45;
}

.feature-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ecf9f0;
  color: #12a150;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.host-rank-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #efeff1;
  flex-wrap: wrap;
}

.host-rank-footer-simple {
  justify-content: space-between;
  margin-top: 14px;
}

.host-rank-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.meta-line {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  color: #34373c;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 620px;
}

.meta-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
  background: transparent;
  color: var(--red);
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #121316;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.host-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  width: 100%;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
  transition: .2s ease;
}
.host-cta:hover { background: var(--red-dark); }

.price-block {
  margin-top: 18px;
  width: 100%;
  text-align: center;
}

.price-label {
  display: block;
  margin-bottom: 10px;
  color: #8e939a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-value {
  font-size: 28px;
  line-height: .95;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #0f1114;
}

.price-suffix {
  color: #7f8388;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 3px;
}

.product-pricing {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ececef;
}

.product-pricing-title {
  display: block;
  margin-bottom: 10px;
  color: #8e939a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: #30333a;
  font-size: 12px;
}

.product-row strong {
  color: #121417;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ----------------------------------------------------------------------
   BELOW-THE-FOLD SECTIONS (PERFORMANCE OPTIMIZED)
---------------------------------------------------------------------- */

.canada-benefits,
.criteria,
.domain-section,
.sovereignty-section,
.faq-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.canada-benefits {
  padding: 88px 0;
  background: #f5f5f7;
  color: #fff;
}

.canada-panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 38px 38px 34px;
  background: #0D1018;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 26px 62px rgba(8, 11, 18, .28);
  isolation: isolate;
}

.canada-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .18;
  pointer-events: none;
  z-index: -1;
}

.canada-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 20px;
}

.canada-head h2 {
  max-width: none;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  margin: 0;
  text-wrap: balance;
}

.canada-head p {
  margin: 12px auto 0;
  max-width: 700px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.65;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit-card {
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px 18px 17px;
  color: #101317;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  min-height: 120px;
}

.benefit-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
}

.benefit-icon {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex: 0 0 auto;
  margin-top: 1px;
}

.benefit-card h3 {
  margin: 0;
  color: #0f1217;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.benefit-card p {
  margin: 0 0 0 28px;
  color: #5d636d;
  font-size: 12.5px;
  line-height: 1.65;
  max-width: 430px;
}

.criteria {
  background: #f5f5f7;
  border-top: 1px solid #eceef1;
  border-bottom: 1px solid #eceef1;
}

.verify-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.verify-intro {
  padding-top: 8px;
}

.verify-intro .kicker {
  margin-bottom: 14px;
}

.verify-intro h2 {
  max-width: 420px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
}

.verify-intro p {
  margin: 18px 0 0;
  max-width: 410px;
  color: #6f737a;
  font-size: 15px;
  line-height: 1.65;
}

.verify-panel {
  border: 1px solid #d9dce1;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(17,17,17,.09), 0 7px 18px rgba(17,17,17,.04);
}

.verify-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 28px 28px 28px 24px;
  border-top: 1px solid #eceff3;
}

.verify-row:first-child {
  border-top: 0;
}

.verify-num {
  color: #d6dde7;
  font-size: 48px;
  line-height: .95;
  letter-spacing: -0.05em;
  font-weight: 800;
  align-self: start;
}

.verify-copy h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.verify-copy p {
  margin: 0;
  color: #4e5560;
  font-size: 14px;
  line-height: 1.6;
  max-width: 520px;
}

.dedicated-note {
  margin: 18px 0 0;
  color: #59606a;
  font-size: 11px;
  line-height: 1.6;
}


/* ----------------------------------------------------------------------
   SPECIALIZED CANADIAN HOSTING HUB
   Replaces the former Dedicated, French Hosting and Workload homepage blocks.
---------------------------------------------------------------------- */

.hs-specialized-section {
  padding: 88px 0;
  background: #fff;
  border-top: 1px solid #efeff0;
  border-bottom: 1px solid #efeff0;
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.hs-specialized-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.hs-specialized-head h2 {
  max-width: 720px;
  text-wrap: balance;
}

.hs-specialized-intro {
  max-width: 700px;
  margin: 16px 0 0;
  color: #666b73;
  font-size: 14px;
  line-height: 1.7;
}

.hs-specialized-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.hs-specialized-link {
  display: block;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hs-specialized-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px -2px rgba(0,0,0,.04), 0 2px 6px -1px rgba(0,0,0,.02);
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), border-color .2s ease, transform .2s cubic-bezier(.16,1,.3,1);
}

.hs-specialized-heading-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.hs-specialized-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.hs-specialized-title {
  min-width: 0;
  margin: 0;
  color: #18181b;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 700;
}

.hs-specialized-desc {
  margin: 0 0 24px;
  color: #71717a;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 400;
}

.hs-specialized-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f4f4f5;
}

.hs-specialized-action {
  color: #18181b;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .15s ease-in-out;
}

.hs-specialized-arrow {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #a1a1aa;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s cubic-bezier(.16,1,.3,1), color .15s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .hs-specialized-link:hover .hs-specialized-card {
    box-shadow: 0 16px 32px -4px rgba(0,0,0,.08), 0 4px 12px -2px rgba(0,0,0,.03);
    border-color: #d4d4d8;
    transform: translateY(-2px);
  }

  .hs-specialized-link:hover .hs-specialized-icon {
    transform: scale(1.08);
  }

  .hs-specialized-link:hover .hs-specialized-action {
    color: var(--red);
  }

  .hs-specialized-link:hover .hs-specialized-arrow {
    color: #18181b;
    transform: translateX(4px);
  }
}

@media (max-width: 1120px) {
  .hs-specialized-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .hs-specialized-section {
    padding: 70px 0;
  }

  .hs-specialized-head {
    margin-bottom: 32px;
  }

  .hs-specialized-intro {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hs-specialized-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hs-specialized-card {
    padding: 21px 18px 17px;
    border-radius: 10px;
  }

  .hs-specialized-heading-row {
    gap: 12px;
    margin-bottom: 12px;
  }

  .hs-specialized-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .hs-specialized-title {
    font-size: 16px;
  }

  .hs-specialized-desc {
    margin-bottom: 20px;
    font-size: 12.5px;
    line-height: 1.58;
  }

  .hs-specialized-footer {
    padding-top: 14px;
  }
}

.domain-section {
  padding: 90px 0;
  background: #f5f5f7;
  border-top: 1px solid #eceef1;
}

.domain-head {
  display: block;
  margin-bottom: 24px;
}

.domain-head > div {
  max-width: 860px;
}

.domain-intro {
  margin: 16px 0 0;
  max-width: 780px;
  color: #666b73;
  font-size: 14px;
  line-height: 1.7;
}

.domain-intro strong {
  color: #17191d;
}

.domain-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.domain-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(17,17,17,.045);
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.domain-item:hover {
  box-shadow: 0 18px 36px rgba(17,17,17,.065);
}

.domain-summary {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px 162px 34px;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
}

.domain-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: #081226;
  white-space: nowrap;
}

.domain-price strong {
  font-size: 32px;
  line-height: .95;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.domain-price span {
  color: #9aa0a8;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.domain-logo {
  min-width: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
}

.domain-logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.domain-ca-price {
  min-width: 0;
  color: #656a72;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Keep first-year and renewal terms visible without widening the price column. */
.domain-price-amount {
  display: block;
  line-height: 1.2;
}

.domain-price-term {
  display: block;
  margin-top: 3px;
  color: #656a72;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  white-space: normal;
}

.domain-ca-price strong {
  color: #2b2e33;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.domain-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.domain-action:hover {
  background: #8f0000;
  transform: translateY(-1px);
}

.domain-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d9dde3;
  background: #fff;
  color: #7f8690;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

.domain-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}

.domain-item.is-open .domain-toggle {
  color: var(--red);
  border-color: #d8c5c5;
}

.domain-item.is-open .domain-toggle svg {
  transform: rotate(180deg);
}

.domain-panel {
  display: none;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 24px;
  padding: 20px 24px 22px;
  border-top: 1px solid #eceff3;
  background: #fff;
}

.domain-item.is-open .domain-panel {
  display: grid;
}

.domain-copy {
  color: #41464f;
  font-size: 14px;
  line-height: 1.75;
  max-width: 650px;
}

.domain-copy strong {
  color: #17191d;
}

.domain-pricing {
  width: 100%;
}

.domain-row {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #eceff3;
  color: #37404a;
  font-size: 14px;
}

.domain-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.domain-row-label {
  color: #111418;
  font-weight: 600;
  white-space: nowrap;
}

.domain-row-value {
  color: #6a717c;
  text-align: right;
}

.sovereignty-section {
  padding: 92px 0;
  background: #fff;
  border-top: 1px solid #efeff0;
}

.sovereignty-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 64px;
  align-items: center;
}

.sovereignty-copy {
  max-width: 560px;
}

.sovereignty-copy h2 {
  max-width: 560px;
  margin-bottom: 18px;
}

.sovereignty-copy p {
  margin: 0;
  color: #555c66;
  font-size: 14px;
  line-height: 1.72;
}

.sovereignty-copy p + p {
  margin-top: 14px;
}

.sovereignty-copy strong {
  color: #16191e;
}

.sovereignty-cards {
  display: grid;
  gap: 16px;
}

.sovereignty-card {
  padding: 24px 26px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #f8f9fa;
}

.sovereignty-card.is-canadian {
  border-color: #c9dfd2;
  background: #f5faf7;
}

.sovereignty-card h3 {
  margin: 0 0 15px;
  color: #232833;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sovereignty-card.is-canadian h3 {
  color: #12663c;
}

.sovereignty-list {
  display: grid;
  gap: 11px;
}

.sovereignty-point {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #313741;
  font-size: 13.5px;
  line-height: 1.48;
}

.sovereignty-check {
  color: var(--red);
  font-weight: 800;
  line-height: 1.35;
}

.sovereignty-card.is-canadian .sovereignty-check {
  color: #16824f;
}

.faq-section {
  padding: 92px 0;
  background: #fff;
  border-top: 1px solid #efeff0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.faq-intro {
  padding-top: 6px;
}

.faq-intro h2 {
  max-width: 360px;
}

.faq-intro p {
  margin: 18px 0 0;
  max-width: 350px;
  color: #6c7179;
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  border: 1px solid #e2e5e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17,17,17,.06);
  overflow: hidden;
}

.faq-item {
  border-top: 1px solid #eceff2;
}

.faq-item:first-child {
  border-top: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: center;
  padding: 21px 22px;
  color: #111418;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  width: 26px;
  height: 26px;
  border: 1px solid #dfe2e6;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: #f8eeee;
}

.faq-answer {
  padding: 0 68px 22px 22px;
  color: #5f6570;
  font-size: 14px;
  line-height: 1.7;
}

/* ----------------------------------------------------------------------
   MEDIA QUERIES (DESKTOP & TABLET)
---------------------------------------------------------------------- */

@media (max-width: 980px) {
  .mobile-nav .language-switcher {
    min-height: 48px;
    margin: 6px 0 0;
    padding: 12px 2px 0;
    border-left: 0;
    gap: 10px;
  }

  .mobile-nav .language-switcher .lang-link {
    display: inline-flex;
    min-height: 0;
    padding: 0;
    border: 0;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-nav .language-switcher .lang-current,
  .mobile-nav .language-switcher .lang-divider {
    font-size: 12px;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 38px; }
  .hero { min-height: auto; }
  .visual { min-height: 430px; }
  .trust-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 190px; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid #ececee; }
  .host-rank-card { grid-template-columns: 1fr; }
  .host-rank-side { border-left: 0; border-top: 1px solid #ececee; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .verify-layout { grid-template-columns: 1fr; gap: 28px; }
  .verify-intro { padding-top: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .domain-summary { grid-template-columns: minmax(200px, 1fr) 140px 150px 34px; gap: 14px; }
  .domain-panel { grid-template-columns: 1fr; gap: 18px; }
  .sovereignty-layout { grid-template-columns: 1fr; gap: 30px; }
  .sovereignty-copy { max-width: 680px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro p { max-width: 620px; }
}

/* Keep domain prices and controls inside the row on narrow tablets. */
@media (max-width: 760px) {
  .domain-section { padding: 70px 0; }
  .domain-summary { grid-template-columns: 1fr auto; grid-template-areas: "name name" "caprice toggle" "action action"; gap: 12px; padding: 16px 18px; }
  .domain-logo { grid-area: name; min-height: 66px; justify-content: center; }
  .domain-logo img { width: min(285px, 92%); max-width: 92%; height: 66px; object-position: center; }
  .domain-ca-price { grid-area: caprice; font-size: 12px; }
  .domain-ca-price strong { font-size: 22px; }
  .domain-action { grid-area: action; width: 100%; }
  .domain-toggle { grid-area: toggle; justify-self: end; }
  .domain-panel { padding: 18px; }
  .domain-copy { font-size: 13px; }
  .domain-row { grid-template-columns: 88px 1fr; font-size: 13px; gap: 10px; }
  .domain-row-value { text-align: left; }
}

@media (max-width: 640px) {
  .hero-grid { padding: 32px 0 50px; }
  h1 { font-size: clamp(43px, 13vw, 58px); }
  .lead { font-size: 14px; margin-top: 24px; }
  .hero-updated { margin-top: 9px; font-size: 10.5px; }
  .visual { min-height: 370px; justify-content: center; }
  .hero-photo-wrap { width: min(440px, 100%); margin: 0 auto; }
  .rank-item { grid-template-columns: 24px 36px 1fr auto; gap: 8px; }
  .host-logo { width: 36px; height: 36px; }
  .trustbar { padding: 30px 0; }
  .trust-heading { margin-bottom: 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 175px; padding: 22px 18px 20px; }
  .trust-number { font-size: 29px; margin-bottom: 16px; }
  .trust-label { font-size: 12.5px; }
  .trust-item p { font-size: 10.5px; line-height: 1.5; }
  .section { padding: 70px 0; }
  .host-rank-main { padding: 20px 18px 16px; }
  .host-rank-side { padding: 18px; }
  .host-rank-top { flex-direction: column; align-items: center; }
  .host-fact-panel { width: min(330px, calc(100vw - 64px)); }
  .logo-slot { width: 100%; min-height: 88px; justify-content: center; }
  .logo-slot img { width: min(315px, 94%); max-width: 94%; height: 82px; max-height: 82px; object-position: center; }
  .host-cta { min-height: 60px; font-size: 16px; }
  .host-rank-side .price-block,
  .host-rank-side .product-pricing { display: none; }
  .hs-hosting-update-meta { margin-top: 13px; font-size: 11.5px; }
  .hs-card-best-for { margin-top: 16px; padding: 13px 14px 14px; }
  .feature-grid, .benefits-grid { grid-template-columns: 1fr; }
  .verify-row { grid-template-columns: 60px minmax(0, 1fr); padding: 22px 18px; gap: 12px; }
  .verify-num { font-size: 38px; }
  .verify-copy h3 { font-size: 16px; margin-bottom: 8px; }
  .verify-copy p { font-size: 13px; }
  .canada-benefits { padding: 70px 0; }
  .canada-panel { border-radius: 14px; padding: 28px 18px 20px; }
  .benefit-card { border-radius: 12px; padding: 16px 15px 15px; }
  .benefit-card p { margin-left: 0; margin-top: 8px; }
  .host-rank-footer { align-items: flex-start; }
  .sovereignty-section { padding: 70px 0; }
  .sovereignty-layout { gap: 24px; }
  .sovereignty-copy h2 { margin-bottom: 14px; }
  .sovereignty-copy p { font-size: 13px; line-height: 1.65; }
  .sovereignty-copy p + p { margin-top: 11px; }
  .sovereignty-card { padding: 19px 18px; border-radius: 10px; }
  .sovereignty-card h3 { margin-bottom: 13px; font-size: 11px; }
  .sovereignty-point { font-size: 12.5px; gap: 8px; }
}

/* ----------------------------------------------------------------------
   HOST LOGO MARQUEE ANIMATION
---------------------------------------------------------------------- */

.host-logo-marquee {
  background: #fff;
  padding: 28px 0 31px;
  overflow: hidden;
}

.marquee-label {
  margin: 0 0 19px;
  color: #5c626b;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.logo-marquee-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hostLogoMarquee 42s linear infinite;
  will-change: transform;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 56px;
  padding-right: 56px;
}

.logo-marquee-item {
  width: 138px;
  height: 50px;
  flex: 0 0 138px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-marquee-item img {
  display: block;
  width: 138px;
  max-width: 138px;
  height: 50px;
  max-height: 50px;
  object-fit: contain;
  filter: none;
  opacity: .92;
  transition: opacity .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .logo-marquee-window:hover .logo-marquee-track {
    animation-play-state: paused;
  }

  .logo-marquee-item img:hover {
    filter: none;
    opacity: 1;
  }
}

@keyframes hostLogoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .host-logo-marquee {
    padding: 22px 0 25px;
  }

  .marquee-label {
    margin-bottom: 15px;
    font-size: 9.5px;
  }

  .logo-marquee-track {
    animation-duration: 36s;
  }

  .logo-marquee-group {
    gap: 38px;
    padding-right: 38px;
  }

  .logo-marquee-item {
    width: 116px;
    height: 44px;
    flex-basis: 116px;
  }

  .logo-marquee-item img {
    width: 114px;
    max-width: 114px;
    height: 36px;
    max-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
  }

  .logo-marquee-window {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .logo-marquee-window::-webkit-scrollbar {
    display: none;
  }

  .logo-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ----------------------------------------------------------------------
   HOST CARD V4 PROTOTYPE
   FullHost + WHC only. Two-column desktop directory, compact mobile cards,
   and native top-layer More Info popovers.
---------------------------------------------------------------------- */

.rankings-list.hs-host-grid-v4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.hs-host-card-v4,
.hs-host-card-v4 *,
.hs-host-popover-v4,
.hs-host-popover-v4 * {
  font-family: inherit;
}

.hs-host-card-v4-desktop-extra strong,
.hs-host-popover-v4-copy strong {
  color: #25292f;
  font-weight: 600;
}

.hs-host-card-v4 {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eceef1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17,17,17,.10), 0 5px 16px rgba(17,17,17,.045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hs-host-card-v4:hover {
    transform: translateY(-2px);
    border-color: #e4e7eb;
    box-shadow: 0 24px 58px rgba(17,17,17,.13), 0 8px 20px rgba(17,17,17,.055);
  }
}

.hs-host-card-v4-body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 22px 18px;
}

.hs-host-card-v4-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hs-host-card-v4-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.hs-host-card-v4-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e5e8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(17,17,17,.045);
}

.hs-host-card-v4-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-host-card-v4-name-wrap {
  min-width: 0;
}

.hs-host-card-v4-name {
  margin: 0;
  color: #111418;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.035em;
}

.hs-host-card-v4-asn {
  display: block;
  margin-top: 5px;
  color: #7e838a;
  font-size: 9.5px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
}

.hs-host-card-v4-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid #d4d8dd;
  border-radius: 7px;
  background: #fff;
  color: #22262c;
  font: inherit;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.hs-host-card-v4-more:hover {
  border-color: #bcc2c9;
  background: #f7f7f8;
}


.hs-host-card-v4-more:focus-visible,
.hs-host-popover-v4-x:focus-visible,
.hs-host-popover-v4-close:focus-visible {
  outline: 2px solid rgba(173,0,0,.22);
  outline-offset: 3px;
}

.hs-host-card-v4-summary {
  margin: 17px 0 0;
  color: #343940;
  font-size: 13.25px;
  line-height: 1.65;
}

.hs-host-card-v4-summary strong {
  color: #25292f;
  font-weight: 600;
}

/* Let desktop cards carry more useful copy instead of leaving a large blank area. */
.hs-host-card-v4-desktop-extra {
  margin-top: 10px;
  color: #42474e;
  font-size: 12.5px;
  line-height: 1.62;
}

.hs-host-card-v4-desktop-extra p {
  margin: 0;
}

.hs-host-card-v4-best {
  margin-top: 15px;
  padding: 11px 12px 12px;
  border: 1px solid #e5e7ea;
  border-radius: 5px;
  background: #f4f4f6;
}

.hs-host-card-v4-best-label {
  display: block;
  margin-bottom: 4px;
  color: #34383e;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.hs-host-card-v4-best p {
  margin: 0;
  color: #343940;
  font-size: 11.5px;
  line-height: 1.5;
}

.hs-host-card-v4-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: start;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #efeff1;
}

.hs-host-card-v4-best + .hs-host-card-v4-meta,
.hs-host-card-v4-desktop-extra + .hs-host-card-v4-meta,
.hs-host-card-v4-summary + .hs-host-card-v4-meta {
  margin-top: 16px;
}

.hs-host-card-v4-location {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  color: #3e434a;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 600;
}

.hs-host-card-v4-location-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--red);
}

.hs-host-card-v4-review {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: #121316;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.hs-host-card-v4-actions {
  display: grid;
  grid-template-columns: minmax(115px, .75fr) minmax(165px, 1.25fr);
  gap: 12px;
  align-items: center;
  padding: 14px 22px 15px;
  border-top: 1px solid #e9eaed;
  background: #fafafa;
}

.hs-host-card-v4-price {
  min-width: 0;
}

.hs-host-card-v4-price-label {
  display: block;
  margin-bottom: 4px;
  color: #747a82;
  font-size: 8.5px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hs-host-card-v4-price-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.hs-host-card-v4-price-value {
  color: #0f1114;
  font-size: 29px;
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.045em;
}

.hs-host-card-v4-price-suffix {
  margin-bottom: 2px;
  color: #777c83;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
}

.hs-host-card-v4-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  transition: background .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hs-host-card-v4-cta:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
  }
}

/* Native popover: always floats above the page and never expands a card. */
.hs-host-popover-v4[popover] {
  width: min(510px, calc(100vw - 36px));
  max-height: min(680px, calc(100dvh - 36px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #eceef1;
  border-radius: 14px;
  background: #fff;
  color: #343940;
  font-family: inherit;
  box-shadow: 0 30px 86px rgba(17,17,17,.22), 0 10px 28px rgba(17,17,17,.09);
}

.hs-host-popover-v4[popover]::backdrop {
  background: rgba(10,14,20,.34);
  backdrop-filter: blur(2px);
}

.hs-host-popover-v4-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
}

.hs-host-popover-v4-title-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.hs-host-popover-v4-shield {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eef9f3;
  color: #15945a;
}

.hs-host-popover-v4-title-row strong,
.hs-host-popover-v4-title-row span {
  display: block;
}

.hs-host-popover-v4-title-row strong {
  color: #171a1f;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.hs-host-popover-v4-title-row div > span {
  margin-top: 2px;
  color: #777d85;
  font-size: 11.5px;
  line-height: 1.35;
}

.hs-host-popover-v4-x {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #98a1b0;
  cursor: pointer;
}

.hs-host-popover-v4-x:hover {
  background: #f4f5f7;
  color: #343943;
}

.hs-host-popover-v4-body {
  padding: 0 20px 5px;
}

.hs-host-popover-v4-verification {
  padding: 15px 15px 16px;
  border: 1px solid #e5e7ea;
  border-radius: 10px;
  background: #f7f7f8;
}

.hs-host-popover-v4-verification strong {
  display: block;
  margin-bottom: 6px;
  color: #25292f;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.hs-host-popover-v4-verification p,
.hs-host-popover-v4-copy {
  margin: 0;
  color: #3d4249;
  font-size: 12.5px;
  line-height: 1.6;
}

.hs-host-popover-v4-copy {
  margin-top: 12px;
}

.hs-host-popover-v4-copy p {
  margin: 0;
}

.hs-host-popover-v4-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eceef1;
}

.hs-host-popover-v4-check {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #3d4249;
  font-size: 11.5px;
  line-height: 1.45;
}

.hs-host-popover-v4-check > span:first-child {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border-radius: 50%;
  background: #edf8f1;
  color: #12804a;
}

.hs-host-popover-v4-pricing {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #eceef1;
}

.hs-host-popover-v4-section-label {
  display: block;
  margin-bottom: 7px;
  color: #89909a;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hs-host-popover-v4-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  color: #3d4249;
  font-size: 11.5px;
  line-height: 1.4;
}

.hs-host-popover-v4-price-row strong {
  color: #16191e;
  font-weight: 700;
  white-space: nowrap;
}

.hs-host-popover-v4-footer {
  display: flex;
  justify-content: flex-end;
  padding: 15px 20px 20px;
}

.hs-host-popover-v4-close {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: #121827;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Move to one card per row before the cards become cramped. */
@media (max-width: 900px) {
  .rankings-list.hs-host-grid-v4 {
    grid-template-columns: 1fr;
  }

  .hs-host-card-v4-desktop-extra {
    display: none;
  }
}

@media (max-width: 640px) {
  .rankings-list.hs-host-grid-v4 {
    gap: 13px;
  }

  .hs-host-card-v4 {
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(17,17,17,.10), 0 4px 12px rgba(17,17,17,.04);
  }

  .hs-host-card-v4-body {
    padding: 15px 14px 13px;
  }

  .hs-host-card-v4-head {
    gap: 10px;
  }

  .hs-host-card-v4-brand {
    gap: 10px;
  }

  .hs-host-card-v4-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 9px;
  }

  .hs-host-card-v4-name {
    font-size: 18px;
  }

  .hs-host-card-v4-asn {
    margin-top: 4px;
    font-size: 8.5px;
  }

  .hs-host-card-v4-more {
    min-height: 34px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 9.5px;
    gap: 4px;
  }

  .hs-host-card-v4-summary {
    margin-top: 13px;
    font-size: 12.25px;
    line-height: 1.56;
  }

  .hs-host-card-v4-best {
    margin-top: 12px;
    padding: 10px 10px 11px;
  }

  .hs-host-card-v4-best-label {
    margin-bottom: 3px;
    font-size: 8.5px;
  }

  .hs-host-card-v4-best p {
    font-size: 10.75px;
    line-height: 1.45;
  }

  .hs-host-card-v4-meta {
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 13px;
    padding-top: 11px;
  }

  .hs-host-card-v4-location,
  .hs-host-card-v4-review {
    font-size: 10px;
  }

  .hs-host-card-v4-actions {
    grid-template-columns: minmax(0, .72fr) minmax(145px, 1.28fr);
    gap: 8px;
    padding: 11px 14px 12px;
  }

  .hs-host-card-v4-price-label {
    margin-bottom: 3px;
    font-size: 7.5px;
    letter-spacing: .1em;
  }

  .hs-host-card-v4-price-value {
    font-size: 25px;
  }

  .hs-host-card-v4-price-suffix {
    font-size: 8.5px;
  }

  .hs-host-card-v4-cta {
    min-height: 43px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 11px;
    gap: 5px;
  }

  /* Mobile More Info is a floating sheet, never inline expansion. */
  .hs-host-popover-v4[popover] {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 13px;
  }

  .hs-host-popover-v4-head {
    padding: 17px 16px 14px;
  }

  .hs-host-popover-v4-shield {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .hs-host-popover-v4-title-row strong {
    font-size: 15px;
  }

  .hs-host-popover-v4-title-row div > span {
    font-size: 10.5px;
  }

  .hs-host-popover-v4-body {
    padding: 0 16px 4px;
  }

  .hs-host-popover-v4-verification {
    padding: 13px 13px 14px;
  }

  .hs-host-popover-v4-verification p,
  .hs-host-popover-v4-copy {
    font-size: 12px;
    line-height: 1.56;
  }

  .hs-host-popover-v4-checks {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hs-host-popover-v4-footer {
    padding: 13px 16px 16px;
  }
}

@media (max-width: 380px) {
  .hs-host-card-v4-meta {
    grid-template-columns: 1fr;
  }

  .hs-host-card-v4-review {
    justify-self: start;
  }

  .hs-host-card-v4-actions {
    grid-template-columns: minmax(0, .68fr) minmax(132px, 1.32fr);
    gap: 7px;
  }

  .hs-host-card-v4-cta {
    font-size: 10px;
  }
}

/* ----------------------------------------------------------------------
   HOST CARD V4 REFINEMENT
   Match HostScout's existing homepage typography and soften favicon tile.
---------------------------------------------------------------------- */

/* Keep the cards on the same inherited typeface as the rest of HostScout.
   Controls need this explicitly because browsers otherwise use form-control fonts. */
.hs-host-card-v4,
.hs-host-popover-v4[popover] {
  font-family: inherit;
  font-style: normal;
}

.hs-host-card-v4 button,
.hs-host-popover-v4 button {
  font: inherit;
}

/* Favicon tile: same neutral shade as Best For, with only a small inset. */
.hs-host-card-v4-icon {
  padding: 4px;
  border-color: #e7e8eb;
  background: #f4f4f6;
  box-shadow: none;
}

.hs-host-card-v4-icon img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: contain;
}

/* Typography follows the quieter body treatment used elsewhere on the homepage. */
.hs-host-card-v4-name {
  color: #17191d;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hs-host-card-v4-asn {
  color: #7a8088;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .07em;
}

.hs-host-card-v4-summary,
.hs-host-card-v4-desktop-extra {
  color: #4e5560;
  font-size: 13.5px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: normal;
}

/* Data copy can contain <strong> tags. Keep the prose visually consistent rather
   than turning individual phrases into heavy black blocks. */
.hs-host-card-v4-summary strong,
.hs-host-card-v4-desktop-extra strong,
.hs-host-popover-v4-copy strong {
  color: inherit;
  font-weight: 500;
}

.hs-host-card-v4-best-label {
  color: #30333a;
  font-weight: 600;
}

.hs-host-card-v4-best p {
  color: #4e5560;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}

.hs-host-card-v4-location {
  color: #4e5560;
  font-size: 11px;
  font-weight: 500;
}

.hs-host-card-v4-review {
  color: #17191d;
  font-size: 11px;
  font-weight: 600;
}

.hs-host-card-v4-more {
  color: #24282e;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: normal;
}

.hs-host-card-v4-price-label {
  color: #747a82;
  font-weight: 600;
}

.hs-host-card-v4-price-value {
  color: #111418;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.hs-host-card-v4-price-suffix {
  color: #737982;
  font-weight: 500;
}

.hs-host-card-v4-cta {
  font-size: 12.5px;
  font-weight: 700;
}

/* Popover typography: same family, same neutral body colour, fewer weight jumps. */
.hs-host-popover-v4[popover] {
  color: #4e5560;
}

.hs-host-popover-v4-title-row strong {
  color: #17191d;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.hs-host-popover-v4-title-row div > span {
  color: #7a8088;
  font-size: 11.5px;
  font-weight: 400;
}

.hs-host-popover-v4-verification {
  background: #f4f4f6;
}

.hs-host-popover-v4-verification strong {
  color: #30343a;
  font-size: 12.5px;
  font-weight: 600;
}

.hs-host-popover-v4-verification p,
.hs-host-popover-v4-copy {
  color: #4e5560;
  font-size: 13px;
  line-height: 1.64;
  font-weight: 400;
  letter-spacing: normal;
}

.hs-host-popover-v4-check {
  color: #4e5560;
  font-size: 12px;
  font-weight: 400;
}

.hs-host-popover-v4-section-label {
  color: #7a8088;
  font-weight: 600;
}

.hs-host-popover-v4-price-row {
  color: #4e5560;
  font-size: 12px;
}

.hs-host-popover-v4-price-row strong {
  color: #17191d;
  font-weight: 600;
}

@media (max-width: 640px) {
  .hs-host-card-v4-icon {
    padding: 4px;
  }

  .hs-host-card-v4-icon img {
    border-radius: 6px;
  }

  .hs-host-card-v4-name {
    font-size: 18px;
  }

  .hs-host-card-v4-summary {
    font-size: 12.5px;
    line-height: 1.6;
  }

  .hs-host-card-v4-best p {
    font-size: 11px;
    line-height: 1.5;
  }

  .hs-host-card-v4-price-value {
    font-size: 27px;
  }

  .hs-host-popover-v4-verification p,
  .hs-host-popover-v4-copy {
    font-size: 12.5px;
    line-height: 1.62;
  }
}

/* ----------------------------------------------------------------------
   HOST INFO POPOVER REFINEMENT
   Smaller footprint, cleaner verification icon, SSR date emphasis.
---------------------------------------------------------------------- */
.hs-host-popover-v4[popover] {
  width: min(470px, calc(100vw - 32px));
  max-height: min(610px, calc(100dvh - 40px));
  border-color: #e7e9ec;
  border-radius: 12px;
  box-shadow: 0 24px 68px rgba(17,17,17,.20), 0 8px 22px rgba(17,17,17,.08);
}

.hs-host-popover-v4-head {
  padding: 17px 18px 14px;
}

.hs-host-popover-v4-title-row {
  gap: 10px;
}

.hs-host-popover-v4-shield {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid #dcefe5;
  border-radius: 8px;
  background: #f1f8f4;
  color: #128452;
}

.hs-host-popover-v4-shield svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

.hs-host-popover-v4-title-row strong {
  font-size: 15px;
}

.hs-host-popover-v4-title-row div > span {
  font-size: 11px;
}

.hs-host-popover-v4-x {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
}

.hs-host-popover-v4-body {
  padding: 0 18px 4px;
}

.hs-host-popover-v4-verification {
  padding: 13px 14px;
  border-radius: 9px;
}

/* The source sentence stays ordinary body copy. Only its dated lead-in is bold. */
.hs-host-popover-v4-verification strong.hs-host-popover-v4-verification-date {
  display: inline;
  margin: 0;
  color: #25292f;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  letter-spacing: normal;
}

.hs-host-popover-v4-verification p,
.hs-host-popover-v4-copy {
  font-size: 12.5px;
  line-height: 1.6;
}

.hs-host-popover-v4-copy {
  margin-top: 11px;
}

.hs-host-popover-v4-checks {
  margin-top: 13px;
  padding-top: 13px;
}

.hs-host-popover-v4-pricing {
  margin-top: 14px;
  padding-top: 13px;
}

.hs-host-popover-v4-footer {
  padding: 12px 18px 17px;
}

@media (max-width: 640px) {
  .hs-host-popover-v4[popover] {
    width: min(440px, calc(100vw - 32px));
    max-height: min(600px, calc(100dvh - 40px));
    border-radius: 12px;
  }

  .hs-host-popover-v4-head {
    padding: 16px 15px 13px;
  }

  .hs-host-popover-v4-shield {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .hs-host-popover-v4-body {
    padding: 0 15px 3px;
  }

  .hs-host-popover-v4-verification {
    padding: 12px 13px;
  }

  .hs-host-popover-v4-verification p,
  .hs-host-popover-v4-copy {
    font-size: 12.25px;
    line-height: 1.58;
  }

  .hs-host-popover-v4-footer {
    padding: 11px 15px 15px;
  }
}

/* ----------------------------------------------------------------------
   HOST CARD V6 CONTROL CLEANUP
   Compact More Info control and clearer provider CTA.
---------------------------------------------------------------------- */
.hs-host-card-v4-more {
  min-height: 32px;
  gap: 0;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
}

.hs-host-card-v4-cta {
  gap: 0;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hs-host-card-v4-more {
    min-height: 31px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 9.5px;
  }

  .hs-host-card-v4-cta {
    font-size: 12.5px;
  }
}

/* ----------------------------------------------------------------------
   HOST INFO POPOVER ICON CLEANUP
   Keep the verification shield, remove the tinted tile around it.
---------------------------------------------------------------------- */
.hs-host-popover-v4-shield {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #128452;
}

.hs-host-popover-v4-shield svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .hs-host-popover-v4-shield {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

/* ----------------------------------------------------------------------
   HOST CARD V8 DESKTOP CTA BALANCE
   Keep the provider CTA prominent without letting it dominate the card.
---------------------------------------------------------------------- */
@media (min-width: 901px) {
  .hs-host-card-v4-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .hs-host-card-v4-cta {
    width: 215px;
    min-width: 215px;
    max-width: 100%;
    min-height: 46px;
    padding: 0 18px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
  }
}

/* ----------------------------------------------------------------------
   HOST CARD V9 CTA TYPE SIZE
   Give the provider CTA stronger, more readable text on all screen sizes.
---------------------------------------------------------------------- */
.hs-host-card-v4-cta {
  font-size: 14px;
  line-height: 1.15;
}

@media (min-width: 901px) {
  .hs-host-card-v4-cta {
    font-size: 16px;
  }
}
