@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --blue: #0052e0;
    --blue-d: #003bb5;
    --blue-l: #e8f0ff;
    --blue-ll: #f0f5ff;
    --teal: #00bfa8;
    --purple: #7c3aed;
    --amber: #f59e0b;
    --green: #16a34a;
    --red: #dc2626;
    --ink: #0a0f1a;
    --text: #0f172a;
    --muted: #64748b;
    --subtle: #94a3b8;
    --border: #e2e8f0;
    --off: #f8fafc;
    --white: #fff;
    --font: 'Plus Jakarta Sans', sans-serif;
    --serif: 'Instrument Serif', serif;
    --mono: 'JetBrains Mono', monospace;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --content-width: 720px;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px)
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .25
    }
}

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes progress {
    from {
        width: 0
    }

    to {
        width: var(--pct)
    }
}

/* ══ READ PROGRESS BAR ══ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #0052e0, #6366f1, #00bfa8);
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ══ ARTICLE HERO ══ */
.article-hero {
    background: var(--ink);
    padding: 2.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.ah-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 82, 224, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 82, 224, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 20%, transparent 100%);
}

.ah-orb1 {
    position: absolute;
    top: -30%;
    right: -8%;
    width: min(560px, 65vw);
    height: min(560px, 65vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, .22), transparent 65%);
    pointer-events: none
}

.ah-orb2 {
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: min(400px, 45vw);
    height: min(400px, 45vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 168, .12), transparent 65%);
    pointer-events: none
}

.ah-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3.5rem;
    align-items: center;
    padding-bottom: 2rem;
}

.ah-left {
    min-width: 0
}

.ah-right {
    flex-shrink: 0
}

/* Hero visual card */
.hero-visual-card {
    background: linear-gradient(150deg, #0d1829, #0f1e3a);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(124, 58, 237, .15);
    animation: fadeup .7s .35s var(--ease-out) both;
}

.hvc-header {
    padding: .875rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .03);
}

.hvc-dots {
    display: flex;
    gap: .35rem
}

.hvc-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.hvc-dot-r {
    background: #f87171
}

.hvc-dot-y {
    background: #fbbf24
}

.hvc-dot-g {
    background: #4ade80
}

.hvc-title {
    font-size: .62rem;
    font-weight: 700;
    font-family: var(--mono);
    color: rgba(255, 255, 255, .25);
    letter-spacing: .06em
}

/* Mini SERP inside card */
.hvc-serp {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.hvc-serp-label {
    font-size: .55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .2);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem
}

.hvc-serp-label::after {
    content: 'BEFORE';
    font-size: .5rem;
    background: rgba(220, 38, 38, .2);
    color: #f87171;
    border-radius: 4px;
    padding: .05rem .3rem
}

.hvc-result-plain {
    padding: .75rem;
    background: rgba(255, 255, 255, .03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .07)
}

.hvc-url {
    font-size: .6rem;
    color: rgba(134, 239, 172, .5);
    font-family: var(--mono);
    margin-bottom: .2rem
}

.hvc-rtitle {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(147, 197, 253, .8);
    margin-bottom: .25rem
}

.hvc-rdesc {
    font-size: .65rem;
    color: rgba(255, 255, 255, .3);
    line-height: 1.45
}

/* After state */
.hvc-serp-after {
    padding: .75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.hvc-serp-after-label {
    font-size: .55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .2);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .4rem
}

.hvc-serp-after-label::after {
    content: 'AFTER SCHEMA';
    font-size: .5rem;
    background: rgba(22, 163, 74, .2);
    color: #4ade80;
    border-radius: 4px;
    padding: .05rem .3rem
}

.hvc-rich-result {
    background: rgba(255, 255, 255, .96);
    border-radius: 10px;
    padding: .875rem 1rem;
    border: 1px solid rgba(255, 255, 255, .15);
    overflow: hidden;
}

.hvc-rich-result img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.hvc-rr-url {
    font-size: .6rem;
    color: #1a7f37;
    font-family: var(--mono);
    margin-bottom: .15rem
}

.hvc-rr-title {
    font-size: .8rem;
    font-weight: 700;
    color: #1558d6;
    margin-bottom: .25rem;
    line-height: 1.25
}

.hvc-rr-stars {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-bottom: .2rem
}

.hvc-star {
    color: #f59e0b;
    font-size: .65rem
}

.hvc-rr-rating {
    font-size: .6rem;
    color: #333;
    font-weight: 600
}

.hvc-rr-desc {
    font-size: .62rem;
    color: #444;
    line-height: 1.45;
    margin-bottom: .5rem
}

.hvc-rr-faqs {
    border-top: 1px solid #e8eaed;
    padding-top: .4rem;
    display: flex;
    flex-direction: column;
    gap: .15rem
}

.hvc-rr-faq {
    font-size: .62rem;
    color: #1558d6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .15rem 0
}

