/* NCY_GLOBAL_LAYOUT_SYSTEM_20261125
 * One visual system for legacy pages, knowledge archives and article views.
 * The refreshed service and homepage templates keep their dedicated layouts. */
:root {
    --ncy-ui-paper: #fbfaf7;
    --ncy-ui-surface: #ffffff;
    --ncy-ui-surface-soft: #f4f7fb;
    --ncy-ui-ink: #142139;
    --ncy-ui-copy: #35435a;
    --ncy-ui-muted: #657287;
    --ncy-ui-line: #dbe4ef;
    --ncy-ui-blue: #245dff;
    --ncy-ui-rust: #c2410c;
    --ncy-ui-gold: #c7a56b;
    --ncy-ui-radius: 18px;
    --ncy-ui-shadow: 0 18px 44px rgba(20, 33, 57, 0.09);
    --ncy-ui-content: 1180px;
    --ncy-ui-reading: 820px;
}

html body:is(.blog, .category, .search, .tag, .single-post),
html body.page:not(.ncy-refreshed),
html body:is(.blog, .category, .search, .tag, .single-post) .ncy-site-main,
html body.page:not(.ncy-refreshed) .ncy-site-main {
    background: var(--ncy-ui-paper) !important;
    color: var(--ncy-ui-ink);
}

/* Shared page header and editorial width. */
html body.page:not(.ncy-refreshed) :is(
    .ncy-page--common-questions,
    .ncy-page--customer-reviews,
    .ncy-page--service-agreement,
    .ncy-page--privacy-policy,
    .ncy-page--refund-policy,
    .ncy-page--minor-privacy,
    .ncy-page--samples,
    .ncy-page--child-renaming
) {
    box-sizing: border-box;
    width: min(calc(100% - 40px), var(--ncy-ui-content));
    margin: 0 auto;
    padding: clamp(68px, 8vw, 112px) 0 clamp(88px, 10vw, 132px);
}

html body.page:not(.ncy-refreshed) :is(
    .ncy-page--common-questions,
    .ncy-page--customer-reviews,
    .ncy-page--service-agreement,
    .ncy-page--privacy-policy,
    .ncy-page--refund-policy,
    .ncy-page--minor-privacy,
    .ncy-page--samples,
    .ncy-page--child-renaming
) > .ncy-page-header {
    width: min(100%, 900px);
    margin: 0 auto clamp(44px, 6vw, 72px);
    padding: 0;
    text-align: center;
}

html body.page:not(.ncy-refreshed) :is(
    .ncy-page--common-questions,
    .ncy-page--customer-reviews,
    .ncy-page--service-agreement,
    .ncy-page--privacy-policy,
    .ncy-page--refund-policy,
    .ncy-page--minor-privacy,
    .ncy-page--samples,
    .ncy-page--child-renaming
) > .ncy-page-header h1 {
    margin: 14px 0 0;
    background: none !important;
    color: var(--ncy-ui-ink) !important;
    font-size: clamp(3.25rem, 6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    text-wrap: balance;
}

html body.page:not(.ncy-refreshed) :is(
    .ncy-page--common-questions,
    .ncy-page--customer-reviews,
    .ncy-page--service-agreement,
    .ncy-page--privacy-policy,
    .ncy-page--refund-policy,
    .ncy-page--minor-privacy,
    .ncy-page--samples,
    .ncy-page--child-renaming
) > .ncy-page-content {
    width: 100%;
    margin: 0 auto;
}

/* Knowledge hub, category, search and tag archives. */
html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hub, .ncy-knowledge-archive) {
    box-sizing: border-box;
    width: min(calc(100% - 40px), var(--ncy-ui-content));
    margin: 0 auto;
    padding: clamp(68px, 8vw, 112px) 0 clamp(88px, 10vw, 132px);
    color: var(--ncy-ui-ink);
}

