

:root {
    --ol-amber: #ffb457;
    --ol-amber-hi: #ffcb84;
    --ol-cyan: #7fdbff;
    --ol-violet: #9b8cff;
    --ol-text: #cfd8e8;
    --ol-bright: #e8eef7;
    --ol-muted: #7a8aa6;
    --ol-panel: rgba(10, 16, 36, 0.88);
    --ol-border: rgba(74, 111, 165, 0.18);
    --ol-mono: ui-monospace, "JetBrains Mono", monospace;
    --ol-sans: "Inter", -apple-system, system-ui, sans-serif;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ol-amber);
    color: #0a1024;
    font-family: var(--ol-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    left: 0;
}

.blog-article,
.blog-index {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 20px 72px;
    color: var(--ol-text);
    font-family: var(--ol-sans);
    
    overflow-x: clip;
}

.blog-kicker,
.blog-card-kicker {
    display: block;
    color: var(--ol-amber);
    font-family: var(--ol-mono);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    margin: 0 0 14px;
}

.blog-article h1,
.blog-index h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--ol-bright);
    margin: 0 0 14px;
}

.blog-byline {
    color: var(--ol-muted);
    font-family: var(--ol-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.blog-meta-sep {
    opacity: 0.5;
    padding: 0 0.3em;
}

.blog-back {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--ol-muted);
    font-family: var(--ol-mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.12s;
}

.blog-back:hover {
    color: var(--ol-amber);
}

.blog-hero,
.blog-body figure {
    margin: 0 0 28px;
    border: 1px solid var(--ol-border);
    border-radius: 6px;
    overflow: hidden;
    background: #05070d;
}

.blog-hero {
    margin-bottom: 36px;
}

.blog-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.blog-body figure {
    margin: 28px 0;
}

.blog-body figcaption {
    padding: 10px 14px;
    color: var(--ol-muted);
    font-size: 13px;
    border-top: 1px solid var(--ol-border);
}

.blog-body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 28px 0;
    border: 1px solid var(--ol-border);
    border-radius: 6px;
}

.blog-body figure img {
    margin: 0;
    border: none;
    border-radius: 0;
}

.blog-body {
    font-size: 1.08rem;
    line-height: 1.78;
}

.blog-body > p:first-of-type {
    font-size: 1.24rem;
    line-height: 1.66;
    color: var(--ol-bright);
    margin-bottom: 1.7rem;
}

.blog-body h2,
.blog-body h3 {
    color: var(--ol-bright);
    font-weight: 300;
    letter-spacing: -0.01em;
    margin: 2.4rem 0 0.8rem;
    scroll-margin-top: 84px;
}

.blog-body h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 3rem;
}

.blog-body h2::before {
    content: "";
    flex: none;
    width: 14px;
    height: 15px;
    background: var(--ol-amber);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.blog-body h3 {
    font-size: 19px;
    font-weight: 600;
}

.blog-body p {
    margin: 0 0 1.4rem;
}

.blog-anchor {
    margin-left: 0.45rem;
    color: var(--ol-amber);
    opacity: 0;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.12s ease;
}

.blog-body h2:hover .blog-anchor,
.blog-body h3:hover .blog-anchor,
.blog-body h2:focus-within .blog-anchor,
.blog-body h3:focus-within .blog-anchor {
    opacity: 0.7;
}

.blog-body a {
    color: var(--ol-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(127, 219, 255, 0.3);
    transition: border-color 0.12s;
}

.blog-body a:hover {
    border-bottom-color: var(--ol-cyan);
}

.blog-body ol {
    margin: 0 0 1.4rem;
    padding-left: 1.3rem;
}

.blog-body ul {
    list-style: none;
    margin: 0 0 1.4rem;
    padding-left: 1.5rem;
}

.blog-body li {
    margin: 0.5rem 0;
}

.blog-body ul > li {
    position: relative;
}

.blog-body ul > li::before {
    content: "";
    position: absolute;
    left: -1.45rem;
    top: 0.95rem;
    transform: translateY(-50%);
    width: 8px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 13'%3E%3Cpath d='M6 0.5L11.5 3.5L11.5 9.5L6 12.5L0.5 9.5L0.5 3.5Z' fill='none' stroke='%239b8cff' stroke-width='1.4'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.blog-body blockquote {
    margin: 1.6rem 0;
    padding: 0.2rem 0 0.2rem 1.1rem;
    border-left: 2px solid var(--ol-amber);
    color: var(--ol-bright);
}

.blog-table-wrap {
    margin: 1.8rem 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--ol-border);
    border-radius: 6px;
    background: var(--ol-panel);
}

.blog-body table {
    width: 100%;
    min-width: 20rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.blog-body thead th {
    text-align: left;
    color: var(--ol-amber);
    font-weight: 600;
    white-space: nowrap;
    background: rgba(255, 180, 87, 0.06);
    border-bottom: 1px solid var(--ol-border);
}

.blog-body th,
.blog-body td {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--ol-border);
    vertical-align: middle;
}

.blog-body tbody tr:last-child td {
    border-bottom: none;
}

.blog-body tbody td:first-child {
    color: var(--ol-bright);
    font-weight: 600;
    white-space: nowrap;
}

.blog-body td.cmp {
    text-align: center;
    position: relative;
}

.cmp-mark {
    display: inline-block;
    width: 17px;
    height: 17px;
    background: center / contain no-repeat;
    vertical-align: middle;
}

.cmp-yes .cmp-mark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5L6.4 12L13 4.2' fill='none' stroke='%2364d79b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cmp-no .cmp-mark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8H12' fill='none' stroke='%237a8aa6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.blog-body code {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ol-cyan);
    font-family: var(--ol-mono);
    font-size: 0.88em;
    padding: 0.12rem 0.36rem;
    border-radius: 4px;
}

