body {
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

.top-nav {
  align-items: center;
  background: rgba(0, 0, 0, 0.94);
  flex-wrap: wrap;
  gap: 14px;
}

.nav-left,
.nav-right {
  flex-wrap: wrap;
  gap: 14px;
}

.container,
.main-content {
  margin: 0 auto;
  max-width: 900px;
  padding: 52px 28px 80px;
}

.container .main-content {
  max-width: 100%;
  padding: 0;
}

.back-link,
.back-link a {
  color: #8ba8c7;
  display: inline-block;
  margin-bottom: 28px;
  text-decoration: none;
}

.back-link:hover,
.back-link a:hover {
  color: #22d3ee;
}

.tag {
  background: rgba(34, 211, 238, 0.1);
  border-radius: 5px;
  color: #22d3ee;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 18px;
  padding: 5px 11px;
}

h1,
.article-header h1,
main > h1,
article > h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 18px;
}

.subtitle,
.article-header > p:first-of-type,
h1 + p:not(.subtitle) {
  color: #a9caec;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 760px;
}

.author-info {
  color: #8ba8c7;
  margin-bottom: 44px;
}

article,
.article-body,
.article-content {
  line-height: 1.75;
}

article h2,
.article-body h2,
.article-content h2,
.container h2:not(.cta-section h2),
.main-content h2:not(.cta-section h2),
main h2:not(.cta-section h2) {
  border-bottom: 1px solid #2a3b4d;
  color: #ffffff;
  font-size: 27px;
  font-weight: 500;
  margin-top: 42px;
  padding: 0 0 10px;
}

article h3,
.article-body h3,
.article-content h3,
.container h3:not(.cta-section h3),
.main-content h3:not(.cta-section h3),
main h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  margin-top: 28px;
}

article h4,
.article-body h4,
.article-content h4,
.container h4,
.main-content h4,
main h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  margin-top: 22px;
}

.container p,
.container li,
.main-content p,
.main-content li {
  color: #a9caec;
  font-size: 16px;
  line-height: 1.95;
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.container ul,
.container ol,
.main-content ul,
.main-content ol {
  margin: 14px 0 0 24px;
}

.container strong,
.main-content strong {
  color: #dcecff;
}

.container a,
.main-content a {
  overflow-wrap: anywhere;
}

.container img,
.main-content img {
  border-radius: 8px;
  display: block;
  height: auto;
  margin: 24px 0;
  max-width: 100%;
}

.table-container,
table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  display: block;
  margin-top: 20px;
  width: 100%;
}

th,
td {
  border: 1px solid #2a3b4d;
  color: #a9caec;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #101827;
  color: #ffffff;
  font-weight: 500;
}

.card-container {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.card,
.boundary-note {
  background: rgba(14, 26, 43, 0.72);
  border: 1px solid #1f2937;
  border-left: 3px solid #22d3ee;
  border-radius: 8px;
  color: #a9caec;
  margin: 22px 0;
  padding: 18px 20px;
}

.card .value {
  color: #22d3ee;
  font-size: 30px;
  font-weight: 600;
}

.card .label {
  color: #8ba8c7;
  font-size: 14px;
}

.related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 8px;
}

.related-card {
  background: rgba(14, 26, 43, 0.72);
  border: 1px solid #1f2937;
  border-radius: 8px;
  color: #8ba8c7;
  display: block;
  min-width: 0;
  padding: 16px;
  text-decoration: none;
}

.related-card strong {
  color: #ffffff;
  display: block;
  font-size: 16px;
  line-height: 1.45;
}

.related-card span {
  color: #8ba8c7;
  display: block;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 8px;
}

.related-card:hover {
  border-color: rgba(34, 211, 238, 0.55);
}

.cta-section {
  background: #0e1a2b;
  border: 1px solid #1f2937;
  border-radius: 8px;
  margin-top: 60px;
  padding: 38px;
  text-align: center;
}

.cta-section h2 {
  border: 0;
  color: #ffffff;
  font-size: 28px;
  margin: 0 0 10px;
  padding: 0;
}

.cta-section p {
  color: #a9caec;
  margin: 0;
}

.cta-button {
  background: #22d3ee;
  border-radius: 5px;
  color: #000000;
  display: inline-block;
  font-weight: 600;
  margin-top: 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 13px 28px;
  text-decoration: none;
}

footer {
  border-top: 1px solid #2a3b4d;
  color: #8ba8c7;
  margin-top: 44px;
  padding: 28px 20px;
  text-align: center;
}

@media (max-width: 700px) {
  .top-nav {
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
  }

  .nav-divider,
  .nav-breadcrumb,
  .nav-right a:first-child {
    display: none;
  }

  .container,
  .main-content {
    padding: 38px 20px 60px;
  }

  .container .main-content {
    padding: 0;
  }

  h1,
  .article-header h1,
  main > h1,
  article > h1 {
    font-size: 34px;
  }

  .subtitle,
  .article-header > p:first-of-type,
  h1 + p:not(.subtitle) {
    font-size: 16px;
  }

  .card-container,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 28px 20px;
  }

  .cta-button {
    text-align: center;
    width: 100%;
  }
}