.hvc-rr-faq::after {
    content: '›';
    color: #aaa
}

/* Code snippet bottom */
.hvc-code {
    padding: .875rem 1.25rem
}

.hvc-code-label {
    font-size: .55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .2);
    margin-bottom: .625rem
}

.hvc-pre {
    font-family: var(--mono);
    font-size: .6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .45)
}

.hvc-pre .ck {
    color: #c792ea
}

.hvc-pre .cs {
    color: #c3e88d
}

.hvc-pre .cp {
    color: rgba(255, 255, 255, .25)
}

.hvc-pre .cn {
    color: #82aaff
}

/* Footer strip */
.hvc-foot {
    padding: .625rem 1.25rem;
    background: rgba(124, 58, 237, .1);
    border-top: 1px solid rgba(124, 58, 237, .2);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.hvc-foot-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a78bfa;
    animation: blink 1.8s infinite;
    flex-shrink: 0
}

.hvc-foot-txt {
    font-size: .6rem;
    font-family: var(--mono);
    color: rgba(196, 181, 253, .5)
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
    font-size: .74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .28);
    animation: fadeup .5s var(--ease-out) both;
}

.breadcrumb a {
    transition: color .15s
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, .65)
}

.bc-sep {
    opacity: .3
}

.ah-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: rgba(124, 58, 237, .2);
    border: 1px solid rgba(124, 58, 237, .35);
    color: #c4b5fd;
    border-radius: 100px;
    padding: .3rem .9rem;
    margin-bottom: 1.5rem;
    animation: fadeup .5s .05s var(--ease-out) both;
}

.ah-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.042em;
    color: #fff;
    margin-bottom: 1.75rem;
    animation: fadeup .6s .1s var(--ease-out) both;
}

.ah-title .serif-accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #c4b5fd, #93c5fd, #5eead4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ah-deck {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, .45);
    line-height: 1.82;
    max-width: 58ch;
    margin-bottom: 2rem;
    animation: fadeup .6s .15s var(--ease-out) both;
}

/* Article meta row */
.ah-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 0;
    animation: fadeup .6s .2s var(--ease-out) both;
}

.ah-author {
    display: flex;
    align-items: center;
    gap: .75rem
}

.ah-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .15);
}

.ah-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ah-author-name {
    font-size: .84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .8);
    line-height: 1.2
}

.ah-author-role {
    font-size: .7rem;
    color: rgba(255, 255, 255, .3)
}

.ah-meta-sep {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, .1);
    flex-shrink: 0
}

.ah-meta-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .74rem;
    color: rgba(255, 255, 255, .32);
    font-family: var(--mono);
}

.ah-meta-item svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    opacity: .6
}

/* Key metrics bar */
.ah-metrics {
    display: flex;
    gap: .625rem;
    flex-wrap: wrap;
    padding: 1.25rem 0 2.5rem;
    animation: fadeup .6s .25s var(--ease-out) both;
}

.ah-metric {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: .5rem .875rem;
}

.ahm-val {
    font-size: .9rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--mono)
}

.ahm-lbl {
    font-size: .62rem;
    color: rgba(255, 255, 255, .28);
    margin-left: .1rem
}

/* Wave */
.ah-wave {
    height: 56px;
    overflow: hidden;
    position: relative;
    z-index: 1
}

.ah-wave svg {
    width: 100%;
    height: 100%;
    display: block
}

/* ══ ARTICLE LAYOUT ══ */
.article-layout {
    display: grid;
    grid-template-columns: var(--content-width) 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px);
    align-items: start;
}

/* ══ ARTICLE BODY ══ */
.article-body {
    padding: 3rem 4rem 3rem 0;
    border-right: 1px solid var(--border);
    min-width: 0;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: 2.5rem
}

.post-tag {
    font-size: .65rem;
    font-weight: 600;
    padding: .22rem .7rem;
    border-radius: 100px;
    background: var(--blue-l);
    color: var(--blue);
}

.post-tag-pu {
    background: rgba(124, 58, 237, .1);
    color: var(--purple)
}

.post-tag-t {
    background: rgba(0, 191, 168, .1);
    color: #007a6e
}

/* TL;DR box */
.tldr {
    background: linear-gradient(135deg, var(--ink) 0%, #0d1b30 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.tldr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #6366f1, #00bfa8);
}

.tldr-head {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 1rem;
}

.tldr-head span {
    font-size: 1rem
}

.tldr-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .625rem
}

.tldr-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

.tldr-list li::before {
    content: '✓';
    color: #a78bfa;
    font-weight: 700;
    font-size: .8rem;
    margin-top: .15rem;
    flex-shrink: 0;
}

/* Prose typography */
.prose {
    font-size: 1rem;
    line-height: 1.85;
    color: #1e293b;
    text-align: justify;
    text-justify: inter-word;
}

