    @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Sans:wght@300;400;600&display=swap');

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

        body {
            font-family: 'IBM Plex Sans', sans-serif;
            background: #fafaf9;
            color: #1a1a1a;
            padding: 0 32px 32px 32px;
            max-width: 760px;
            margin: 0 auto;
            line-height: 1.6;
            padding-top: 72px;
        }

        .page-header {
            margin-bottom: 56px;
        }

        .page-header h1 {
            font-size: 32px;
            font-weight: 600;
            letter-spacing: -0.5px;
            margin-bottom: 6px;
        }

        .page-header .subtitle {
            font-size: 14px;
            color: #777;
            font-weight: 300;
        }

        section {
            margin-bottom: 52px;
        }

        .section-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: #bbb;
            margin-bottom: 20px;
        }

        h2 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #1a1a1a;
        }

        .explainer {
            font-size: 13px;
            color: #555;
            line-height: 1.8;
            margin-bottom: 16px;
            max-width: 620px;
        }

        .explainer strong {
            color: #1a1a1a;
            font-weight: 600;
        }

        hr.divider {
            border: none;
            border-top: 1px solid #e8e8e4;
            margin: 52px 0;
        }

        .range-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }

        label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            color: #888;
            display: block;
            margin-bottom: 8px;
            letter-spacing: 0.04em;
        }

        label .val {
            color: #1a1a1a;
            font-weight: 600;
        }

        input[type=range] {
            width: 100%;
            margin-bottom: 6px;
            accent-color: #1a1a1a;
            cursor: pointer;
        }

        .hint {
            font-size: 11px;
            color: #bbb;
        }

        .controls-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        button {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            padding: 7px 18px;
            border: 1px solid #d8d8d4;
            background: #fff;
            color: #333;
            cursor: pointer;
            border-radius: 2px;
            letter-spacing: 0.03em;
            transition: border-color 0.15s, background 0.15s;
        }

        button:hover {
            border-color: #aaa;
            background: #f5f5f3;
        }

        button.primary {
            background: #1a1a1a;
            color: #fff;
            border-color: #1a1a1a;
        }

        button.primary:hover {
            background: #333;
            border-color: #333;
        }

        #epoch-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 12px;
            color: #666;
        }

        #converge-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            color: #aaa;
        }

        .graph-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            color: #ccc;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        #error-graph {
            display: block;
            width: 100%;
            border-bottom: 1px solid #e8e8e4;
        }

        .weight-grid {
            display: grid;
            grid-template-columns: repeat(10, 1fr);
            gap: 6px;
            margin-bottom: 12px;
        }

        .weight-cell {
            aspect-ratio: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-family: 'IBM Plex Mono', monospace;
            border-radius: 3px;
        }

        .weight-cell.target-bit {
            outline: 2px solid #1a1a1a;
            outline-offset: 1px;
        }

        .weight-cell .wlabel {
            font-size: 8px;
            opacity: 0.5;
            margin-bottom: 2px;
        }

        .weight-cell .wval {
            font-size: 9px;
            font-weight: 600;
        }

        .bar-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 7px;
        }

        .bar-label {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            width: 24px;
            flex-shrink: 0;
            color: #aaa;
        }

        .bar-label.target {
            color: #1a1a1a;
            font-weight: 600;
        }

        .bar-track {
            flex: 1;
            height: 5px;
            background: #ebebeb;
            border-radius: 99px;
            overflow: hidden;
        }

        .bar-fill {
            height: 100%;
            border-radius: 99px;
            background: #1a1a1a;
        }

        .bar-fill.negative {
            background: #c0c0bc;
        }

        .bar-num {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 10px;
            width: 48px;
            text-align: right;
            color: #aaa;
        }

        .bias-line {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            color: #aaa;
            margin-top: 14px;
        }

        .bias-line span {
            color: #1a1a1a;
            font-weight: 600;
        }

        .input-grid {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        .input-btn {
            width: 40px;
            height: 40px;
            border: 1px solid #e0e0dc;
            background: #fff;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            border-radius: 3px;
            color: #ccc;
            transition: all 0.1s;
        }

        .input-btn.active {
            background: #1a1a1a;
            color: #fff;
            border-color: #1a1a1a;
        }

        .input-btn:hover:not(.active) {
            border-color: #aaa;
            color: #888;
        }

        .result-row {
            display: flex;
            gap: 40px;
            align-items: flex-end;
            flex-wrap: wrap;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #e8e8e4;
        }

        .result-block .rlabel {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 9px;
            color: #ccc;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .result-block .rval {
            font-family: 'IBM Plex Mono', monospace;
            font-size: 22px;
            font-weight: 600;
        }

        .result-block .rval.muted {
            color: #bbb;
        }

        .arrow {
            font-size: 18px;
            color: #ddd;
            padding-bottom: 3px;
        }

        footer {
            margin-top: 80px;
            padding-top: 24px;
            border-top: 1px solid #e8e8e4;
            font-size: 11px;
            color: #bbb;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }

        footer a {
            color: #aaa;
            text-decoration: none;
            margin-left: 16px;
        }

        footer a:hover {
            color: #1a1a1a;
        }

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(250, 250, 249, 0.95);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #e8e8e4;
            padding: 12px 32px;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
            max-height: 56px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: #1a1a1a;
            font-weight: 600;
            font-size: 14px;
            flex-shrink: 0;
        }

        .neuron-icon {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
        }

        .nav-links {
            display: flex;
            gap: 20px;
            align-items: center;
            margin-left: auto;
        }

        .nav-links a {
            color: #aaa;
            text-decoration: none;
            font-family: 'IBM Plex Mono', monospace;
            font-size: 11px;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: #1a1a1a;
        }

        .nav-divider {
            width: 1px;
            height: 16px;
            background: #e8e8e4;
        }