:root {
    --site-max-width: 90rem;
    --header-height: 4rem;
    --primary: #3B82F6;
    --primary-dark: #1E40AF;
    --accent: #06B6D4;
    --drawer-start: #102F5F;
    --drawer-mid: #174A8B;
    --drawer-end: #1E40AF;
    --surface: #FFFFFF;
    --surface-soft: #F8FAFC;
    --border: #E2E8F0;
    --text: #1F2937;
    --muted: #64748B;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none;
}

/* Site navigation */
body > header.site-header[data-site-header] {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    min-height: var(--header-height);
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.025);
    backface-visibility: hidden;
}

body > main.site-main {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top));
}

.site-header-row {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    gap: clamp(0.75rem, 1.4vw, 1.5rem);
}

.site-brand {
    display: inline-flex;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.75rem);
    align-items: center;
    gap: 0.55rem;
    color: #1F2937;
    text-decoration: none;
}

.site-brand > i {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

.site-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #1F2937;
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desktop-nav {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
}

.desktop-nav-list {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.05rem, 0.28vw, 0.35rem);
    white-space: nowrap;
}

.desktop-nav-list > li {
    flex: 0 0 auto;
}

.desktop-nav-link {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem clamp(0.3rem, 0.42vw, 0.58rem);
    border-radius: 0.5rem;
    color: #475569;
    font-size: clamp(0.78rem, 0.68vw, 0.88rem);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.desktop-nav-link:hover,
.desktop-nav-link:focus-visible {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary-dark);
}

.desktop-nav-link:active {
    background: rgba(59, 130, 246, 0.14);
}

.menu-toggle-button {
    position: relative;
    z-index: 100;
    display: inline-flex;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #CBD5E1;
    border-radius: 0.65rem;
    background: var(--surface);
    color: #334155;
    cursor: pointer;
    transition-property: color, background-color, border-color, box-shadow, transform;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

.menu-toggle-button > i {
    font-size: 1.25rem;
    line-height: 1;
}

.menu-toggle-button:hover {
    border-color: rgba(59, 130, 246, 0.48);
    background: #EFF6FF;
    color: var(--primary-dark);
}

.menu-toggle-button:active {
    transform: scale(0.97);
}

.menu-toggle-button .close-icon {
    position: relative;
    display: none;
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0;
}

.menu-toggle-button .close-icon::before,
.menu-toggle-button .close-icon::after,
.mobile-menu-close > i::before,
.mobile-menu-close > i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.15rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}

.menu-toggle-button .close-icon::before,
.mobile-menu-close > i::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle-button .close-icon::after,
.mobile-menu-close > i::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

html.nav-open .menu-toggle-button {
    border-color: rgba(255, 255, 255, 0.34);
    background: linear-gradient(145deg, var(--drawer-start), var(--drawer-end));
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.24);
}

html.nav-open .menu-toggle-button .menu-bars {
    display: none;
}

