.site-page {
    background: #ffffff;
    min-height: min(70vh, 720px);
    padding: 4.5rem 0 5rem;
}

.site-page__inner {
    max-width: 44rem;
}

.site-page__title {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.site-page__lead {
    color: #5a6b78;
    font-size: 1.125rem;
    line-height: 1.65;
    margin: 0;
}

.marketing-page__inner {
    max-width: 52rem;
}

.marketing-page__lead {
    color: #5a6b78;
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

.marketing-page__body {
    color: #5a6b78;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.1rem;
}

.marketing-page__bullets {
    color: #1c355e;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.75rem;
    padding-left: 1.35rem;
}

.marketing-page__bullets li {
    margin-bottom: 0.5rem;
}

.marketing-page__bullets li::marker {
    color: #4197cb;
}

.marketing-page__section-title {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 2.25rem 0 0.85rem;
}

.marketing-page__section-title:first-of-type {
    margin-top: 1.5rem;
}

.marketing-page__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.marketing-page__cta {
    align-items: center;
    border-radius: 0.65rem;
    font-family: var(--pms-body-font);
    font-weight: 600;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.6rem;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.marketing-page__cta--primary {
    background: #4197cb;
    color: #ffffff;
}

.marketing-page__cta--primary:hover {
    background: #236092;
    color: #ffffff;
    transform: translateY(-1px);
}

.marketing-page__cta--secondary {
    border: 2px solid #236092;
    color: #236092;
}

.marketing-page__cta--secondary:hover {
    background: rgba(65, 151, 203, 0.08);
    color: #1c355e;
}

.marketing-page__cta--tertiary {
    background: transparent;
    border: 2px solid rgba(28, 53, 94, 0.2);
    color: #1c355e;
}

.marketing-page__cta--tertiary:hover {
    background: rgba(28, 53, 94, 0.06);
    border-color: #1c355e;
    color: #1c355e;
}

@media (max-width: 600px) {
    .marketing-page__ctas {
        flex-direction: column;
    }

    .marketing-page__cta {
        width: 100%;
        text-align: center;
    }
}

/* Resources — catalog from Adm.Api (when articles exist) */
.resources-page__catalog {
    padding-top: 0;
}

.resources-page__catalog-title {
    margin-top: 0;
}

.resources-page__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resources-page__card-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.resources-page__card-link:hover .resources-page__card-title {
    color: #236092;
}

.resources-page__card {
    border: 1px solid #e3e8ec;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.25rem 1.35rem;
}

.resources-page__category {
    color: #236092;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 0.4rem;
    text-transform: uppercase;
}

.resources-page__card-title {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

.resources-page__summary {
    margin-bottom: 0.65rem;
}

.resources-page__date {
    color: #5a6b78;
    font-size: 0.875rem;
    margin: 0;
}

/* FAQ — entries from Adm.Api (when published) */
.faq-page__catalog {
    padding-top: 0;
}

.faq-page__catalog-title {
    margin-top: 0;
}

.faq-page__card {
    border: 1px solid #e3e8ec;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.25rem 1.35rem;
}

.faq-page__question {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 0.65rem;
}

.faq-page__answer {
    margin-bottom: 0;
}

/* Pricing — plans from Adm.Api (when configured) */
.pricing-page__catalog {
    padding-top: 0;
}

.pricing-page__catalog-title {
    margin-top: 0;
}

.pricing-page__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    margin-top: 0.5rem;
}

@media (min-width: 720px) {
    .pricing-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-page__card {
    border: 1px solid #e3e8ec;
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
}

.pricing-page__card--highlight {
    border-color: #4197cb;
    box-shadow: 0 8px 28px rgba(65, 151, 203, 0.12);
}

.pricing-page__segment {
    color: #236092;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.pricing-page__name {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.pricing-page__summary {
    margin-bottom: 0.75rem;
}

.pricing-page__price-line {
    color: #1c355e;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.pricing-page__currency {
    color: #5a6b78;
    font-size: 0.95rem;
    font-weight: 600;
}

.pricing-page__cadence {
    color: #5a6b78;
    font-size: 0.9rem;
    margin: 0 0 0.85rem;
}

.pricing-page__highlights {
    color: #1c355e;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    padding-left: 1.2rem;
}

.pricing-page__highlights li {
    margin-bottom: 0.35rem;
}

.pricing-page__highlights li::marker {
    color: #4197cb;
}

/* Resource article detail (/resources/{slug}) */
.resource-article-page {
    padding-top: 3.5rem;
}

.resource-article__back {
    margin-bottom: 1.25rem;
}

.resource-article__back a {
    color: #236092;
    font-weight: 600;
    text-decoration: none;
}

.resource-article__back a:hover {
    text-decoration: underline;
}

.resource-article__title {
    margin-bottom: 0.35rem;
}

.resource-article__date {
    margin-bottom: 1rem;
}

.resource-article__summary {
    font-size: 1.0625rem;
    font-weight: 500;
}

.resource-article__body {
    margin-top: 1.75rem;
}

.resource-article__markdown {
    color: #5a6b78;
    font-size: 1rem;
    line-height: 1.75;
}

.resource-article__markdown > :first-child {
    margin-top: 0;
}

.resource-article__markdown h2 {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 2rem 0 0.75rem;
}

.resource-article__markdown h3 {
    color: #1c355e;
    font-family: var(--pms-heading-font);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.resource-article__markdown p {
    margin: 0 0 1rem;
}

.resource-article__markdown ul,
.resource-article__markdown ol {
    margin: 0 0 1.1rem;
    padding-left: 1.35rem;
}

.resource-article__markdown li {
    margin-bottom: 0.35rem;
}

.resource-article__markdown li::marker {
    color: #4197cb;
}

.resource-article__markdown blockquote {
    border-left: 4px solid #4197cb;
    color: #5a6b78;
    margin: 0 0 1.1rem;
    padding: 0.25rem 0 0.25rem 1rem;
}

.resource-article__markdown a {
    color: #236092;
    font-weight: 600;
    text-decoration: none;
}

.resource-article__markdown a:hover {
    text-decoration: underline;
}

.resource-article__markdown hr {
    border: none;
    border-top: 1px solid #e2e8ee;
    margin: 1.75rem 0;
}

.resource-article__markdown code {
    background: #f0f5f9;
    border-radius: 4px;
    font-size: 0.92em;
    padding: 0.12em 0.4em;
}

.resource-article__markdown pre {
    background: #f4f7fb;
    border-radius: 8px;
    margin: 0 0 1.1rem;
    overflow-x: auto;
    padding: 1rem 1.1rem;
}

.resource-article__markdown pre code {
    background: none;
    padding: 0;
}

.resource-article__markdown table {
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    width: 100%;
}

.resource-article__markdown th,
.resource-article__markdown td {
    border: 1px solid #dde5ec;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.resource-article__markdown th {
    background: #f4f7fb;
    color: #1c355e;
    font-weight: 700;
}

.resource-article__markdown .task-list-item {
    list-style-type: none;
    margin-left: -1.35rem;
}

/* 404 (Router NotFoundPage + /not-found) */
.not-found-page .marketing-page__ctas {
    margin-top: 2rem;
}
