:root {
    --article-ink: #152344;
    --article-muted: #64708a;
    --article-line: #e3e8f2;
    --article-soft: #f5f7ff;
}

.article-page {
    color: var(--article-ink);
    background: #fff;
    padding-bottom: 80px;
}

.article-hero {
    overflow: hidden;
    padding: 20px 0 72px;
    background: radial-gradient(circle at 12% 15%, rgba(99, 91, 246, .14), transparent 28%), linear-gradient(135deg, #f5f7ff 0%, #fff 72%);
}

.article-breadcrumb {
    margin-bottom: 32px;
}

.article-hero__grid {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(420px, .92fr);
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
}

.article-hero__copy {
    max-width: 680px;
}

.article-eyebrow {
    margin: 0 0 10px;
    color: #5148da;
    font-weight: 800;
    font-size: 13px;
}

.article-hero h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.35;
    letter-spacing: -1px;
}

.article-hero__copy > p:not(.article-eyebrow) {
    margin: 20px 0 0;
    max-width: 620px;
    color: var(--article-muted);
    font-size: 17px;
    line-height: 2;
}
.article-hero-image {
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: 24px;
    background: #f4f7ff;
}

.article-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.article-hero-image figcaption {
    padding: 12px 16px;
    color: #5f697d;
    font-size: 13px;
    text-align: center;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 22px;
    color: #53617d;
    font-size: 13px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.article-meta span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #776df4;
}

.image-placeholder {
    min-height: 260px;
    margin: 38px 0;
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #55627c;
    background: repeating-linear-gradient(-45deg, #f8f9ff 0 12px, #f3f5ff 12px 24px);
    border: 2px dashed #b8c1e9;
    border-radius: 22px;
}

.image-placeholder--hero {
    min-height: 330px;
    margin: 0;
    box-shadow: 0 22px 55px rgba(45, 59, 112, .12);
}

.image-placeholder__icon {
    color: #6158ed;
    font-size: 42px;
    line-height: 1;
}

.image-placeholder strong {
    color: #27385f;
    font-size: 17px;
}

.image-placeholder span, .image-placeholder figcaption {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.8;
}

.image-placeholder figcaption {
    margin: 4px 0 0;
    color: #7a86a2;
}
.article-wide-image {
    margin: 32px 0;
    overflow: hidden;
    border-radius: 24px;
    background: #f4f7ff;
}

.article-wide-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 701;
    object-fit: cover;
}

.article-wide-image figcaption {
    padding: 12px 16px;
    color: #5f697d;
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}
.article-layout {
    display: grid;
    grid-template-columns:235px minmax(0, 760px);
    justify-content: center;
    gap: clamp(40px, 7vw, 100px);
    padding-top: 64px;
}

.article-toc {
    position: sticky;
    top: 24px;
    align-self: start;
    padding: 20px;
    border: 1px solid var(--article-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(29, 46, 91, .05);
}

.article-toc strong {
    display: block;
    margin-bottom: 12px;
}

.article-toc ol {
    margin: 0;
    padding: 0 20px 0 0;
}

.article-toc li + li {
    margin-top: 10px;
}

.article-toc a {
    color: var(--article-muted);
    font-size: 13px;
    text-decoration: none;
}

.article-toc a:hover {
    color: #5047db;
}

.article-content {
    min-width: 0;
}

.article-lead {
    margin: 0 0 42px;
    padding: 22px 24px;
    color: #34425e;
    background: var(--article-soft);
    border-right: 4px solid #635bf1;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    line-height: 2;
}

.article-content section {
    scroll-margin-top: 30px;
}

.article-content h2 {
    margin: 55px 0 16px;
    color: var(--article-ink);
    font-size: 29px;
    line-height: 1.5;
}

.article-content h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.article-content p, .article-content li {
    color: #4f5d77;
    font-size: 16px;
    line-height: 2;
}

.article-content ul {
    padding-right: 22px;
}

.article-checklist {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    list-style: none;
    padding: 0;
}

.article-checklist li {
    position: relative;
    padding: 12px 42px 12px 14px;
    background: #fafbff;
    border: 1px solid #edf0f7;
    border-radius: 10px;
}

.article-checklist li::before {
    content: "✓";
    position: absolute;
    right: 14px;
    top: 12px;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #625bf6;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.concept-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.concept-grid > div {
    padding: 19px;
    background: #fff;
    border: 1px solid var(--article-line);
    border-radius: 14px;
}

.concept-grid h3 {
    color: #3d35bd;
}

.concept-grid p {
    margin: 0;
    font-size: 14px;
}

.article-steps {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.article-steps section {
    display: grid;
    grid-template-columns:42px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--article-line);
    border-radius: 14px;
}

.article-steps span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #6e65f3, #5148dc);
    border-radius: 10px;
    font-weight: 900;
}

.article-steps p {
    margin: 0;
    font-size: 15px;
}

.table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--article-line);
    border-radius: 14px;
}

.table-wrap table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    text-align: right;
}

.table-wrap caption {
    padding: 16px;
    color: #253556;
    background: #f8f9ff;
    font-weight: 800;
    caption-side: top;
    text-align: right;
}