html.nav-open .menu-toggle-button .close-icon {
    display: inline-block;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(15, 35, 68, 0.52) 0%, rgba(30, 64, 175, 0.24) 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    transition-property: opacity, visibility;
    transition-duration: 0.25s;
    transition-timing-function: ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: flex;
    width: clamp(13rem, 52vw, 22rem);
    max-width: calc(100vw - 3.5rem);
    flex-direction: column;
    overflow: hidden;
    color: #E2E8F0;
    background: linear-gradient(165deg, var(--drawer-start) 0%, var(--drawer-mid) 58%, var(--drawer-end) 100%);
    box-shadow: -18px 0 42px rgba(15, 23, 42, 0.32);
    transform: translateX(104%);
    visibility: hidden;
    transition-property: transform, visibility;
    transition-duration: 0.28s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.nav-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

html.nav-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu-header {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    min-height: calc(var(--header-height) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 0.75rem 0 1.1rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(191, 219, 254, 0.2);
    background: rgba(15, 47, 95, 0.72);
}

.mobile-menu-title {
    min-width: 0;
    overflow: hidden;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-close {
    display: inline-flex;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    cursor: pointer;
    transition-property: background-color, border-color, box-shadow, transform;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.18);
}

.mobile-menu-close:active {
    transform: scale(0.96);
}

.mobile-menu-close > i {
    position: relative;
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0;
    line-height: 1;
}

.mobile-menu-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-list {
    width: 100%;
}

.menu-link-container {
    border-bottom: 1px solid rgba(191, 219, 254, 0.16);
}

.mobile-nav-link {
    display: flex;
    width: 100%;
    min-height: 3.4rem;
    padding: 0.72rem 1.05rem;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    color: #F8FAFC;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mobile-nav-link > i {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    color: #BFDBFE;
    text-align: center;
}

.mobile-nav-link > span {
    min-width: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.mobile-nav-link:active {
    background: rgba(59, 130, 246, 0.22);
}

html {
    max-width: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    overflow-x: hidden;
}

body {
    max-width: 100%;
    margin: 0;
    color: var(--text);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html.nav-open,
html.nav-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

main,
section,
article,
nav,
header,
footer,
div {
    min-width: 0;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
[role="button"] {
    touch-action: manipulation;
}

.container.mx-auto {
    width: 100%;
    max-width: var(--site-max-width);
    margin-inline: auto;
}

.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;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 120;
    padding: 0.65rem 0.9rem;
    border-radius: 0.5rem;
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

a {
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition-property: color, background-color, border-color, box-shadow, opacity, transform, text-decoration-color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

a:hover {
    text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(6, 182, 212, 0.78);
    outline-offset: 3px;
}

a:active:not([aria-disabled="true"]) {
    opacity: 0.78;
}

a[aria-disabled="true"],
a.disabled,
a.nopage {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.48;
    text-decoration: none;
    transform: none;
}

button:disabled,
button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.5;
}

ul,
ol {
    overflow-wrap: break-word;
}

nav ul,
nav ol,
ul.pagination,
ul.page,
.friend-links,
.footer-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

.bg-grid {
    background-color: var(--surface-soft);
    background-image:
        linear-gradient(rgba(100, 116, 139, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 116, 139, 0.09) 1px, transparent 1px);
    background-size: 20px 20px;
}

.text-gradient {
    background-image: linear-gradient(90deg, var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.card-hover,
.article-hover {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 0.25s;
    transition-timing-function: ease;
}

.card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 16px 30px -14px rgba(15, 23, 42, 0.28);
}

.article-hover:hover {
    border-color: rgba(59, 130, 246, 0.32);
    background: rgba(59, 130, 246, 0.025);
}

.inner-page-shell,
.content-shell {
    width: 100%;
    max-width: var(--site-max-width);
    margin-inline: auto;
}

.page-breadcrumb {
    width: 100%;
    min-height: 2.75rem;
    margin-bottom: 1.5rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.65rem;
    background: #F8FAFC;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.25rem;
    overflow: hidden;
}

.page-breadcrumb ol {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    white-space: normal;
}

.page-breadcrumb li {
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
    align-items: flex-start;
}

.page-breadcrumb li:last-child {
    flex: 1 1 0;
    min-width: 0;
}

.page-breadcrumb li + li::before {
    content: "/";
    flex: 0 0 auto;
    margin-inline: 0.6rem;
    color: #94A3B8;
}

.page-breadcrumb a,
.page-breadcrumb span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
}

.page-breadcrumb a {
    color: #475569;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--primary-dark);
}

.page-breadcrumb li:not(:last-child) > a,
.page-breadcrumb li:not(:last-child) > span {
    white-space: nowrap;
}

.page-breadcrumb li:last-child > a,
.page-breadcrumb li:last-child > span {
    display: block;
    width: 100%;
    overflow: visible;
    color: #1E293B;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.page-intro-copy h1,
.listing-title,
.article-navigation .nav-title,
.article-hover h3,
.article-hover h2 {
    overflow-wrap: anywhere;
}

.page-meta {
    row-gap: 0.75rem;
}

.share-links {
    flex-wrap: wrap;
}

.share-links a,
.footer-social a {
    text-decoration: none;
}

.content-card,
.article-summary,
.article-tags,
.article-navigation {
    min-width: 0;
}

.content-card {
    overflow: hidden;
}

.article-navigation > * {
    min-width: 0;
}

.article-navigation .nav-title {
    display: block;
}

.comparison-table {
    min-width: 48rem;
}

.faq-item h3 {
    align-items: flex-start;
    line-height: 1.5;
}

.friend-links a,
.site-footer a {
    overflow-wrap: anywhere;
}

.friend-links-title {
    line-height: 1.5;
}

/* Pagination: supports ul.pagination, ul.page and direct a/span output. */
#page,
.pagination,
ul.page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 2rem auto 0;
    padding: 0;
}

#page > ul.pagination,
#page > ul.page,
.pagination > ul.page,
.pagination > ul.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#page li,
.pagination li,
ul.page li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#page a,
#page span,
.pagination a,
.pagination span,
ul.page a,
ul.page span {
    display: inline-flex;
    min-width: 2.5rem;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border: 1px solid #CBD5E1;
    border-radius: 0.45rem;
    background: var(--surface);
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

#page a:hover,
.pagination a:hover,
ul.page a:hover {
    border-color: var(--primary);
    background: #EFF6FF;
    color: var(--primary-dark);
}

#page .active > a,
#page .current,
#page .curpage,
#page [aria-current="page"],
.pagination .active > a,
.pagination .current,
.pagination .curpage,
.pagination [aria-current="page"],
ul.page .active > a,
ul.page .current,
ul.page .curpage,
ul.page [aria-current="page"] {
    border-color: var(--primary-dark);
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
}

#page .disabled,
#page .disabled > a,
#page .nopage,
#page [aria-disabled="true"],
.pagination .disabled,
.pagination .disabled > a,
.pagination .nopage,
.pagination [aria-disabled="true"],
ul.page .disabled,
ul.page .disabled > a,
ul.page .nopage,
ul.page [aria-disabled="true"] {
    cursor: not-allowed;
    pointer-events: none;
    border-color: #E2E8F0;
    background: #F1F5F9;
    color: #94A3B8;
    opacity: 0.72;
    transform: none;
}

#page .pageinfo,
.pagination .pageinfo,
ul.page .pageinfo {
    min-width: auto;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}

#page .pageinfo strong,
.pagination .pageinfo strong,
ul.page .pageinfo strong {
    margin-inline: 0.2rem;
    color: var(--primary-dark);
}

/* Article content: complete semantic HTML coverage. */
:where(body.site-page) .article-content {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    overflow-wrap: break-word;
}

:where(body.site-page) .article-content p,
:where(body.site-page) .article-content h1,
:where(body.site-page) .article-content h2,
:where(body.site-page) .article-content h3,
:where(body.site-page) .article-content h4,
:where(body.site-page) .article-content h5,
:where(body.site-page) .article-content h6,
:where(body.site-page) .article-content ul,
:where(body.site-page) .article-content ol,
:where(body.site-page) .article-content li,
:where(body.site-page) .article-content figure,
:where(body.site-page) .article-content figcaption,
:where(body.site-page) .article-content table,
:where(body.site-page) .article-content caption,
:where(body.site-page) .article-content thead,
:where(body.site-page) .article-content tbody,
:where(body.site-page) .article-content tr,
:where(body.site-page) .article-content th,
:where(body.site-page) .article-content td,
:where(body.site-page) .article-content blockquote,
:where(body.site-page) .article-content cite,
:where(body.site-page) .article-content code,
:where(body.site-page) .article-content pre,
:where(body.site-page) .article-content kbd,
:where(body.site-page) .article-content details,
:where(body.site-page) .article-content summary,
:where(body.site-page) .article-content abbr,
:where(body.site-page) .article-content time,
:where(body.site-page) .article-content a {
    max-width: 100%;
}

:where(body.site-page) .article-content p {
    margin: 0 0 1.15rem;
    line-height: 1.8;
}

:where(body.site-page) .article-content h1,
:where(body.site-page) .article-content h2,
:where(body.site-page) .article-content h3,
:where(body.site-page) .article-content h4,
:where(body.site-page) .article-content h5,
:where(body.site-page) .article-content h6 {
    margin: 2rem 0 0.9rem;
    color: #111827;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

:where(body.site-page) .article-content h1 { font-size: clamp(1.75rem, 3vw, 2.15rem); }
:where(body.site-page) .article-content h2 { font-size: clamp(1.5rem, 2.5vw, 1.8rem); }
:where(body.site-page) .article-content h3 { font-size: clamp(1.3rem, 2.2vw, 1.5rem); }
:where(body.site-page) .article-content h4 { font-size: 1.2rem; }
:where(body.site-page) .article-content h5 { font-size: 1.08rem; }
:where(body.site-page) .article-content h6 { font-size: 1rem; color: #475569; }

:where(body.site-page) .article-content > :first-child {
    margin-top: 0;
}

:where(body.site-page) .article-content > :last-child {
    margin-bottom: 0;
}

:where(body.site-page) .article-content strong {
    color: #111827;
    font-weight: 700;
}

:where(body.site-page) .article-content em {
    font-style: italic;
}

:where(body.site-page) .article-content mark {
    padding: 0.08em 0.25em;
    border-radius: 0.2rem;
    background: #FEF3C7;
    color: #92400E;
}

:where(body.site-page) .article-content ul,
:where(body.site-page) .article-content ol {
    margin: 0 0 1.15rem 1.5rem;
    padding: 0;
}

:where(body.site-page) .article-content ul { list-style: disc outside; }
:where(body.site-page) .article-content ol { list-style: decimal outside; }
:where(body.site-page) .article-content ul ul { list-style-type: circle; }
:where(body.site-page) .article-content ul ul ul { list-style-type: square; }
:where(body.site-page) .article-content ol ol { list-style-type: lower-alpha; }

:where(body.site-page) .article-content li {
    margin-bottom: 0.45rem;
    padding-left: 0.2rem;
    line-height: 1.75;
}

:where(body.site-page) .article-content li > ul,
:where(body.site-page) .article-content li > ol {
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
}

:where(body.site-page) .article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.55rem;
}

:where(body.site-page) .article-content figure {
    margin: 1.5rem 0;
}

:where(body.site-page) .article-content figure img {
    margin-block: 0;
}

:where(body.site-page) .article-content figcaption {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

:where(body.site-page) .article-content table {
    display: block;
    width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.94rem;
    line-height: 1.6;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

:where(body.site-page) .article-content caption {
    margin-bottom: 0.7rem;
    color: #334155;
    font-weight: 700;
}

:where(body.site-page) .article-content thead {
    background: #F1F5F9;
}

:where(body.site-page) .article-content tbody,
:where(body.site-page) .article-content tr {
    border-color: var(--border);
}

:where(body.site-page) .article-content th,
:where(body.site-page) .article-content td {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    vertical-align: top;
}

:where(body.site-page) .article-content th {
    color: #111827;
    font-weight: 700;
}

:where(body.site-page) .article-content tbody tr:nth-child(even) {
    background: #F8FAFC;
}

:where(body.site-page) .article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid #94A3B8;
    border-radius: 0.35rem;
    background: #F8FAFC;
    color: #475569;
}

:where(body.site-page) .article-content blockquote > :last-child {
    margin-bottom: 0;
}

:where(body.site-page) .article-content cite {
    display: block;
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.875rem;
    font-style: normal;
}

:where(body.site-page) .article-content code,
:where(body.site-page) .article-content kbd,
:where(body.site-page) .article-content pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

:where(body.site-page) .article-content code {
    padding: 0.12em 0.35em;
    border-radius: 0.25rem;
    background: #F1F5F9;
    color: #BE123C;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

:where(body.site-page) .article-content pre {
    width: 100%;
    margin: 1.5rem 0;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 0.6rem;
    background: #0F172A;
    color: #E2E8F0;
    font-size: 0.9rem;
    line-height: 1.7;
    white-space: pre;
    tab-size: 4;
    -webkit-overflow-scrolling: touch;
}

:where(body.site-page) .article-content pre code {
    display: block;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: inherit;
    overflow-wrap: normal;
}

:where(body.site-page) .article-content kbd {
    display: inline-block;
    padding: 0.12rem 0.38rem;
    border: 1px solid #CBD5E1;
    border-bottom-width: 2px;
    border-radius: 0.25rem;
    background: #F8FAFC;
    color: #111827;
    font-size: 0.86em;
    line-height: 1.4;
}

:where(body.site-page) .article-content details {
    margin: 1.5rem 0;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    background: var(--surface);
}

:where(body.site-page) .article-content summary {
    cursor: pointer;
    color: #111827;
    font-weight: 700;
}

:where(body.site-page) .article-content details[open] > summary {
    margin-bottom: 0.85rem;
}

:where(body.site-page) .article-content abbr[title] {
    cursor: help;
    text-decoration: underline dotted;
    text-underline-offset: 0.2em;
}

:where(body.site-page) .article-content time {
    color: inherit;
}

:where(body.site-page) .article-content a {
    color: #1D4ED8;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

:where(body.site-page) .article-content a:hover {
    color: #1E40AF;
}

:where(body.site-page) .article-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--border);
}

:where(body.site-page) .article-content video,
:where(body.site-page) .article-content iframe,
:where(body.site-page) .article-content audio {
    max-width: 100%;
}

:where(body.site-page) .article-content iframe {
    width: 100%;
    border: 0;
}

@media (max-width: 767.98px) {
    html,
    body {
        min-width: 0;
    }

    .container.mx-auto {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .site-name {
        max-width: calc(100vw - 8rem);
        font-size: 1.05rem;
    }

    .page-intro {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .page-breadcrumb {
        margin-bottom: 1.25rem;
    }

    .page-intro-copy h1 {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        line-height: 1.3;
    }

    .page-intro-copy p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .content-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .content-card,
    .article-summary,
    .article-tags {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .article-hover {
        padding: 1.25rem;
    }

    .article-hover .justify-between {
        gap: 0.75rem;
    }

    .article-navigation > a,
    .article-navigation > span {
        min-width: 0;
    }

    .comparison-table {
        min-width: 42rem;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h3 {
        font-size: 1.05rem;
    }

    .faq-item p {
        margin-left: 0;
    }

    #page,
    .pagination,
    ul.page {
        gap: 0.4rem;
        margin-top: 1.5rem;
    }

    #page a,
    #page span,
    .pagination a,
    .pagination span,
    ul.page a,
    ul.page span {
        min-width: 2.35rem;
        min-height: 2.35rem;
        padding: 0.4rem 0.65rem;
        font-size: 0.85rem;
    }

    :where(body.site-page) .article-content {
        font-size: 1rem;
        line-height: 1.78;
    }

    :where(body.site-page) .article-content ul,
    :where(body.site-page) .article-content ol {
        margin-left: 1.25rem;
    }

    :where(body.site-page) .article-content th,
    :where(body.site-page) .article-content td {
        padding: 0.6rem 0.7rem;
    }

    :where(body.site-page) .article-content pre {
        margin-inline: 0;
        padding: 0.85rem;
        font-size: 0.84rem;
    }
}

@media (min-width: 1200px) {
    .site-brand {
        max-width: min(15rem, 20vw);
    }

    .site-name {
        max-width: 100%;
    }

    .desktop-nav {
        display: block;
    }

    .mobile-nav-overlay,
    .mobile-menu,
    .menu-toggle-button {
        display: none;
    }
}

@media (min-width: 1200px) and (max-width: 1359.98px) {
    .site-header-row {
        gap: 0.35rem;
    }

    .site-brand {
        max-width: 12.5rem;
    }

    .site-name {
        font-size: 1rem;
    }

    .desktop-nav-list {
        gap: 0;
    }

    .desktop-nav-link {
        min-height: 2.35rem;
        padding-inline: 0.22rem;
        font-size: 0.72rem;
    }
}

@media (min-width: 1360px) and (max-width: 1535.98px) {
    .site-header-row {
        gap: 0.55rem;
    }

    .site-brand {
        max-width: 14rem;
    }

    .desktop-nav-list {
        gap: 0.02rem;
    }

    .desktop-nav-link {
        padding-inline: 0.28rem;
        font-size: 0.77rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .skip-link,
    a,
    button,
    .card-hover,
    .article-hover,
    .mobile-nav-overlay,
    .mobile-menu {
        transition-duration: 0.01ms;
    }
}
