@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-var.woff2") format("woff2");
}

:root {
    --ink: #0f172b;
    --ink-soft: #314158;
    --muted: #64748b;
    --faint: #94a3b8;
    --paper: #fffdf8;
    --page: #f7f9fc;
    --panel: #ffffff;
    --line: #e2e8f0;
    --line-soft: #eef2f7;
    --cyan: #06b6d4;
    --cyan-deep: #0092b5;
    --violet: #895cd6;
    --green: #10b981;
    --radius: 16px;
    --shadow: 0 24px 70px -46px rgba(15, 23, 42, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(
        --gh-font-body,
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif
    );
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body[data-blog-theme="dark"] {
    --ink: #e5eefb;
    --ink-soft: #b8c7dd;
    --muted: #8ea0ba;
    --faint: #70829f;
    --paper: #0d1523;
    --page: #09111d;
    --panel: #101a2d;
    --line: #22314c;
    --line-soft: #1a2740;
    --cyan-deep: #6ae0f4;
    --shadow: 0 30px 80px -54px rgba(0, 0, 0, 0.72);
    color-scheme: dark;
}

body[data-blog-theme="dark"] {
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 24%),
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 26%),
        linear-gradient(180deg, #09111d 0%, #0c1628 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(
        --gh-font-heading,
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif
    );
    letter-spacing: 0;
}

body ::selection {
    background: rgba(6, 182, 212, 0.18);
    color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
}

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

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: min(100% - 384px, 1664px);
    margin-inline: auto;
}

.narrow {
    width: min(100% - 36px, 780px);
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background: transparent;
    transition:
        background-color 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease,
        backdrop-filter 0.24s ease;
}

.blog-header {
    position: fixed;
    top: 20px;
    right: 0;
    left: 0;
    z-index: 24;
    transition:
        transform 0.24s ease,
        top 0.24s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px) saturate(160%);
}

.blog-header.is-scrolled {
    top: 12px;
}

