/* HostScout.ca - Is This Website Hosted in Canada? */

.hosting-checker-page {
  --hc-red: #AD0000;
  --hc-red-dark: #8F0000;
  --hc-ink: #161616;
  --hc-copy: #5f646b;
  --hc-line: #E5E7EB;
  --hc-panel: #F8F8F9;
  --hc-shadow: 0 4px 20px -2px rgba(0,0,0,.06), 0 2px 6px -1px rgba(0,0,0,.025);
  background: #fff;
  color: var(--hc-ink);
}

.hosting-checker-page *,
.hosting-checker-page *::before,
.hosting-checker-page *::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tool-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  color: #6d7279;
  font-size: 11px;
  line-height: 1.4;
}

.tool-breadcrumbs a {
  color: #5d6269;
  text-decoration: none;
}

.tool-breadcrumbs a:hover { color: var(--hc-red); }

.tool-breadcrumbs svg {
  width: 12px;
  height: 12px;
  color: #a9adb3;
  flex: 0 0 auto;
}

.checker-hero {
  padding: 34px 0 62px;
  background: #fff;
}

.checker-hero-inner {
  max-width: 720px;
  text-align: center;
}

.checker-hero h1 {
  margin: 0;
  color: var(--hc-ink);
  font-size: clamp(40px, 4.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}

.checker-lead {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--hc-copy);
  font-size: 13px;
  line-height: 1.7;
}

.checker-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  width: min(100%, 620px);
  margin: 25px auto 0;
  background: #fff;
  border: 1px solid #d9dce0;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  overflow: hidden;
}

.checker-input-wrap {
  position: relative;
  min-width: 0;
}

.checker-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 15px;
  height: 15px;
  color: #777c83;
  transform: translateY(-50%);
  pointer-events: none;
}

.checker-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  color: var(--hc-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 12px;
}

.checker-form input::placeholder { color: #969ba2; }

.checker-form button {
  height: 48px;
  padding: 0 18px;
  color: #fff;
  background: var(--hc-red);
  border: 0;
  border-left: 1px solid #960000;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.checker-form button:hover { background: var(--hc-red-dark); }

.checker-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  color: #686d74;
  font-size: 10px;
}

.checker-trust-row b {
  margin-right: 5px;
  color: #279652;
  font-weight: 800;
}

.checker-results {
  padding: 0 0 70px;
  background: var(--hc-panel);
  border-top: 1px solid #eceef0;
  border-bottom: 1px solid #eceef0;
}

.checker-results-wrap { padding-top: 34px; }

.proxy-alert {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 12px;
  margin-bottom: 16px;
  padding: 15px 17px;
  border-radius: 9px;
}

.proxy-alert-cloudflare {
  color: #1656b7;
  background: #eef6ff;
  border: 1px solid #b9d5ff;
}

.proxy-alert-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d9eaff;
  color: #0b63ce;
  font-size: 12px;
  font-weight: 800;
}

.proxy-alert strong {
  display: block;
  margin-bottom: 4px;
  color: #174b9b;
  font-size: 11.5px;
}

.proxy-alert p {
  margin: 0;
  color: #336bb4;
  font-size: 10.5px;
  line-height: 1.6;
}

.result-summary-card,
.result-card,
.hosting-options-card,
.checker-error-card {
  background: #fff;
  border: 1px solid #dde0e4;
  border-radius: 11px;
}

.result-summary-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 26px;
  box-shadow: var(--hc-shadow);
}

.result-summary-main { min-width: 0; }

.result-summary-main h2 {
  margin: 0 0 8px;
  color: var(--hc-ink);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.03em;
  word-break: break-word;
}

.result-summary-main > p {
  margin: 11px 0 0;
  color: #4f545b;
  font-size: 12.5px;
  line-height: 1.6;
}

.result-confidence { font-size: 11.5px !important; }

.result-note {
  padding-top: 9px;
  border-top: 1px solid #eceef0;
  font-size: 11px !important;
}

.result-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
}

