.ap-content-main {
    --ap-ink: #101326;
    --ap-violet: #716fb3;
    --ap-violet-dark: #565493;
    --ap-green: #5ba881;
    --ap-cloud: #f4f5fa;
    --ap-line: #dfe2ec;
    --ap-muted: #656b7d;
    --ap-white: #ffffff;
    background: var(--ap-white);
    color: var(--ap-ink);
    font-family: 'Inter', sans-serif;
    padding-top: 82px;
}

.ap-content-main *,
.ap-content-main *::before,
.ap-content-main *::after {
    box-sizing: border-box;
}

.ap-content-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.ap-content-hero {
    background-color: var(--ap-cloud);
    background-image:
        linear-gradient(rgba(113, 111, 179, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 111, 179, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    border-bottom: 1px solid var(--ap-line);
}

.ap-content-hero__layout {
    align-items: stretch;
    display: grid;
    gap: 72px;
    grid-template-columns: minmax(0, 1fr) 330px;
    min-height: 470px;
    padding-bottom: 72px;
    padding-top: 68px;
}

.ap-content-hero__copy {
    align-self: center;
    max-width: 760px;
}

.ap-content-breadcrumbs {
    margin-bottom: 40px;
}

.ap-content-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ap-content-breadcrumbs li {
    color: var(--ap-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.ap-content-breadcrumbs li:not(:last-child)::after {
    color: var(--ap-violet);
    content: '/';
    margin-left: 8px;
}

.ap-content-breadcrumbs a {
    color: var(--ap-ink);
    text-decoration: none;
}

.ap-content-breadcrumbs a:hover {
    color: var(--ap-violet-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ap-content-eyebrow,
.ap-framework__label,
.ap-content-sidebar__label {
    color: var(--ap-violet-dark);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.ap-content-hero h1 {
    color: var(--ap-ink);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 0;
    max-width: 900px;
    text-transform: none;
}

.ap-content-summary {
    color: #3e4354;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 1.65;
    margin: 28px 0 0;
    max-width: 690px;
}

.ap-content-byline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 32px;
}

.ap-content-byline span {
    color: var(--ap-muted);
    font-size: 13px;
    font-weight: 600;
}

.ap-content-byline span:not(:last-child)::after {
    background: var(--ap-green);
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 5px;
    margin-left: 24px;
    vertical-align: 2px;
    width: 5px;
}

.ap-framework {
    align-self: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(113, 111, 179, 0.24);
    box-shadow: 0 24px 60px rgba(25, 28, 54, 0.1);
    padding: 32px 32px 34px;
}

.ap-framework ol {
    list-style: none;
    margin: 24px 0 0;
    padding: 0 0 0 28px;
    position: relative;
}

.ap-framework ol::before {
    background: linear-gradient(var(--ap-violet), var(--ap-green));
    bottom: 12px;
    content: '';
    left: 5px;
    position: absolute;
    top: 12px;
    width: 2px;
}

.ap-framework li {
    position: relative;
}

.ap-framework li + li {
    margin-top: 30px;
}

.ap-framework li::before {
    background: var(--ap-white);
    border: 3px solid var(--ap-violet);
    border-radius: 50%;
    content: '';
    height: 12px;
    left: -28px;
    position: absolute;
    top: 5px;
    width: 12px;
}

.ap-framework li:last-child::before {
    border-color: var(--ap-green);
}

.ap-framework strong,
.ap-framework span {
    display: block;
}

.ap-framework strong {
    color: var(--ap-ink);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.ap-framework span {
    color: var(--ap-muted);
    font-size: 13px;
    margin-top: 4px;
}

.ap-content-layout {
    align-items: start;
    display: grid;
    gap: 80px;
    grid-template-columns: minmax(0, 1fr) 286px;
    padding-bottom: 88px;
    padding-top: 80px;
}

.ap-content-main .ap-content-article,
.ap-content-main .ap-content-article.page,
.ap-content-main .ap-content-article.post {
    margin: 0;
    max-width: 780px;
    padding: 0;
}

.ap-content-featured {
    margin: 0 0 48px;
}

.ap-content-featured img {
    display: block;
    height: auto;
    width: 100%;
}

.ap-content-featured figcaption {
    color: var(--ap-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
}

.ap-content-prose {
    color: #272b3c;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.78;
}

.ap-content-prose > :first-child {
    margin-top: 0;
}

.ap-content-prose h2,
.ap-content-prose h3,
.ap-content-prose h4 {
    color: var(--ap-ink);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    scroll-margin-top: 116px;
    text-transform: none;
}

.ap-content-prose h2 {
    border-top: 1px solid var(--ap-line);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.18;
    margin: 72px 0 24px;
    padding-top: 28px;
}

.ap-content-prose h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 48px 0 18px;
}

.ap-content-prose h4 {
    font-size: 20px;
    line-height: 1.4;
    margin: 36px 0 14px;
}

.ap-content-prose p,
.ap-content-prose ul,
.ap-content-prose ol {
    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
}

.ap-content-prose li + li {
    margin-top: 9px;
}

.ap-content-prose a {
    color: var(--ap-violet-dark);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(113, 111, 179, 0.45);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.ap-content-prose a:hover {
    color: var(--ap-ink);
    text-decoration-color: var(--ap-green);
}

.ap-content-prose blockquote {
    border-left: 4px solid var(--ap-green);
    color: var(--ap-ink);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
    margin: 40px 0;
    padding: 8px 0 8px 28px;
}

.ap-content-prose img {
    height: auto;
    max-width: 100%;
}

.ap-content-prose figure {
    margin: 40px 0;
}

.ap-content-prose figcaption {
    color: var(--ap-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
}

.ap-content-prose table,
.ap-comparison-table {
    border-collapse: collapse;
    display: block;
    font-size: 15px;
    margin: 36px 0;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
}

.ap-content-prose th,
.ap-content-prose td,
.ap-comparison-table th,
.ap-comparison-table td {
    border-bottom: 1px solid var(--ap-line);
    min-width: 150px;
    padding: 15px 16px;
    text-align: left;
    transition: background-color 160ms ease, box-shadow 160ms ease;
    vertical-align: top;
}

.ap-content-prose th,
.ap-comparison-table th {
    background: var(--ap-cloud);
    color: var(--ap-ink);
    font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
    .ap-content-prose tbody tr:hover > th,
    .ap-content-prose tbody tr:hover > td,
    .ap-comparison-table tbody tr:hover > th,
    .ap-comparison-table tbody tr:hover > td {
        background-color: rgba(113, 111, 179, 0.12);
    }

    .ap-content-prose tbody tr:hover > :first-child,
    .ap-comparison-table tbody tr:hover > :first-child {
        box-shadow: inset 3px 0 0 var(--ap-violet);
    }
}

.ap-content-prose tbody tr:focus-within > th,
.ap-content-prose tbody tr:focus-within > td,
.ap-comparison-table tbody tr:focus-within > th,
.ap-comparison-table tbody tr:focus-within > td {
    background-color: rgba(113, 111, 179, 0.12);
}

.ap-content-prose tbody tr:focus-within > :first-child,
.ap-comparison-table tbody tr:focus-within > :first-child {
    box-shadow: inset 3px 0 0 var(--ap-violet);
}

@media (prefers-reduced-motion: reduce) {
    .ap-content-prose th,
    .ap-content-prose td,
    .ap-comparison-table th,
    .ap-comparison-table td {
        transition: none;
    }
}

.ap-fact-grid,
.ap-metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 36px 0;
}

.ap-fact-grid > *,
.ap-metric-grid > * {
    background: var(--ap-cloud);
    border-top: 3px solid var(--ap-violet);
    margin: 0;
    padding: 22px;
}

.ap-verdict,
.ap-content-prose .ap-verdict {
    background: var(--ap-cloud);
    border: 1px solid var(--ap-line);
    border-left: 4px solid var(--ap-violet);
    margin: 40px 0;
    padding: 26px 28px 4px;
}

.ap-content-disclaimer {
    border-top: 1px solid var(--ap-line);
    color: var(--ap-muted);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.65;
    margin: 56px 0 0;
    padding-top: 20px;
}

.ap-content-page-links {
    color: var(--ap-muted);
    font-size: 14px;
    margin-top: 36px;
}

.ap-content-sidebar {
    position: sticky;
    top: 112px;
}

.ap-content-profile {
    border: 1px solid var(--ap-line);
    font-family: 'Inter', sans-serif;
    padding: 26px;
}

.ap-content-profile dl,
.ap-content-profile dd {
    margin: 0;
}

.ap-content-profile dl > div {
    border-top: 1px solid var(--ap-line);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1.25fr;
    padding: 14px 0;
}

.ap-content-profile dl > div:last-child {
    padding-bottom: 0;
}

.ap-content-profile dt,
.ap-content-profile dd {
    line-height: 1.5;
}

.ap-content-profile dt {
    color: var(--ap-muted);
    font-size: 12px;
    font-weight: 600;
}

.ap-content-profile dd {
    color: var(--ap-ink);
    font-size: 13px;
    font-weight: 600;
}

.ap-content-sidebar__cta {
    margin-top: 14px;
}

.ap-content-sidebar__cta .ap-content-sidebar__label {
    color: #bcbaf0;
}

.ap-content-sidebar__cta h2 {
    color: var(--ap-white);
    font-family: 'Poppins', sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 14px;
}

.ap-content-sidebar__cta p:not(.ap-content-sidebar__label) {
    color: #d1d4df;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ap-content-sidebar__cta .ap-content-button {
    align-items: center;
    background: var(--ap-ink);
    border: 1px solid var(--ap-ink);
    color: var(--ap-white);
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: -0.01em;
    line-height: 1.35;
    padding: 16px 18px;
    text-align: left;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
    width: 100%;
}

.ap-content-sidebar__cta .ap-content-button::after {
    color: #bcbaf0;
    content: '\2192';
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    margin-left: 14px;
    transition: transform 160ms ease;
}

.ap-content-sidebar__cta .ap-content-button:hover {
    background: var(--ap-violet-dark);
    border-color: var(--ap-violet-dark);
    color: var(--ap-white);
}

.ap-content-sidebar__cta .ap-content-button:hover::after {
    transform: translateX(3px);
}

.ap-content-conversion {
    background: var(--ap-ink);
    color: var(--ap-white);
}

.ap-content-conversion__layout {
    align-items: center;
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 64px;
    padding-top: 64px;
}

.ap-content-conversion .ap-content-eyebrow {
    color: #bcbaf0;
}

.ap-content-conversion h2 {
    color: var(--ap-white);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 14px;
}

.ap-content-conversion p:not(.ap-content-eyebrow) {
    color: #c8ccd8;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
    max-width: 660px;
}

.ap-content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ap-content-button {
    border: 1px solid transparent;
    display: inline-flex;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    padding: 13px 18px;
    text-decoration: none;
}

.ap-content-button--primary {
    background: var(--ap-violet);
    color: var(--ap-white);
}

.ap-content-button--secondary {
    border-color: #51566d;
    color: var(--ap-white);
}

.ap-content-button:hover {
    background: var(--ap-white);
    border-color: var(--ap-white);
    color: var(--ap-ink);
    text-decoration: none;
}

.ap-content-related {
    background: var(--ap-cloud);
    border-bottom: 1px solid var(--ap-line);
    padding: 72px 0 80px;
}

.ap-content-related h2 {
    color: var(--ap-ink);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 32px;
}

.ap-content-related__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-content-related__grid article {
    background: var(--ap-white);
    border: 1px solid var(--ap-line);
    min-height: 190px;
    padding: 26px;
}

.ap-content-related__grid article > p:first-child {
    color: var(--ap-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.ap-content-related__grid h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 14px;
}

.ap-content-related__grid h3 a {
    color: var(--ap-ink);
    text-decoration: none;
}

.ap-content-related__grid h3 a:hover {
    color: var(--ap-violet-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ap-content-related__grid article > p:last-child {
    color: var(--ap-muted);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.ap-content-main a:focus-visible {
    outline: 3px solid var(--ap-green);
    outline-offset: 3px;
}

.ap-content-prose .ap-money-lead {
    border-left: 4px solid var(--ap-violet);
    color: #202538;
    font-size: 19px;
    padding-left: 24px;
}

.ap-signal-console {
    background:
        radial-gradient(circle at top right, rgba(113, 111, 179, 0.38), transparent 42%),
        var(--ap-ink);
    border: 1px solid #252a42;
    box-shadow: 0 24px 54px rgba(16, 19, 38, 0.18);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 42px 0 56px;
    overflow: hidden;
}

.ap-signal-console > div {
    background: rgba(255, 255, 255, 0.045);
    min-height: 170px;
    padding: 26px;
}

.ap-signal-console span,
.ap-decision-grid span {
    color: #bcbaf0;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ap-signal-console strong {
    color: var(--ap-white);
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    line-height: 1.3;
}

.ap-content-prose .ap-signal-console p {
    color: #cdd0db;
    font-size: 14px;
    line-height: 1.65;
    margin: 12px 0 0;
}

.ap-signal-console .ap-signal-console__output {
    background: var(--ap-violet-dark);
}

.ap-decision-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 34px 0 42px;
}

.ap-decision-grid section {
    border: 1px solid var(--ap-line);
    border-top: 3px solid var(--ap-violet);
    padding: 24px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ap-decision-grid section:last-child {
    border-top-color: var(--ap-green);
}

.ap-decision-grid h3 {
    font-size: 19px;
    margin: 0 0 12px;
}

.ap-content-prose .ap-decision-grid p {
    color: var(--ap-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    .ap-decision-grid section:hover {
        border-color: var(--ap-violet);
        box-shadow: 0 16px 34px rgba(21, 26, 48, 0.1);
        transform: translateY(-3px);
    }
}

.ap-plan-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 30px 0;
}

.ap-plan-grid section {
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(21, 26, 48, 0.07);
    padding: 26px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ap-plan-grid section:hover {
    border-color: var(--ap-violet);
    box-shadow: 0 18px 38px rgba(21, 26, 48, 0.12);
    transform: translateY(-3px);
}

.ap-plan-grid__name {
    color: var(--ap-violet-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 10px !important;
}

.ap-plan-grid__price {
    color: var(--ap-ink);
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 16px !important;
}

.ap-plan-grid__price span {
    color: var(--ap-muted);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.admin-bar .ap-content-sidebar {
    top: 144px;
}

@media (max-width: 991px) {
    .ap-content-hero__layout {
        gap: 44px;
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .ap-content-layout {
        gap: 44px;
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .ap-fact-grid,
    .ap-metric-grid,
    .ap-decision-grid,
    .ap-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ap-content-conversion__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ap-content-main {
        padding-top: 72px;
    }

    .ap-content-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ap-content-hero__layout,
    .ap-content-layout {
        display: block;
    }

    .ap-content-hero__layout {
        min-height: 0;
        padding-bottom: 48px;
        padding-top: 42px;
    }

    .ap-content-breadcrumbs {
        margin-bottom: 30px;
    }

    .ap-content-hero h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .ap-content-summary {
        font-size: 18px;
    }

    .ap-content-byline span::after {
        display: none !important;
    }

    .ap-framework {
        margin-top: 40px;
        padding: 26px;
    }

    .ap-content-layout {
        padding-bottom: 60px;
        padding-top: 56px;
    }

    .ap-content-prose {
        font-size: 17px;
    }

    .ap-content-prose h2 {
        margin-top: 56px;
    }

    .ap-content-sidebar {
        margin-top: 48px;
        position: static;
    }

    .ap-content-conversion__layout {
        padding-bottom: 52px;
        padding-top: 52px;
    }

    .ap-content-actions,
    .ap-content-button {
        width: 100%;
    }

    .ap-content-related__grid {
        grid-template-columns: 1fr;
    }

    .ap-plan-grid {
        grid-template-columns: 1fr;
    }

    .ap-signal-console,
    .ap-decision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    .admin-bar .ap-content-sidebar {
        top: 158px;
    }
}

@media (max-width: 479px) {
    .ap-fact-grid,
    .ap-metric-grid {
        grid-template-columns: 1fr;
    }

    .ap-content-profile dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media print {
    .ap-content-main {
        padding-top: 0;
    }

    .ap-framework,
    .ap-content-sidebar,
    .ap-content-conversion,
    .ap-content-related {
        display: none;
    }

    .ap-content-hero__layout,
    .ap-content-layout {
        display: block;
    }
}
