:root {
        color-scheme: only dark;
        --bg: #0b0d0f;
        --bg-alt: #11151a;
        --grid: rgba(48, 255, 171, 0.08);
        --ink: #e8f0f2;
        --muted: #9fb2b8;
        --accent: #31ffab;
        --accent-2: #ffcf5e;
        --accent-soft: rgba(49, 255, 171, 0.12);
        --warning: #ffcf5e;
        --line: rgba(232, 240, 242, 0.12);
        --shadow: rgba(10, 15, 20, 0.6);
      }

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

      body {
        font-family: "IBM Plex Mono", "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        background: radial-gradient(circle at 20% 20%, rgba(49, 255, 171, 0.1), transparent 45%),
          radial-gradient(circle at 80% 10%, rgba(255, 207, 94, 0.08), transparent 40%),
          linear-gradient(120deg, #0b0d0f 0%, #0d1216 40%, #0b0d0f 100%);
        color: var(--ink);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image:
          linear-gradient(var(--grid) 1px, transparent 1px),
          linear-gradient(90deg, var(--grid) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
        opacity: 0.5;
      }

      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background-image: repeating-linear-gradient(
          180deg,
          rgba(232, 240, 242, 0.02) 0px,
          rgba(232, 240, 242, 0.02) 1px,
          transparent 1px,
          transparent 4px
        );
        pointer-events: none;
        opacity: 0.35;
      }

      .shell {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 40px 24px 96px;
        display: grid;
        gap: 56px;
      }

      header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 600;
        letter-spacing: 0.02em;
      }

      .logo .dot {
        width: 12px;
        height: 12px;
        border-radius: 999px;
        background: var(--accent);
        box-shadow: 0 0 12px rgba(49, 255, 171, 0.6);
        animation: pulse 3s ease-in-out infinite;
      }

      .nav {
        display: flex;
        gap: 18px;
        font-size: 14px;
        color: var(--muted);
      }

      .nav a {
        color: inherit;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border 0.2s ease;
      }

      .nav a:hover {
        border-color: var(--accent);
        color: var(--ink);
      }

      .hero {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 32px;
        align-items: center;
      }

      .hero h1 {
        font-family: "Space Mono", "IBM Plex Mono", monospace;
        font-size: clamp(32px, 4vw, 54px);
        line-height: 1.1;
        letter-spacing: -0.02em;
        margin-bottom: 16px;
      }

      .hero p {
        color: var(--muted);
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 24px;
      }

      .tagline {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        padding: 6px 12px;
        border: 1px dashed var(--line);
        color: var(--muted);
        font-size: 12px;
        background: rgba(10, 15, 20, 0.6);
      }

      .cta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }

      .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 4px;
        border: 1px solid var(--line);
        background: var(--bg-alt);
        color: var(--ink);
        font-weight: 500;
        text-decoration: none;
        transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
      }

      .btn:hover {
        transform: translateY(-1px);
        border-color: var(--accent);
        box-shadow: 0 8px 20px var(--shadow);
      }

      .btn.primary {
        background: var(--accent);
        color: #0b0d0f;
        border-color: var(--accent);
      }

      .panel {
        border: 1px solid var(--line);
        border-radius: 10px;
        background: rgba(11, 13, 15, 0.7);
        box-shadow: 0 20px 40px var(--shadow);
        position: relative;
        overflow: hidden;
      }

      .terminal {
        padding: 18px 20px 22px;
      }

      .terminal-header {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
      }

      .terminal-header span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--line);
      }

      .terminal pre {
        font-family: inherit;
        font-size: 13px;
        line-height: 1.6;
        color: var(--ink);
        white-space: pre-wrap;
        position: relative;
      }

      .terminal .accent {
        color: var(--accent);
      }

      .sections {
        display: grid;
        gap: 28px;
      }

      .split {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 28px;
        align-items: start;
      }

      .section-title {
        font-size: 22px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--ink);
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 12px;
      }

      .section-title::before {
        content: "";
        width: 22px;
        height: 2px;
        background: var(--accent);
      }

      .section-lead {
        font-size: 15px;
        color: var(--muted);
        line-height: 1.6;
      }

      .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
      }

      .card {
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(17, 21, 26, 0.7);
        display: grid;
        gap: 12px;
      }

      .card h3 {
        font-size: 15px;
        font-weight: 600;
      }

      .card p {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.5;
      }

      .diagram {
        padding: 18px 20px;
        display: grid;
        gap: 16px;
      }

      .diagram-header {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 12px;
        color: var(--muted);
      }

      .diagram pre {
        font-size: 12px;
        line-height: 1.5;
        white-space: pre-wrap;
      }

      .diagram-graphic {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        align-items: center;
      }

      .diagram-box {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 12px 14px;
        background: rgba(17, 21, 26, 0.7);
        display: grid;
        gap: 8px;
        min-height: 92px;
      }

      .diagram-box strong {
        font-size: 13px;
      }

      .diagram-box span {
        font-size: 12px;
        color: var(--muted);
      }

      .diagram-arrow {
        text-align: center;
        color: var(--accent);
        font-size: 44px;
        letter-spacing: 0.45em;
        line-height: 1;
      }

      .demo {
        display: grid;
        gap: 16px;
      }

      .demo img {
        width: 100%;
        border-radius: 10px;
        border: 1px solid var(--line);
        box-shadow: 0 18px 32px var(--shadow);
        background: #0b0d0f;
      }

      .tape {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 12px;
        color: var(--muted);
      }

      .tape span {
        padding: 4px 8px;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: rgba(17, 21, 26, 0.7);
      }

      .config {
        display: grid;
        gap: 12px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(11, 13, 15, 0.8);
      }

      .config pre {
        font-size: 12px;
        line-height: 1.5;
        white-space: pre-wrap;
      }

      .code-block {
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 16px;
        background: rgba(11, 13, 15, 0.9);
        font-size: 12px;
        line-height: 1.6;
        white-space: pre-wrap;
      }

      .config .meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 12px;
        color: var(--muted);
      }

      .copy {
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 8px 12px;
        background: rgba(17, 21, 26, 0.9);
        color: var(--muted);
        cursor: pointer;
        transition: border 0.2s ease, color 0.2s ease;
      }

      .copy:hover {
        border-color: var(--accent);
        color: var(--ink);
      }

      .signal {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: var(--warning);
      }

      .signal span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--warning);
        box-shadow: 0 0 6px rgba(255, 207, 94, 0.8);
      }

      .foot {
        color: var(--muted);
        font-size: 12px;
        display: grid;
        gap: 12px;
        border-top: 1px solid var(--line);
        padding-top: 16px;
      }

      .foot-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
      }

      .foot-links {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
      }

      .foot a {
        color: var(--muted);
        text-decoration: none;
        border-bottom: 1px solid transparent;
      }

      .foot a:hover {
        color: var(--ink);
        border-color: var(--accent);
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
          opacity: 0.9;
        }
        50% {
          transform: scale(1.15);
          opacity: 1;
        }
        100% {
          transform: scale(1);
          opacity: 0.9;
        }
      }

      @media (max-width: 720px) {
        header {
          flex-direction: column;
          align-items: flex-start;
        }

        .nav {
          flex-wrap: wrap;
        }

        .split {
          grid-template-columns: 1fr;
        }
      }