.prose h2,
.prose h3,
.prose h4 {
    text-align: left;
}

.prose h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
    color: var(--text);
    margin: 2.75rem 0 1rem;
    scroll-margin-top: 5rem;
}

.prose h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.3;
    color: var(--text);
    margin: 2rem 0 .75rem;
}

.prose p {
    margin-bottom: 1.4rem;
    color: #334155
}

.prose p:last-child {
    margin-bottom: 0
}

.prose strong {
    font-weight: 700;
    color: var(--text)
}

.prose em {
    font-style: italic
}

.prose a {
    color: var(--blue);
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 82, 224, .25);
    transition: border-color .15s
}

.prose a:hover {
    border-color: var(--blue)
}

.prose a[style] {
    border-bottom: none;
    font-weight: inherit;
}

.prose ul {
    margin: 0 0 1.6rem 0;
    padding: 0 0 0 1.25rem;
    list-style: none;
}

.prose ul li {
    position: relative;
    padding: .28rem 0 .28rem 1.6rem;
    font-size: .86rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: .1rem;
    letter-spacing: .01em;
}

.prose ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .28rem;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--blue-l);
    color: var(--blue);
    font-size: .6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.prose ol {
    margin: 0 0 1.6rem 0;
    padding: 0;
    list-style: none;
    counter-reset: ol-counter;
}

.prose ol li {
    position: relative;
    padding: .35rem 0 .35rem 2rem;
    font-size: .97rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: .2rem;
    counter-increment: ol-counter;
}

.prose ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: .5rem;
    color: #0052e0;
    font-weight: 800;
    font-size: .78rem;
    font-family: var(--mono);
}

.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0
}

/* ── Prose: Images ── */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 1.75rem auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    border: 1px solid var(--border);
}

.prose img.img-full {
    width: 100%;
    border-radius: 14px;
}

.prose img.img-center {
    margin-left: auto;
    margin-right: auto;
}

.prose img.img-left {
    float: left;
    margin: .25rem 1.5rem 1rem 0;
    max-width: 45%;
    border-radius: 10px;
}

.prose img.img-right {
    float: right;
    margin: .25rem 0 1rem 1.5rem;
    max-width: 45%;
    border-radius: 10px;
}

.prose img.img-rounded {
    border-radius: 50%;
}

.prose img.img-shadow {
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

/* figure + figcaption (TinyMCE image captions) */
.prose figure {
    margin: 1.75rem 0;
    text-align: center;
}

.prose figure img {
    margin: 0 auto .75rem;
}

.prose figcaption {
    font-size: .78rem;
    color: var(--subtle);
    font-style: italic;
    line-height: 1.5;
}

/* clearfix for floated images */
.prose::after {
    content: '';
    display: table;
    clear: both;
}

/* ── Prose: Blockquote ── */
.prose blockquote {
    border-left: 4px solid var(--blue);
    margin: 1.75rem 0;
    padding: 1rem 1.5rem;
    background: var(--blue-ll);
    border-radius: 0 14px 14px 0;
    color: #475569;
    font-style: italic;
    font-size: .97rem;
    line-height: 1.75;
}

.prose blockquote p {
    margin-bottom: 0;
    color: #475569;
}

/* ── Prose: Code ── */
.prose pre {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: .84rem;
    line-height: 1.7;
    font-family: var(--mono);
    border: 1px solid rgba(255, 255, 255, .06);
}

.prose code {
    font-family: var(--mono);
    font-size: .82em;
    background: var(--off);
    color: #be123c;
    padding: .15rem .45rem;
    border-radius: 5px;
    border: 1px solid var(--border);
}

.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: inherit;
}

/* ── Prose: Tables ── */
.prose table,
.prose .prose-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: .9rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.prose th {
    background: var(--off);
    font-weight: 700;
    padding: .75rem 1rem;
    text-align: left;
    color: var(--text);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid var(--border);
}

.prose td {
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--border);
    color: #334155;
    vertical-align: top;
    line-height: 1.6;
}

.prose tr:last-child td {
    border-bottom: none;
}

.prose tr:hover td {
    background: var(--off);
}

.prose .prose-table-striped tr:nth-child(even) td {
    background: var(--off);
}

/* ── Prose: Links ── */
.prose .btn-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--blue);
    color: #fff;
    padding: .55rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: .88rem;
    border-bottom: none;
    transition: background .15s, transform .15s;
}

.prose .btn-link:hover {
    background: var(--blue-d);
    transform: translateY(-1px);
}

.prose .btn-link-teal {
    background: var(--teal);
}

/* ── Prose: H4 / H5 ── */
.prose h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.5rem 0 .5rem;
    letter-spacing: -.02em;
}

.prose h5 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--muted);
    margin: 1.25rem 0 .4rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Callout boxes */
.callout {
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.callout-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: .1rem
}