.blog-header.is-scrolled .blog-brand {
    min-height: 44px;
    padding: 0 14px;
    box-shadow:
        0 10px 24px -22px rgba(15, 23, 42, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-header.is-scrolled .blog-brand img {
    width: 118px;
}

.blog-header.is-scrolled .blog-return-link {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
}

.blog-header.is-scrolled .blog-theme-toggle {
    width: 56px;
    min-width: 56px;
    height: 34px;
    padding: 0 10px;
}

.blog-header.is-scrolled .blog-theme-icon {
    width: 12px;
    height: 12px;
}

.blog-header.is-scrolled .blog-theme-toggle::before {
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
}

.blog-header.is-scrolled .blog-return-icon {
    width: 13px;
    height: 13px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 84px;
    transition: min-height 0.24s ease;
}

.site-header.is-scrolled .header-inner {
    min-height: 66px;
}

.blog-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
}

.blog-header-spacer {
    display: none;
}

.site-nav,
.site-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.site-nav {
    gap: 24px;
    margin-left: 32px;
}

.site-actions {
    justify-content: flex-end;
    gap: 14px;
}

.site-nav a,
.site-actions a,
.section-link {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 660;
    line-height: 1;
}

.site-nav a:hover,
.site-actions a:hover,
.section-link:hover {
    color: var(--ink);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 138px;
    transition: width 0.24s ease;
}

.blog-brand {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow:
        0 14px 32px -26px rgba(15, 23, 42, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(150%);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.blog-brand:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 182, 212, 0.28);
    box-shadow:
        0 18px 34px -28px rgba(15, 23, 42, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.blog-brand img {
    width: 132px;
    transition: width 180ms ease;
}

.blog-header-actions {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-50%);
}

.blog-theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 64px;
    min-width: 64px;
    height: 40px;
    padding: 0 11px;
    border: 1px solid rgba(203, 213, 225, 0.94);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
    box-shadow:
        0 14px 28px -24px rgba(15, 23, 42, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: #475569;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.blog-theme-toggle::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(124, 58, 237, 0.86));
    box-shadow:
        0 10px 20px -14px rgba(15, 23, 42, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

body[data-blog-theme="light"] .blog-theme-toggle::before {
    transform: translateX(24px);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(250, 204, 21, 0.9));
    box-shadow:
        0 10px 20px -14px rgba(15, 23, 42, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.blog-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow:
        0 18px 30px -24px rgba(15, 23, 42, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.blog-theme-toggle:focus-visible {
    outline: 0;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow:
        0 0 0 4px rgba(6, 182, 212, 0.16),
        0 18px 30px -24px rgba(15, 23, 42, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.blog-theme-icon {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    opacity: 0.75;
    pointer-events: none;
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        color 180ms ease;
}

.blog-theme-icon-moon,
.blog-theme-icon-sun {
    background: currentColor;
}

.blog-theme-icon-moon {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.74 14.05A8.49 8.49 0 0 1 9.95 3.26a.75.75 0 0 0-.84-.99A10 10 0 1 0 21.73 14.9a.75.75 0 0 0-.99-.85Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.74 14.05A8.49 8.49 0 0 1 9.95 3.26a.75.75 0 0 0-.84-.99A10 10 0 1 0 21.73 14.9a.75.75 0 0 0-.99-.85Z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.blog-theme-icon-sun {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2.2M12 19.8V22M4.93 4.93l1.56 1.56M17.51 17.51l1.56 1.56M2 12h2.2M19.8 12H22M4.93 19.07l1.56-1.56M17.51 6.49l1.56-1.56'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2.2M12 19.8V22M4.93 4.93l1.56 1.56M17.51 17.51l1.56 1.56M2 12h2.2M19.8 12H22M4.93 19.07l1.56-1.56M17.51 6.49l1.56-1.56'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

body[data-blog-theme="light"] .blog-theme-icon-sun,
body[data-blog-theme="dark"] .blog-theme-icon-moon {
    opacity: 1;
}

body[data-blog-theme="light"] .blog-theme-icon-moon,
body[data-blog-theme="dark"] .blog-theme-icon-sun {
    opacity: 0.38;
}

body[data-blog-theme="dark"] .blog-theme-toggle {
    border-color: rgba(71, 85, 105, 0.94);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
    color: #cbd5e1;
    box-shadow:
        0 14px 28px -24px rgba(15, 23, 42, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-blog-theme="dark"] .blog-theme-toggle::before {
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(99, 102, 241, 0.82));
    box-shadow:
        0 10px 20px -14px rgba(8, 47, 73, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body[data-blog-theme="light"] .blog-header.is-scrolled .blog-theme-toggle::before {
    transform: translateX(23px);
}

body[data-blog-theme="dark"] .blog-header.is-scrolled .blog-theme-toggle::before {
    transform: none;
}

.site-header.is-scrolled .brand img {
    width: 126px;
}

.footer-brand img {
    width: 126px;
}

.nav-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff !important;
}

.nav-login {
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 640 !important;
}

.nav-invite {
    font-weight: 700 !important;
}

.blog-return-link {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 640;
    white-space: nowrap;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        padding 180ms ease,
        min-height 180ms ease,
        font-size 180ms ease;
}

.blog-header-actions .blog-return-link {
    position: static;
    top: auto;
    right: auto;
    transform: none;
}

.blog-return-link:hover {
    transform: translateY(calc(-50% - 1px));
    border-color: rgba(6, 182, 212, 0.42);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 12px 24px -22px rgba(6, 182, 212, 0.7);
}

.blog-return-icon {
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 5H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M15 16l5-4-5-4'/%3E%3Cpath d='M20 12H9'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 5H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M15 16l5-4-5-4'/%3E%3Cpath d='M20 12H9'/%3E%3C/svg%3E")
        center / contain no-repeat;
    transition: transform 180ms ease;
}

.blog-return-link:hover .blog-return-icon {
    transform: translateX(-2px);
}

.blog-header-actions .blog-return-link:hover {
    transform: translateY(-1px);
}

.blog-member-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    box-shadow:
        0 14px 28px -24px rgba(15, 23, 42, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        min-height 180ms ease,
        font-size 180ms ease;
}

.blog-member-link:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 182, 212, 0.42);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 12px 24px -22px rgba(6, 182, 212, 0.7);
}

.blog-member-link:focus-visible {
    outline: 0;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow:
        0 0 0 4px rgba(6, 182, 212, 0.16),
        0 12px 24px -22px rgba(6, 182, 212, 0.7);
}

.blog-member-link-signin {
    padding: 0 14px;
}

.blog-member-link-account {
    width: 40px;
    min-width: 40px;
    padding: 0;
}

.blog-member-icon {
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

body[data-blog-theme="dark"] .blog-member-link {
    border-color: rgba(71, 85, 105, 0.94);
    background: rgba(15, 23, 42, 0.92);
    color: #cbd5e1;
    box-shadow:
        0 14px 28px -24px rgba(15, 23, 42, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-blog-theme="dark"] .blog-member-link:hover {
    border-color: rgba(34, 211, 238, 0.36);
    background: rgba(15, 23, 42, 0.98);
    color: #f8fafc;
}

.desk-hero {
    --desk-hero-base:
        linear-gradient(135deg, #ffffff 0%, #f7fbff 48%, #f8f5ff 100%);
    --desk-hero-top:
        linear-gradient(135deg, rgba(255, 255, 255, 0) 0 44%, rgba(6, 182, 212, 0.07) 50%, rgba(124, 58, 237, 0.07) 56%, rgba(255, 255, 255, 0) 64%),
        radial-gradient(circle at 22% 12%, rgba(34, 211, 238, 0.12), transparent 26%),
        radial-gradient(circle at 76% 18%, rgba(168, 85, 247, 0.12), transparent 28%);
    --desk-hero-bottom:
        radial-gradient(ellipse at 34% 50%, rgba(6, 182, 212, 0.12), transparent 38%),
        radial-gradient(ellipse at 68% 54%, rgba(168, 85, 247, 0.11), transparent 40%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    min-height: 650px;
    padding: 150px 0 80px;
    background: var(--desk-hero-base);
}

body[data-blog-theme="dark"] .desk-hero {
    background:
        linear-gradient(180deg, rgba(9, 17, 29, 0.96), rgba(12, 22, 40, 0.98));
}

.desk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--desk-hero-top);
    pointer-events: none;
}

.desk-hero::after {
    content: "";
    position: absolute;
    right: -18%;
    bottom: -96px;
    left: -18%;
    height: 190px;
    background: var(--desk-hero-bottom);
    filter: blur(18px);
    opacity: 0.7;
    transform: translate3d(-3%, 0, 0);
    animation: desk-hero-drift 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes desk-hero-drift {
    from {
        transform: translate3d(-3%, 0, 0) scaleX(1);
    }

    to {
        transform: translate3d(3%, -4px, 0) scaleX(1.04);
    }
}

.desk-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    grid-template-areas:
        "kicker title"
        ". summary";
    gap: 30px 46px;
    align-items: center;
}

.desk-kicker {
    grid-area: kicker;
    display: grid;
    gap: 18px;
    padding-top: 10px;
    color: var(--muted);
}

.desk-kicker span,
.section-heading p,
.archive-header p,
.error-page p,
.note-label,
.tag-link {
    color: var(--cyan-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.desk-kicker strong {
    color: var(--faint);
    font-size: 13px;
    font-weight: 610;
    letter-spacing: 0;
}

.desk-title h1 {
    max-width: 780px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(48px, 5.2vw, 82px);
    font-weight: 680;
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.desk-title {
    grid-area: title;
}

.desk-summary {
    grid-area: summary;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 18px;
    align-items: start;
    padding-top: 12px;
}

.desk-summary p {
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.55;
}

.desk-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-start;
}

.desk-topics span,
.note-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 640;
}

body[data-blog-theme="dark"] .desk-topics span,
body[data-blog-theme="dark"] .note-list span {
    background: rgba(16, 26, 45, 0.9);
    border-color: rgba(86, 107, 140, 0.34);
    color: #d6e3f5;
}

.motion-enabled [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.985);
    filter: blur(10px);
    transition:
        opacity 620ms ease,
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 720ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.desk-directory {
    display: grid;
    gap: 20px;
}

.desk-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: end;
}

.desk-search-field,
.desk-sort-field {
    display: grid;
    gap: 8px;
}

.desk-search-field span,
.desk-sort-field span,
.desk-filter-row > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 680;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.desk-search-field input,
.desk-sort-field select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    font: inherit;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.desk-sort-field select {
    padding-right: 48px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='%231e293b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

body[data-blog-theme="dark"] .desk-search-field input,
body[data-blog-theme="dark"] .desk-sort-field select {
    background: rgba(16, 26, 45, 0.92);
    border-color: rgba(86, 107, 140, 0.4);
    color: #e5eefb;
}

body[data-blog-theme="dark"] .desk-sort-field select {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' stroke='%23dce8f9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4'/%3E%3C/svg%3E");
}

body[data-blog-theme="dark"] .desk-search-field input::placeholder {
    color: #7f93b1;
}

.desk-search-field input:focus,
.desk-sort-field select:focus {
    outline: none;
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.desk-filter-row {
    display: grid;
    gap: 12px;
}

.desk-topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.desk-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font: inherit;
    font-size: 14px;
    font-weight: 620;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.desk-filter-chip:hover {
    border-color: rgba(6, 182, 212, 0.45);
    color: var(--cyan-deep);
    transform: translateY(-1px);
}

.desk-filter-chip.is-active {
    background: rgba(6, 182, 212, 0.09);
    border-color: rgba(6, 182, 212, 0.42);
    color: var(--cyan-deep);
}

body[data-blog-theme="dark"] .desk-filter-chip,
body[data-blog-theme="dark"] .desk-clear-filters {
    background: rgba(16, 26, 45, 0.9);
    border-color: rgba(86, 107, 140, 0.36);
    color: #d6e3f5;
}

body[data-blog-theme="dark"] .desk-filter-chip.is-active {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(106, 224, 244, 0.44);
    color: #8ee7f6;
}

.desk-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.desk-results-meta p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.desk-clear-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font: inherit;
    font-size: 13px;
    font-weight: 620;
    cursor: pointer;
}

.desk-clear-filters:hover {
    border-color: rgba(6, 182, 212, 0.4);
    color: var(--cyan-deep);
}

.desk-empty-state {
    grid-column: 1 / -1;
    padding: 34px 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    text-align: center;
}

body[data-blog-theme="dark"] .desk-empty-state {
    background: rgba(16, 26, 45, 0.9);
    border-color: rgba(86, 107, 140, 0.34);
}

.desk-empty-state h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 24px;
}

.desk-empty-state p {
    margin: 0;
    color: var(--muted);
}

.pagination-shell {
    margin-top: 8px;
}

.pagination-list {
    justify-content: flex-start;
    width: 100%;
    margin: 0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    transition:
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.pagination-link:hover {
    border-color: rgba(6, 182, 212, 0.45);
    color: var(--cyan-deep);
    transform: translateY(-1px);
}

.pagination-link.is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}

.pagination-link.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.lead-section,
.playbook-section,
.post-feed-section,
.case-section,
.related-section {
    padding: 58px 0;
}

.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-items: stretch;
}

.lead-story {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    box-shadow: 0 30px 70px -50px rgba(15, 23, 42, 0.3);
}

.lead-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 24px 24px;
    background: transparent;
}

.lead-image img {
    width: 100%;
    max-width: 236px;
    display: block;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 38px -30px rgba(15, 23, 42, 0.24);
}

.pattern-card {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background:
        linear-gradient(
            135deg,
            transparent 0 48%,
            rgba(6, 182, 212, 0.18) 48% 52%,
            transparent 52%
        ),
        radial-gradient(
            circle at 18% 18%,
            rgba(124, 58, 237, 0.18),
            transparent 28%
        ),
        #f8fafc;
}

.pattern-card span {
    color: rgba(15, 23, 43, 0.42);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.lead-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 32px 30px 10px;
}

.lead-copy h2 {
    margin: 12px 0 14px;
    color: var(--ink);
    font-size: clamp(28px, 2.4vw, 38px);
    font-weight: 660;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: pretty;
}

.lead-copy p {
    max-width: 42ch;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.story-meta,
.post-card-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--faint);
    font-size: 13px;
    font-weight: 620;
}

.editorial-note {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: flex-start;
    min-height: 100%;
    padding: 28px;
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    border: 1px solid rgba(208, 222, 237, 0.95);
    border-radius: 28px;
    color: var(--ink);
    box-shadow: 0 26px 60px -48px rgba(15, 23, 42, 0.22);
}

.editorial-note h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: clamp(26px, 2.2vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.editorial-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.75;
}

.note-list {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.note-list span {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(208, 222, 237, 0.95);
    border-radius: 16px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 630;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.topic-section {
    border-block: 1px solid var(--line);
    background: #ffffff;
}

.topic-strip {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    align-items: center;
    padding-block: 20px;
}

.topic-strip > span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 670;
}

.topic-strip div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-strip a {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 620;
}

.topic-strip a:hover {
    border-color: rgba(6, 182, 212, 0.5);
    color: var(--cyan-deep);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2,
.archive-header h1,
.error-page h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 660;
}

.section-heading > span {
    max-width: 320px;
    color: var(--muted);
    font-size: 14px;
}

.section-heading > a,
.post-card-foot a,
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px;
    background: var(--ink);
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    transition:
        transform 160ms ease,
        opacity 160ms ease;
}

.section-heading > a:hover,
.post-card-foot a:hover,
.button-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.playbook-grid,
.post-grid,
.case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.post-grid.compact,
.case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.playbook-grid article {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.playbook-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.18);
    box-shadow: 0 24px 56px -42px rgba(15, 23, 42, 0.28);
}

.playbook-grid span {
    color: var(--violet);
    font-size: 12px;
    font-weight: 720;
}

.playbook-grid h3 {
    margin: 52px 0 10px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.16;
}

.playbook-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.case-section {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: var(--shadow);
}

body[data-blog-theme="dark"] .post-card {
    background:
        linear-gradient(180deg, rgba(16, 26, 45, 0.98), rgba(11, 19, 34, 0.98));
    border-color: rgba(86, 107, 140, 0.3);
}

.post-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #edf2f7;
}

body[data-blog-theme="dark"] .post-card-media {
    background: #10192b;
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 220ms ease,
        filter 220ms ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.03);
    filter: saturate(1.04);
}

.post-card-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            transparent 0 49%,
            rgba(6, 182, 212, 0.25) 49% 51%,
            transparent 51%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(124, 58, 237, 0.16),
            transparent 28%
        ),
        #f8fafc;
}

.post-card-fallback span {
    color: rgba(15, 23, 43, 0.44);
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body[data-blog-theme="dark"] .post-card-fallback {
    background:
        linear-gradient(
            135deg,
            transparent 0 49%,
            rgba(34, 211, 238, 0.2) 49% 51%,
            transparent 51%
        ),
        radial-gradient(
            circle at 80% 18%,
            rgba(99, 102, 241, 0.18),
            transparent 28%
        ),
        #0f1728;
}

body[data-blog-theme="dark"] .post-card-fallback span {
    color: rgba(229, 238, 251, 0.54);
}

.post-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.post-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 13px;
}

.post-card-meta a {
    color: var(--cyan-deep);
}

.post-card-comment-count {
    color: var(--faint);
    font-size: 13px;
    font-weight: 700;
}

.post-card h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 650;
    line-height: 1.18;
    text-wrap: balance;
}

.post-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.post-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}

.post-card-foot span {
    color: var(--faint);
    font-size: 13px;
    font-weight: 620;
}

.post-card-foot a {
    min-height: 34px;
    padding: 7px 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--ink);
}

