/* ==========================================================================
   HostScout.ca - About page
   Alternating section rhythm:
   Hero white -> Purpose grey -> Checks white -> Infrastructure grey -> Verified host logos white
   Footer remains site-wide grey.
   ========================================================================== */

.about-page {
  background: #fff;
}

.about-page .kicker {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero - white
   -------------------------------------------------------------------------- */

.about-hero {
  padding: 78px 0 104px;
  background: #fff;
  border-bottom: 1px solid #ececee;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 68px;
  align-items: center;
}

.about-hero-media {
  min-width: 0;
}

.about-hero-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 24px 58px rgba(17,17,17,.10), 0 6px 16px rgba(17,17,17,.05);
}

.about-hero-copy {
  max-width: 640px;
}

.about-hero-copy > .kicker {
  margin-bottom: 22px;
}

.about-hero-copy h1 {
  margin: 0;
  max-width: 640px;
  color: #161616;
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1.01;
  letter-spacing: -.052em;
  font-weight: 700;
}

.about-hero-copy > p {
  margin: 20px 0 0;
  color: #555b64;
  font-size: 14px;
  line-height: 1.72;
}

.about-hero-copy .about-lead {
  margin-top: 30px;
  color: #22262c;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
}




.about-operator {
  margin-top: 20px !important;
  color: #50565f !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
}

.about-operator a {
  color: #33383f;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c9cdd2;
  text-underline-offset: 3px;
}

.about-operator a:hover {
  color: var(--red);
  text-decoration-color: var(--red);
}

/* --------------------------------------------------------------------------
   Why HostScout exists - grey
   -------------------------------------------------------------------------- */

.about-purpose {
  padding: 96px 0;
  background: #F8F8F9;
  border-bottom: 1px solid #ececee;
}

.about-purpose-grid {
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
  gap: 76px;
  align-items: start;
}

.about-purpose .kicker {
  margin-bottom: 18px;
}

.about-purpose h2,
.about-infrastructure h2 {
  max-width: 660px;
}

.about-purpose-copy {
  max-width: 650px;
}

.about-purpose-copy p {
  margin: 0;
  color: #50565f;
  font-size: 14px;
  line-height: 1.75;
}

.about-purpose-copy p + p {
  margin-top: 18px;
}

.about-definition-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.about-definition-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid #e2e4e7;
  border-radius: 9px;
  background: #fff;
}

.about-definition-list strong {
  color: #1c2025;
  font-size: 13px;
  line-height: 1.45;
}

.about-definition-list span {
  color: #60666f;
  font-size: 12.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   What Gets Checked - white
   -------------------------------------------------------------------------- */

.about-checks {
  padding: 98px 0 104px;
  background: #fff;
  border-bottom: 1px solid #ececee;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.about-checks-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.38fr);
  gap: 58px;
  align-items: start;
}

.about-checks-intro {
  padding-top: 8px;
}

.about-checks-intro .kicker {
  margin-bottom: 18px;
}

.about-checks-intro h2 {
  margin: 0;
  max-width: 470px;
  color: #161616;
  font-size: clamp(38px, 4.3vw, 54px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.about-checks-intro p {
  max-width: 395px;
  margin: 22px 0 0;
  color: #666c75;
  font-size: 13px;
  line-height: 1.72;
}

.about-check-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(17,17,17,.09);
}

.about-check-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border-bottom: 1px solid #e8eaed;
}

.about-check-row:last-child {
  border-bottom: 0;
}

.about-check-number {
  display: block;
  color: #d7dfe8;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.045em;
}

.about-check-row h3 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.about-check-row p {
  max-width: 650px;
  margin: 0;
  color: #555c65;
  font-size: 12.5px;
  line-height: 1.7;
}

.about-check-row .content-link {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Infrastructure Matters - grey
   -------------------------------------------------------------------------- */

.about-infrastructure {
  padding: 98px 0 104px;
  background: #F8F8F9;
  border-bottom: 1px solid #ececee;
  content-visibility: auto;
  contain-intrinsic-size: auto 650px;
}

.about-infrastructure-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 68px;
  align-items: start;
}

.about-infrastructure-copy .kicker {
  margin-bottom: 18px;
}

.about-infrastructure-copy p {
  margin: 18px 0 0;
  max-width: 590px;
  color: #555c66;
  font-size: 14px;
  line-height: 1.72;
}

.about-infrastructure-panel {
  padding: 28px;
  border: 1px solid #dfe2e6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17,17,17,.08);
}

.about-infrastructure-panel h3 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.about-signal-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-signal-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 0;
  border-top: 1px solid #eceef1;
}

.about-signal-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.about-signal-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e9f7ee;
  color: #087a42;
  font-size: 13px;
  font-weight: 800;
}