.callout-body {
    flex: 1
}

.callout-title {
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .3rem
}

.callout-text {
    font-size: .84rem;
    line-height: 1.7;
    color: var(--muted)
}

.callout-info {
    background: var(--blue-ll);
    border: 1px solid rgba(0, 82, 224, .15)
}

.callout-info .callout-title {
    color: var(--blue-d)
}

.callout-warn {
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, .2)
}

.callout-warn .callout-title {
    color: #92400e
}

.callout-warn .callout-text {
    color: #78350f
}

.callout-good {
    background: #f0fdf4;
    border: 1px solid rgba(22, 163, 74, .2)
}

.callout-good .callout-title {
    color: #15803d
}

.callout-good .callout-text {
    color: #166534
}

.callout-bad {
    background: #fff1f2;
    border: 1px solid rgba(225, 29, 72, .15)
}

.callout-bad .callout-title {
    color: #be123c
}

.callout-bad .callout-text {
    color: #9f1239
}

/* Code blocks */
.code-block {
    background: var(--ink);
    border-radius: 14px;
    overflow: hidden;
    margin: 1.75rem 0;
    border: 1px solid rgba(255, 255, 255, .08);
}

.cb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .03);
}

.cb-label {
    font-size: .68rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .3);
    font-family: var(--mono);
    letter-spacing: .06em
}

.cb-copy {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: .2rem .6rem;
    cursor: pointer;
    transition: all .15s;
    font-family: var(--font);
}

.cb-copy:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1)
}

.cb-body {
    padding: 1.25rem 1.25rem;
    overflow-x: auto
}

.cb-body pre {
    margin: 0;
    font-family: var(--mono);
    font-size: .78rem;
    line-height: 1.75;
    white-space: pre
}

.ck {
    color: #c792ea
}

.cv {
    color: #80cbc4
}

.cs {
    color: #c3e88d
}

.cn {
    color: #82aaff
}

.cp {
    color: rgba(255, 255, 255, .35)
}

.co {
    color: #546e7a;
    font-style: italic
}

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--border)
}

.compare-table th {
    background: var(--off);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    padding: .875rem 1.1rem;
    text-align: left;
    border-bottom: 1.5px solid var(--border);
}

.compare-table th:first-child {
    width: 40%
}

.compare-table td {
    padding: .875rem 1.1rem;
    font-size: .84rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.6;
}

.compare-table tr:last-child td {
    border-bottom: none
}

.compare-table tr:hover td {
    background: var(--off)
}

.ct-good {
    color: #15803d;
    font-weight: 600
}

.ct-bad {
    color: #be123c;
    font-weight: 600
}

.ct-label {
    font-weight: 700;
    color: var(--text)
}

/* Result preview box */
.serp-preview {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 1.75rem 0;
    background: #fff;
}

.sp-bar {
    background: var(--off);
    border-bottom: 1px solid var(--border);
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sp-dots {
    display: flex;
    gap: .3rem
}

.sp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.sp-dot-r {
    background: #f87171
}

.sp-dot-y {
    background: #fbbf24
}

.sp-dot-g {
    background: #4ade80
}

.sp-url-bar {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .3rem .75rem;
    font-size: .68rem;
    color: var(--muted);
    font-family: var(--mono);
}

.sp-content {
    padding: 1.25rem 1.5rem
}

.sp-label {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--subtle);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.sp-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.sp-result-url {
    font-size: .72rem;
    color: #1a7f37;
    font-family: var(--mono);
    margin-bottom: .2rem;
    display: flex;
    align-items: center;
    gap: .3rem
}

.sp-result-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1558d6;
    margin-bottom: .3rem;
    line-height: 1.3
}

.sp-result-stars {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .3rem
}

.sp-star {
    color: #f59e0b;
    font-size: .8rem
}

.sp-rating {
    font-size: .74rem;
    color: #333;
    font-weight: 600
}

.sp-result-desc {
    font-size: .8rem;
    color: #444;
    line-height: 1.55;
    margin-bottom: .625rem
}

.sp-faq-expand {
    border-top: 1px solid #e8eaed;
    padding-top: .625rem
}

.sp-faq-item {
    font-size: .76rem;
    color: #1558d6;
    padding: .25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer
}

.sp-faq-item::after {
    content: '›';
    color: #888;
    font-size: 1rem
}

/* Step boxes */
.step-box {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.25rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: flex-start;
    transition: border-color .2s, box-shadow .2s;
}

.step-box:hover {
    border-color: rgba(0, 82, 224, .25);
    box-shadow: 0 4px 20px rgba(0, 82, 224, .06)
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    box-shadow: 0 4px 12px rgba(0, 82, 224, .3);
}

.step-content h4 {
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .4rem
}

.step-content p {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0
}