body[data-blog-theme="dark"] .post-card-foot a {
    background: rgba(13, 21, 35, 0.92);
    border-color: rgba(86, 107, 140, 0.36);
    color: #dce8f9;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(100% - 36px, 1180px);
    margin: 42px auto 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 620;
}

.pagination a {
    color: var(--ink);
}

.article-page,
.archive-page {
    background: var(--page);
}

.article {
    --article-frame: 940px;
    --article-copy: 940px;
}


.post-template .site-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px) saturate(160%);
}

body[data-blog-theme="dark"] .blog-brand,
body[data-blog-theme="dark"] .blog-return-link {
    border-color: rgba(86, 107, 140, 0.42);
    background:
        linear-gradient(180deg, rgba(16, 26, 45, 0.95), rgba(13, 21, 35, 0.92));
    color: #dce8f9;
    box-shadow:
        0 18px 34px -26px rgba(0, 0, 0, 0.56),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-blog-theme="dark"] .blog-brand:hover,
body[data-blog-theme="dark"] .blog-return-link:hover {
    border-color: rgba(106, 224, 244, 0.38);
    background:
        linear-gradient(180deg, rgba(19, 31, 53, 0.98), rgba(15, 24, 40, 0.98));
}

body[data-blog-theme="dark"] .post-template .site-header {
    background: rgba(8, 14, 26, 0.88);
    border-bottom-color: rgba(34, 49, 76, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.post-template .header-inner {
    min-height: 74px;
}

.post-template .brand img {
    width: 146px;
}

.article-header,
.archive-header {
    padding: 132px 0 28px;
}

.article-header-copy {
    display: grid;
    justify-items: start;
    gap: 18px;
    width: min(100%, var(--article-frame));
    margin: 0 auto;
}

.archive-header {
    text-align: center;
}

.article-tag {
    display: inline-flex;
    color: var(--cyan-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-header h1 {
    margin: 0;
    max-width: 100%;
    color: var(--ink);
    font-size: clamp(38px, 4.8vw, 62px);
    font-weight: 670;
    line-height: 1.04;
    /* text-wrap: balance; */
}

.article-header-copy > p,
.archive-header span {
    display: block;
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.7;
}

.article-meta {
    align-items: center;
    gap: 10px 0;
    margin-top: 2px;
    color: var(--muted);
    font-size: 14px;
}

.article-meta > * {
    display: inline-flex;
    align-items: center;
}

.article-meta > * + *::before {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 14px;
    border-radius: 999px;
    background: #cbd5e1;
}

.article-image {
    width: min(100% - 72px, var(--article-frame));
    margin: 0 auto 46px;
}

.article-image img {
    width: 100%;
    max-height: 700px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.article-image figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.article-content {
    width: min(100% - 36px, var(--article-copy));
    margin-inline: auto;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.88;
}

.article-content > h1:first-child {
    display: none;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: var(--ink);
    font-weight: 660;
    line-height: 1.16;
}

.article-content h1 {
    margin: 56px 0 18px;
    font-size: 34px;
}

.article-content h2 {
    margin: 56px 0 18px;
    font-size: 32px;
}

.article-content h3 {
    margin: 40px 0 14px;
    font-size: 24px;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content pre,
.article-content figure {
    margin: 0 0 28px;
}

.article-content > p {
    color: inherit;
}

.article-content a {
    color: var(--cyan-deep);
    font-weight: 630;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.article-content ul,
.article-content ol {
    padding-left: 1.3em;
}

.article-content li + li {
    margin-top: 8px;
}

.article-content blockquote {
    padding: 22px 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: 0 14px 14px 0;
    color: var(--ink-soft);
    font-weight: 680;
}

body[data-blog-theme="dark"] .article-content blockquote {
    background: rgba(16, 26, 45, 0.9);
    border-color: rgba(86, 107, 140, 0.3);
    color: #d2def1;
}

.article-content code {
    padding: 3px 6px;
    background: #eef2f7;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.9em;
    color: var(--ink);
}

body[data-blog-theme="dark"] .article-content code {
    background: rgba(16, 26, 45, 0.92);
    border-color: rgba(86, 107, 140, 0.28);
    color: #cfe0f7;
}

.article-content pre {
    overflow-x: auto;
    padding: 22px;
    background: var(--ink);
    border-radius: 16px;
    color: #e2e8f0;
    font-size: 15px;
}

.article-content pre code {
    padding: 0;
    background: transparent;
    border: 0;
    color: inherit;
}

body[data-blog-theme="dark"] .article-meta > * + *::before {
    background: rgba(142, 160, 186, 0.56);
}

body[data-blog-theme="dark"] .article-image figcaption {
    color: #9eb0c8;
}

body[data-blog-theme="dark"] .article-content strong {
    color: #f4f8ff;
}

body[data-blog-theme="dark"] .article-content :is(p, ul, ol, li) {
    color: #c6d3e6;
}

.article-engagement {
    display: grid;
    gap: 30px;
    width: min(100% - 36px, var(--article-copy));
    margin: 44px auto 0;
}

.article-engagement-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.article-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 14px 30px -26px rgba(15, 23, 42, 0.36);
    appearance: none;
    -webkit-appearance: none;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.article-action:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 182, 212, 0.34);
    color: var(--ink);
    box-shadow: 0 16px 32px -26px rgba(6, 182, 212, 0.72);
}

.article-action:focus-visible,
.article-signup-form input:focus-visible,
.article-signup-form button:focus-visible {
    outline: 0;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow:
        0 0 0 4px rgba(6, 182, 212, 0.16),
        0 16px 32px -26px rgba(6, 182, 212, 0.72);
}

.article-action-icon {
    width: 16px;
    height: 16px;
    background: currentColor;
}

.article-action-icon-share {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98M15.41 6.51 8.59 10.49'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.59 13.51 6.83 3.98M15.41 6.51 8.59 10.49'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.article-action-icon-comment {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.article-signup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
        radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 34%);
    box-shadow: var(--shadow);
}

.article-signup-copy {
    display: grid;
    gap: 8px;
}

.article-signup-kicker {
    margin: 0;
    color: var(--cyan-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.article-signup h2 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 670;
    line-height: 1.18;
}

.article-signup-copy p:last-child {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.article-signup-form {
    display: grid;
    gap: 10px;
}

.article-signup-fields {
    display: flex;
    gap: 8px;
}

.article-signup-form input[type="email"] {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.article-signup-form input[type="email"]::placeholder {
    color: var(--faint);
}

.article-signup-form button,
.article-signup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #0f172a;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 670;
    cursor: pointer;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.article-signup-button {
    text-align: center;
}

.article-signup-form button:hover,
.article-signup-button:hover {
    transform: translateY(-1px);
    border-color: #111c31;
    background: #111c31;
    color: #ffffff;
    box-shadow: 0 16px 30px -24px rgba(15, 23, 42, 0.62);
}

.article-signup-form.loading button {
    cursor: progress;
    opacity: 0.72;
}

.article-signup-form.success input,
.article-signup-form.success button {
    pointer-events: none;
    opacity: 0.62;
}

.article-signup-message {
    display: none;
    margin: 0;
    font-size: 13px;
    font-weight: 720;
    line-height: 1.45;
}

.article-signup-form.success .article-signup-message-success {
    display: block;
    color: var(--green);
}

.article-signup-form.error .article-signup-message-error,
.article-signup-form.invalid .article-signup-message-error {
    display: block;
    color: #e11d48;
}

.blog-newsletter-section {
    padding: 24px 0 72px;
}

.blog-newsletter-section .newsletter-signup {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 260px;
    padding: 42px;
    border-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(135deg, rgba(7, 16, 32, 0.97), rgba(15, 23, 42, 0.94)),
        radial-gradient(circle at 18% 22%, rgba(34, 211, 238, 0.24), transparent 30%),
        radial-gradient(circle at 82% 28%, rgba(124, 58, 237, 0.24), transparent 32%);
    box-shadow:
        0 34px 80px -58px rgba(15, 23, 42, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-newsletter-section .newsletter-signup::after {
    content: "";
    position: absolute;
    inset: auto -12% -44% 42%;
    height: 190px;
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.24), rgba(168, 85, 247, 0.24));
    filter: blur(36px);
    opacity: 0.64;
    pointer-events: none;
}

.blog-newsletter-section .article-signup-copy,
.blog-newsletter-section .article-signup-form {
    position: relative;
    z-index: 1;
}

.blog-newsletter-section .article-signup-kicker {
    color: #67e8f9;
}

.blog-newsletter-section .article-signup h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.02;
    letter-spacing: 0;
}

.blog-newsletter-section .article-signup-copy p:last-child {
    max-width: 660px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 16px;
}

.blog-newsletter-section .article-signup-form {
    align-self: end;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(140%);
}

.blog-newsletter-section .article-signup-form input[type="email"] {
    border-color: rgba(226, 232, 240, 0.24);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.blog-newsletter-section .article-signup-form button,
.blog-newsletter-section .article-signup-button {
    border-color: #22d3ee;
    background: #22d3ee;
    color: #06212c;
}

.blog-newsletter-section .article-signup-form button:hover,
.blog-newsletter-section .article-signup-button:hover {
    border-color: #67e8f9;
    background: #67e8f9;
    color: #06212c;
}

.blog-newsletter-section .article-signup-message-success {
    color: #86efac;
}

body[data-blog-theme="dark"] .blog-newsletter-section .newsletter-signup {
    border-color: rgba(71, 85, 105, 0.7);
}

.article-comments {
    padding-top: 16px;
}

.article-related {
    margin-top: 72px;
    padding: 64px 0 76px;
    border-top: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(247, 249, 252, 0));
}

.article-related .section-heading,
.article-related .post-grid {
    width: min(100% - 36px, var(--article-copy, 940px));
    margin-inline: auto;
}

.article-related .section-heading {
    margin-bottom: 24px;
}

.article-related .section-heading p {
    margin-bottom: 8px;
}

.article-related .post-grid.compact {
    gap: 18px;
}

.article-related .post-card h3 {
    font-size: 20px;
}

.article-related .post-card-content {
    padding: 20px;
}

body[data-blog-theme="dark"] .article-engagement-actions,
body[data-blog-theme="dark"] .article-signup {
    border-color: rgba(86, 107, 140, 0.3);
}

body[data-blog-theme="dark"] .article-action,
body[data-blog-theme="dark"] .article-signup-form input[type="email"] {
    background: rgba(16, 26, 45, 0.92);
    border-color: rgba(86, 107, 140, 0.32);
    color: #dce8f9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-blog-theme="dark"] .article-signup {
    background:
        linear-gradient(135deg, rgba(16, 26, 45, 0.96), rgba(13, 21, 35, 0.94)),
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 36%);
}

body[data-blog-theme="dark"] .article-signup-copy p:last-child {
    color: #c6d3e6;
}

body[data-blog-theme="dark"] .article-related {
    background:
        linear-gradient(180deg, rgba(16, 26, 45, 0.28), rgba(9, 17, 29, 0));
    border-top-color: rgba(86, 107, 140, 0.3);
}

.kg-width-wide,
.kg-width-full {
    width: min(100vw - 36px, var(--article-frame));
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-full {
    width: min(100vw - 24px, calc(var(--article-frame) + 120px));
}

.author-image {
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    border-radius: 999px;
    object-fit: cover;
}

.archive-feed {
    padding-top: 36px;
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 140px 0 56px;
    text-align: center;
}

.error-page > * {
    max-width: 100%;
}

.error-page .button-primary {
    margin-top: 28px;
}

.site-footer {
    position: relative;
    padding: 56px 0 28px;
    background:
        radial-gradient(
            circle at 16% 20%,
            rgba(6, 182, 212, 0.12),
            transparent 24%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(124, 58, 237, 0.12),
            transparent 30%
        ),
        linear-gradient(180deg, #f8fbff 0%, #eff5fc 100%);
    color: var(--muted);
    border-top: 1px solid rgba(226, 232, 240, 0.94);
}

body[data-blog-theme="dark"] .site-footer {
    background:
        radial-gradient(circle at 16% 20%, rgba(34, 211, 238, 0.1), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(99, 102, 241, 0.12), transparent 28%),
        linear-gradient(180deg, #08111f 0%, #0b1628 100%);
    border-top-color: rgba(34, 49, 76, 0.94);
}

body[data-blog-theme="dark"] .site-footer::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 72%);
}

.post-template .site-footer {
    margin-top: 56px;
}

.post-template .site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
    pointer-events: none;
}

body[data-blog-theme="dark"].post-template .site-footer {
    border-top-color: rgba(56, 73, 105, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(125, 149, 191, 0.08),
        0 -28px 64px -54px rgba(99, 102, 241, 0.3);
}

body[data-blog-theme="dark"].post-template .site-footer::after {
    background: linear-gradient(180deg, rgba(125, 149, 191, 0.08), transparent);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.86),
        transparent 72%
    );
    pointer-events: none;
}

.footer-inner {
    position: relative;
    display: grid;
    gap: 24px;
}

.footer-surface {
    display: grid;
    gap: 22px;
    padding: 34px 36px 28px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 32%),
        radial-gradient(circle at top right, rgba(124, 58, 237, 0.09), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
    box-shadow:
        0 32px 80px -58px rgba(15, 23, 42, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body[data-blog-theme="dark"] .footer-surface {
    border-color: rgba(34, 49, 76, 0.94);
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.1), transparent 32%),
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(16, 26, 45, 0.98), rgba(10, 18, 34, 0.98));
    box-shadow:
        0 32px 80px -58px rgba(0, 0, 0, 0.56),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.footer-intro {
    max-width: 760px;
}

.footer-overline {
    color: var(--cyan-deep);
    font-size: 11px;
    font-weight: 670;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-intro h2 {
    max-width: 760px;
    margin: 12px 0 14px;
    color: var(--ink);
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 650;
    line-height: 1.04;
    text-wrap: balance;
}

.footer-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.72;
}

.footer-demo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #4f8df7);
    color: #ffffff;
    font-size: 13px;
    font-weight: 640;
    box-shadow: 0 22px 44px -30px rgba(34, 211, 238, 0.58);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.footer-demo-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 48px -28px rgba(59, 130, 246, 0.34);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(226, 232, 240, 1),
        rgba(226, 232, 240, 0.48)
    );
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    margin: 0;
}

.footer-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 720;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.footer-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 182, 212, 0.34);
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 16px 32px -28px rgba(6, 182, 212, 0.55);
}

body[data-blog-theme="dark"] .footer-links a {
    border-color: rgba(86, 107, 140, 0.36);
    background: rgba(13, 21, 35, 0.86);
    color: #d6e3f5;
}

body[data-blog-theme="dark"] .footer-bottom {
    border-top-color: rgba(34, 49, 76, 0.92);
}

body[data-blog-theme="dark"] .site-footer p,
body[data-blog-theme="dark"] .footer-bottom small {
    color: rgba(184, 199, 221, 0.88);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(226, 232, 240, 0.92);
}

.site-footer p,
.footer-bottom small {
    margin: 0;
    color: rgba(71, 85, 105, 0.94);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.footer-bottom small {
    text-align: right;
}

.marketing-main {
    background: #ffffff;
}

.marketing-hero {
    position: relative;
    /* min-height: 1000px; */
    padding: 140px 0 100px;
    overflow: hidden;
    background: #f8fafc;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 36% -4%,
            rgba(6, 182, 212, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 36%,
            rgba(124, 58, 237, 0.08),
            transparent 34%
        );
    pointer-events: none;
}

.marketing-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(620px, 0.9fr) minmax(680px, 1fr);
    gap: 48px;
    align-items: center;
}

.marketing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 11px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.16);
    color: #475569;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.marketing-kicker span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.13);
}