html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hero, .ncy-knowledge-archive__hero) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 0 0 clamp(42px, 6vw, 64px);
    border-bottom: 1px solid var(--ncy-ui-line);
    color: var(--ncy-ui-ink);
    text-align: center;
}

html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hero, .ncy-knowledge-archive__hero) > .ncy-knowledge-back {
    align-self: flex-start;
    margin: 0 0 26px;
    color: var(--ncy-ui-blue);
}

html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hero, .ncy-knowledge-archive__hero) > .ncy-eyebrow {
    margin: 0;
    color: var(--ncy-ui-rust) !important;
}

html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hero, .ncy-knowledge-archive__hero) h1 {
    max-width: 900px;
    margin: 14px auto 0;
    background: none !important;
    color: var(--ncy-ui-ink) !important;
    font-size: clamp(3.25rem, 6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    text-wrap: balance;
}

html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hero, .ncy-knowledge-archive__hero) > p:last-of-type:not(.ncy-eyebrow) {
    max-width: 820px;
    margin: 22px auto 0;
    color: var(--ncy-ui-copy) !important;
    font-size: 1.06rem;
    line-height: 1.85;
    text-align: center;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 30px 0 58px !important;
    overflow: visible;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics > a {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: auto !important;
    min-height: 46px;
    padding: 0 16px !important;
    border: 1px solid var(--ncy-ui-line) !important;
    border-radius: 999px !important;
    background: var(--ncy-ui-surface);
    color: var(--ncy-ui-ink) !important;
    box-shadow: none;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics > a span {
    color: var(--ncy-ui-rust) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics > a:is(:hover, :focus-visible, [aria-current="page"]) {
    border-color: var(--ncy-ui-blue) !important;
    background: #edf3ff;
    color: var(--ncy-ui-blue) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-sections {
    gap: clamp(64px, 8vw, 96px);
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topic__header {
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 48px;
    padding: 30px 0 28px;
    border-top: 2px solid var(--ncy-ui-rust);
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topic__header h2,
html body:is(.blog, .category, .search, .tag) .ncy-knowledge-section-label h2,
html body:is(.blog, .category, .search, .tag) .ncy-knowledge-empty h2 {
    color: var(--ncy-ui-ink) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topic__header > div:last-child > p,
html body:is(.blog, .category, .search, .tag) .ncy-knowledge-result-count,
html body:is(.blog, .category, .search, .tag) .ncy-knowledge-empty p {
    color: var(--ncy-ui-muted) !important;
}

html body:is(.blog, .category, .search) .ncy-knowledge-list,
html body.tag .ncy-knowledge-list--archive {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
    gap: 18px !important;
    width: 100%;
    border: 0 !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item {
    display: block !important;
    min-width: 0;
    margin: 0 !important;
    border: 1px solid var(--ncy-ui-line) !important;
    border-radius: var(--ncy-ui-radius) !important;
    background: var(--ncy-ui-surface) !important;
    box-shadow: var(--ncy-ui-shadow);
    overflow: hidden;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item > a {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 22px !important;
    grid-template-areas: "number content arrow" !important;
    gap: 14px !important;
    align-items: start !important;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 100% !important;
    padding: 28px !important;
    background: transparent !important;
    color: var(--ncy-ui-ink) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item > a:is(:hover, :focus-visible) {
    padding: 28px !important;
    background: var(--ncy-ui-surface-soft) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__number {
    grid-area: number;
    color: var(--ncy-ui-rust) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item > a > div {
    grid-area: content;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__arrow {
    grid-area: arrow;
    color: var(--ncy-ui-blue) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list :is(h2, h3) {
    color: var(--ncy-ui-ink) !important;
    font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
    line-height: 1.42 !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__meta,
html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item > a > div > p:not(.ncy-knowledge-list__meta) {
    color: var(--ncy-ui-muted) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-archive-tags span {
    border-radius: 999px;
    background: #e8f0ff;
    color: #1554d1;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-search {
    width: 100%;
    margin-top: 36px;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-search label {
    color: var(--ncy-ui-ink) !important;
    text-align: left;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-search > div {
    border: 1px solid var(--ncy-ui-line);
    border-radius: 12px;
    background: var(--ncy-ui-surface);
    overflow: hidden;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-search input {
    color: var(--ncy-ui-ink);
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-search input::placeholder {
    color: #8b96a8;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-search button {
    border-left: 1px solid var(--ncy-ui-line);
    background: var(--ncy-ui-rust);
    color: #fff;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-service-match {
    margin: 34px 0;
    padding: 26px 28px;
    border: 1px solid var(--ncy-ui-line);
    border-radius: var(--ncy-ui-radius);
    background: var(--ncy-ui-surface);
    box-shadow: var(--ncy-ui-shadow);
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-service-match h2,
html body:is(.blog, .category, .search, .tag) .ncy-knowledge-service-match__reading {
    color: var(--ncy-ui-ink) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-service-match > div > span {
    color: var(--ncy-ui-muted) !important;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-service-match > a {
    border-color: var(--ncy-ui-rust);
    border-radius: 10px;
    background: var(--ncy-ui-rust);
    color: #fff;
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-archive-cta {
    border-radius: 22px;
    background: var(--ncy-ui-ink) !important;
    color: #fff;
    box-shadow: var(--ncy-ui-shadow);
}

html body:is(.blog, .category, .search, .tag) .ncy-knowledge-archive-cta::before {
    display: none;
}

/* FAQ hub. */
html body .ncy-page--common-questions .ncy-faq-hub {
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--ncy-ui-ink);
}

html body .ncy-page--common-questions .ncy-faq-hub__hero,
html body .ncy-page--common-questions .ncy-faq-hub__quick > header,
html body .ncy-page--common-questions .ncy-faq-hub__section > header {
    text-align: center;
}

html body .ncy-page--common-questions :is(.ncy-faq-hub__hero, .ncy-faq-hub__quick, .ncy-faq-hub__section) h2 {
    color: var(--ncy-ui-ink) !important;
    text-wrap: balance;
}

html body .ncy-page--common-questions .ncy-faq-hub__quick-grid {
    gap: 18px;
}

html body .ncy-page--common-questions .ncy-faq-hub__quick-card,
html body .ncy-page--common-questions .ncy-topic-reading-item {
    border: 1px solid var(--ncy-ui-line) !important;
    border-radius: var(--ncy-ui-radius) !important;
    background: var(--ncy-ui-surface) !important;
    color: var(--ncy-ui-ink) !important;
    box-shadow: var(--ncy-ui-shadow);
}

html body .ncy-page--common-questions .ncy-faq-hub__quick-card:is(:hover, :focus-within),
html body .ncy-page--common-questions .ncy-topic-reading-item:is(:hover, :focus-within) {
    background: var(--ncy-ui-surface-soft) !important;
    transform: translateY(-2px);
}

html body .ncy-page--common-questions .ncy-faq-hub__closing {
    border-radius: 22px;
    background: var(--ncy-ui-ink) !important;
    color: #fff;
    box-shadow: var(--ncy-ui-shadow);
}

/* Customer reviews and evidence cards. */
html body .ncy-page--customer-reviews .ncy-review-shell {
    width: 100%;
    max-width: none;
    margin: 0;
}

html body .ncy-page--customer-reviews .ncy-review-filters {
    justify-content: center;
}

html body .ncy-page--customer-reviews .ncy-review-filters button,
html body .ncy-page--customer-reviews .ncy-review-filters a {
    border-color: var(--ncy-ui-line);
    border-radius: 999px;
    background: var(--ncy-ui-surface);
    color: var(--ncy-ui-ink);
}

html body .ncy-page--customer-reviews .ncy-review-filters :is(button, a)[aria-pressed="true"],
html body .ncy-page--customer-reviews .ncy-review-filters :is(button, a).is-active {
    border-color: var(--ncy-ui-ink);
    background: var(--ncy-ui-ink);
    color: #fff;
}

html body .ncy-page--customer-reviews :is(.ncy-review-card, .ncy-evidence-card) {
    border: 1px solid var(--ncy-ui-line) !important;
    border-radius: var(--ncy-ui-radius) !important;
    background: var(--ncy-ui-surface) !important;
    box-shadow: var(--ncy-ui-shadow);
    overflow: hidden;
}

html body .ncy-page--customer-reviews .ncy-review-image {
    background: var(--ncy-ui-surface-soft) !important;
}

html body .ncy-page--customer-reviews .ncy-review-copy,
html body .ncy-page--customer-reviews .ncy-evidence-card {
    color: var(--ncy-ui-ink);
}

html body .ncy-page--customer-reviews .ncy-evidence-hub > h2 {
    color: var(--ncy-ui-ink);
    text-align: center;
}

/* Legal and policy pages become a consistent editorial panel. */
html body.page:not(.ncy-refreshed) :is(
    .ncy-page--service-agreement,
    .ncy-page--privacy-policy,
    .ncy-page--refund-policy,
    .ncy-page--minor-privacy
) > .ncy-page-content {
    width: min(100%, 920px);
}

html body.page:not(.ncy-refreshed) :is(
    .ncy-page--service-agreement,
    .ncy-page--privacy-policy,
    .ncy-page--refund-policy,
    .ncy-page--minor-privacy
) .ncy-legal-document {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid var(--ncy-ui-line);
    border-radius: 22px;
    background: var(--ncy-ui-surface);
    box-shadow: var(--ncy-ui-shadow);
}

html body.page:not(.ncy-refreshed) .ncy-legal-document section {
    border-color: var(--ncy-ui-line);
}

html body.page:not(.ncy-refreshed) .ncy-legal-document h2 {
    color: var(--ncy-ui-ink);
}

html body.page:not(.ncy-refreshed) .ncy-legal-document :is(p, li) {
    color: var(--ncy-ui-copy);
    line-height: 1.85;
}

/* Standard articles. */
html body.single-post .ncy-article-return,
html body.single-post .ncy-article {
    width: min(calc(100% - 40px), var(--ncy-ui-content));
    margin-right: auto;
    margin-left: auto;
}

html body.single-post .ncy-article-return {
    margin-top: clamp(52px, 7vw, 84px);
    color: var(--ncy-ui-blue);
}

html body.single-post .ncy-article {
    box-sizing: border-box;
    margin-top: 34px;
    margin-bottom: clamp(88px, 10vw, 132px);
    padding: clamp(34px, 6vw, 64px);
    border: 1px solid var(--ncy-ui-line);
    border-radius: 22px;
    background: var(--ncy-ui-surface);
    box-shadow: var(--ncy-ui-shadow);
}

html body.single-post .ncy-article-header {
    border-color: var(--ncy-ui-line);
}

html body.single-post .ncy-article-header h1,
html body.single-post .ncy-prose :is(h2, h3),
html body.single-post .ncy-author-note h2,
html body.single-post .ncy-related-posts :is(h2, h3) {
    color: var(--ncy-ui-ink) !important;
}

html body.single-post .ncy-article-dek,
html body.single-post .ncy-article-meta-row,
html body.single-post .ncy-prose,
html body.single-post .ncy-prose :is(p, li),
html body.single-post .ncy-author-note p {
    color: var(--ncy-ui-copy) !important;
}

html body.single-post .ncy-article-frame {
    border-color: var(--ncy-ui-line);
}

html body.single-post .ncy-prose p {
    margin-top: 0;
    margin-bottom: 1.35em;
    line-height: 1.9;
}

html body.single-post .ncy-prose li {
    line-height: 1.85;
}

html body.single-post .ncy-prose h2 {
    margin-top: clamp(54px, 7vw, 82px);
    padding-top: 26px;
    border-top: 1px solid var(--ncy-ui-line);
}

html body.single-post .ncy-article-toc,
html body.single-post .ncy-author-note {
    border-color: var(--ncy-ui-line) !important;
    border-radius: 14px;
    background: var(--ncy-ui-surface-soft) !important;
    color: var(--ncy-ui-copy) !important;
}

/* Consultation records use the same editorial palette and spacing. */
html body .ncy-consultation-entry {
    background: var(--ncy-ui-paper);
    color: var(--ncy-ui-copy);
}

html body .ncy-consultation-entry__article {
    box-sizing: border-box;
    width: min(calc(100% - 40px), 920px);
    margin: clamp(52px, 7vw, 84px) auto clamp(88px, 10vw, 132px);
    padding: clamp(34px, 6vw, 64px);
    border: 1px solid var(--ncy-ui-line);
    border-radius: 22px;
    background: var(--ncy-ui-surface);
    box-shadow: var(--ncy-ui-shadow);
}

html body .ncy-consultation-entry__header > a {
    color: var(--ncy-ui-blue);
}

html body .ncy-consultation-entry__header p {
    color: var(--ncy-ui-muted);
}

html body .ncy-consultation-entry__header h1 {
    color: var(--ncy-ui-ink);
}

html body .ncy-consultation-entry__content {
    color: var(--ncy-ui-copy);
    line-height: 1.9;
}

html body .ncy-consultation-entry__content p {
    margin-bottom: 1.35em;
}

html body .ncy-consultation-entry-gallery img {
    border: 1px solid var(--ncy-ui-line);
    border-radius: 12px;
}

html body .ncy-consultation-entry__admin {
    border-color: var(--ncy-ui-line);
}

html body .ncy-consultation-entry__admin a {
    color: var(--ncy-ui-blue);
}

@media (max-width: 900px) {
    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topic__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list,
    html body.tag .ncy-knowledge-list--archive {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)) !important;
    }
}

@media (max-width: 720px) {
    html body.page:not(.ncy-refreshed) :is(
        .ncy-page--common-questions,
        .ncy-page--customer-reviews,
        .ncy-page--service-agreement,
        .ncy-page--privacy-policy,
        .ncy-page--refund-policy,
        .ncy-page--minor-privacy,
        .ncy-page--samples,
        .ncy-page--child-renaming
    ),
    html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hub, .ncy-knowledge-archive) {
        width: min(calc(100% - 28px), var(--ncy-ui-content));
        padding-top: 52px;
        padding-bottom: 84px;
    }

    html body.page:not(.ncy-refreshed) :is(
        .ncy-page--common-questions,
        .ncy-page--customer-reviews,
        .ncy-page--service-agreement,
        .ncy-page--privacy-policy,
        .ncy-page--refund-policy,
        .ncy-page--minor-privacy,
        .ncy-page--samples,
        .ncy-page--child-renaming
    ) > .ncy-page-header h1,
    html body:is(.blog, .category, .search, .tag) :is(.ncy-knowledge-hero, .ncy-knowledge-archive__hero) h1 {
        font-size: clamp(2.55rem, 13vw, 3.35rem) !important;
        line-height: 1.12 !important;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 24px 0 40px !important;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics > a {
        justify-content: flex-start;
        width: 100% !important;
        min-width: 0;
        min-height: 48px;
        padding: 9px 12px !important;
        border-radius: 12px !important;
        white-space: normal;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list,
    html body.tag .ncy-knowledge-list--archive {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item > a {
        grid-template-columns: 28px minmax(0, 1fr) 18px !important;
        gap: 10px !important;
        padding: 22px 18px !important;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list__item > a:is(:hover, :focus-visible) {
        padding: 22px 18px !important;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-list :is(h2, h3) {
        font-size: 1.2rem !important;
    }

    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-service-match {
        padding: 22px 20px;
    }

    html body .ncy-page--common-questions .ncy-faq-hub__quick-grid,
    html body .ncy-page--common-questions .ncy-topic-reading-list,
    html body .ncy-page--customer-reviews .ncy-evidence-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.page:not(.ncy-refreshed) :is(
        .ncy-page--service-agreement,
        .ncy-page--privacy-policy,
        .ncy-page--refund-policy,
        .ncy-page--minor-privacy
    ) .ncy-legal-document {
        padding: 26px 20px;
        border-radius: 16px;
    }

    html body.single-post .ncy-article-return,
    html body.single-post .ncy-article {
        width: min(calc(100% - 28px), var(--ncy-ui-content));
    }

    html body.single-post .ncy-article {
        margin-top: 24px;
        padding: 26px 20px;
        border-radius: 16px;
    }

    html body.single-post .ncy-prose p {
        margin-bottom: 1.25em;
        line-height: 1.88;
    }

    html body .ncy-consultation-entry__article {
        width: min(calc(100% - 28px), 920px);
        margin-top: 40px;
        padding: 26px 20px;
        border-radius: 16px;
    }
}

@media (max-width: 430px) {
    html body:is(.blog, .category, .search, .tag) .ncy-knowledge-topics {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Final specificity layer: retire the remaining legacy gradient and blue-canvas rules. */
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--common-questions,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--customer-reviews,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--service-agreement,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--privacy-policy,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--refund-policy,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--minor-privacy,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--samples,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--child-renaming,
html body.blog.blog .ncy-knowledge-hub,
html body.category.category .ncy-knowledge-archive,
html body.search.search .ncy-knowledge-archive,
html body.tag.tag .ncy-knowledge-archive {
    background: transparent !important;
    background-image: none !important;
}

html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--common-questions > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--customer-reviews > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--service-agreement > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--privacy-policy > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--refund-policy > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--minor-privacy > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--samples > header.ncy-page-header,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--child-renaming > header.ncy-page-header {
    width: min(100%, 900px) !important;
    margin: 0 auto clamp(44px, 6vw, 72px) !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: center !important;
}

html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--common-questions > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--customer-reviews > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--service-agreement > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--privacy-policy > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--refund-policy > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--minor-privacy > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--samples > header.ncy-page-header h1,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--child-renaming > header.ncy-page-header h1,
html body.blog.blog .ncy-knowledge-hub > header.ncy-knowledge-hero h1,
html body.category.category .ncy-knowledge-archive > header.ncy-knowledge-archive__hero h1,
html body.search.search .ncy-knowledge-archive > header.ncy-knowledge-archive__hero h1,
html body.tag.tag .ncy-knowledge-archive > header.ncy-knowledge-archive__hero h1 {
    margin: 14px auto 0 !important;
    background: none !important;
    background-image: none !important;
    color: var(--ncy-ui-ink) !important;
    font-size: clamp(3.25rem, 6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: var(--ncy-ui-ink) !important;
    text-wrap: balance;
}

html body.blog.blog .ncy-knowledge-hub > header.ncy-knowledge-hero,
html body.category.category .ncy-knowledge-archive > header.ncy-knowledge-archive__hero,
html body.search.search .ncy-knowledge-archive > header.ncy-knowledge-archive__hero,
html body.tag.tag .ncy-knowledge-archive > header.ncy-knowledge-archive__hero,
html body.page.page:not(.ncy-refreshed) .ncy-faq-hub,
html body.page.page:not(.ncy-refreshed) .ncy-faq-hub__hero,
html body.page.page:not(.ncy-refreshed) .ncy-review-shell,
html body.page.page:not(.ncy-refreshed) .ncy-review-shell__hero {
    background: transparent !important;
    background-image: none !important;
}

html body.category.category section.ncy-knowledge-archive-cta,
html body.search.search section.ncy-knowledge-archive-cta,
html body.tag.tag section.ncy-knowledge-archive-cta {
    background: var(--ncy-ui-ink) !important;
    background-image: none !important;
    color: #ffffff !important;
}

html body.category.category section.ncy-knowledge-archive-cta :is(h2, h3, p, a),
html body.search.search section.ncy-knowledge-archive-cta :is(h2, h3, p, a),
html body.tag.tag section.ncy-knowledge-archive-cta :is(h2, h3, p, a) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--service-agreement .ncy-legal-document,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--privacy-policy .ncy-legal-document,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--refund-policy .ncy-legal-document,
html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--minor-privacy .ncy-legal-document {
    width: min(100%, var(--ncy-ui-reading)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    background: var(--ncy-ui-surface) !important;
    color: var(--ncy-ui-copy) !important;
}

@media (max-width: 700px) {
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--common-questions > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--customer-reviews > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--service-agreement > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--privacy-policy > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--refund-policy > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--minor-privacy > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--samples > header.ncy-page-header h1,
    html body.page.page:not(.ncy-refreshed) article.ncy-page.ncy-page--child-renaming > header.ncy-page-header h1,
    html body.blog.blog .ncy-knowledge-hub > header.ncy-knowledge-hero h1,
    html body.category.category .ncy-knowledge-archive > header.ncy-knowledge-archive__hero h1,
    html body.search.search .ncy-knowledge-archive > header.ncy-knowledge-archive__hero h1,
    html body.tag.tag .ncy-knowledge-archive > header.ncy-knowledge-archive__hero h1 {
        font-size: clamp(2.5rem, 13vw, 3.5rem) !important;
        letter-spacing: -0.045em !important;
    }
}

/* One-result topic archives read as a focused article recommendation, not a
 * half-empty grid. Keep the card on the editorial centre line. */
html body.tag #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content .ncy-knowledge-list--archive:has(> .ncy-knowledge-list__item:only-child) {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 820px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html body.tag #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content .ncy-knowledge-list--archive > .ncy-knowledge-list__item:only-child {
    width: 100% !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* The existing consolidation layer contains high-specificity emergency rules.
 * This single final gate deliberately outranks them so every legacy surface
 * resolves to the shared system without editing page content. */
html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content {
    background: var(--ncy-ui-paper) !important;
    background-image: none !important;
    color: var(--ncy-ui-ink) !important;
}

html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content :is(
    article.ncy-page,
    .ncy-faq-hub,
    .ncy-faq-hub__hero,
    .ncy-review-shell,
    .ncy-review-shell__hero,
    .ncy-knowledge-hub,
    .ncy-knowledge-archive,
    .ncy-knowledge-hero,
    .ncy-knowledge-archive__hero
) {
    background-color: transparent !important;
    background-image: none !important;
}

html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content :is(
    .ncy-page-header,
    .ncy-knowledge-hero,
    .ncy-knowledge-archive__hero
) {
    width: min(100%, 920px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
    text-align: center !important;
}

html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content :is(
    .ncy-page-header,
    .ncy-knowledge-hero,
    .ncy-knowledge-archive__hero
) h1 {
    max-width: 920px !important;
    margin: 14px auto 0 !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--ncy-ui-ink) !important;
    font-size: clamp(3.25rem, 6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: var(--ncy-ui-ink) !important;
    text-wrap: balance !important;
}

html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content :is(
    .ncy-page-header,
    .ncy-knowledge-hero,
    .ncy-knowledge-archive__hero
) .ncy-eyebrow {
    color: var(--ncy-ui-rust) !important;
    -webkit-text-fill-color: var(--ncy-ui-rust) !important;
}

html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content .ncy-knowledge-archive-cta {
    background: var(--ncy-ui-ink) !important;
    background-image: none !important;
}

@media (max-width: 700px) {
    html body #main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content#main-content :is(
        .ncy-page-header,
        .ncy-knowledge-hero,
        .ncy-knowledge-archive__hero
    ) h1 {
        font-size: clamp(2.5rem, 13vw, 3.5rem) !important;
        letter-spacing: -0.045em !important;
    }
}