/* Inline highlight */
.highlight-box {
    background: linear-gradient(135deg, var(--blue-ll), #f5f3ff);
    border: 1.5px solid rgba(0, 82, 224, .15);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

.hb-stat {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.05em;
    color: var(--blue);
    line-height: 1;
    margin-bottom: .25rem
}

.hb-label {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6
}

/* Pull quote */
.pull-quote {
    border-left: 3px solid var(--blue);
    margin: 2rem 0;
    padding: 1rem 0 1rem 1.75rem;
}

.pq-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.55;
    color: var(--text);
    letter-spacing: -.01em;
}

/* Article footer */
.article-footer {
    padding-top: 2.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
}

.af-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: 2rem
}

.af-share {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.af-share-label {
    font-size: .74rem;
    font-weight: 700;
    color: var(--muted)
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font);
    font-size: .76rem;
    font-weight: 600;
    padding: .42rem 1rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
    background: transparent;
}

.share-btn:hover {
    border-color: rgba(0, 82, 224, .3);
    color: var(--blue);
    background: var(--blue-ll)
}

/* Author card */
.author-card {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    align-items: center;
    margin-bottom: 3rem;
    overflow: hidden;
}

.author-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -8%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 224, .2), transparent 65%);
    pointer-events: none;
}

.ac-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, .12);
    overflow: hidden;
}

.ac-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ac-body {
    flex: 1;
    min-width: 0;
}

.ac-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: .2rem;
}

.ac-role {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: .75rem;
}

.ac-bio {
    font-size: .84rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.7;
    margin-bottom: .875rem;
}

.ac-links {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.ac-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: .3rem .8rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all .15s;
}

.ac-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
}

/* ══ RELATED POSTS ══ */
.related-sec {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}

.related-head {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: 1.75rem;
}

.related-title {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--subtle)
}

.related-line {
    flex: 1;
    height: 1px;
    background: var(--border)
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem
}

.rel-card {
    border: 1.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: all .2s var(--ease-out);
    cursor: pointer;
}

.rel-card:hover {
    border-color: rgba(0, 82, 224, .25);
    box-shadow: 0 12px 40px rgba(0, 82, 224, .08);
    transform: translateY(-4px)
}

.rel-stripe {
    height: 4px
}

.rel-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s var(--ease-out);
}

.rel-card:hover .rel-img img {
    transform: scale(1.04);
}

.rel-body {
    padding: 1.25rem
}

.rel-cat {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .625rem
}

.rel-title {
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: .5rem;
    transition: color .15s
}

.rel-card:hover .rel-title {
    color: var(--blue)
}

.rel-meta {
    font-size: .65rem;
    color: var(--subtle);
    font-family: var(--mono)
}

/* ══ SIDEBAR — form sticks independently ══ */
.article-sidebar {
    padding: 3rem 0 3rem 3rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-self: stretch;
}

/* TOC */
.toc-widget {
    border: 1.5px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.toc-head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.toc-head:hover { background: var(--off); }

.toc-toggle-icon {
    width: 16px; height: 16px;
    stroke: var(--muted); fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform .3s ease;
    flex-shrink: 0;
}

.toc-widget.collapsed .toc-toggle-icon {
    transform: rotate(-90deg);
}

.toc-title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted)
}

.toc-body {
    padding: .875rem 1.25rem;
    overflow: hidden;
    max-height: 600px;
    transition: max-height .35s ease, padding .35s ease;
}

.toc-widget.collapsed .toc-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: .75rem;
}

/* Sliding left track */
.toc-list::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
    border-radius: 2px;
}

/* Sliding active indicator */
.toc-list::after {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: var(--toc-indicator-h, 28px);
    background: var(--blue);
    border-radius: 2px;
    top: var(--toc-indicator-top, 0px);
    transition: top .25s cubic-bezier(.4,0,.2,1), height .25s cubic-bezier(.4,0,.2,1);
}

.toc-item a {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    padding: .45rem .5rem;
    border-radius: 8px;
    transition: color .2s, background .2s;
    line-height: 1.4;
    text-decoration: none;
}

.toc-item a:hover {
    color: var(--blue);
    background: var(--blue-ll);
}

.toc-item a.active {
    color: var(--blue);
    font-weight: 700;
    background: var(--blue-ll);
}

.toc-num {
    font-size: .65rem;
    font-family: var(--mono);
    color: var(--subtle);
    flex-shrink: 0;
    margin-top: .1rem;
    min-width: 1.2rem
}

.toc-item.sub a {
    padding-left: 1.5rem;
    font-size: .76rem;
    font-weight: 500
}

/* Read time widget */
.meta-widget {
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.mw-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .78rem
}

.mw-label {
    color: var(--subtle);
    font-weight: 500
}

.mw-val {
    font-weight: 700;
    color: var(--text);
    font-family: var(--mono);
    font-size: .76rem
}