.marketing-copy h1 {
    max-width: none;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(48px, 3.4vw, 64px);
    font-weight: 660;
    line-height: 1.05;
}

.marketing-copy h1 span,
.price-gradient strong {
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.marketing-copy p {
    max-width: 620px;
    margin: 0;
    color: #475569;
    font-size: 19px;
    line-height: 1.5;
}

.marketing-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 32px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 162px;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 640;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: #ffffff;
    box-shadow: 0 20px 40px -28px rgba(6, 182, 212, 0.72);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #cbd5e1;
    color: #1e293b;
}

.button-muted {
    background: #f1f5f9;
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-1px);
}

.marketing-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.marketing-signals span,
.compliance-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* Higher specificity than `.marketing-copy p` (which would otherwise force the
   hero body size of 19-21px onto this disclaimer). Keep it as quiet fine print. */
.marketing-copy p.compliance-note {
    max-width: 620px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-soft, #64748b);
}

.marketing-copy p.compliance-note sup {
    font-weight: 700;
}

.compliance-badges span {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.marketing-signals span::before,
.compliance-badges span::before,
.marketing-pricing li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.badge-shield,
.signal-shield {
    color: #1d936e !important;
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.9a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.5a1.3 1.3 0 0 1 1.6 0C14.5 3.8 17 5 19 5a1 1 0 0 1 1 1v7Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.badge-lock,
.signal-lock {
    color: #517ad3 !important;
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

.badge-file {
    color: #895cd6 !important;
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E");
}

.signal-server {
    color: #895cd6 !important;
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='3' width='20' height='8' rx='2'/%3E%3Crect x='2' y='13' width='20' height='8' rx='2'/%3E%3Cpath d='M6 7h.01M6 17h.01'/%3E%3C/svg%3E");
}

.marketing-panel {
    width: 100%;
    max-width: 560px;
    justify-self: end;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 62px -22px rgba(15, 23, 42, 0.26);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.marketing-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 74px -28px rgba(15, 23, 42, 0.3);
}

.marketing-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(248, 250, 252, 0.9);
}

.marketing-window-bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
}

.marketing-window-bar span:nth-child(1) {
    background: #fb7185;
}
.marketing-window-bar span:nth-child(2) {
    background: #eab308;
}
.marketing-window-bar span:nth-child(3) {
    background: #4ade80;
}

.marketing-window-bar strong {
    flex: 1;
    text-align: center;
    color: #94a3b8;
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 700;
}

.marketing-chat {
    display: grid;
    gap: 16px;
    min-height: 334px;
    padding: 20px 20px 18px;
}

.marketing-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.marketing-row b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    background: #ede9fe;
    color: #895cd6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.marketing-row-user {
    flex-direction: row-reverse;
}

