.agencies-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 24px 84px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.agencies-page * {
  box-sizing: border-box;
}

.agencies-topbar {
  margin-bottom: 28px;
}

.agencies-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #1167ff;
  border-radius: 8px;
  background: #ffffff;
  color: #1167ff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.agencies-back:hover {
  background: #eef8ff;
}

.agencies-hero {
  max-width: 900px;
  margin-bottom: 34px;
}

.agencies-eyebrow {
  margin: 0 0 12px;
  color: #199fe3;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agencies-title {
  margin: 0;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.agencies-intro {
  max-width: 860px;
  margin: 22px 0 0;
  color: #53616c;
  font-size: 18px;
  line-height: 1.65;
}

.agencies-notice,
.agencies-card {
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.06);
}

.agencies-notice {
  margin-bottom: 22px;
  padding: 22px 24px;
  border-left: 4px solid #199fe3;
  background: #eef8ff;
}

.agencies-notice h2 {
  margin: 0 0 8px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

.agencies-notice p {
  margin: 0;
  color: #40505b;
  font-size: 16px;
  line-height: 1.65;
}

.agencies-card {
  overflow: hidden;
}

.agencies-card-heading {
  padding: 24px 26px;
  border-bottom: 1px solid #dbe4ea;
  background: #f8fbfd;
}

.agencies-card-heading h2 {
  margin: 0;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.agencies-card-heading p {
  max-width: 820px;
  margin: 8px 0 0;
  color: #53616c;
  font-size: 16px;
  line-height: 1.55;
}

.agencies-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.agencies-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #172126;
  font-size: 15px;
}

.agencies-table th,
.agencies-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e6edf1;
  text-align: left;
  vertical-align: top;
}

.agencies-table th {
  color: #172126;
  background: #ffffff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agencies-table tbody tr:nth-child(even) {
  background: #fbfdfe;
}

.agencies-table tbody tr:hover {
  background: #eef8ff;
}

.agencies-table td:first-child {
  width: 44%;
  color: #172126;
  font-weight: 750;
}

.agencies-table td {
  color: #53616c;
  line-height: 1.55;
}

.agencies-table strong {
  color: #172126;
  font-weight: 850;
}

.agencies-table a {
  color: #0879c8;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.agencies-table a:hover {
  color: #055f9e;
  text-decoration: underline;
}

@media (max-width: 620px) {
  .agencies-page {
    padding: 34px 18px 64px;
  }

  .agencies-title {
    font-size: 40px;
  }

  .agencies-intro {
    font-size: 16px;
  }

  .agencies-notice,
  .agencies-card-heading {
    padding: 20px;
  }

  .agencies-table {
    min-width: 680px;
    font-size: 14px;
  }

  .agencies-table th,
  .agencies-table td {
    padding: 13px 14px;
  }
}