/* Progress widget */
.read-progress-widget {
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.rpw-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--subtle);
    margin-bottom: .625rem;
    display: flex;
    justify-content: space-between
}

.rpw-track {
    height: 6px;
    background: var(--off);
    border-radius: 100px;
    overflow: hidden
}

.rpw-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #6366f1);
    border-radius: 100px;
    width: 0;
    transition: width .2s
}

/* ══ SIDEBAR AUDIT FORM CARD ══ */
.sidebar-cta {
    position: relative;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.1rem 1.1rem 1rem;
    overflow: hidden;
}

/* Decorative top accent */
.sidebar-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #4f46e5);
    pointer-events: none;
}

.sidebar-cta::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 224, .06), transparent 65%);
    pointer-events: none;
}

/* Head row */
.sc-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
}

.sc-head-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 82, 224, .35);
}

.sc-head>div {
    min-width: 0;
}

.sc-title {
    font-size: .78rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    margin-bottom: 0
}

.sc-sub {
    font-size: .65rem;
    color: var(--muted);
    margin-top: .08rem;
    white-space: nowrap;
    margin-bottom: 0;
}

/* Form */
.sc-form {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    position: relative;
    z-index: 1;
}

/* Input wrapper with icon */
.sc-field {
    position: relative;
}

.sc-field-icon {
    position: absolute;
    left: .65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--subtle);
    display: flex;
    align-items: center;
    pointer-events: none;
    line-height: 1;
}

.sc-field-icon--top {
    top: .6rem;
    transform: none;
}

.sc-input {
    width: 100%;
    font-family: var(--font);
    font-size: .78rem;
    color: var(--text);
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: .5rem .7rem .5rem 2rem;
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s;
}

.sc-input::placeholder {
    color: var(--subtle);
}

.sc-input:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 82, 224, .12);
}

.sc-textarea {
    resize: none;
    height: 54px;
    line-height: 1.5;
    padding-top: .5rem;
}

/* Submit button */
.sc-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    font-family: var(--font);
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0%, #4f46e5 100%);
    border: none;
    border-radius: 10px;
    padding: .62rem 1rem;
    cursor: pointer;
    margin-top: .25rem;
    transition: opacity .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(0, 82, 224, .35);
    position: relative;
    z-index: 1;
}

.sc-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 82, 224, .45);
}

.sc-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sc-msg {
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    padding: .45rem .75rem;
    border-radius: 8px;
    margin-top: .3rem;
    position: relative;
    z-index: 1;
}