.marketing-row-user b {
    background: #cffafe;
    color: #0891b2;
}

.marketing-bubble {
    max-width: 90%;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.12);
}

.marketing-row:first-child .marketing-bubble,
.marketing-row:nth-child(3) .marketing-bubble {
    border-top-left-radius: 3px;
}

.marketing-row-user .marketing-bubble {
    border-top-right-radius: 3px;
}

.marketing-bubble p,
.marketing-bubble ul {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
}

.marketing-bubble ul {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding-left: 18px;
    color: #475569;
}

.marketing-message-ai {
    background: #f8fafc;
}

.marketing-message-user {
    background: linear-gradient(135deg, #ecfeff, #eff6ff);
    border-color: #cffafe;
}

.source-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.14);
    color: #64748b;
    font-size: 12px;
}

.source-pill::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #64748b;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14c0 1.7 4 3 9 3s9-1.3 9-3V5'/%3E%3Cpath d='M3 12c0 1.7 4 3 9 3s9-1.3 9-3'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14c0 1.7 4 3 9 3s9-1.3 9-3V5'/%3E%3Cpath d='M3 12c0 1.7 4 3 9 3s9-1.3 9-3'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.chat-input {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.chat-input span {
    display: block;
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 1px 4px rgba(15, 23, 42, 0.08);
    color: #94a3b8;
    font-size: 12px;
    line-height: 36px;
}

