/* ============================= */
/* TABLE OF CONTENTS SIDEBAR */
/* ============================= */

details.toc-right {
  position: sticky;
  top: 5rem;

  width: 340px;
  min-width: 340px;
  max-width: 340px;

  max-height: calc(100vh - 6rem);
  overflow-y: auto;

  padding: 1rem 1rem 1.1rem 1rem;

  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);

  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* TOC Title */

details.toc-right summary {
  display: block;

  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;

  border-bottom: 1px solid rgba(255,255,255,0.08);

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.95);

  cursor: default;
  list-style: none;
}

details.toc-right summary::-webkit-details-marker {
  display: none;
}

/* TOC List Container */

details.toc-right > div {
  border-left: 2px solid rgba(255,255,255,0.08);
  padding-left: 0.85rem;
  min-width: 0;
}

/* List */

details.toc-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

details.toc-right li {
  margin: 0.38rem 0;
}

/* Links */

details.toc-right a {
  display: block;

  text-decoration: none;

  font-size: 0.92rem;
  line-height: 1.38;
  font-weight: 600;

  color: rgba(255,255,255,0.82);

  padding: 0.08rem 0;

  transition: color 0.15s ease, transform 0.15s ease;

  overflow-wrap: break-word;
}

details.toc-right a:hover {
  color: rgba(255,255,255,1);
  transform: translateX(3px);
}

/* Nested sections */

details.toc-right ul ul {
  margin-top: 0.2rem;
  padding-left: 0.8rem;
}

details.toc-right ul ul a {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
}

/* Scrollbar */

details.toc-right::-webkit-scrollbar {
  width: 6px;
}

details.toc-right::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
}

details.toc-right::-webkit-scrollbar-track {
  background: transparent;
}

/* Active TOC link */
details.toc-right a.toc-active,
details.toc a.toc-active {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  position: relative;
}

details.toc-right a.toc-active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0.35em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}
/* About page refresh */
.about-hero__text {
  max-width: 760px;
}

.about-hero__text h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.about-hero__text p {
  line-height: 1.7;
}

.about-hero__img {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 1.4rem;
}

.about-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(96, 165, 250, 0.5);
  background: rgba(96, 165, 250, 0.14);
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.about-cta--primary {
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(96, 165, 250, 0.18);
}