.blog-body pre {
    margin: 1.85rem 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(127, 219, 255, 0.05), transparent 72px), #070b16;
    border: 1px solid var(--ol-border);
    border-left: 2px solid rgba(127, 219, 255, 0.5);
    border-radius: 8px;
    
    overflow: auto hidden;
    font-size: 13px;
    line-height: 1.65;
    tab-size: 4;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 14px 30px -20px rgba(0, 0, 0, 0.85);
    -webkit-overflow-scrolling: touch;
}

.blog-body pre code {
    background: none;
    color: var(--ol-text);
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    white-space: pre;
}

.blog-body pre::-webkit-scrollbar {
    height: 8px;
}

.blog-body pre::-webkit-scrollbar-thumb {
    background: rgba(127, 219, 255, 0.22);
    border-radius: 4px;
}

.blog-body pre::-webkit-scrollbar-track {
    background: transparent;
}

.blog-body pre ::selection {
    background: rgba(127, 219, 255, 0.18);
}

.blog-body .hljs-comment,
.blog-body .hljs-quote {
    color: var(--ol-muted);
    font-style: italic;
}

.blog-body .hljs-keyword,
.blog-body .hljs-built_in,
.blog-body .hljs-type {
    color: var(--ol-cyan);
}

.blog-body .hljs-string,
.blog-body .hljs-regexp,
.blog-body .hljs-meta-string {
    color: #9ad98f;
}

.blog-body .hljs-number,
.blog-body .hljs-literal {
    color: #b3a4ff;
}

.blog-body .hljs-title,
.blog-body .hljs-title.function_,
.blog-body .hljs-section {
    color: var(--ol-amber-hi);
}

.blog-body .hljs-attr,
.blog-body .hljs-property,
.blog-body .hljs-attribute {
    color: var(--ol-text);
}

.blog-body .hljs-meta,
.blog-body .hljs-comment .hljs-doctag {
    color: var(--ol-muted);
}

.blog-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    margin: 3rem 0;
    padding: 26px 28px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 180, 87, 0.1), transparent 60%),
        var(--ol-panel);
    border: 1px solid rgba(255, 180, 87, 0.35);
    border-radius: 8px;
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.blog-cta::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(255, 180, 87, 0.08) inset;
    pointer-events: none;
}

.blog-cta-body {
    flex: 1 1 260px;
}

.blog-cta-kicker {
    margin: 0 0 8px;
    color: var(--ol-amber);
    font-family: var(--ol-mono);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
}

.blog-cta-text {
    margin: 0;
    color: var(--ol-bright);
    font-size: 16px;
    line-height: 1.5;
}

.blog-cta-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.blog-cta .blog-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    background: var(--ol-amber);
    color: #0a1024;
    border: 1px solid var(--ol-amber);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--ol-mono);
    font-size: 13px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 0 rgba(255, 180, 87, 0);
    transition:
        background 0.14s,
        border-color 0.14s,
        box-shadow 0.14s,
        transform 0.14s;
}

.blog-cta .blog-cta-btn span {
    color: #0a1024;
}

.blog-cta .blog-cta-btn::after {
    content: "\2192";
    display: inline-block;
    color: #0a1024;
    transition: transform 0.14s ease;
}

.blog-cta .blog-cta-btn:hover {
    background: var(--ol-amber-hi);
    border-color: var(--ol-amber-hi);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 180, 87, 0.28);
}

.blog-cta .blog-cta-btn:hover::after {
    transform: translateX(3px);
}

