
:root {
  --bg: #0d1b2a;
  --bg-card: #1b2838;
  --text: #e0fbfc;
  --text-muted: rgba(255,255,255,0.5);
  --accent: #00b4d8;
  --accent-rgb: 0,180,216;
  --accent2: #6c00d8;
  --accent2-rgb: 108,0,216;
  --accent3: #00f251;
  --accent3-rgb: 0,242,81;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --font: 'DM Sans', sans-serif;
  --font-heading: 'DM Sans', sans-serif;
  --bodyBG: #0d1b2a;
  --textColor1: #e0fbfc;
  --textColor2: #111111;
  --textSecondary: #abc3c8;
  --textMuted: #778b93;
  --secondStyleColor: #00b4d8;
  --bgCard: #1b2838;
  --bgAlt: #1e2d3b;
  --borderSubtle: rgba(255,255,255,0.08);
  --borderRadius: 12px;
  --maxWidthContainer: 1200px;
  --scrollbarBg: rgba(255,255,255,0.1);
  --itemBgColor: transparent;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 100vw; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 100vw; }
::-webkit-scrollbar-thumb:hover { background: var(--secondStyleColor); filter: brightness(1.2); }
::-webkit-scrollbar-thumb:active { background: #fff; }
* { scrollbar-width: thin; scrollbar-color: var(--accent) rgba(255,255,255,0.05); }

body {
  font-family: var(--font);
  background: var(--bodyBG);
  color: var(--textColor1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxWidthContainer);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; object-position: 50% 20%; }
ul { list-style: none; }
html { scroll-behavior: smooth; }

/* Standardized typography */
section h1 {
  font-size: 48px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
section h2 {
  font-size: 36px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
section h3 {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
section h4 {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}
section p,
section li {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
footer p,
footer li,
footer a {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
footer h3 {
  font-size: 16px !important;
}
@media (max-width: 900px) {
  section h1 {
    font-size: 36px !important;
  }
  section h2 {
    font-size: 28px !important;
  }
}
@media (max-width: 600px) {
  section h1 {
    font-size: 30px !important;
  }
  section h2 {
    font-size: 24px !important;
  }
  section h3 {
    font-size: 18px !important;
  }
  section p,
  section li {
    font-size: 15px !important;
  }
}

/* Heading font */
section h1, section h2, section h3, section h4,
header h1, header h2, header h3, header h4,
footer h3 {
  font-family: var(--font-heading) !important;
}

/* Standardized section spacing */
section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
header, nav { padding-top: 0 !important; padding-bottom: 0 !important; }
footer {
  padding-top: 40px !important;
  padding-bottom: 24px !important;
}
section.toc {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.site-disclaimer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  text-align: center;
}
.site-disclaimer p {
  font-size: 14px !important;
  font-style: italic;
  line-height: 1.5 !important;
  color: var(--textMuted);
  max-width: 800px;
  margin: 0 auto;
}
.toc .swiper-wrapper {
}
@media (max-width: 768px) {
  body > section,
  body > div > section,
  body > section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* Secondary pages */
.sec-page { padding: 80px 0; min-height: 60vh; }
.page-content { max-width: var(--maxWidthContainer); }
.page-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 24px; }
.page-content h2 { font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; color: var(--textColor1); }
.page-content p { margin-bottom: 16px; color: var(--textSecondary); line-height: 1.8; font-size: 0.95rem; }
.page-content a { color: var(--secondStyleColor); text-decoration: underline; }
.page-content a:hover { opacity: 0.8; }

/* Overflow protection — word wrap only, no clipping */
section p,
section li,
section summary {
  overflow-wrap: break-word;
}


.hd9 {
  background: var(--bodyBG);
  border-bottom: 1px solid rgba(128,128,128,.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.hd9__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.hd9__logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--textColor1);
  text-decoration: none;
}

/* Nav anchors */
.hd9__nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd9__link {
  color: var(--textColor1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color .2s ease;
}
.hd9__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--secondStyleColor);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.hd9__link:hover {
  color: var(--secondStyleColor);
}
.hd9__link:hover::after {
  transform: scaleX(1);
}

/* CTA button */
.hd9__cta {
  display: inline-block;
  padding: 8px 22px;
  background: var(--secondStyleColor);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
  transition: filter .2s ease;
  white-space: nowrap;
}
.hd9__cta:hover {
  filter: brightness(1.15);
}

/* Toggle */
.hd9__toggle {
  display: flex;
  background: none;
  border: 1px solid rgba(128,128,128,.25);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  color: var(--textColor1);
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease;
}
.hd9__toggle:hover {
  border-color: var(--secondStyleColor);
}

/* Panel */
.hd9__panel {
  position: absolute;
  top: 100%;
  right: 20px;
  background: var(--bodyBG);
  border: 1px solid rgba(128,128,128,.12);
  border-top: 2px solid var(--secondStyleColor);
  border-radius: 0 0 var(--borderRadius) var(--borderRadius);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease;
  opacity: 0;
  z-index: 99;
  min-width: 220px;
}
.hd9__panel.active {
  max-height: 500px;
  opacity: 1;
}
.hd9__panel ul {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}
.hd9__panel li + li {
  border-top: 1px solid rgba(128,128,128,.06);
}
.hd9__panel a {
  display: block;
  padding: 11px 22px;
  color: var(--textColor1);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
  white-space: nowrap;
}
.hd9__panel a:hover {
  background: rgba(128,128,128,.07);
  color: var(--secondStyleColor);
  padding-left: 26px;
}

@media (max-width: 600px) {
  .hd9__nav { display: none; }
  .hd9__cta { display: none; }
}



  .site-footer {
    border-top: 0.5px solid var(--secondStyleColor);
    padding: 20px 0;
  }
  .footerLogo {
    color: var(--textColor1);
  }

  .footer-inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .intoLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    span {
      width: 8px;
      height: 8px;
      background-color: var(--secondStyleColor);
      border-radius: 50%;
    }
    a {
      transition: 0.3s all linear;
      transform-origin: left;
      text-decoration: none;
      color: var(--textColor1);
    }
    a:hover {
      text-decoration: underline;
    }
  }
  @media screen and (max-width: 750px) {
    .intoLinks {
      flex-direction: column;
      span {
        display: none;
      }
    }
  }

  .f-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .f-social i {
    color: var(--secondStyleColor);
  }
  .copy {
    text-align: center;
    opacity: 0.5;
  }
  .footer-links {
    display: flex;
    gap: 1rem;
  }

  .footer-links a {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75rem;
  }

  .footer-links a:hover {
    color: #fff;
  }


[data-aos]{opacity:0;transition:opacity 0.6s ease,transform 0.6s ease}
[data-aos="fade-up"]{transform:translateY(30px)}
[data-aos="fade-in"]{transform:none}
[data-aos="slide-left"]{transform:translateX(-30px)}
[data-aos="slide-right"]{transform:translateX(30px)}
[data-aos].aos-visible{opacity:1;transform:none}