* {
  box-sizing: border-box;
}

body {
  max-width: 780px;
  margin: 3rem auto;
  padding: 1rem;
  color: #333;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

.legal-page {
  width: 100%;
}

.brand {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.brand a:hover {
  text-decoration: underline;
}

.site-header > p:last-child {
  margin-bottom: 0;
}

h1 {
  margin: 0 0 1.5rem;
  line-height: 1.25;
}

h2 {
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

h3 {
  margin: 0 0 1rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

section {
  scroll-margin-top: 1rem;
}

.document-meta {
  margin-top: -0.75rem;
  color: #555;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-page li + li {
  margin-top: 0.5rem;
}

address {
  font-style: normal;
}

.table-wrapper {
  max-width: 100%;
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

caption {
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: #244c70;
  color: #fff;
}

tbody th {
  width: 30%;
  background: #f2f5f7;
}

tbody tr:nth-child(even) td {
  background: #f7f9fa;
}

.pending-notice {
  margin: 0 0 1.5rem;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-weight: 700;
}

a {
  border-radius: 2px;
  color: #0645ad;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

a:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 3px;
}

.credits-section {
  margin-top: 2rem;
}

.credit-card {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.credit-details {
  margin: 0;
}

.credit-details > div + div {
  margin-top: 1rem;
}

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

.credit-details dd {
  margin: 0.25rem 0 0;
}

.attribution {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #ccc;
}

.legal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ccc;
}

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-nav a[aria-current="page"] {
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

.services-section {
  margin-top: 2rem;
}

.services-section h2 {
  margin-top: 0;
}

.service-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  display: block;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-decoration: none;
}

.service-card:hover {
  border-color: #0645ad;
  text-decoration: none;
}

.service-title,
.service-description {
  display: block;
}

.service-title {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.service-description {
  margin-top: 0.35rem;
  color: #333;
}

@media (max-width: 452px) {
  body {
    margin: 1.5rem auto;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .credit-card {
    padding: 1rem;
  }
}