.chat-input mark {
    background: transparent;
    color: #895cd6;
}

.chat-input i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    box-shadow: 0 10px 22px rgba(6, 182, 212, 0.26);
    color: #ffffff;
    font-style: normal;
    font-size: 20px;
}

.marketing-section {
    padding: 96px 0;
}

.marketing-section-soft {
    background: #f8fafc;
}

.marketing-heading {
    margin-bottom: 64px;
}

.marketing-heading.center {
    text-align: center;
}

.marketing-heading h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.15;
}

.marketing-heading p {
    max-width: 660px;
    margin: 0 auto;
    color: #64748b;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
}

.marketing-card-grid,
.marketing-pricing,
.marketing-steps {
    display: grid;
    gap: 32px;
}

.marketing-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketing-card,
.marketing-faq details {
    position: relative;
    overflow: hidden;
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.marketing-card::before,
.marketing-pricing article::before,
.playbook-grid article::before {
    content: "";
    position: absolute;
    inset: auto -30% 100% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 68%);
    opacity: 0;
    transition:
        opacity 220ms ease,
        transform 220ms ease;
    transform: translate3d(18px, -18px, 0);
    pointer-events: none;
}

.marketing-card:hover {
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.marketing-card:hover::before,
.marketing-pricing article:hover::before,
.playbook-grid article:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.marketing-card:hover h3 {
    color: #895cd6;
}

.marketing-card h3,
.marketing-pricing h3,
.marketing-steps h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
}

.marketing-card p,
.marketing-pricing p,
.marketing-steps p,
.marketing-faq p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.marketing-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
}

.marketing-steps::before {
    content: "";
    position: absolute;
    top: 48px;
    right: 16%;
    left: 16%;
    height: 2px;
    background: #e2e8f0;
}

.marketing-steps article {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon,
.feature-icon {
    display: grid;
    place-items: center;
    background: #ffffff;
}

.step-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.step-icon::before,
.feature-icon::before {
    content: "";
    width: 40px;
    height: 40px;
    background: #334155;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ecfeff, #f5f3ff);
}

.feature-icon::before {
    width: 24px;
    height: 24px;
    background: #0891b2;
}

.step-file,
.feature-shield {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3C/svg%3E");
}

.step-db,
.feature-db {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14c0 1.7 4 3 9 3s9-1.3 9-3V5'/%3E%3Cpath d='M3 12c0 1.7 4 3 9 3s9-1.3 9-3'/%3E%3C/svg%3E");
}

.step-rocket {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 16.5c-1.5 1.3-2 3.1-1.6 4 .9.4 2.7-.1 4-1.6'/%3E%3Cpath d='M9 15 7 17'/%3E%3Cpath d='M14.5 4.5c2.2-.9 4.4-.9 5 0s.9 2.8 0 5C18 13.2 15 16.3 11 18l-5-5c1.7-4 4.8-7 8.5-8.5Z'/%3E%3Ccircle cx='15' cy='9' r='1'/%3E%3C/svg%3E");
}

.feature-zap {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9l1-8Z'/%3E%3C/svg%3E");
}

.feature-link {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13a5 5 0 0 0 7.1 0l2-2a5 5 0 0 0-7.1-7.1l-1.1 1.1'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.1 0l-2 2a5 5 0 0 0 7.1 7.1l1.1-1.1'/%3E%3C/svg%3E");
}

.feature-users {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
}

.feature-cloud {
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.5 19H9a7 7 0 1 1 6.7-9h1.8a4.5 4.5 0 1 1 0 9Z'/%3E%3C/svg%3E");
}

.marketing-pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1152px;
    margin: 0 auto;
    align-items: start;
}

