.legal-prose--wide {
  max-width: none;
}

.trust-intro {
  max-width: 36rem;
}

.trust-intro-meta {
  font-size: 0.8125rem;
  color: var(--lohk-text-muted);
}

.trust-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.trust-tabs-bar {
  display: flex;
  gap: 1.1rem;
  border-bottom: 1px solid var(--lohk-border);
  margin: 1.25rem 0 1.15rem;
}

.trust-tabs-bar label {
  padding: 0.4rem 0;
  color: var(--lohk-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

#trust-tab-overview:checked ~ .trust-tabs-bar label[for="trust-tab-overview"],
#trust-tab-resources:checked ~ .trust-tabs-bar label[for="trust-tab-resources"],
#trust-tab-controls:checked ~ .trust-tabs-bar label[for="trust-tab-controls"] {
  color: var(--lohk-text);
  border-bottom-color: var(--lohk-primary);
}

.trust-panel {
  display: none;
}

#trust-tab-overview:checked ~ #trust-panel-overview,
#trust-tab-resources:checked ~ #trust-panel-resources,
#trust-tab-controls:checked ~ #trust-panel-controls {
  display: block;
}

.trust-overview {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) 1fr;
  gap: 1.5rem 1.75rem;
  align-items: start;
}

.trust-overview-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trust-panel-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.legal-prose .trust-panel-head h2,
.legal-prose .trust-card-head h3,
.legal-prose .trust-section h2 {
  margin: 0;
}

.trust-panel-head h2 {
  font-size: 0.875rem;
}

.trust-panel-head a {
  margin-left: auto;
}

.trust-panel-head a,
.trust-card-more {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--lohk-primary);
  text-decoration: none;
}

.trust-updated {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--lohk-success-container);
  color: var(--lohk-on-success-container);
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-card {
  background: var(--lohk-bg);
  border: 1px solid var(--lohk-border);
  border-radius: var(--lohk-radius);
  padding: 0.75rem 0.85rem 0.7rem;
}

.trust-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.75rem;
}

.trust-card-head h3 {
  font-size: 0.875rem;
  font-weight: 700;
}

.trust-card-chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--lohk-text-muted);
  border-top: 2px solid var(--lohk-text-muted);
  transform: rotate(45deg);
}

.legal-prose .trust-card-list,
.legal-prose .trust-control-list,
.legal-prose .trust-resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-prose .trust-card-list li,
.legal-prose .trust-control-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0 0 0.55rem;
}

.legal-prose .trust-card-list li:last-child,
.legal-prose .trust-control-list li:last-child {
  margin-bottom: 0.15rem;
}

.trust-card-more {
  display: inline-block;
  margin-top: 0.55rem;
}

.trust-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--lohk-success);
  flex-shrink: 0;
}

.trust-check-icon::after {
  content: '';
  width: 0.32rem;
  height: 0.52rem;
  margin-top: -0.12rem;
  border-right: 2px solid var(--lohk-on-success);
  border-bottom: 2px solid var(--lohk-on-success);
  transform: rotate(45deg);
}

.legal-prose .trust-resource-list li {
  margin: 0 0 0.45rem;
}

.trust-resource-list a {
  font-weight: 600;
}

.trust-section,
#trust-panel-controls,
#trust-panel-resources {
  scroll-margin-top: 1rem;
}

.trust-section {
  margin: 0 0 1.75rem;
}

.trust-section h2 {
  margin-bottom: 0.85rem;
}

.legal-prose .trust-control-list li {
  margin-bottom: 0.65rem;
}

.trust-control-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.trust-control-statement {
  margin: 0.15rem 0 0;
  color: var(--lohk-text-muted);
  font-size: 0.75rem;
}

.trust-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 500;
}

@media (max-width: 800px) {
  .trust-overview,
  .trust-overview-controls {
    grid-template-columns: 1fr;
  }
}
