/* Dijiji dual-theme layer. Light is the default; dark is activated with html[data-theme="dark"]. */
:root { color-scheme: light; }
html[data-theme="light"] {
    color-scheme: light;
    --ink: #f6f7fb;
    --ink-2: #ffffff;
    --ink-3: #eceef4;
    --ink-4: #000000;
    --ink-5: #484848;
    --line: #e1e4ec;
    --paper: #ffffff;
    --paper-2: #f0f2f7;
    --text: #191b24;
    --mute: #6d7280;
    --mute-2: #858a97;
    --white: #ffffff;
    --purple: #4a48f3;
    --purple-t: #5553e8;
}
html[data-theme="light"] body { background: var(--ink); color: var(--text); }
html[data-theme="light"] body::before { background: var(--ink); }
html[data-theme="light"] .top {
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(28,32,54,.045);
}
html[data-theme="light"] .nav a { color: #626879; }
html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .nav a[aria-current] { color: #171923; }
html[data-theme="light"] .btn-prpl,
html[data-theme="light"] .btn-purple,
html[data-theme="light"] .drawer-tel { color: #fff; }
html[data-theme="light"] .btn-ghost { color: #20222c; box-shadow: inset 0 0 0 1.5px #d9dce5; }
html[data-theme="light"] .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #666 !important; color: var(--text) !important }
html[data-theme="light"] .burger,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .drawer-close { color: #20222c; border-color: #dfe2e9; background: rgba(255,255,255,.72); }
html[data-theme="light"] .burger:hover,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .drawer-close:hover { background: #f0efff; border-color: #aaa8ff; }
html[data-theme="light"] .scrim { background: rgba(24,27,40,.34); }
html[data-theme="light"] .drawer { background: #fff; border-left-color: #e2e4eb; box-shadow: -24px 0 60px rgba(25,29,48,.18); }
html[data-theme="light"] .drawer-top { border-bottom-color: #e6e8ee; }
html[data-theme="light"] .drawer-title { color: #777d8b; }
html[data-theme="light"] .drawer-nav a { color: #20222c; border-bottom-color: #eceef3; }
html[data-theme="light"] .drawer-nav a:hover,
html[data-theme="light"] .drawer-nav a[aria-current] { color: var(--purple); }
html[data-theme="light"] .grain { opacity: .025; }
html[data-theme="light"] .wm circle { fill: var(--purple); }
html[data-theme="light"] .typed { color:var(--purple); }
html[data-theme="light"] .typed-glow { color: #5553e8; text-shadow: 0 0 .03em #fff, 0 0 .1em #aaa8ff, 0 0 .26em #7775ff, 0 0 .6em rgba(74,72,243,.22); }
html[data-theme="light"] .hero .glow { opacity: .42; }
html[data-theme="light"] .hero .eyebrow,
html[data-theme="light"] .hero .lede,
html[data-theme="light"] .hero .sub,
html[data-theme="light"] .hero .meta { color: #565b69; }
html[data-theme="light"] .hero .mega { color: #171923; }
html[data-theme="light"] .hero .mega .heavy { color: #171923; }
html[data-theme="light"] .hero .nf { color: #5553e8; }
html[data-theme="light"] .sec,
html[data-theme="light"] .blog-hero,
html[data-theme="light"] .post-head,
html[data-theme="light"] .foot { color: #20222c; }
html[data-theme="light"] .foot { border-top-color: var(--line); }
html[data-theme="light"] .final { background: #eef0f7; color: #191b24; }
html[data-theme="light"] .final .secret,
html[data-theme="light"] .final .mono { color: #626879; }
html[data-theme="light"] .final .giant { color: #191b24; }
html[data-theme="light"] .final .call { color: #191b24; }
html[data-theme="light"] .final .call .ic { background: #191b24; color: #fff; }
html[data-theme="light"] .final .btn-ink { background: #191b24; color: #fff; }
html[data-theme="light"] .final .btn-ink:hover { background: var(--purple); color: #fff; }
html[data-theme="light"] .prose,
html[data-theme="light"] .post-body,
html[data-theme="light"] .blog-list { color: #292c36; }
html[data-theme="light"] .prose .note { background: #f2f3f8; }
html[data-theme="light"] .prose a { color: #4542d8; }
html[data-theme="light"] .receipt { background: #fff; color: #191b24; }
html[data-theme="light"] .receipt .logo .wm circle { fill: var(--purple); }
html[data-theme="light"] .inc > .wide .btn-ghost { color: #fff; }
html[data-theme="light"] .wa-fab { box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.2); }
html[data-theme="light"] .progress { background: var(--purple); }
html[data-theme="light"] .cursor,
html[data-theme="light"] .ctag {  }
html[data-theme="light"] ::selection { background: #d9d8ff; color: #191b24; }

    html[data-theme="light"] .btn-purple:hover {
        background: #000000 ;
        color: #ffffff !important;
    }

    html[data-theme="light"]  footer .logo:hover{
        color: #000000;
    }

    html[data-theme="light"] .foot a:hover {
        color: var(--text);
    }


    html[data-theme="light"] .register {
        position: relative;
        z-index: 2;
        background: linear-gradient(180deg, #c0c0c9 0%, #dfdfdf 60%, #878891 100%);
        border-radius: 18px 18px 22px 22px;
        padding: 26px 20px 18px;
        box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
    }

        html[data-theme="light"] .register .slot {
            position: absolute;
            top: 9px;
            left: 5%;
            right: 5%;
            height: 9px;
            border-radius: 6px;
            background: #a5a8b9;
            box-shadow: inset 0 3px 4px rgb(100 103 119), 0 1px 0 rgba(255, 255, 255, .06);
        }

        html[data-theme="light"] .register .base b {
            font: 900 13px / 1 var(--display);
            color: #44414f;
            letter-spacing: 0;
        }

        html[data-theme="light"] .register .keys i {
            height: 14px;
            border-radius: 4px;
            background: #81819d;
            box-shadow: 0 2px 0 #585c71;
            transition: transform .1s, background .1s;
        }

            html[data-theme="light"] .register .keys i.k {
                background: #6462d1;
            }


    html[data-theme="light"] .mfab-ring {
        background: var(--m-glass);
    }


    html[data-theme="light"] .mock {
        position: relative;
        border-radius: 16px;
        box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px var(--line);
        overflow: hidden;
        aspect-ratio: 16 / 11;
        color: var(--text);
        container-type: inline-size;
        min-width: 0;
    }

        html[data-theme="light"] .mock .chrome {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 0 14px;
            background: var(--ink-2);
            border-bottom: 1px solid var(--line);
            height: 44px;
        }

        html[data-theme="light"] .mock html[data-theme="light"] .chrome i {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #3a3a42;
        }

            html[data-theme="light"] .mock html[data-theme="light"] .chrome i:nth-child(1) {
                background: #ff5f57;
            }

            html[data-theme="light"] .mock html[data-theme="light"] .chrome i:nth-child(2) {
                background: #febc2e;
            }

            html[data-theme="light"] .mock html[data-theme="light"] .chrome i:nth-child(3) {
                background: #28c840;
            }

        html[data-theme="light"] .mock html[data-theme="light"] .chrome .url {
            margin-left: 12px;
            flex: 1;
            min-width: 0;
            background: var(--ink-3);
            color: var(--mute);
            border-radius: 99px;
            padding: 6px 12px;
            font: 500 12px/1 var(--mono);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }


    html[data-theme="light"] .layers, html[data-theme="light"] .props {
        background: #fafafa;
        padding: 2.4cqw 2cqw;
        display: grid;
        align-content: start;
        gap: 1.2cqw;
        font: 500 1.7cqw/1 var(--body);
        color: var(--mute);
    }

    html[data-theme="light"] .canvas {
        position: relative;
        padding: 3cqw;
        display: grid;
        place-items: center;
        background-image: radial-gradient(#b0b0b0 1px, transparent 1px);
        background-size: 2.4cqw 2.4cqw;
    }

    html[data-theme="light"] .st2 {
        display: grid;
        grid-template-columns: 17cqw minmax(0, 1fr) 15cqw;
        background: #fafafa;
    }

    html[data-theme="light"] .st3 {
        display: grid;
        align-content: center;
        gap: 1.8cqw;
        padding: 5cqw 6cqw;
        font-family: var(--mono);
        background: #fafafa;
    }

    html[data-theme="light"] .st2.on .wf {
        animation: paintz .5s forwards;
    }

    html[data-theme="light"] .st2.on .wf-nav .mn .wf {
        animation-name: paintl2;
        animation-delay: .7s;
    }

    html[data-theme="light"] .st2.on .wf-hero .tx .wf:nth-child(3) {
        animation-name: paintl2;
        animation-delay: 1.3s;
    }

    html[data-theme="light"] .st2.on .wf-hero .im {
        animation: paintimg .7s 1.8s forwards;
    }

    html[data-theme="light"] .sw i:nth-child(2) {
        background: #b4b4bf;
        box-shadow: inset 0 0 0 1px #b4b4bf;
    }
    


@keyframes paintz {
    to {
        background: #b4b4bf;
        border-color: transparent;
    }
}

@keyframes paintl2 {
    to {
        background: #b4b4bf;
        border-color: transparent;
    }
}

/* Theme control in the header */
.theme-toggle {
  width: 42px; height: 42px; flex: none; display: inline-grid; place-items: center;
  padding: 0; border: 1px solid #303039; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { background: rgba(143,142,255,.14); border-color: #8f8eff; transform: translateY(-1px); }
.theme-toggle svg { width: 19px; height: 19px; display: block; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
.top .theme-toggle { margin-left: 0; }
@media (max-width: 860px) {
  .top .wrap { gap: 12px; }
  .top .theme-toggle { margin-left: auto; }
  .top .burger { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .theme-toggle { transition: none; } }

html[data-theme="light"] .foot-facts dd strong { color: #191b24; }
html[data-theme="light"] .foot-about, html[data-theme="light"] .foot-col ul, html[data-theme="light"] .foot address, html[data-theme="light"] .foot-facts dd { color: #5d6272; }