.table-wrap th, .table-wrap td {
    padding: 14px 16px;
    border-top: 1px solid var(--article-line);
    color: #4c5a74;
    font-size: 14px;
}

.table-wrap th {
    color: #303e5e;
    background: #fcfcff;
    font-weight: 800;
}

.article-product-card {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 30px;
    margin-top: 24px;
    padding: 30px;
    background: linear-gradient(135deg, #1f1a63, #4f46e5);
    border-radius: 20px;
}

.article-product-card h2, .article-product-card p {
    color: #fff;
}

.article-product-card h2 {
    margin: 0 0 10px;
    font-size: 25px;
}

.article-product-card p:not(.article-eyebrow) {
    margin: 0;
    color: #e1e4ff;
}

.article-product-card .article-eyebrow {
    color: #c9c6ff;
}

.article-product-card__actions {
    min-width: 165px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.article-product-card .button {
    justify-content: center;
    text-decoration: none;
}

.article-product-card .button-primary {
    color: #433acc;
    background: #fff;
}

.article-product-card .button-secondary {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
}

.article-text-link {
    color: #e7e8ff;
    text-align: center;
    font-size: 13px;
}

.article-summary {
    margin-top: 55px;
    padding-top: 16px;
    border-top: 1px solid var(--article-line);
}

.article-related {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 18px 20px;
    background: #f5f6ff;
    border: 1px solid #e3e5ff;
    border-radius: 14px;
}

.article-related span {
    color: #626e8a;
    font-size: 13px;
}

.article-related a {
    color: #4940cd;
    font-weight: 800;
    text-decoration: none;
}

.article-related b {
    font-size: 20px;
    vertical-align: -2px;
}

@media (max-width: 992px) {
    .article-hero__grid {
        grid-template-columns:1fr;
    }

    .article-hero__copy {
        max-width: 760px;
    }

    .image-placeholder--hero {
        max-width: 700px;
        width: 100%;
    }

    .article-layout {
        grid-template-columns:1fr;
        gap: 30px;
    }

    .article-toc {
        position: static;
        max-width: 760px;
    }

    .article-toc ol {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 25px;
    }

    .article-toc li + li {
        margin-top: 0;
    }

    .article-content {
        max-width: 760px;
    }
}

@media (max-width: 640px) {
    .article-hero {
        padding-bottom: 46px;
    }

    .article-breadcrumb {
        margin-bottom: 23px;
    }

    .article-hero h1 {
        font-size: 34px;
    }

    .article-hero__copy > p:not(.article-eyebrow) {
        font-size: 15px;
    }

    .article-layout {
        padding-top: 38px;
    }

    .article-content h2 {
        margin-top: 42px;
        font-size: 25px;
    }

    .article-lead {
        padding: 17px;
        font-size: 16px;
    }

    .concept-grid {
        grid-template-columns:1fr;
    }

    .image-placeholder {
        min-height: 220px;
        padding: 26px 18px;
        border-radius: 16px;
    }

    .image-placeholder--hero {
        min-height: 250px;
    }

    .article-product-card {
        grid-template-columns:1fr;
        padding: 23px;
    }

    .article-product-card__actions {
        min-width: 0;
    }

    .article-toc {
        padding: 17px;
    }

    .article-toc ol {
        display: block;
    }

    .article-toc li + li {
        margin-top: 9px;
    }
}

.blog-index {
    min-height: 70vh;
    background: #fff;
    color: var(--article-ink);
    padding-bottom: 80px;
}

.blog-index__hero {
    padding: 20px 0 58px;
    background: radial-gradient(circle at 18% 12%, rgba(99, 91, 246, .14), transparent 28%), linear-gradient(135deg, #f5f7ff, #fff);
}

.blog-index__hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(34px, 4vw, 53px);
    line-height: 1.4;
    letter-spacing: -1px;
}

.blog-index__hero > div > p:not(.article-eyebrow) {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--article-muted);
    font-size: 17px;
    line-height: 2;
}

.blog-index__content {
    padding-top: 58px;
}

.blog-index__content h2 {
    margin: 0 0 24px;
    font-size: 28px;
}

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

.blog-card {
    overflow: hidden;
    border: 1px solid var(--article-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(31, 47, 89, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(31, 47, 89, .12);
}

.blog-card__image {
    min-height: 190px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--article-line);
    border-radius: 0;
    text-decoration: none;
}
.blog-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    background: #f4f7ff;
}

.blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card__image:hover {
    border-color: transparent;
}

.blog-card__body {
    padding: 21px;
}

.blog-card__body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.65;
}

.blog-card__body h3 a {
    color: var(--article-ink);
    text-decoration: none;
}

.blog-card__body > p:not(.article-eyebrow) {
    margin: 0;
    color: var(--article-muted);
    font-size: 14px;
    line-height: 1.9;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #5148da;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.blog-card__link span {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-index__hero {
        padding-bottom: 42px;
    }

    .blog-index__hero h1 {
        font-size: 34px;
    }

    .blog-index__hero > div > p:not(.article-eyebrow) {
        font-size: 15px;
    }

    .blog-index__content {
        padding-top: 38px;
    }

    .blog-grid {
        grid-template-columns:1fr;
    }

    .blog-card__image {
        min-height: 180px;
    }
}
