@font-face {
    font-family: "Michroma";
    src: url(Michroma-Regular.ttf) format("woff2");
}
@font-face {
    font-family: "Monaspace Krypton";
    src:
        url(MonaspaceKrypton-Regular.woff2) format("woff2"),
        url(MonaspaceKrypton-Regular.woff) format("woff");
}
body {
    margin: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 0 clamp(15px, 4vw, 32px);
    --page-gutter: clamp(15px, 4vw, 32px);
    background: linear-gradient(180deg, #0f1024, #07070c);
    color: #f4f4f6;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1.12rem;
    line-height: 1.95;
    letter-spacing: 0.01em;
    text-align: center;
    position: relative;
}
.aurora-wrap {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.aurora-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 140vw;
    margin-left: -70vw;
    height: 55vh;
    background:
        radial-gradient(
            920px 360px at 18% 28%,
            rgba(255, 96, 226, 0.6),
            transparent 58%
        ),
        radial-gradient(
            980px 380px at 72% 20%,
            rgba(122, 255, 184, 0.6),
            transparent 58%
        ),
        radial-gradient(
            860px 340px at 78% 68%,
            rgba(124, 210, 255, 0.5),
            transparent 62%
        ),
        radial-gradient(
            720px 320px at 40% 70%,
            rgba(255, 186, 86, 0.4),
            transparent 65%
        );
    filter: blur(24px) saturate(230%);
    mix-blend-mode: screen;
    opacity: 0.95;
    background-size: 180% 140%;
    background-repeat: no-repeat;
    background-position: 50% 0;
    animation: aurora-pan 18s ease-in-out infinite;
    mask-image: linear-gradient(#000, transparent);
}
.aurora-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            800px 360px at 25% 15%,
            rgba(255, 255, 255, 0.12),
            transparent 70%
        ),
        radial-gradient(
            900px 420px at 75% 18%,
            rgba(122, 255, 184, 0.12),
            transparent 72%
        ),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 60%);
    filter: blur(30px);
    opacity: 0.7;
    mix-blend-mode: screen;
    mask-image: linear-gradient(#000, transparent);
}
.aurora {
    position: absolute;
    top: 0;
    left: 50%;
    width: 140vw;
    height: 50vh;
    background:
        radial-gradient(
            1020px 520px at 50% 115%,
            rgba(6, 8, 20, 0.9),
            transparent 56%
        ),
        linear-gradient(95deg, rgba(255, 106, 213, 0.32), transparent 42%),
        linear-gradient(250deg, rgba(122, 255, 184, 0.32), transparent 48%),
        linear-gradient(320deg, rgba(124, 210, 255, 0.24), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.85;
    animation: aurora-float 20s ease-in-out infinite;
    background-size: 180% 140%;
    background-repeat: no-repeat;
    background-position: 50% 0;
    mask-image: linear-gradient(rgba(0, 0, 0, 0.95), transparent);
}
.aurora::before,
.aurora::after {
    content: "";
    position: absolute;
    inset: -12% -12% auto -12%;
    height: 80%;
    background:
        radial-gradient(
            900px 420px at 30% 50%,
            rgba(122, 255, 184, 0.45),
            transparent 58%
        ),
        radial-gradient(
            840px 380px at 75% 40%,
            rgba(255, 122, 217, 0.4),
            transparent 60%
        ),
        radial-gradient(
            720px 320px at 55% 75%,
            rgba(124, 210, 255, 0.36),
            transparent 64%
        );
    mix-blend-mode: screen;
    opacity: 0.7;
    filter: blur(20px) saturate(210%);
    animation: aurora-sweep 24s linear infinite;
}
.aurora::after {
    inset: -18% -18% auto -18%;
    height: 90%;
    background:
        radial-gradient(
            760px 360px at 15% 60%,
            rgba(122, 255, 184, 0.4),
            transparent 60%
        ),
        radial-gradient(
            900px 420px at 85% 30%,
            rgba(255, 183, 77, 0.3),
            transparent 64%
        ),
        linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 55%);
    opacity: 0.5;
    filter: blur(26px) saturate(190%);
    animation: aurora-sweep 30s linear infinite reverse;
}
@keyframes aurora-pan {
    0%,
    100% {
        transform: translate3d(-8%, 0, 0);
    }
    50% {
        transform: translate3d(8%, 0, 0);
    }
}
@keyframes aurora-float {
    0%,
    100% {
        transform: translate3d(-50%, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-52%, 0, 0) scale(1.05);
    }
}
@keyframes aurora-sweep {
    0% {
        transform: translate3d(-6%, 0, 0);
    }
    50% {
        transform: translate3d(6%, 0, 0);
    }
    100% {
        transform: translate3d(-6%, 0, 0);
    }
}
.page {
    display: grid;
    gap: 20px;
    padding: 48px 0;
    width: min(960px, 100%);
    z-index: 1;
}
.breadcrumbs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(244, 244, 246, 0.65);
}
.breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}
.breadcrumbs a:hover {
    color: rgba(122, 255, 184, 0.85);
}
.hero {
    display: grid;
    gap: 20px;
}
h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 0;
    font-weight: 700;
    font-family: "Michroma", sans-serif;
    line-height: 1.1;
}
h2 {
    font-size: clamp(2.2rem, 4.8vw, 3.2rem);
    margin: 0;
    font-weight: 600;
    font-family: "Michroma", sans-serif;
    line-height: 1.15;
}
h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    font-family: "Michroma", sans-serif;
    line-height: 1.2;
}
h4 {
    font-size: 1.45rem;
    margin: 0;
    font-weight: 600;
    font-family: "Michroma", sans-serif;
    line-height: 1.25;
}
h5 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    font-family: "Michroma", sans-serif;
    line-height: 1.3;
}
h6 {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
    font-family: "Michroma", sans-serif;
    line-height: 1.35;
}
p {
    margin: 0;
    color: #b6b7c2;
    font-size: inherit;
}
.hero-tagline {
    font-family: "Michroma", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: rgba(244, 244, 246, 0.75);
}
.links {
    display: inline-flex;
    gap: 18px;
    justify-content: center;
    margin-top: 8px;
}
.home-blog {
    display: grid;
    gap: 18px;
}
.home-blog h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}
.home-blog .page-header {
    gap: 6px;
}
.eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.read-more.icon-link {
    width: auto;
    height: auto;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
}
.read-more.icon-link:hover {
    border-color: rgba(255, 122, 217, 0.5);
    box-shadow: 0 10px 30px rgba(255, 122, 217, 0.18);
}
.read-more.icon-link:active {
    transform: translateY(1px) scale(0.97);
}
.icon-link {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #f4f4f6;
    transition: all 0.12s ease;
}
.icon-link:hover {
    border-color: rgba(255, 122, 217, 0.5);
    box-shadow: 0 10px 30px rgba(255, 122, 217, 0.18);
}
.icon-link:active {
    transform: translateY(1px) scale(0.97);
    background: rgba(255, 255, 255, 0.08);
}
.icon-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.page-header {
    text-align: left;
    display: grid;
    gap: 10px;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.7rem;
    color: rgba(244, 244, 246, 0.6);
}
.title {
    font-size: clamp(3rem, 7.5vw, 4.5rem);
}
.subtitle {
    color: rgba(244, 244, 246, 0.75);
    font-size: 0.95rem;
}
.card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 7, 15, 0.55);
    padding: 28px;
    text-align: left;
    box-shadow: 0 30px 80px rgba(6, 7, 15, 0.45);
    backdrop-filter: blur(12px);
}
.list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}
.list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}
.list a {
    color: inherit;
    text-decoration: none;
    font-size: 1.05rem;
}
.list a:hover {
    color: rgba(255, 122, 217, 0.85);
}
.meta {
    font-size: 0.8rem;
    color: rgba(244, 244, 246, 0.6);
}
.prose {
    text-align: left;
    line-height: 2.05;
}
.post-layout {
    display: grid;
    gap: 24px;
    min-width: 0;
}
.post-layout > * {
    min-width: 0;
}
.toc {
    display: grid;
    gap: 12px;
    align-content: start;
    order: -1;
}
.toc-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.toc-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244, 244, 246, 0.85);
    cursor: pointer;
    transition: all 0.15s ease;
    justify-self: start;
}
.toc-label:hover {
    border-color: rgba(122, 255, 184, 0.5);
    box-shadow: 0 10px 26px rgba(122, 255, 184, 0.2);
}
.toc-panel {
    display: none;
    gap: 12px;
    padding: 22px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}