.about-signal-list strong,
.about-signal-list small {
  display: block;
}

.about-signal-list strong {
  color: #191c21;
  font-size: 13.5px;
  line-height: 1.35;
}

.about-signal-list small {
  margin-top: 4px;
  color: #69707a;
  font-size: 12px;
  line-height: 1.5;
}

.about-signal-note {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid #e5e7ea;
}

.about-signal-note h3 {
  margin: 0 0 8px;
  color: #24282e;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.about-signal-note p {
  margin: 0;
  color: #666d76;
  font-size: 12px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Verified Canadian web hosts - white, logo-only links
   -------------------------------------------------------------------------- */

.about-verified-hosts {
  padding: 82px 0 96px;
  background: #fff;
}

.about-verified-hosts h2 {
  max-width: 860px;
  margin: 0 auto 40px;
  color: #161616;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
  text-align: center;
}

.about-host-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-host-logos > li {
  flex: 0 0 calc((100% - 120px) / 6);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-host-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 108px;
  padding: 14px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: opacity .18s ease;
}

.about-host-logo:hover {
  opacity: .75;
}

.about-host-logo:focus-visible {
  outline: 2px solid #263e59;
  outline-offset: 4px;
}

.about-host-logo img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .about-host-logo {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .about-hero {
    padding: 50px 0 78px;
  }

  .about-hero-grid,
  .about-purpose-grid,
  .about-checks-layout,
  .about-infrastructure-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    gap: 38px;
  }

  .about-hero-media {
    order: 1;
  }

  .about-hero-copy {
    order: 2;
    max-width: 720px;
  }


  .about-hero-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .about-purpose-grid,
  .about-infrastructure-grid {
    gap: 32px;
  }

  .about-definition-list {
    max-width: 720px;
  }

  .about-checks-layout {
    gap: 34px;
  }

  .about-checks-intro p {
    max-width: 700px;
  }

  .about-infrastructure-grid {
    align-items: start;
  }

  .about-infrastructure-panel {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: 34px 0 62px;
  }

  .about-hero-grid {
    gap: 30px;
  }

  .about-hero-image {
    border-radius: 9px;
    box-shadow: 0 16px 34px rgba(17,17,17,.09);
  }

  .about-hero-copy > .kicker {
    margin-bottom: 17px;
  }

  .about-hero-copy h1 {
    font-size: clamp(39px, 12vw, 50px);
  }

  .about-hero-copy .about-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.62;
  }



  .about-hero-copy > p {
    margin-top: 17px;
    font-size: 13px;
    line-height: 1.66;
  }


  .about-operator {
    margin-top: 17px !important;
    font-size: 12.8px !important;
  }

  .about-purpose,
  .about-checks,
  .about-infrastructure {
    padding: 70px 0;
  }

  .about-purpose-grid {
    gap: 24px;
  }

  .about-purpose-copy p,
  .about-infrastructure-copy p {
    font-size: 13px;
    line-height: 1.67;
  }

  .about-definition-list {
    margin: 20px 0;
  }

  .about-definition-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 14px;
  }

  .about-definition-list strong {
    font-size: 12.5px;
  }

  .about-definition-list span {
    font-size: 12px;
    line-height: 1.55;
  }

  .about-checks-layout {
    gap: 26px;
  }

  .about-checks-intro h2 {
    font-size: 38px;
  }

  .about-checks-intro p {
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .about-check-panel {
    border-radius: 10px;
  }

  .about-check-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 18px;
  }

  .about-check-number {
    font-size: 31px;
  }

  .about-check-row h3 {
    font-size: 14px;
  }

  .about-check-row p {
    font-size: 12px;
    line-height: 1.62;
  }

  .about-infrastructure-grid {
    gap: 26px;
  }

  .about-infrastructure-panel {
    padding: 21px 18px;
    border-radius: 10px;
  }

  .about-signal-note {
    margin-top: 15px;
    padding-top: 17px;
  }

  .about-signal-note p {
    font-size: 11.8px;
    line-height: 1.6;
  }


}

/* Logo rows are centered, including the final incomplete row. */
@media (max-width: 980px) {
  .about-host-logos > li {
    flex-basis: calc((100% - 72px) / 4);
  }
}

@media (max-width: 640px) {
  .about-verified-hosts {
    padding: 62px 0 70px;
  }

  .about-verified-hosts h2 {
    max-width: 440px;
    margin-bottom: 28px;
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.18;
  }

  .about-host-logos {
    gap: 16px;
  }

  .about-host-logos > li {
    flex-basis: calc((100% - 16px) / 2);
  }

  .about-host-logo {
    min-height: 92px;
    padding: 12px 8px;
  }

  .about-host-logo img {
    max-width: 168px;
    height: 64px;
  }
}
