:root {
      --bg: #07080d;
      --panel: rgba(13, 18, 31, 0.9);
      --panel-strong: #101624;
      --text: #eef6ff;
      --muted: #a8b6c8;
      --cyan: #19f7ff;
      --pink: #ff2bbd;
      --lime: #b7ff35;
      --amber: #ffb429;
      --line: rgba(25, 247, 255, 0.26);
      --radius: 8px;
      --shadow: 0 0 28px rgba(25, 247, 255, 0.16), 0 0 70px rgba(255, 43, 189, 0.08);
      font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-width: 320px;
      color: var(--text);
      background:
        linear-gradient(rgba(25, 247, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 43, 189, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 72% 6%, rgba(255, 43, 189, 0.2), transparent 26rem),
        radial-gradient(circle at 12% 18%, rgba(25, 247, 255, 0.16), transparent 22rem),
        var(--bg);
      background-size: 32px 32px, 32px 32px, auto, auto, auto;
      line-height: 1.55;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font: inherit;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      display: grid;
      grid-template-columns: minmax(12rem, 1fr) auto minmax(8rem, 1fr);
      align-items: center;
      gap: 1rem;
      padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
      border-bottom: 1px solid var(--line);
      background: rgba(7, 8, 13, 0.9);
      backdrop-filter: blur(18px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .brand-mark {
      display: block;
      width: 2.45rem;
      height: 2.45rem;
      border: 1px solid var(--cyan);
      background: linear-gradient(135deg, rgba(25, 247, 255, 0.18), rgba(255, 43, 189, 0.16));
      box-shadow: 0 0 18px rgba(25, 247, 255, 0.24);
      object-fit: contain;
      padding: 0.18rem;
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.25rem;
      font-size: 0.84rem;
      color: var(--muted);
      font-weight: 800;
      letter-spacing: 0.01em;
    }

    .nav a,
    .contact-pill,
    .button,
    .tab-button {
      min-height: 2.3rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      border-radius: var(--radius);
      padding: 0.45rem 0.75rem;
    }

    .nav a:hover {
      color: var(--text);
      border-color: rgba(25, 247, 255, 0.2);
      background: rgba(25, 247, 255, 0.04);
    }

    .nav a.active {
      color: var(--text);
      border-color: rgba(25, 247, 255, 0.35);
      background:
        linear-gradient(90deg, rgba(25, 247, 255, 0.14), rgba(255, 43, 189, 0.08)),
        rgba(25, 247, 255, 0.06);
      box-shadow: 0 0 18px rgba(25, 247, 255, 0.12);
    }

    .contact {
      display: flex;
      justify-content: flex-end;
    }

    .contact-pill {
      color: var(--cyan);
      border-color: rgba(25, 247, 255, 0.32);
      background: rgba(25, 247, 255, 0.07);
      font-size: 0.84rem;
      white-space: nowrap;
    }

    .section {
      padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3.5rem);
    }

    .hero {
      min-height: 82vh;
      display: grid;
      align-items: center;
      border-bottom: 1px solid rgba(25, 247, 255, 0.16);
    }

    .hero-grid {
      width: min(1180px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
      gap: clamp(2rem, 6vw, 5rem);
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      width: fit-content;
      margin-bottom: 1rem;
      border: 1px solid rgba(183, 255, 53, 0.35);
      border-radius: var(--radius);
      padding: 0.28rem 0.55rem;
      color: var(--lime);
      background: rgba(183, 255, 53, 0.08);
      font-family: "Cascadia Mono", Consolas, monospace;
      font-size: 0.78rem;
    }

    h1,
    h2,
    h3 {
      margin: 0;
      line-height: 1.08;
      letter-spacing: 0;
    }

    h1 {
      max-width: 11ch;
      font-size: clamp(3.2rem, 10vw, 7.6rem);
      text-transform: uppercase;
      text-shadow: 0 0 28px rgba(25, 247, 255, 0.28);
    }

    .hero-title {
      max-width: 9.6ch;
      font-size: clamp(3.1rem, 8.6vw, 7.2rem);
    }

    .hero-title span {
      display: block;
      white-space: nowrap;
    }

    .hero-title span:nth-child(2) {
      font-size: 0.86em;
    }

    .subtitle {
      max-width: 44rem;
      margin: 1.4rem 0 0;
      color: var(--muted);
      font-size: clamp(1.05rem, 2vw, 1.35rem);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-top: 2rem;
    }

    .button {
      min-width: 10rem;
      border-color: rgba(25, 247, 255, 0.5);
      color: var(--text);
      background: linear-gradient(90deg, rgba(25, 247, 255, 0.16), rgba(255, 43, 189, 0.12));
      box-shadow: var(--shadow);
      font-weight: 700;
    }

    .button.secondary {
      border-color: rgba(255, 43, 189, 0.38);
      background: rgba(255, 43, 189, 0.08);
      box-shadow: none;
    }

    .terminal {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(16, 22, 36, 0.96), rgba(9, 12, 22, 0.96));
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .terminal-head {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid rgba(25, 247, 255, 0.18);
      color: var(--muted);
      font-family: "Cascadia Mono", Consolas, monospace;
      font-size: 0.78rem;
    }

    .terminal-body {
      padding: 1.15rem;
      font-family: "Cascadia Mono", Consolas, monospace;
      font-size: 0.9rem;
    }

    .log-line {
      display: grid;
      grid-template-columns: 5.2rem 1fr;
      gap: 0.75rem;
      padding: 0.55rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .log-line:last-child {
      border-bottom: 0;
    }

    .tag,
    .lime {
      color: var(--lime);
    }

    .cyan {
      color: var(--cyan);
    }

    .pink {
      color: var(--pink);
    }

    .content-wrap {
      width: min(1180px, 100%);
      margin: 0 auto;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.42fr);
      gap: 2rem;
      align-items: end;
      margin-bottom: 1.4rem;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 4rem);
      text-transform: uppercase;
    }

    .section-copy {
      margin: 0;
      color: var(--muted);
    }

    .module-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.85rem;
    }

    .module-card {
      min-height: 10rem;
      width: 100%;
      padding: 1rem;
      text-align: left;
      color: var(--text);
      border: 1px solid rgba(25, 247, 255, 0.18);
      border-radius: var(--radius);
      background: linear-gradient(160deg, rgba(16, 22, 36, 0.92), rgba(13, 18, 31, 0.74));
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .module-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: linear-gradient(90deg, var(--cyan), var(--pink), var(--lime));
      opacity: 0.82;
    }

    .module-card:hover,
    .module-card.is-active {
      border-color: rgba(25, 247, 255, 0.55);
      box-shadow: var(--shadow);
    }

    .module-card h3 {
      margin-top: 0.4rem;
      overflow-wrap: anywhere;
      font-size: 1.15rem;
    }

    .module-card p {
      margin: 0.7rem 0 0;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .detail-layout {
      display: grid;
      grid-template-columns: minmax(13rem, 0.27fr) minmax(0, 1fr);
      gap: 1rem;
      align-items: start;
    }

    .side-nav,
    .doc-panel,
    .info-strip,
    .notice-panel {
      border: 1px solid rgba(25, 247, 255, 0.2);
      border-radius: var(--radius);
      background: var(--panel);
    }

    .side-nav {
      position: sticky;
      top: 5.4rem;
      padding: 0.65rem;
    }

    .side-nav button {
      width: 100%;
      display: flex;
      justify-content: space-between;
      gap: 0.75rem;
      border: 0;
      border-radius: 6px;
      padding: 0.62rem 0.7rem;
      color: var(--muted);
      background: transparent;
      text-align: left;
      font-size: 0.9rem;
      cursor: pointer;
    }

    .side-nav button span:first-child {
      overflow-wrap: anywhere;
    }

    .side-nav button.active,
    .side-nav button:hover {
      color: var(--text);
      background: rgba(25, 247, 255, 0.08);
    }

    .doc-panel {
      overflow: hidden;
      min-width: 0;
    }

    .doc-hero {
      padding: clamp(1.25rem, 4vw, 2rem);
      border-bottom: 1px solid rgba(25, 247, 255, 0.16);
      background:
        linear-gradient(90deg, rgba(25, 247, 255, 0.13), transparent),
        linear-gradient(135deg, rgba(255, 43, 189, 0.09), transparent 62%);
    }

    .doc-hero h2 {
      max-width: 100%;
      overflow-wrap: anywhere;
      hyphens: auto;
      font-size: clamp(2rem, 5.4vw, 4.1rem);
      text-transform: uppercase;
    }

    .doc-hero p {
      max-width: 58rem;
      color: var(--muted);
    }

    .tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 1.2rem;
    }

    .tab-button {
      border-color: rgba(25, 247, 255, 0.28);
      color: var(--cyan);
      background: rgba(25, 247, 255, 0.06);
      font-family: "Cascadia Mono", Consolas, monospace;
      font-size: 0.78rem;
      cursor: pointer;
    }

    .tab-button.active,
    .tab-button:hover {
      color: var(--bg);
      background: var(--cyan);
    }

    .doc-body {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.34fr);
      gap: 1.2rem;
      padding: clamp(0.9rem, 2.4vw, 1.45rem) clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
    }

    .status-body {
      grid-template-columns: 1fr;
    }

    .html-content {
      min-width: 0;
    }

    .html-content > :first-child {
      margin-top: 0;
    }

    .html-content h2,
    .html-content h3 {
      margin: 1.4rem 0 0.6rem;
      color: var(--lime);
      font-size: 1.2rem;
    }

    .html-content h4 {
      margin: 1.2rem 0 0.45rem;
      color: var(--cyan);
      font-size: 1rem;
    }

    .html-content p,
    .html-content li {
      color: var(--muted);
    }

    .html-content a {
      color: var(--cyan);
      text-decoration: underline;
      text-decoration-color: rgba(25, 247, 255, 0.35);
    }

    .html-content code,
    .code-box {
      color: var(--lime);
      font-family: "Cascadia Mono", Consolas, monospace;
    }

    .html-content img {
      max-width: 100%;
      height: auto;
    }

    .code-box {
      margin-top: 0.85rem;
      overflow-x: auto;
      border: 1px solid rgba(183, 255, 53, 0.26);
      border-radius: var(--radius);
      padding: 0.9rem;
      background: rgba(183, 255, 53, 0.055);
      font-size: 0.86rem;
    }

    .screenshot-stack {
      display: grid;
      gap: 0.85rem;
      align-content: start;
    }

    .screen-link {
      display: block;
      border: 1px solid rgba(255, 43, 189, 0.24);
      border-radius: var(--radius);
      background: rgba(16, 22, 36, 0.78);
      overflow: hidden;
      cursor: zoom-in;
    }

    .screen-link img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: contain;
      background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(145deg, rgba(255, 43, 189, 0.16), rgba(25, 247, 255, 0.08));
      background-size: 18px 18px, 18px 18px, auto;
    }

    .screen-title {
      display: block;
      padding: 0.65rem 0.75rem;
      color: var(--pink);
      font-family: "Cascadia Mono", Consolas, monospace;
      font-size: 0.75rem;
    }

    .notice-panel {
      padding: clamp(1.25rem, 4vw, 2rem);
      background:
        linear-gradient(90deg, rgba(255, 180, 41, 0.11), transparent),
        rgba(13, 18, 31, 0.9);
    }

    .info-strip {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      overflow: hidden;
    }

    .info-item {
      padding: 1.2rem;
      background: rgba(16, 22, 36, 0.78);
    }

    .info-item strong {
      display: block;
      color: var(--cyan);
      font-size: 1.05rem;
    }

    .info-item span {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.5rem clamp(1rem, 4vw, 3.5rem);
      border-top: 1px solid var(--line);
      color: var(--muted);
      background: #06070b;
      font-size: 0.9rem;
    }

    body.lightbox-open main,
    body.lightbox-open header,
    body.lightbox-open footer {
      filter: blur(7px);
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: none;
      align-items: center;
      justify-content: center;
      padding: clamp(1rem, 4vw, 3rem);
      background: rgba(0, 0, 0, 0.82);
    }

    .lightbox.open {
      display: flex;
    }

    .lightbox img {
      display: block;
      max-width: 96vw;
      max-height: 88vh;
      width: auto;
      height: auto;
      object-fit: contain;
      border: 1px solid rgba(25, 247, 255, 0.42);
      border-radius: var(--radius);
      background: #05070c;
      box-shadow: 0 0 42px rgba(25, 247, 255, 0.28), 0 0 90px rgba(255, 43, 189, 0.18);
    }

    .lightbox button {
      position: fixed;
      top: 1rem;
      right: 1rem;
      width: 2.6rem;
      height: 2.6rem;
      border: 1px solid rgba(25, 247, 255, 0.45);
      border-radius: var(--radius);
      color: var(--cyan);
      background: rgba(7, 8, 13, 0.86);
      cursor: pointer;
      font-size: 1.35rem;
    }

    .lightbox .lightbox-prev,
    .lightbox .lightbox-next {
      top: 50%;
      right: auto;
      transform: translateY(-50%);
      width: 3.2rem;
      height: 4.4rem;
      font-size: 2rem;
    }

    .lightbox .lightbox-prev {
      left: 1rem;
    }

    .lightbox .lightbox-next {
      right: 1rem;
    }

    .html-content img.alignnone {
      vertical-align: middle;
      margin: 0 0.25rem;
    }

    @media (max-width: 1080px) {
      .module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 980px) {
      .topbar,
      .hero-grid,
      .section-head,
      .detail-layout,
      .doc-body {
        grid-template-columns: 1fr;
      }

      .contact,
      .nav {
        justify-content: flex-start;
      }

      .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .side-nav {
        position: static;
      }
    }

    @media (max-width: 620px) {
      .topbar {
        padding: 0.75rem 1rem;
      }

      .module-grid,
      .info-strip {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: auto;
      }

      .hero-title {
        font-size: clamp(2.55rem, 13vw, 4.7rem);
      }

      .section {
        padding: 2.5rem 1rem;
      }
    }