.marketing-pricing article {
    position: relative;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.marketing-pricing article:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.28);
    box-shadow: 0 22px 44px -34px rgba(15, 23, 42, 0.24);
}

.marketing-pricing h3 {
    font-size: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 24px 0;
}

.price strong {
    color: #0f172a;
    font-size: 40px;
    line-height: 1;
}

.marketing-pricing-featured .price strong {
    font-size: 52px;
}

.price span {
    color: #64748b;
}

.marketing-pricing article > p {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.marketing-pricing ul {
    display: grid;
    gap: 16px;
    min-height: 148px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.marketing-pricing li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 14px;
}

.marketing-pricing li::before {
    width: 18px;
    height: 18px;
    background: #10b981;
    --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
}

.marketing-pricing-featured li::before {
    background: var(--cyan);
}

.marketing-pricing a {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    text-align: center;
    font-size: 14px;
    font-weight: 640;
}

.marketing-pricing-featured {
    margin-top: -16px;
    border: 2px solid rgba(6, 182, 212, 0.1) !important;
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.13) !important;
}

.marketing-pricing-featured::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 24px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    filter: blur(26px);
    opacity: 0.1;
}

.marketing-pricing-featured a {
    padding: 17px 20px;
    border: 0;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    box-shadow: 0 10px 22px rgba(6, 182, 212, 0.18);
    color: #ffffff;
}

.dark-price-button {
    border-color: #0f172a !important;
    background: #0f172a;
    color: #ffffff !important;
}

.popular {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    color: #ffffff;
    font-size: 10px;
    font-weight: 670;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.marketing-faq {
    display: grid;
    gap: 16px;
    max-width: 768px;
}

.marketing-faq details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    cursor: pointer;
    list-style: none;
    color: #1e293b;
    font-size: 18px;
    font-weight: 640;
    user-select: none;
}

.marketing-faq details summary::-webkit-details-marker {
    display: none;
}

.marketing-faq details p {
    margin-top: 18px;
    font-weight: 500;
}

.marketing-faq details[open] {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.marketing-faq details[open] summary span {
    transform: rotate(180deg);
}

.marketing-faq details summary span {
    transition: transform 180ms ease;
}

@media (max-width: 1720px) {
    .container {
        width: min(100% - 48px, 1280px);
    }

    .site-nav {
        margin-left: 24px;
        gap: 24px;
    }

    .site-actions {
        gap: 12px;
    }

    .site-nav a,
    .site-actions a {
        font-size: 14px;
    }

    .marketing-hero-grid {
        grid-template-columns: minmax(500px, 0.9fr) minmax(540px, 1fr);
        gap: 40px;
    }

    .marketing-copy h1 {
        font-size: clamp(46px, 4.8vw, 60px);
    }

    .marketing-copy p {
        max-width: 560px;
        font-size: 18px;
    }

    .button-primary,
    .button-secondary {
        min-width: 150px;
        min-height: 54px;
        padding: 0 18px;
        font-size: 16px;
    }

    .marketing-actions {
        flex-wrap: nowrap;
        gap: 14px;
        margin-top: 30px;
    }

    .compliance-badges {
        gap: 14px;
        margin-top: 28px;
    }

    .compliance-badges span {
        min-height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }

    .marketing-signals {
        gap: 24px;
        margin-top: 28px;
        padding-top: 18px;
    }

    .marketing-signals span {
        font-size: 15px;
    }

    .marketing-chat {
        gap: 15px;
        min-height: 320px;
        padding: 18px;
    }

    .marketing-bubble p,
    .marketing-bubble ul {
        font-size: 15px;
    }
}

@media (max-width: 1080px) {
    .container {
        width: min(100% - 48px, 1280px);
    }

    .desk-toolbar {
        grid-template-columns: 1fr;
    }

    .marketing-hero-grid,
    .marketing-card-grid,
    .marketing-steps,
    .marketing-pricing,
    .desk-hero-grid,
    .lead-grid,
    .lead-story {
        grid-template-columns: 1fr;
    }

    .site-header {
        background: rgba(248, 250, 252, 0.9);
        backdrop-filter: blur(18px) saturate(160%);
    }

    .blog-header {
        top: 14px;
    }

    .blog-header.is-scrolled {
        top: 8px;
    }

    .blog-header.is-scrolled .blog-brand {
        min-height: 42px;
        padding: 0 13px;
    }

    .blog-header.is-scrolled .blog-brand img {
        width: 112px;
    }

    .blog-header.is-scrolled .blog-return-link {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11px;
    }

    .blog-header.is-scrolled .blog-member-link {
        min-height: 32px;
        font-size: 11px;
    }

    .blog-header.is-scrolled .blog-member-link-signin {
        padding: 0 10px;
    }

    .blog-header.is-scrolled .blog-member-link-account {
        width: 32px;
        min-width: 32px;
    }

    .blog-header.is-scrolled .blog-member-icon {
        width: 13px;
        height: 13px;
    }

    .blog-brand img {
        width: 126px;
    }

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 132px;
    }

    .site-nav {
        display: none;
    }

    .site-actions {
        gap: 14px;
    }

    .site-actions a {
        font-size: 14px;
    }

    .nav-trial {
        min-height: 36px;
        padding: 0 14px;
    }

    .marketing-hero {
        min-height: auto;
        padding-top: 126px;
    }

    .marketing-hero-grid {
        gap: 52px;
    }

    .marketing-panel {
        max-width: 790px;
    }

    .desk-summary {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .desk-hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "kicker"
            "title"
            "summary";
    }

    .desk-topics {
        justify-content: flex-start;
    }

    .desk-kicker {
        display: flex;
        justify-content: space-between;
        padding-top: 0;
    }

    .desk-results-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .playbook-grid,
    .post-grid,
    .post-grid.compact,
    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-header {
        padding-top: 120px;
    }

    .article-header-copy {
        width: min(100%, 860px);
    }

    .article-image {
        width: min(100% - 48px, 860px);
        margin-bottom: 40px;
    }

    .article-content,
    .article-engagement,
    .article-related .section-heading,
    .article-related .post-grid {
        width: min(100% - 48px, 860px);
    }
}

