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

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

.agreement-hero {
  max-width: 900px;
  margin-bottom: 42px;
}

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

.agreement-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;
}

.agreement-updated,
.agreement-intro {
  max-width: 860px;
  color: #53616c;
  font-size: 18px;
  line-height: 1.65;
}

.agreement-updated {
  margin: 22px 0 0;
  font-weight: 700;
}

.agreement-intro {
  margin: 14px 0 0;
}

.agreement-notice {
  max-width: 900px;
  margin: 0 0 34px;
  padding: 18px 20px;
  border-left: 4px solid #199fe3;
  border-radius: 8px;
  background: #eef8ff;
  color: #40505b;
  font-size: 15px;
  line-height: 1.6;
}

.agreement-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.agreement-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.06);
}

.agreement-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #53616c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.agreement-nav a:hover {
  background: #eef8ff;
  color: #172126;
}

.agreement-content {
  display: grid;
  gap: 18px;
}

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

.agreement-section h2 {
  margin: 0 0 12px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.agreement-section h3 {
  margin: 22px 0 8px;
  color: #172126;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.agreement-section p,
.agreement-section li {
  color: #53616c;
  font-size: 16px;
  line-height: 1.7;
}

.agreement-section p {
  margin: 0 0 12px;
}

.agreement-section p:last-child {
  margin-bottom: 0;
}

.agreement-section ul,
.agreement-section ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.agreement-section li + li {
  margin-top: 8px;
}

.agreement-contact {
  font-weight: 800;
}

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

.agreement-citation-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #53616c;
  font-size: 15px;
  line-height: 1.45;
}

.agreement-citation-table td {
  padding: 10px 12px;
  border: 1px solid #e6edf1;
}

.agreement-citation-table td:nth-child(odd) {
  color: #172126;
  font-weight: 800;
  background: #f8fbfd;
}

@media (max-width: 860px) {
  .agreement-layout {
    grid-template-columns: 1fr;
  }

  .agreement-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .agreement-updated,
  .agreement-intro {
    font-size: 16px;
  }

  .agreement-nav {
    grid-template-columns: 1fr;
  }

  .agreement-section {
    padding: 22px;
  }
}