.sc-msg.ok {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.sc-msg.err {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}


/* ══ CS LEAD CARD — Blog Sidebar (same as case study) ══ */
.cs-lead-card {
    position: sticky;
    top: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,82,224,.12), 0 2px 8px rgba(0,0,0,.06);
    border: 1.5px solid rgba(0,82,224,.15);
    background: #fff;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
}
.cs-lead-card::-webkit-scrollbar { display: none; }
.cs-lead-header {
    background: linear-gradient(135deg, #0f172a 0%, #0a1628 100%);
    padding: 1.25rem 1.5rem 1.1rem;
    position: relative; overflow: hidden;
}
.cs-lead-header::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,82,224,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,82,224,.06) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000 20%, transparent 80%);
    pointer-events: none;
}
.cs-lead-header::after {
    content: ''; position: absolute;
    top: -40%; right: -30%;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,82,224,.25), transparent 70%);
    pointer-events: none;
}
.cs-lead-urgency {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .58rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: #fbbf24;
    background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.25);
    border-radius: 100px; padding: .2rem .7rem;
    margin-bottom: .75rem;
    animation: csPulse 3s ease-in-out infinite;
}
.cs-lead-urgency svg {
    width: 10px; height: 10px; fill: #fbbf24; stroke: none;
}
@keyframes csPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .7; }
}
.cs-lead-title {
    font-size: 1.05rem; font-weight: 800; color: #fff;
    line-height: 1.2; margin-bottom: .35rem;
    position: relative;
}
.cs-lead-title em {
    font-style: normal;
    background: linear-gradient(120deg, #93c5fd, #60a5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cs-lead-sub {
    font-size: .72rem; color: rgba(255,255,255,.45);
    font-weight: 500; position: relative;
}
.cs-lead-benefits {
    display: flex; flex-direction: column; gap: .45rem;
    padding: 1rem 1.5rem .5rem;
}
.cs-lead-benefit {
    display: flex; align-items: center; gap: .5rem;
    font-size: .72rem; font-weight: 600; color: #475569;
}
.cs-lead-benefit svg {
    width: 14px; height: 14px; flex-shrink: 0;
    stroke: #16a34a; fill: none; stroke-width: 2.5;
}
.cs-lead-body { padding: .5rem 1.5rem 1.25rem; }
.cs-lead-form { display: flex; flex-direction: column; gap: .6rem; }
.cs-lead-input {
    width: 100%; padding: .55rem .85rem;
    background: #f8fafc; border: 1.5px solid #e2e8f0;
    border-radius: 10px; font-family: inherit;
    font-size: .78rem; color: #0f172a;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none; box-sizing: border-box;
}
.cs-lead-input:focus {
    border-color: #0052e0; background: #fff;
    box-shadow: 0 0 0 3px rgba(0,82,224,.08);
}
.cs-lead-input::placeholder { color: #94a3b8; }
.cs-lead-textarea {
    resize: vertical; min-height: 60px; max-height: 120px;
    line-height: 1.5;
}
@keyframes csCtaGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,82,224,.35); }
    50%       { box-shadow: 0 4px 28px rgba(0,82,224,.55), 0 0 40px rgba(0,82,224,.15); }
}
.cs-lead-btn {
    width: 100%; padding: .75rem;
    background: linear-gradient(135deg, #0052e0 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff; border: none; border-radius: 10px;
    font-family: inherit; font-size: .85rem; font-weight: 800;
    cursor: pointer; transition: transform .15s;
    animation: csCtaGlow 3s ease-in-out infinite;
    letter-spacing: .02em;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.cs-lead-btn:hover { transform: translateY(-2px) scale(1.01); }
.cs-lead-btn svg {
    width: 16px; height: 16px; stroke: currentColor;
    fill: none; stroke-width: 2.5; transition: transform .2s;
}
.cs-lead-btn:hover svg { transform: translateX(3px); }
.cs-lead-footer {
    padding: .75rem 1.5rem 1rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.cs-lead-rating {
    display: flex; align-items: center; justify-content: center;
    gap: .35rem; margin-bottom: .4rem;
}
.cs-lead-stars { display: flex; gap: .1rem; color: #f59e0b; }
.cs-lead-stars svg { width: 12px; height: 12px; fill: currentColor; }
.cs-lead-rating-text { font-size: .65rem; font-weight: 700; color: #0f172a; }
.cs-lead-trust-row {
    display: flex; align-items: center; justify-content: center;
    gap: .75rem; flex-wrap: wrap;
}
.cs-lead-trust-item {
    display: flex; align-items: center; gap: .3rem;
    font-size: .6rem; font-weight: 600; color: #94a3b8;
}
.cs-lead-trust-item svg {
    width: 10px; height: 10px; stroke: #16a34a;
    fill: none; stroke-width: 2.5;
}

/* ── Article FAQ Accordion ──────────────────────────────── */
.article-faqs {
    margin: 2.75rem 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.article-faqs-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 1.1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
}

.article-faqs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0052e0, #00bfa8);
    color: #fff;
    flex-shrink: 0;
}

.article-faqs-head h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    flex: 1;
}

.article-faqs-count {
    font-size: .75rem;
    font-weight: 600;
    color: #64748b;
    background: #e2e8f0;
    padding: .2rem .65rem;
    border-radius: 99px;
}

.faq-acc-list {
    /* container */
}

.faq-acc-item {
    border-bottom: 1px solid #f1f5f9;
}

.faq-acc-item:last-child {
    border-bottom: none;
}

.faq-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background .18s;
}

.faq-acc-btn:hover {
    background: #f8fafc;
}

.faq-acc-q {
    font-size: .95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.faq-acc-icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform .22s ease, color .18s;
}

.faq-acc-item.open .faq-acc-icon {
    transform: rotate(180deg);
    color: #0052e0;
}

.faq-acc-item.open .faq-acc-q {
    color: #0052e0;
}

.faq-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
}

.faq-acc-a {
    padding: 0 1.5rem 1.25rem;
    font-size: .9rem;
    color: #475569;
    line-height: 1.8;
}

/* ══ RESPONSIVE ══════════════════════════════════════════════════ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
    .ah-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2.5rem;
    }

    .ah-right {
        display: none;
    }

    .article-layout {
        grid-template-columns: 1fr;
        padding-right: clamp(20px, 4vw, 56px);
    }

    .article-body {
        padding: 2rem 0;
        border-right: none;
    }

    .article-sidebar {
        display: none;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-share {
        flex-wrap: wrap;
        gap: .5rem;
    }
}

/* Mobile — 768px */
@media (max-width: 768px) {
    .article-inline-cta {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 1.2rem 1.1rem !important;
    }

    .article-inline-cta__btns {
        flex-shrink: 1 !important;
        width: 100%;
        flex-direction: column !important;
    }

    .article-inline-cta__btns a {
        width: 100%;
        text-align: center;
        white-space: normal !important;
        box-sizing: border-box;
    }

    .article-hero {
        padding: 1.25rem 0 0;
    }

    .wrap {
        padding: 0 1.1rem;
    }

    .ah-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 1.25rem;
        letter-spacing: -.03em;
    }

    .ah-meta {
        gap: .6rem;
        flex-wrap: wrap;
    }

    .ah-meta-sep {
        display: none;
    }

    .ah-author {
        width: 100%;
        margin-bottom: .25rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
        gap: .25rem;
        font-size: .68rem;
    }

    .article-layout {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .article-body {
        padding: 1.5rem 0;
    }

    .prose {
        font-size: .94rem;
    }

    .prose h2 {
        font-size: 1.2rem;
        margin: 2rem 0 .75rem;
    }

    .prose h3 {
        font-size: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-sec {
        padding: 2rem 0;
    }

    .author-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .ac-avatar {
        width: 54px;
        height: 54px;
        flex-shrink: 0;
    }

    .ac-bio {
        font-size: .78rem;
    }

    .ac-links {
        gap: .3rem;
    }

    .ac-link {
        font-size: .68rem;
        padding: .22rem .6rem;
    }

    .af-share {
        flex-wrap: wrap;
        gap: .4rem;
    }

    .share-btn {
        font-size: .72rem;
    }

    .article-footer {
        padding: 1.25rem 0;
    }

    .article-faqs-head {
        padding: .875rem 1rem;
    }

    .article-faqs-count {
        display: none;
    }

    .faq-acc-btn {
        font-size: .86rem;
        padding: .875rem 1rem;
    }

    .faq-acc-a {
        padding: 0 1rem 1rem;
        font-size: .86rem;
    }

    .ah-metrics {
        gap: .4rem;
    }

    .step-box {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .step-num {
        display: none;
    }

    .compare-table {
        font-size: .78rem;
    }

    .compare-table th,
    .compare-table td {
        padding: .625rem .75rem;
    }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
    .wrap {
        padding: 0 .9rem;
    }

    .ah-title {
        font-size: clamp(1.3rem, 6vw, 1.75rem);
    }

    .ah-meta-item {
        font-size: .66rem;
    }

    .ah-av {
        width: 32px;
        height: 32px;
    }

    .ah-author-name {
        font-size: .76rem;
    }

    .ah-author-role {
        font-size: .62rem;
    }

    .article-layout {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .prose {
        font-size: .9rem;
    }

    .prose ul li,
    .prose ol li {
        font-size: .8rem;
    }

    .post-tags {
        gap: .2rem;
    }

    .post-tag {
        font-size: .58rem;
    }

    .author-card {
        flex-direction: column;
        border-radius: 14px;
        padding: 1.1rem;
    }

    .ac-avatar {
        width: 52px;
        height: 52px;
    }

    .ac-name {
        font-size: .9rem;
    }

    .ac-bio {
        font-size: .76rem;
    }

    .ac-links {
        flex-wrap: wrap;
        gap: .25rem;
    }

    .ac-link {
        font-size: .66rem;
        padding: .2rem .55rem;
    }

    .related-head {
        flex-wrap: wrap;
        gap: .4rem;
    }

    .related-line {
        display: none;
    }

    .rel-card {
        border-radius: 12px;
    }

    .rel-img {
        height: 120px;
    }

    .rel-body {
        padding: .875rem;
    }

    .rel-title {
        font-size: .84rem;
    }

    .rel-meta {
        font-size: .7rem;
    }

    .article-faqs-head h3 {
        font-size: .85rem;
    }

    .article-faqs-count {
        display: none;
    }

    .af-share {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn {
        justify-content: center;
    }

    .progress-bar {
        height: 2px;
    }
}

/* ══ SUCCESS POPUP ══════════════════════════════════════════════ */
.rb-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 26, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s, visibility .28s;
}

.rb-popup-overlay.open {
    opacity: 1;
    visibility: visible;
}

.rb-popup {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    max-width: 440px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .25);
    transform: translateY(24px) scale(.97);
    transition: transform .3s var(--ease-out);
}

.rb-popup-overlay.open .rb-popup {
    transform: none;
}

.rb-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--off);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.rb-popup-close:hover {
    background: var(--border);
}

.rb-popup-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 82, 224, .3);
}

.rb-popup-tag {
    display: inline-block;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue);
    background: var(--blue-l);
    padding: .25rem .75rem;
    border-radius: 100px;
    margin-bottom: .75rem;
}

.rb-popup-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: .75rem;
    line-height: 1.25;
}

.rb-popup-body {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.rb-popup-body strong {
    color: var(--text);
}

.rb-popup-steps {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    text-align: left;
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.rb-step {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.rb-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rb-step-txt {
    font-size: .82rem;
    color: var(--text);
    line-height: 1.45;
}

.rb-step-txt strong {
    color: var(--blue);
}

.rb-popup-btn {
    width: 100%;
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: .8rem 1.5rem;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
}

.rb-popup-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .rb-popup {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: 18px;
    }

    .rb-popup-title {
        font-size: 1.15rem;
    }
}