.toc-toggle:checked + .toc-label + .toc-panel {
    display: grid;
}
.toc-title {
    font-family: "Michroma", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
}
.toc-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.toc-panel ul ul {
    padding-left: 16px;
    gap: 8px;
}
.toc-panel li {
    display: grid;
    gap: 6px;
}
.toc-panel a {
    color: rgba(122, 255, 184, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-left: 14px;
}
.toc-panel a:hover {
    color: rgba(122, 255, 184, 1);
}
.toc-panel a.is-active {
    color: #f4f4f6;
}
.toc-panel a.is-active::before {
    content: "|";
    position: absolute;
    left: 0;
    color: rgba(255, 122, 217, 0.85);
}
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    margin-top: 28px;
    margin-bottom: 12px;
    position: relative;
}
.prose h1 .zola-anchor,
.prose h2 .zola-anchor,
.prose h3 .zola-anchor,
.prose h4 .zola-anchor,
.prose h5 .zola-anchor,
.prose h6 .zola-anchor {
    opacity: 0;
    position: absolute;
    left: -1.4em;
    top: 0;
    text-decoration: none;
    color: rgba(122, 255, 184, 0.85);
    transition: opacity 0.15s ease, color 0.15s ease;
    font-size: 13px;
    line-height: 18px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.prose h1:hover .zola-anchor,
.prose h2:hover .zola-anchor,
.prose h3:hover .zola-anchor,
.prose h4:hover .zola-anchor,
.prose h5:hover .zola-anchor,
.prose h6:hover .zola-anchor {
    opacity: 1;
}
.prose .zola-anchor::before {
    content: "";
}
.prose .zola-anchor svg {
    display: none;
}
.prose > p {
    margin: 14px 0;
    color: #f4f4f6;
}
.prose a {
    color: rgba(122, 255, 184, 0.85);
}
.prose code {
    font-family: "Monaspace Krypton", monospace;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
}
.prose .mermaid,
.prose pre.mermaid {
    display: block;
    width: 100%;
    max-width: calc(100vw - (var(--page-gutter) * 2));
    margin: 24px auto;
    box-sizing: border-box;
    overflow-x: auto;
    padding: 0;
    background: transparent;
    min-width: 0;
    max-inline-size: 100%;
}
.prose .mermaid svg,
.prose pre.mermaid svg {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    text-align: left;
    background: rgba(6, 7, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.prose thead {
    background: rgba(255, 255, 255, 0.06);
}
.prose th,
.prose td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}
.prose th {
    font-family: "Michroma", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(244, 244, 246, 0.85);
}
.prose tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}
.prose tbody tr:hover {
    background: rgba(122, 255, 184, 0.05);
}
.prose td code {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
}
kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom-width: 3px;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4f6;
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.65);
}

@media (max-width: 640px) {
    .card {
        padding: 20px;
    }
    .list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .prose .zola-anchor {
        display: none;
    }
}
@media (max-width: 430px) {
    body {
        font-size: 1.02rem;
        line-height: 1.8;
    }
    .page {
        gap: 16px;
        padding: 36px 0;
    }
    .hero {
        gap: 14px;
    }
    .hero-tagline {
        font-size: 1rem;
    }
    .links {
        gap: 12px;
    }
    .icon-link {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }
    .icon-link svg {
        width: 20px;
        height: 20px;
    }
    .title {
        font-size: clamp(2rem, 9.5vw, 2.8rem);
    }
    .card {
        padding: 16px;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }
    .list ul {
        gap: 12px;
    }
    .breadcrumbs {
        font-size: 0.6rem;
        letter-spacing: 0.16em;
    }
    .toc-label {
        padding: 6px 12px;
        font-size: 0.65rem;
    }
}
@media (min-width: 900px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
    }
    .toc {
        order: 0;
        position: sticky;
        top: 24px;
        align-self: start;
    }
    .toc-label {
        display: none;
    }
    .toc-panel {
        display: grid;
    }
}
