/* A consistent centre line for the homepage at phone widths only. */
@media (max-width: 540px) {
  .site-header {
    justify-content: center;
    padding-inline: 18px;
  }

  .site-header .brand { margin-inline: auto; }
  .site-header .brand-logo { width: min(52vw, 205px); height: 62px; }
  .site-header .menu-toggle {
    position: absolute;
    right: 18px;
    margin-left: 0;
  }

  .hero-content {
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
  }
  .hero-content h1,
  .hero-lede { margin-inline: auto; }
  .hero-lede { max-width: 37ch; }
  .checker-wrap { margin-inline: auto; }
  .checker-form { text-align: left; }
  .checker-meta-row { justify-content: center; text-align: center; }

  .feature-strip {
    width: calc(100% - 40px);
    max-width: 560px;
    margin-inline: auto;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 22px 10px;
    padding-inline: 20px;
    text-align: center;
  }
  .trust-row > .trust-item,
  .trust-row > .trust-item + .trust-item {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    flex-direction: column;
    white-space: normal;
    text-align: center;
  }
  .trust-row > .trust-item svg { flex: 0 0 auto; }
  .trust-row > #api-status {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: 0;
    color: #aebfc8;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
  }
  .trust-row > #api-status i {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(105, 243, 91, .12);
  }

  .smart-section,
  .smart-copy { text-align: center; }
  .smart-copy { margin-inline: auto; }
  .smart-copy h2,
  .smart-copy > p:not(.eyebrow) { margin-inline: auto; }
  .smart-journey-row {
    justify-items: center;
    text-align: center;
  }
  .smart-journey-row .compact-journey {
    justify-items: center;
    text-align: center;
  }
  .smart-journey-row .compact-journey > div { text-align: center; }
  .report-preview { margin-inline: auto; justify-self: center; }
  .provider-attribution { text-align: center; }

  .pricing-section {
    align-items: center;
    text-align: center;
  }
  .pricing-section > div:first-child,
  .pricing-section > div:first-child > p:not(.eyebrow) {
    margin-inline: auto;
  }
  .price-card { max-width: 370px; margin-inline: auto; }

  .results-heading,
  .result-main,
  .result-identity {
    align-items: center;
    text-align: center;
  }
  .results-heading { margin-inline: auto; }
  .result-identity { flex-direction: column; }
  .result-metric,
  .tax-status-card,
  .report-unlock { text-align: center; }
  .tax-status-card { align-items: center; }

  .site-footer { padding-inline: 20px; }
  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .site-footer .footer-brand-block {
    width: min(100%, 300px);
    margin-inline: auto;
  }
  .site-footer .footer-brand-block .footer-brand,
  .site-footer .footer-brand-block .footer-logo,
  .site-footer .footer-review-widget { margin-inline: auto; }
  .site-footer .footer-links {
    width: min(100%, 320px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    text-align: center;
  }
  .site-footer .footer-links a:last-child { grid-column: 1 / -1; }
  .site-footer .footer-note {
    width: 100%;
    max-width: 560px;
    align-items: center;
    margin-inline: auto;
    text-align: center;
  }
  .site-footer .company-details {
    width: 100%;
    align-items: center;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }
  .site-footer nav.legal-footer {
    width: 100%;
    justify-content: center;
    gap: 10px 18px;
    margin-inline: auto;
    text-align: center;
  }
  .site-footer .footer-signoff {
    align-self: center;
    text-align: center;
  }
}
