* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  transition:
    background 0.3s,
    color 0.3s;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}

[data-theme="light"] .grid-bg {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

.tt .is,
.tt .im {
  position: absolute;
  transition: all 0.3s;
}

[data-theme="dark"] .is {
  opacity: 1;
  transform: scale(1);
}

[data-theme="dark"] .im {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.hero-div-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Geist Mono";
}
.pr-text-h1 {
  font-family: "Syne";
  font-weight: 800;
  font-size: clamp(44px, 7.5vw, 88px);
  letter-spacing: -4px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 18px;
}
.pr-text-span {
  color: rgba(255, 255, 255, 0.22);
}
.pr-text-para {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 300;
}
.hero-btn-set {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.pri-panel-box {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 26px 30px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 36px;
}
.pri-panel-box-text {
  font-family: "Syne";
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.pri-panel-box-para {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.75;
  font-weight: 300;
}
.pri-panel-box-text-side {
  margin-left: auto;
  font-family: "Geist Mono";
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}
.cta-para {
  font-family: "Geist Mono";
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  margin-bottom: 12px;
  position: relative;
}
.cta-para-h2 {
  font-family: "Syne";
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  line-height: 1.1;
}
.cta-para-para {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
  position: relative;
  font-weight: 300;
}
.cont-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-family: "Syne";
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.bd-red-sid {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.con-us-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
}
.side-bar-on {
  font-family: "Geist Mono";
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
  margin-bottom: 10px;
  padding: 0 6px;
}
.hav-aq-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 11px;
}
.error-le-team {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 2;
}
.error-le-team-text {
  font-family: "Syne";
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 8px;
}
[data-theme="light"] .error-le-team-text {
  color: #09090b;
}
[data-theme="light"] .error-le-team {
  color: rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .hav-aq-text {
  color: rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .side-bar-on {
  color: rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .bd-red-sid {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}
[data-theme="light"] .con-us-email {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.65);
}
[data-theme="light"] .cont-us-btn {
  background: #000000;
  color: #ffffff;
}
[data-theme="light"] .cta-para-para {
  color: rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .cta-para-h2 {
  color: #09090b;
}
[data-theme="light"] .cta-para {
  color: rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .pri-panel-box-text-side {
  color: rgba(0, 0, 0, 0.28);
}
[data-theme="light"] .pri-panel-box-para {
  color: rgba(0, 0, 0, 0.55);
}
[data-theme="light"] .pri-panel-box-text {
  color: #09090b;
}
[data-theme="light"] .pri-panel-box {
  border: 1px solid #e5e7eb;
}
[data-theme="light"] .hero-btn-set {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(73, 73, 73, 0.03);
}
[data-theme="light"] .pr-text-para {
  color: rgba(0, 0, 0, 0.7);
}
[data-theme="light"] .pr-text-span {
  color: rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .pr-text-h1 {
  color: #09090b;
}
[data-theme="light"] .hero-div-bar {
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .is {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

[data-theme="light"] .im {
  opacity: 1;
  transform: scale(1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fu {
  animation: fadeUp 0.55s ease both;
}

.d1 {
  animation-delay: 0.08s;
}

.d2 {
  animation-delay: 0.16s;
}

.d3 {
  animation-delay: 0.24s;
}

.rev {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.rev.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sp {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.sp {
  animation: sp 2s ease-in-out infinite;
}

/* TOC */
.toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

[data-theme="light"] .toc-link {
  color: rgba(0, 0, 0, 0.42);
}

.toc-link:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .toc-link:hover {
  color: rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.04);
}

.toc-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .toc-link.active {
  color: #09090b;
  background: rgba(0, 0, 0, 0.06);
}

.toc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  transition: all 0.18s;
}

[data-theme="light"] .toc-dot {
  background: rgba(0, 0, 0, 0.18);
}

.toc-link.active .toc-dot,
.toc-link:hover .toc-dot {
  background: #6366f1;
  transform: scale(1.4);
}

/* TABS */
.tab-btn {
  padding: 9px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Syne";
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn.active {
  background: #fff;
  color: #000;
}

[data-theme="light"] .tab-btn.active {
  background: #09090b;
  color: #fff;
}

.tab-btn:not(.active) {
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .tab-btn:not(.active) {
  color: rgba(0, 0, 0, 0.42);
  border-color: rgba(0, 0, 0, 0.1);
}

.tab-btn:not(.active):hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="light"] .tab-btn:not(.active):hover {
  color: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.2);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* PROSE */
.prose-section {
  scroll-margin-top: 100px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 48px;
}

[data-theme="light"] .prose-section {
  border-color: rgba(0, 0, 0, 0.06);
}

.prose-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sec-num {
  font-family: "Geist Mono";
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

[data-theme="light"] .sec-num {
  color: rgba(0, 0, 0, 0.28);
}

.sec-h {
  font-family: "Syne";
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

[data-theme="light"] .sec-h {
  color: #09090b;
}

.pp {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 14px;
}

[data-theme="light"] .pp {
  color: rgba(0, 0, 0, 0.54);
}

.pp:last-child {
  margin-bottom: 0;
}

.ul {
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
  font-weight: 300;
}

[data-theme="light"] .li {
  color: rgba(0, 0, 0, 0.5);
}

.blt {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.7);
  flex-shrink: 0;
  margin-top: 9px;
}

.str {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

[data-theme="light"] .str {
  color: rgba(0, 0, 0, 0.8);
}

a.lnk {
  color: #818cf8;
  text-decoration: none;
}

a.lnk:hover {
  text-decoration: underline;
}

/* INFO BOX */
.ibox {
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ibox.bl {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.17);
}

.ibox.gr {
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.17);
}

.ibox.ye {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.17);
}

.ibox.re {
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.17);
}

.ibox-ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ibox.bl .ibox-ic {
  background: rgba(99, 102, 241, 0.14);
}

.ibox.gr .ibox-ic {
  background: rgba(52, 211, 153, 0.12);
}

.ibox.ye .ibox-ic {
  background: rgba(251, 191, 36, 0.12);
}

.ibox.re .ibox-ic {
  background: rgba(248, 113, 113, 0.12);
}

.ibox-t {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
}

.ibox.bl .ibox-t {
  color: rgba(129, 140, 248, 0.9);
}

.ibox.gr .ibox-t {
  color: rgba(52, 211, 153, 0.9);
}

.ibox.ye .ibox-t {
  color: rgba(251, 191, 36, 0.9);
}

.ibox.re .ibox-t {
  color: rgba(248, 113, 113, 0.9);
}

/* TABLE */
.dtbl {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .dtbl {
  border-color: rgba(0, 0, 0, 0.07);
}

.dtbl th {
  background: rgba(255, 255, 255, 0.04);
  padding: 11px 16px;
  font-size: 11px;
  font-family: "Geist Mono";
  letter-spacing: 0.08em;
  text-align: left;
  color: rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .dtbl th {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.38);
  border-color: rgba(0, 0, 0, 0.07);
}

.dtbl td {
  padding: 11px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.5;
}

[data-theme="light"] .dtbl td {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.05);
}

.dtbl tr:last-child td {
  border-bottom: none;
}

.dtbl tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .dtbl tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

code.cd {
  font-family: "Geist Mono";
  font-size: 12px;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

@media (max-width: 880px) {
  .layout-grid {
    grid-template-columns: 1fr !important;
  }

  .toc-sidebar {
    display: none !important;
  }
}
@media (max-width: 605px) {
  .hero-btn-set {
    display: inline-grid;
  }
}
.panel-box-d-style {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  margin: 14px 0;
}

[data-theme="light"] .panel-box-d-style {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid #e5e7eb;
}