.blog-cta-note {
    text-align: center;
    color: var(--ol-muted);
    font-family: var(--ol-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.blog-index-intro {
    color: var(--ol-muted);
    font-size: 16px;
    margin: 0 0 36px;
}

.blog-index-foot {
    width: fit-content;
    max-width: 100%;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--ol-border);
    font-family: var(--ol-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-align: center;
}

.blog-index-foot a {
    color: var(--ol-amber);
    text-decoration: none;
}

.blog-index-foot a:hover {
    color: var(--ol-amber-hi);
}

.blog-index {
    max-width: 940px;
}

.blog-chip {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--ol-mono);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
    color: var(--ol-muted);
}

.blog-chip::before {
    content: "";
    width: 6px;
    height: 7px;
    background: var(--ol-muted);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.blog-chip-engineering {
    color: var(--ol-cyan);
}

.blog-chip-engineering::before {
    background: var(--ol-cyan);
}

.blog-featured {
    display: block;
    margin: 0 0 30px;
    background: var(--ol-panel);
    border: 1px solid var(--ol-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        transform 0.15s ease;
}

.blog-featured:hover {
    border-color: rgba(255, 180, 87, 0.28);
    text-decoration: none;
}

.blog-featured-media {
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #05070d;
    border-bottom: 1px solid var(--ol-border);
}

.blog-featured-media img,
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-featured-body {
    padding: 22px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.blog-featured-body h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 31px);
    font-weight: 300;
    letter-spacing: -0.015em;
    line-height: 1.16;
    color: var(--ol-bright);
}

.blog-featured-desc {
    margin: 0;
    max-width: 62ch;
    color: var(--ol-text);
    line-height: 1.6;
    font-size: 1.02rem;
}

.blog-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ol-panel);
    border: 1px solid var(--ol-border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        transform 0.15s ease;
}

.blog-card a:hover {
    border-color: rgba(255, 180, 87, 0.28);
    text-decoration: none;
}

.blog-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #05070d;
    border-bottom: 1px solid var(--ol-border);
}

.blog-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 18px 20px 20px;
}

.blog-card h2 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--ol-bright);
}

.blog-card-desc {
    margin: 0;
    color: var(--ol-text);
    line-height: 1.5;
    font-size: 0.95rem;
}

.blog-card-meta {
    margin-top: auto;
    padding-top: 0.4rem;
    color: var(--ol-muted);
    font-family: var(--ol-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
}

@media (max-width: 620px) {
    .blog-card-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .blog-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .blog-cta-body {
        flex: 0 0 auto;
    }
    .blog-cta-action {
        width: 100%;
    }
    .blog-cta .blog-cta-btn {
        width: 100%;
    }
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 2.5rem 0 0;
}

.blog-share-label {
    margin-right: 8px;
    color: var(--ol-muted);
    font-family: var(--ol-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: none;
    background: none;
    line-height: 0;
    color: var(--ol-muted);
    cursor: pointer;
}

.blog-share-btn:hover {
    color: var(--ol-muted);
    text-decoration: none;
}

.blog-share-btn svg {
    display: block;
}

.blog-share-copy.is-copied::after {
    content: "Copied";
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--ol-bright);
    color: #05070d;
    font-family: var(--ol-mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
}

.blog-share-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.blog-postnav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ol-border);
}
.blog-postnav-link,
.blog-postnav-slot {
    flex: 1 1 0;
    min-width: 0;
}
.blog-postnav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: var(--ol-panel);
    border: 1px solid var(--ol-border);
    border-radius: 8px;
    text-decoration: none;
    transition:
        border-color 0.12s,
        transform 0.12s;
}
.blog-postnav-link:hover {
    border-color: rgba(255, 180, 87, 0.45);
    transform: translateY(-1px);
}
.blog-postnav-newer {
    text-align: right;
}
.blog-postnav-label {
    font-family: var(--ol-mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: var(--ol-amber);
}
.blog-postnav-older .blog-postnav-label::before {
    content: "\2190  ";
}
.blog-postnav-newer .blog-postnav-label::after {
    content: "  \2192";
}
.blog-postnav-title {
    color: var(--ol-bright);
    font-size: 15px;
    line-height: 1.35;
}
@media (max-width: 560px) {
    .blog-postnav {
        flex-direction: column;
    }
    .blog-postnav-slot {
        display: none;
    }
    .blog-postnav-newer {
        text-align: left;
    }
    .blog-postnav-newer .blog-postnav-label::after {
        content: "";
    }
}

.blog-notfound {
    text-align: center;
}

.blog-notfound .nf-scene {
    margin: 0 auto 8px;
}

.blog-notfound-copy {
    color: var(--ol-text);
    max-width: 60ch;
    margin: 0 auto 56px;
}

.blog-notfound-sub {
    font-family: var(--ol-mono);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 400;
    color: var(--ol-muted);
    text-align: left;
    margin: 0 0 16px;
}

.blog-notfound .blog-card {
    text-align: left;
}

@media (min-width: 621px) {
    .blog-notfound .blog-card-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