@media (max-width: 760px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        min-height: 76px;
    }

    .blog-header {
        top: 8px;
    }

    .blog-header-inner {
        justify-content: flex-start;
    }

    .blog-header-spacer {
        display: none;
    }

    .blog-brand {
        justify-self: start;
        min-height: 46px;
        padding: 0 14px;
    }

    .blog-brand img {
        width: 118px;
    }

    .blog-header-actions {
        gap: 10px;
    }

    .blog-theme-toggle {
        width: 58px;
        min-width: 58px;
        height: 36px;
        padding: 0 10px;
    }

    .blog-theme-toggle::before {
        width: 26px;
        height: 26px;
    }

    body[data-blog-theme="light"] .blog-theme-toggle::before {
        transform: translateX(22px);
    }

    .blog-return-link {
        justify-self: end;
        min-height: 36px;
        padding: 0 11px;
        font-size: 12px;
    }

    .blog-member-link {
        min-height: 36px;
        font-size: 12px;
    }

    .blog-member-link-signin {
        padding: 0 11px;
    }

    .blog-member-link-account {
        width: 36px;
        min-width: 36px;
    }

    .blog-member-icon {
        width: 14px;
        height: 14px;
    }

    .blog-header.is-scrolled .blog-brand {
        min-height: 40px;
        padding: 0 12px;
    }

    .blog-header.is-scrolled .blog-brand img {
        width: 108px;
    }

    .blog-header.is-scrolled .blog-return-link {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11px;
    }

    .blog-header.is-scrolled .blog-member-link {
        min-height: 32px;
        font-size: 11px;
    }

    .blog-header.is-scrolled .blog-member-link-signin {
        padding: 0 10px;
    }

    .blog-header.is-scrolled .blog-member-link-account {
        width: 32px;
        min-width: 32px;
    }

    .brand img {
        width: 132px;
    }

    .site-actions {
        gap: 12px;
    }

    .nav-login {
        display: none;
    }

    .nav-invite {
        display: none;
    }

    .nav-trial {
        min-height: 40px;
        border-radius: 9px;
    }

    .marketing-hero {
        padding: 112px 0 56px;
    }

    .marketing-kicker {
        margin-bottom: 22px;
        font-size: 13px;
    }

    .marketing-copy h1 {
        font-size: clamp(52px, 15vw, 70px);
    }

    .marketing-copy p {
        font-size: 21px;
    }

    .marketing-actions {
        gap: 14px;
        margin-top: 34px;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        font-size: 18px;
    }

    .compliance-badges {
        gap: 10px;
        margin-top: 30px;
    }

    .marketing-signals {
        gap: 16px;
        margin-top: 30px;
    }

    .marketing-signals span {
        font-size: 15px;
    }

    .marketing-chat {
        gap: 22px;
        min-height: auto;
        padding: 22px 16px;
    }

    .marketing-row {
        gap: 12px;
    }

    .marketing-bubble {
        max-width: calc(100% - 54px);
        padding: 16px;
    }

    .marketing-bubble p,
    .marketing-bubble ul {
        font-size: 15px;
    }

    .chat-input {
        padding: 14px;
    }

    .chat-input span {
        min-width: 0;
        font-size: 14px;
    }

    .marketing-section {
        padding: 72px 0;
    }

    .marketing-heading {
        margin-bottom: 42px;
    }

    .marketing-steps::before {
        display: none;
    }

    .desk-hero {
        min-height: auto;
        padding: 112px 0 56px;
    }

    .desk-title h1 {
        font-size: clamp(48px, 16vw, 72px);
    }

    .desk-toolbar,
    .desk-filter-row {
        gap: 14px;
    }

    .desk-search-field input,
    .desk-sort-field select {
        min-height: 48px;
    }

    .desk-topic-filters {
        gap: 8px;
    }

    .pagination-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .lead-section,
    .playbook-section,
    .post-feed-section,
    .case-section,
    .related-section {
        padding: 54px 0;
    }

    .blog-newsletter-section {
        padding: 12px 0 54px;
    }

    .blog-newsletter-section .newsletter-signup {
        margin-top: 0;
        padding: 26px;
    }

    .lead-copy,
    .editorial-note,
    .marketing-card,
    .marketing-pricing article,
    .marketing-steps article,
    .marketing-faq details {
        padding: 24px;
    }

    .lead-image {
        min-height: 260px;
    }

    .topic-strip,
    .playbook-grid,
    .post-grid,
    .post-grid.compact,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.split {
        align-items: start;
        flex-direction: column;
    }

    .article-header {
        padding: 108px 0 20px;
    }

    .archive-header {
        padding-top: 104px;
    }

    .article-header-copy {
        justify-items: start;
        gap: 14px;
        text-align: left;
    }

    .article-header h1 {
        font-size: clamp(34px, 10.4vw, 44px);
        line-height: 1.06;
    }

    .article-header-copy > p {
        font-size: 17px;
        line-height: 1.7;
    }

    .article-meta {
        justify-content: flex-start;
        font-size: 13px;
    }

    .article-meta > * + *::before {
        margin: 0 10px;
    }

    .article-image {
        width: min(100% - 24px, 1120px);
        margin-bottom: 32px;
    }

    .article-content {
        font-size: 17px;
    }

    .article-content h2 {
        font-size: 29px;
    }

    .article-engagement {
        gap: 24px;
        margin-top: 36px;
    }

    .article-related {
        margin-top: 54px;
        padding: 48px 0 58px;
    }

    .article-related .section-heading,
    .article-related .post-grid {
        width: min(100% - 24px, var(--article-copy, 940px));
    }

    .article-engagement-actions {
        gap: 10px;
    }

    .article-action {
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .article-signup {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .article-signup h2 {
        font-size: 22px;
    }

    .blog-newsletter-section .article-signup h2 {
        font-size: 30px;
    }

    .blog-newsletter-section .article-signup-form {
        padding: 12px;
    }

    .article-signup-fields {
        flex-direction: column;
    }

    .article-signup-form button,
    .article-signup-button {
        width: 100%;
    }

    .footer-top,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-top {
        align-items: start;
    }

    .footer-surface {
        padding: 28px 24px 24px;
    }

    .footer-meta {
        align-items: start;
        flex-direction: column;
    }

    .footer-actions-row {
        justify-content: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        justify-content: start;
    }

    .footer-bottom small {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-header-actions {
        gap: 8px;
    }

    .blog-return-label {
        display: none;
    }

    .blog-return-link {
        min-width: 36px;
        padding: 0 10px;
    }

    .blog-member-link-signin {
        width: 36px;
        min-width: 36px;
        padding: 0;
        overflow: hidden;
        color: transparent;
    }

    .blog-member-link-signin::before {
        content: "";
        width: 14px;
        height: 14px;
        background: var(--ink-soft);
        -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")
            center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")
            center / contain no-repeat;
    }

    body[data-blog-theme="dark"] .blog-member-link-signin::before {
        background: #cbd5e1;
    }

    .blog-theme-toggle {
        width: 54px;
        min-width: 54px;
    }

    body[data-blog-theme="light"] .blog-theme-toggle::before {
        transform: translateX(18px);
    }
}