.result-status-good { color: #176b3a; background: #eaf8ef; border: 1px solid #c8ead5; }
.result-status-bad { color: #8c1717; background: #fff0f0; border: 1px solid #efcaca; }
.result-status-warning { color: #775400; background: #fff8df; border: 1px solid #ebdea6; }
.result-status-neutral { color: #55555d; background: #f1f1f3; border: 1px solid #dedee2; }

.result-summary-actions {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  flex: 0 0 auto;
}

.report-action {
  min-height: 35px;
  padding: 0 10px;
  color: #34343a;
  background: #fff;
  border: 1px solid #dcdfe3;
  border-radius: 6px;
  font: inherit;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.report-action:hover { color: var(--hc-red); }

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, .78fr);
  gap: 17px;
  margin-top: 17px;
}

.result-column {
  display: grid;
  gap: 17px;
}

.result-card {
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.025);
}

.result-card-head {
  padding: 15px 18px;
  background: #fbfbfc;
  border-bottom: 1px solid #e2e5e8;
}

.result-card-head h3 {
  margin: 0;
  color: var(--hc-ink);
  font-size: 13.5px;
  line-height: 1.25;
}

.result-details {
  margin: 0;
  padding: 0 18px;
}

.result-details > div {
  display: grid;
  grid-template-columns: minmax(125px, .55fr) minmax(0, 1fr);
  gap: 22px;
  padding: 13px 0;
  border-bottom: 1px solid #eceef0;
}

.result-details > div:last-child { border-bottom: 0; }

.result-details dt {
  color: #5a5f66;
  font-size: 10.5px;
  font-weight: 700;
}

.result-details dd {
  margin: 0;
  color: #202328;
  font-size: 11.5px;
  line-height: 1.45;
}

.result-details dd small,
.footprint-table td small {
  display: block;
  margin-top: 3px;
  color: #737880;
  font-size: 9.5px;
}

.result-details code,
.footprint-table code {
  color: #24272c;
  background: transparent;
  font: 600 10.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.dns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
  padding: 20px 18px 22px;
}

.detail-kicker {
  display: block;
  margin-bottom: 8px;
  color: #8a8f96;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.plain-data-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #2a2e33;
  font-size: 10.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.muted-data {
  margin: 0;
  color: #999da3;
  font-size: 10.5px;
  font-style: italic;
  line-height: 1.5;
}

.detail-value {
  margin: 0;
  color: #24272c;
  font-size: 11.5px;
  font-weight: 700;
}

.footprint-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.footprint-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
}

.footprint-table th,
.footprint-table td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eceef0;
}

.footprint-table th {
  color: #8a8f96;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footprint-table td {
  color: #3b4046;
  font-size: 10.5px;
}

.footprint-table tbody tr:last-child td { border-bottom: 0; }

.result-sidebar {
  display: grid;
  align-content: start;
  gap: 17px;
}

.map-card { min-height: 335px; }

.result-map {
  display: block;
  width: 100%;
  height: 285px;
  border: 0;
}

.map-caption {
  margin: 0;
  padding: 9px 13px 11px;
  color: #7b8087;
  border-top: 1px solid #eceef0;
  font-size: 9px;
  line-height: 1.45;
}

.map-unavailable {
  min-height: 250px;
  padding: 24px 20px;
  color: #5b6067;
  background: #f4f5f6;
}

.map-unavailable strong {
  color: #24272c;
  font-size: 12.5px;
}

.map-unavailable p {
  max-width: 320px;
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.hosting-options-card {
  padding: 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,.025);
}

.hosting-options-card h3 {
  margin: 7px 0 8px;
  color: var(--hc-ink);
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.hosting-options-card p {
  margin: 0 0 15px;
  color: #666b72;
  font-size: 11.5px;
  line-height: 1.6;
}

.hosting-options-card .btn {
  width: 100%;
  justify-content: center;
}

.result-meaning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  max-width: 760px;
  margin-top: 17px;
  padding: 17px 18px;
  border: 1px solid #dde0e4;
  border-radius: 10px;
}

.result-meaning-good { background: #effbf4; border-color: #bfe8ce; }
.result-meaning-bad { background: #fff3f3; border-color: #efcaca; }
.result-meaning-warning { background: #fff9e8; border-color: #eadca9; }
.result-meaning-neutral { background: #f3f3f5; border-color: #dedee2; }

.result-meaning-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 900;
}

.result-meaning h3 {
  margin: 1px 0 4px;
  font-size: 11.5px;
}

.result-meaning p {
  margin: 0;
  color: #4c5158;
  font-size: 10.5px;
  line-height: 1.62;
}

.checker-results-error { padding-bottom: 32px; }

.checker-error-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #741818;
  background: #fff5f5;
  border-color: #efcdcd;
}

.checker-error-card p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.checker-method {
  padding: 72px 0;
  background: var(--hc-panel);
  border-bottom: 1px solid #eceef0;
}

.checker-method-grid {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1.44fr);
  gap: 54px;
  align-items: start;
}

.checker-method-intro { padding-top: 8px; }

.checker-section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--hc-red);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.checker-method-intro h2,
.checker-limitations h2 {
  margin: 0;
  color: var(--hc-ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.checker-method-intro p {
  max-width: 390px;
  margin: 18px 0 0;
  color: #666b72;
  font-size: 12.5px;
  line-height: 1.72;
}

.checker-method-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dde0e4;
  border-radius: 11px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.checker-method-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 22px;
  padding: 26px;
  border-bottom: 1px solid #e6e8eb;
}

.checker-method-row:last-child { border-bottom: 0; }

.checker-method-number {
  color: #d6dee8;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.checker-method-row h3 {
  margin: 0 0 7px;
  color: var(--hc-red);
  font-size: 14px;
  line-height: 1.25;
}

.checker-method-row p {
  max-width: 650px;
  margin: 0;
  color: #555b62;
  font-size: 12px;
  line-height: 1.68;
}

.checker-limitations {
  padding: 66px 0;
  background: #fff;
}

.checker-limitations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 70px;
}

.checker-limitations-copy p {
  margin: 0 0 13px;
  color: #5d6269;
  font-size: 13px;
  line-height: 1.72;
}

.checker-attribution {
  padding: 16px 0 36px;
  background: #fff;
}

.checker-attribution p {
  max-width: 900px;
  margin: 0;
  color: #8a8f96;
  font-size: 9px;
  line-height: 1.55;
}

.checker-attribution a { color: inherit; }

@media (max-width: 980px) {
  .result-layout { grid-template-columns: 1fr; }
  .result-sidebar { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .checker-method-grid,
  .checker-limitations-grid { grid-template-columns: 1fr; gap: 24px; }
  .checker-method-intro p { max-width: 720px; }
}

@media (max-width: 760px) {
  .tool-breadcrumbs { margin-top: 16px; }
  .checker-hero { padding: 28px 0 48px; }

  .checker-form {
    grid-template-columns: 1fr;
    border-radius: 10px;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 8px;
  }

  .checker-input-wrap {
    background: #fff;
    border: 1px solid #d9dce0;
    border-radius: 9px;
  }

  .checker-form button {
    width: 100%;
    border: 0;
    border-radius: 8px;
  }

  .result-summary-card { flex-direction: column; }
  .result-summary-actions { width: 100%; }
  .report-action { flex: 1; }
  .result-sidebar { grid-template-columns: 1fr; }
  .dns-grid { grid-template-columns: 1fr; }

  .checker-method-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 20px;
  }

  .checker-method-number { font-size: 32px; }
}

@media (max-width: 560px) {
  .checker-hero h1 { font-size: 39px; }
  .checker-lead { font-size: 12.5px; }
  .checker-trust-row { gap: 10px 16px; }
  .checker-results-wrap { padding-top: 22px; }
  .result-summary-card { padding: 20px; }
  .result-details { padding: 0 15px; }

  .result-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .result-card-head { padding: 14px 15px; }
  .dns-grid { padding: 17px 15px 19px; }

  .checker-method,
  .checker-limitations { padding: 52px 0; }

  .checker-method-intro h2,
  .checker-limitations h2 { font-size: 34px; }

  .proxy-alert {
    grid-template-columns: 24px minmax(0,1fr);
    padding: 14px;
  }
}
