/* Shared company information and footer styles. Keep the existing page designs. */
.company-summary {
  margin-top: 26px;
}

.company-summary h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.3;
}

.company-summary p,
.site-footer p {
  max-width: 100%;
  direction: ltr;
  unicode-bidi: normal;
}

.company-summary p {
  margin: 8px auto 0;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-name {
  overflow-wrap: anywhere;
}

.site-footer {
  width: 100%;
  margin: 24px auto 0;
  padding: 22px 16px 0;
  border-top: 1px solid rgba(23, 52, 45, 0.16);
  text-align: center;
  color: var(--muted);
}

.page > .site-footer {
  max-width: 760px;
}

.site-footer p {
  margin: 6px 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer a,
.company-details a {
  color: var(--text);
  overflow-wrap: anywhere;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.company-details {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px 20px;
  line-height: 1.75;
}

.company-details dt {
  font-weight: 700;
}

.company-details dd {
  margin: 0;
  min-width: 0;
  color: var(--muted);
}

@media (max-width: 600px) {
  .company-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .company-details dd {
    margin-bottom: 12px;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: center;
  }
}
