/*
 * pn-pages.css (2026-11-18): the company, legal and simple pages in the pn-system look (/pricing), plus the
 * overlays every marketing page can open.
 *
 * Part A: pages. /about, /contact, /new, /terms, /privacy, /data-protection-statement, /security, the 404 page
 *   and the gdpr pages (/request-my-data and the two signed-in request pages). Their templates set body.pnp and
 *   main.pnp-main and use the pn-system components (.pns-hero, .pns-sheet, .pns-w, .pns-btn) with the .pnp-*
 *   parts below. Every Part A selector starts with body.pnp, so this file changes no other page.
 *   Shared markup: common/v3/pn_pages_kit.pug (icons, cards, legal sections and their contents list).
 * Part B: overlays, unscoped on purpose: the language modal (#changelanguage, common/frontend_change_lang.pug),
 *   Foundation's reveal backdrop, the closing CTA panel (common/v3/frontend_cta_panel.pug, base rules in
 *   theme-2026.css) and tippy tooltips. The cookie banner, the exit-intent modal and the email capture block
 *   keep their own files (cookie-banner.css, exit-intent-modal.css, email-capture.css).
 *
 * Tokens only (pn-system.css :root). Legacy app.css / app-critical.css style h1-h4, p, ul, a, main > section
 * and .inner-wrap; the rules here carry enough weight (html body.pnp ...) to win, with !important only where a
 * legacy rule already uses it. Every edit: bump ?v= on each link to this file (served immutable).
 */

/* ===================================================================================================== */
/* Part A. Pages                                                                                         */
/* ===================================================================================================== */

/* ---------- Canvas: ink between the header and the footer (app.css paints .inner-wrap grey) ---------- */
html body.pnp,
html body.pnp .off-canvas-wrap,
html body.pnp .inner-wrap {
    background: var(--pns-ink);
}

/* Foundation's off-canvas wrapper is overflow:hidden, which turns it into a scroll container and stops
 * position:sticky (the legal contents list). clip paints the same and creates no scroll container. */
html body.pnp .off-canvas-wrap {
    overflow: clip;
}

html body.pnp main.pnp-main {
    display: block;
    margin: 0 !important;
    padding: 0 0 var(--pns-inset) !important;
    background: var(--pns-ink) !important;
    color: var(--pns-text);
    text-align: left;
}

html body.pnp main.pnp-main > section {
    box-sizing: border-box;
}

/* The phone bar (nav.tab-bar, to 1,280px) is fixed. Pages on app.css get a .pn-bar-spacer under it from the
 * header partial; pages on app-critical.css (about, contact, privacy, new) clear it here (theme-2026.css). */
@media (max-width: 1280px) {
    html body.pnp:not(:has(.pn-bar-spacer)) main.pnp-main,
    html body.pnp:not(:has(.pn-bar-spacer)) main#hero.pnp-main {
        padding-top: 4.55rem !important;
    }
}

/* app.css draws a purple square before every list item in a page body; these pages use plain lists. */
html body.pnp main.pnp-main li::before {
    content: none !important;
    display: none !important;
}

/* ---------- Hero: the ink band, left-aligned on the page edge ---------- */
html body.pnp main.pnp-main > section.pnp-hero {
    padding: clamp(40px, 3.6vw, 56px) 0 clamp(32px, 3vw, 48px);
    text-align: left;
}

html body.pnp .pnp-hero h1 {
    max-width: 30ch;
    margin: 0;
    color: var(--pns-on-ink);
}

html body.pnp .pnp-hero .pns-eyebrow {
    margin: 0 0 16px;
}

html body.pnp .pnp-hero p.pns-lead {
    max-width: 640px;
    margin: 16px 0 0;
    color: var(--pns-on-ink-2);
}

html body.pnp .pnp-hero p.pnp-hero__meta {
    margin: 14px 0 0;
    color: var(--pns-on-ink-2);
    font-size: var(--pns-small);
    line-height: 1.5;
}

html body.pnp .pnp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* Title left, lead right on wide screens (about, contact): one short band instead of a tall stack. */
@media (min-width: 1024px) {
    html body.pnp .pnp-hero--split > .pns-w {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: 48px;
        align-items: end;
    }

    html body.pnp .pnp-hero--split p.pns-lead {
        margin: 0;
    }
}

/* ---------- Sheets: a run of consecutive sheets reads as one (rounded first and last) ---------- */
html body.pnp main.pnp-main > section.pns-sheet {
    padding: var(--pns-y) 0;
}

html body.pnp main.pnp-main > section.pns-sheet + section.pns-sheet {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

html body.pnp main.pnp-main > section.pns-sheet:has(+ section.pns-sheet) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Section head inside a sheet: H2 and an optional line under it. */
html body.pnp .pnp-head {
    margin: 0 0 24px;
}

html body.pnp .pnp-main h2.pns-h2 {
    margin: 0;
    color: var(--pns-text);
    font-size: var(--pns-h2);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: var(--pns-track-h2);
    text-wrap: balance;
}

html body.pnp .pnp-head p {
    max-width: 640px;
    margin: 12px 0 0;
    color: var(--pns-text-2);
    font-size: var(--pns-lead);
    line-height: 1.55;
}

html body.pnp .pnp-main :is(h2, h3).pnp-h3 {
    margin: 0;
    color: var(--pns-text);
    font-size: var(--pns-h3) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: var(--pns-track-h3);
}

/* Text links inside sheets and cards: ink, underlined (lime is never text on white). */
html body.pnp .pns-sheet :where(a:not(.pns-btn):not(.pnp-card)) {
    color: var(--pns-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

html body.pnp .pns-sheet :where(a:not(.pns-btn):not(.pnp-card)):hover {
    text-decoration-thickness: 2px;
}

/* A row of text links (see all features, see pricing ...) */
html body.pnp .pnp-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--pns-body);
    font-weight: 500;
}

html body.pnp .pnp-links li {
    margin: 0;
    font-size: inherit;
    line-height: 1.3;
}

html body.pnp .pnp-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

html body.pnp .pnp-links svg {
    flex: none;
}

/* ---------- Cards ---------- */
html body.pnp .pnp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

html body.pnp .pnp-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

html body.pnp .pnp-card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--pns-line);
    border-radius: var(--pns-r-card);
    background: var(--pns-card);
    color: var(--pns-text);
    text-align: left;
    text-decoration: none;
}

html body.pnp a.pnp-card {
    transition: border-color .15s var(--pns-ease);
}

html body.pnp a.pnp-card:hover {
    border-color: var(--pns-text-3);
    color: var(--pns-text);
}

html body.pnp a.pnp-card:focus-visible {
    outline: 2px solid var(--pns-focus);
    outline-offset: 2px;
}

html body.pnp .pnp-card__ico {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    border-radius: var(--pns-r-btn);
    background: var(--pns-mist);
    color: var(--pns-text);
}

html body.pnp .pnp-card__title {
    margin: 0;
    color: var(--pns-text);
    font-size: var(--pns-h4);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

html body.pnp .pnp-card p,
html body.pnp .pnp-card__desc {
    margin: 0;
    color: var(--pns-text-2);
    font-size: var(--pns-small);
    font-weight: 400;
    line-height: 1.55;
}

/* A linked card shows an arrow in its top-right corner, level with the icon tile. */
html body.pnp .pnp-card__go {
    position: absolute;
    top: 30px;
    right: 20px;
    display: flex;
    color: var(--pns-text-3);
}

html body.pnp a.pnp-card:hover .pnp-card__go {
    color: var(--pns-text);
}

/* A text card (who runs it, your accounts, contact ways): title, words, links. */
html body.pnp .pnp-card--text {
    gap: 10px;
    padding: 24px;
}

html body.pnp .pnp-card--text p {
    font-size: var(--pns-body);
    line-height: 1.6;
}

html body.pnp .pnp-card--text .pnp-links {
    margin-top: 4px;
}

/* The address on a contact card: the thing people copy, so it reads large. */
html body.pnp .pnp-card a.pnp-card__big {
    color: var(--pns-text);
    font-size: var(--pns-h3);
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Chips: the sister products under "who runs it". */
html body.pnp .pnp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

html body.pnp .pnp-chips li {
    margin: 0;
    font-size: var(--pns-small);
}

html body.pnp .pns-sheet .pnp-chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--pns-line);
    border-radius: var(--pns-r-btn);
    background: var(--pns-card);
    color: var(--pns-text);
    font-size: var(--pns-small);
    font-weight: 500;
    text-decoration: none;
}

html body.pnp .pns-sheet .pnp-chips a:hover {
    border-color: var(--pns-text-3);
}

/* ---------- Legal documents: one readable column on a white sheet, contents beside it ---------- */
html body.pnp .pnp-doc-wrap {
    display: block;
}

html body.pnp .pnp-doc {
    max-width: 72ch;
    color: var(--pns-text-2);
    font-size: var(--pns-body);
}

html body.pnp .pnp-doc > :first-child {
    margin-top: 0 !important;
}

html body.pnp .pnp-doc p,
html body.pnp .pnp-doc li {
    margin: 0 0 12px;
    color: var(--pns-text-2);
    font-size: var(--pns-body);
    line-height: 1.6;
}

html body.pnp .pnp-doc p:empty {
    display: none;
}

html body.pnp .pnp-doc :is(h2, h3) {
    margin: 36px 0 10px;
    color: var(--pns-text);
    font-size: var(--pns-h3) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: var(--pns-track-h3) !important;
    text-align: left;
    scroll-margin-top: 96px;
}

html body.pnp .pnp-doc :is(h4, h3.pnp-sub) {
    margin: 24px 0 8px;
    color: var(--pns-text);
    font-size: var(--pns-h4);
    font-weight: 500;
    line-height: 1.3;
    scroll-margin-top: 96px;
}

html body.pnp .pnp-doc :is(strong, b) {
    color: var(--pns-text);
    font-weight: 600;
}

html body.pnp .pnp-doc :is(ul, ol) {
    margin: 0 0 16px;
    padding-left: 22px;
    font-size: var(--pns-body);
}

html body.pnp .pnp-doc ul {
    list-style: disc;
}

html body.pnp .pnp-doc ol {
    list-style: decimal;
}

html body.pnp .pnp-doc li {
    margin-bottom: 8px;
}

html body.pnp .pns-sheet .pnp-doc a {
    overflow-wrap: anywhere;
}

html body.pnp .pnp-doc code {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--pns-mist);
    color: var(--pns-text);
    font-size: 0.875em;
}

/* The translation notice at the top of a translated legal page. */
html body.pnp .pnp-doc p.pnp-doc__note {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--pns-r-field);
    background: var(--pns-mist);
    font-size: var(--pns-small);
}

/* Contents: hidden below 1100px (it would push the text a screen down); sticky beside the text above. */
html body.pnp .pnp-toc {
    display: none;
}

@media (min-width: 1100px) {
    html body.pnp .pnp-doc-wrap {
        display: grid;
        grid-template-columns: minmax(0, 72ch) minmax(200px, 280px);
        justify-content: space-between;
        gap: 48px;
        align-items: start;
    }

    html body.pnp .pnp-toc {
        display: block;
        position: sticky;
        top: 24px;
        max-height: calc(100vh - 48px);
        overflow: auto;
        padding: 4px 0 4px 20px;
        border-left: 1px solid var(--pns-line);
    }

    html body.pnp .pnp-toc ol {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    html body.pnp .pnp-toc li {
        margin: 0;
        padding: 0;
        font-size: var(--pns-small);
        line-height: 1.35;
    }

    html body.pnp .pns-sheet .pnp-toc a {
        display: block;
        padding: 6px 0;
        color: var(--pns-text-2);
        font-size: var(--pns-small);
        font-weight: 400;
        line-height: 1.35;
        text-decoration: none;
    }

    html body.pnp .pns-sheet .pnp-toc a:hover {
        color: var(--pns-text);
        text-decoration: underline;
    }
}

/* ---------- What's new: release notes and the latest articles ---------- */
html body.pnp .pnp-notes {
    max-width: 72ch;
}

html body.pnp .pnp-notes .wn-month {
    margin: 32px 0 0;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--pns-line);
    color: var(--pns-text-3);
    font-size: var(--pns-micro);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

html body.pnp .pnp-notes .wn-month:first-of-type {
    margin-top: 0;
}

html body.pnp .pnp-notes .wn-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.pnp .pnp-notes .wn-entry {
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--pns-line-soft);
}

html body.pnp .pnp-notes .wn-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 6px;
    color: var(--pns-text-3);
    font-size: var(--pns-micro);
}

html body.pnp .pnp-notes .wn-tag {
    padding: 3px 9px;
    border-radius: var(--pns-r-chip);
    background: var(--pns-lime-tint);
    color: var(--pns-lime-deep);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

html body.pnp .pnp-notes .wn-entry h3 {
    margin: 0 0 6px;
    color: var(--pns-text);
    font-size: var(--pns-h4) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

html body.pnp .pnp-notes .wn-entry p {
    margin: 0 0 6px;
    color: var(--pns-text-2);
    font-size: var(--pns-body);
    line-height: 1.6;
}

html body.pnp .pnp-notes .wn-feedlinks,
html body.pnp .pnp-notes .wn-attribution {
    margin: 20px 0 0;
    color: var(--pns-text-3);
    font-size: var(--pns-small);
}

html body.pnp .pnp-notes .wn-feedlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

/* Latest articles: theme_v3.js appendArticles() writes the cards (.col.span_1_of_4 > .courselink ...)
 * into .latest .blog-post-list; these rules turn that legacy markup into four plain cards. */
html body.pnp .pnp-articles .latest .blog-post-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
}

html body.pnp .pnp-articles .blog-post-list > .col {
    float: none;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--pns-r-card);
    box-shadow: none !important;
    transform: none !important;
}

html body.pnp .pnp-articles .blog-post-list .courselink {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: var(--pns-r-card);
    background: var(--pns-card) !important;
    box-shadow: none !important;
    transform: none !important;
}

html body.pnp .pnp-articles .blog-post-list a.courselink::before {
    content: none !important;
}

html body.pnp .pnp-articles .blog-post-list a.courselink {
    border: 0;
    border-radius: 0;
    color: var(--pns-text);
    text-decoration: none;
}

html body.pnp .pnp-articles .blog-post-list .media {
    display: block;
    margin: 0;
    padding: 0;
    background: var(--pns-mist);
}

html body.pnp .pnp-articles .blog-post-list .media__image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

html body.pnp .pnp-articles .blog-post-list :is(.media__body, .col-gradient, .clearfix) {
    display: none !important;
}

html body.pnp .pnp-articles .blog-post-list :is(.col-details-movefront, .col-details, .col-bottom-container, .col-bottom) {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
}

html body.pnp .pnp-articles .blog-post-list .col-details-movefront {
    padding: 16px 18px 0 !important;
}

html body.pnp .pnp-articles .blog-post-list h4.title2 {
    margin: 0 !important;
    color: var(--pns-text) !important;
    font-size: var(--pns-h4) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

html body.pnp .pnp-articles .blog-post-list .courseurl {
    color: inherit !important;
}

html body.pnp .pnp-articles .blog-post-list .col-bottom-container {
    margin-top: auto !important;
    padding: 12px 18px 18px !important;
}

html body.pnp .pnp-articles .blog-post-list ul.options {
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.pnp .pnp-articles .blog-post-list ul.options li {
    margin: 0;
    color: var(--pns-text-3);
    font-size: var(--pns-small);
    font-weight: 500;
    text-align: left;
}

html body.pnp .pnp-articles .pnp-articles__more {
    margin: 24px 0 0;
}

/* ---------- 404: the way back ---------- */
html body.pnp .pnp-404-code {
    margin: 0 0 16px;
}

/* ---------- GDPR request forms ---------- */
html body.pnp .pnp-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 0;
}

html body.pnp .pnp-form input:is([type='email'], [type='text']) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--pns-field);
    border-radius: var(--pns-r-field);
    background: var(--pns-card);
    box-shadow: none;
    color: var(--pns-text);
    font-size: 16px;
}

html body.pnp .pnp-form input:is([type='email'], [type='text']):focus {
    border-color: var(--pns-text);
    outline: 2px solid var(--pns-focus);
    outline-offset: 1px;
    background: var(--pns-card);
    box-shadow: none;
}

html body.pnp .pnp-form .pns-btn {
    align-self: flex-start;
}

html body.pnp .pnp-form small,
html body.pnp .pnp-card small {
    color: var(--pns-text-3);
    font-size: var(--pns-small);
    line-height: 1.5;
}

html body.pnp :is(.errorInput, .errorGeneral) {
    display: block;
    margin: 0;
    color: var(--pns-text);
    font-size: var(--pns-small);
    font-weight: 500;
}

html body.pnp .errorGeneral:empty,
html body.pnp .errorInput:empty {
    display: none;
}

/* The one-time code on the request page. */
html body.pnp .pnp-code {
    margin: 4px 0 0;
    color: var(--pns-text);
    font-size: var(--pns-h2);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

html body.pnp .pnp-note {
    margin: 0;
    color: var(--pns-text-2);
    font-size: var(--pns-small);
    line-height: 1.55;
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 1023px) {
    html body.pnp .pnp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body.pnp .pnp-articles .latest .blog-post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    html body.pnp .pnp-grid,
    html body.pnp .pnp-grid--2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    html body.pnp .pnp-card {
        padding: 14px 16px;
    }

    /* Phone: icon beside the words, so a list of cards is one compact row each. */
    html body.pnp .pnp-grid a.pnp-card {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 14px;
        row-gap: 2px;
    }

    html body.pnp .pnp-grid a.pnp-card .pnp-card__ico {
        grid-row: 1 / span 2;
        margin: 0;
    }

    html body.pnp .pnp-grid a.pnp-card .pnp-card__title {
        grid-column: 2;
    }

    html body.pnp .pnp-grid a.pnp-card .pnp-card__desc {
        grid-column: 2;
    }

    html body.pnp .pnp-grid a.pnp-card .pnp-card__go {
        position: static;
        grid-column: 3;
        grid-row: 1 / span 2;
        margin: 0;
        padding: 0;
    }

    html body.pnp .pnp-card--text {
        padding: 20px;
    }

    /* Phones: a text card starts with its title; the icon tile would only add a row. */
    html body.pnp .pnp-card--text > .pnp-card__ico {
        display: none;
    }

    html body.pnp .pnp-head p {
        font-size: var(--pns-body);
    }

    html body.pnp .pnp-head {
        margin-bottom: 20px;
    }

    html body.pnp .pnp-doc :is(h2, h3) {
        margin-top: 28px;
    }

    html body.pnp .pnp-hero__actions .pns-btn {
        flex: 1 1 auto;
    }

    /* Phones: two small cards a row, picture and title only. */
    html body.pnp .pnp-articles .latest .blog-post-list {
        gap: 8px;
    }

    html body.pnp .pnp-articles .blog-post-list .col-details-movefront {
        padding: 10px 12px 12px !important;
    }

    html body.pnp .pnp-articles .blog-post-list h4.title2 {
        font-size: var(--pns-small) !important;
    }

    html body.pnp .pnp-articles .blog-post-list .col-bottom-container {
        display: none !important;
    }

    html body.pnp .pnp-code {
        font-size: var(--pns-h2-sm);
    }
}

/* ===================================================================================================== */
/* Part A2. Company pages, 2026-11-18 night ("Looks alive", docs/revamp-2026-11-18/PAGE-PATTERN.md)       */
/*   /about and /new: large pictures with real photos and network logos (pn_pages_kit.pug "Pictures"),    */
/*   /contact: three cards with one action each, 404: one centred block, legal pages: a reading column.   */
/* ===================================================================================================== */

/* ---------- Pictures: shared parts ---------- */
html body.pnp .pnpv {
    box-sizing: border-box;
    width: 100%;
    color: var(--pns-text);
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 0;
}

html body.pnp .pnpv *,
html body.pnp .pnpv *::before,
html body.pnp .pnpv *::after {
    box-sizing: border-box;
}

html body.pnp .pnpv-win {
    padding: 14px;
    border: 1px solid var(--pns-line);
    border-radius: 20px;
    background: var(--pns-card);
}

html body.pnp .pnpv-logo {
    display: block;
    flex: none;
    max-width: none;
}

html body.pnp .pnpv-photo {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;
}

html body.pnp .pnpv-tick {
    flex: none;
}

html body.pnp .pnpv-tick circle {
    fill: var(--pns-lime);
}

html body.pnp .pnpv-tick path {
    stroke: var(--pns-on-lime);
}

html body.pnp .pnpv-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--pns-mist);
    color: var(--pns-text-2);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

html body.pnp .pnpv-chip--pub {
    background: var(--pns-lime-tint);
    color: var(--pns-lime-deep);
}

html body.pnp .pnpv-chip--next {
    background: var(--pns-lime);
    color: var(--pns-on-lime);
}

html body.pnp .pnpv-chip--ai {
    background: var(--pns-tint-sky);
    color: #1e4fbf;
}

html body.pnp .pnpv-logo-tile {
    display: grid;
    place-items: center;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--pns-mist);
}

html body.pnp .pnpv-logo-tile--lg {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

/* The window bar: dots, two tabs, the connected networks. */
html body.pnp .pnpv-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

html body.pnp .pnpv-bar__dots {
    display: flex;
    gap: 5px;
    margin-right: 6px;
}

html body.pnp .pnpv-bar__dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--pns-line);
}

html body.pnp .pnpv-bar__tab {
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-weight: 600;
}

html body.pnp .pnpv-bar__tab.is-on {
    background: var(--pns-ink);
    color: #ffffff;
}

html body.pnp .pnpv-bar__nets {
    display: flex;
    gap: 7px;
    margin-left: auto;
}

/* A post card: photo, network and time, caption, status. */
html body.pnp .pnpv-post {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 6px 10px;
    border-radius: 14px;
    background: var(--pns-mist);
}

html body.pnp .pnpv-post .pnpv-photo {
    aspect-ratio: 4 / 5;
    border-radius: 10px;
}

html body.pnp .pnpv-post__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 9px 4px 4px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 600;
}

html body.pnp .pnpv-post__text {
    display: -webkit-box;
    min-height: 2.6em;
    margin: 0 4px 9px;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

html body.pnp .pnpv-post .pnpv-chip {
    margin: auto 0 0 4px;
}

html body.pnp .pnpv-post.is-next {
    box-shadow: inset 0 0 0 2px var(--pns-lime);
    background: var(--pns-lime-tint);
}

/* About hero: four days. */
html body.pnp .pnpv-board__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

html body.pnp .pnpv-board__day {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

html body.pnp .pnpv-board__label {
    margin: 0 0 7px 4px;
    color: var(--pns-text-3);
    font-size: 12px;
    font-weight: 600;
}

html body.pnp .pnpv-board .pnpv-post {
    flex: 1;
}

/* Queue. */
html body.pnp .pnpv-queue__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.pnp .pnpv-queue__list li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    background: var(--pns-mist);
}

html body.pnp .pnpv-queue__list .pnpv-photo {
    aspect-ratio: 4 / 3;
    border-radius: 9px;
}

html body.pnp .pnpv-queue__body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

html body.pnp .pnpv-queue__text {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

html body.pnp .pnpv-queue__when {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pns-text-3);
    font-size: 12.5px;
    font-weight: 500;
}

/* Draft in the composer. */
html body.pnp .pnpv-draft__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

html body.pnp .pnpv-draft__head > .pnpv-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

html body.pnp .pnpv-draft__who {
    display: grid;
    gap: 2px;
    margin-right: auto;
}

html body.pnp .pnpv-draft__who b {
    font-size: 14px;
    font-weight: 600;
}

html body.pnp .pnpv-draft__who em {
    color: var(--pns-text-3);
    font-size: 12px;
    font-style: normal;
}

html body.pnp .pnpv-draft > .pnpv-win > .pnpv-photo {
    aspect-ratio: 2 / 1;
    border-radius: 14px;
}

html body.pnp .pnpv-draft__text {
    display: block;
    margin: 12px 2px 0;
    font-size: 14px;
    line-height: 1.45;
}

html body.pnp .pnpv-draft__tags {
    display: block;
    margin: 6px 2px 14px;
    color: #1e4fbf;
    font-size: 13px;
    font-weight: 500;
}

html body.pnp .pnpv-draft__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--pns-line);
}

html body.pnp .pnpv-draft__btn {
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    font-size: 13px;
    font-weight: 600;
}

/* Typing caret while pn-motion.js types the caption. */
html body.pnp .pnpv [data-pnv-type].is-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: currentColor;
    vertical-align: -2px;
    animation: pnp-caret 1s steps(1) infinite;
}

/* People. */
html body.pnp .pnpv-people {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

html body.pnp .pnpv-person {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px 8px 12px;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
}

html body.pnp .pnpv-person .pnpv-photo {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
}

html body.pnp .pnpv-person__label {
    margin: 11px 4px 8px;
    font-size: 14px;
    font-weight: 600;
}

html body.pnp .pnpv-person__nets {
    display: flex;
    gap: 6px;
    padding: 0 4px;
}

/* Connected accounts. */
html body.pnp .pnpv-acc__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.pnp .pnpv-acc__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 4px 4px;
    border-bottom: 1px solid var(--pns-line-soft);
}

html body.pnp .pnpv-acc__list li:last-child {
    border-bottom: 0;
}

html body.pnp .pnpv-acc__name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

/* /new: network tiles. */
html body.pnp .pnpv-nets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

html body.pnp .pnpv-nets__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 4px 12px;
    border-radius: 14px;
    background: var(--pns-card);
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
}

/* /new: the feed planner. */
html body.pnp .pnpv-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
}

html body.pnp .pnpv-feed__cell {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
}

html body.pnp .pnpv-feed__cell .pnpv-photo {
    width: 100%;
    height: 100%;
}

html body.pnp .pnpv-feed__cell.is-on {
    box-shadow: 0 0 0 3px var(--pns-lime);
    overflow: visible;
}

html body.pnp .pnpv-feed__cell.is-on .pnpv-photo {
    border-radius: 6px;
}

html body.pnp .pnpv-feed__tools {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}

html body.pnp .pnpv-feed__tools i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--pns-text);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
}

/* /new: chat with an assistant. */
html body.pnp .pnpv-chat .pnpv-win {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

html body.pnp .pnpv-chat__ask {
    align-self: flex-end;
    max-width: 86%;
    padding: 10px 13px;
    border-radius: 16px 16px 4px 16px;
    background: var(--pns-ink);
    color: #ffffff;
    font-size: 13.5px;
}

html body.pnp .pnpv-chat__reply {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 92%;
    padding: 10px 13px;
    border-radius: 16px 16px 16px 4px;
    background: var(--pns-mist);
    font-size: 13.5px;
}

html body.pnp .pnpv-chat__mark {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pns-lime);
}

html body.pnp .pnpv-chat__drafts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

html body.pnp .pnpv-chat__draft {
    display: grid;
    gap: 5px;
}

html body.pnp .pnpv-chat__draft .pnpv-photo {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
}

html body.pnp .pnpv-chat__draft em {
    color: var(--pns-text-3);
    font-size: 11.5px;
    font-style: normal;
    font-weight: 600;
}

/* /new: Reels. */
html body.pnp .pnpv-reels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

html body.pnp .pnpv-reel {
    position: relative;
    aspect-ratio: 9 / 15;
    overflow: hidden;
    border-radius: 14px;
}

html body.pnp .pnpv-reel .pnpv-photo {
    width: 100%;
    height: 100%;
}

html body.pnp .pnpv-reel__play {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.55);
}

html body.pnp .pnpv-reel__play::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 10px;
    border-width: 5px 0 5px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

html body.pnp .pnpv-reel__when {
    position: absolute;
    right: 7px;
    bottom: 7px;
    left: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #ffffff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* 404: the empty slot. */
html body.pnp .pnpv-empty__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

html body.pnp .pnpv-empty .pnpv-post .pnpv-photo {
    aspect-ratio: 1;
}

html body.pnp .pnpv-empty .pnpv-post__meta {
    white-space: nowrap;
}

@media (max-width: 640px) {
    html body.pnp .pnpv-empty .pnpv-post__meta {
        gap: 4px;
        font-size: 11px;
    }
}

html body.pnp .pnpv-empty__slot {
    display: grid;
    place-items: center;
    border: 2px dashed var(--pns-field);
    border-radius: 14px;
    color: var(--pns-text-3);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Entrance: one rise per picture part, once (pn-motion.js adds .is-in). */
@keyframes pnp-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes pnp-caret {
    50% { opacity: 0; }
}

.pns-motion body.pnp [data-pnv] .pnpv-step {
    opacity: 0;
}

.pns-motion body.pnp [data-pnv].is-in .pnpv-step {
    animation: pnp-rise 0.55s var(--pns-ease) both;
    animation-delay: calc(var(--i, 0) * 120ms + 80ms);
}

@media (prefers-reduced-motion: reduce) {
    .pns-motion body.pnp [data-pnv] .pnpv-step {
        opacity: 1;
        animation: none !important;
    }
}

/* ---------- Inner-page hero on these pages (pn-system .pns-pagehero; the band adds no second padding) ---------- */
html body.pnp main.pnp-main > section.pnp-pagehero {
    padding: 0;
}

html body.pnp .pnp-pagehero .pns-pagehero {
    min-height: 0;
}

/* The picture gets the wider half here (about 640px at 1512). */
@media (min-width: 1024px) {
    html body.pnp .pnp-pagehero .pns-pagehero {
        grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
    }
}

html body.pnp .pnpv-queue__list .pnpv-chip,
html body.pnp .pnpv-acc__list .pnpv-chip {
    align-self: center;
}

html body.pnp .pnp-pagehero .pns-pagehero__cta {
    align-items: center;
    gap: 22px;
}

html body.pnp a.pnp-textlink,
html body.pnp a.pnp-textlink:is(:hover, :focus, :active) {
    color: var(--pns-on-ink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* A drawn picture inside a wide card fills its stage; the window sits on the card's tint (no second white frame). */
html body.pnp .pns-feature__visual:has(> .pnpv) {
    min-height: 0;
    padding: clamp(8px, 1.6vw, 24px);
    background: transparent;
}

html body.pnp .pns-feature:has(.pnpv) {
    min-height: 0;
}

html body.pnp .pns-feature__visual > .pnpv {
    width: min(100%, 470px);
}

html body.pnp .pns-feature__visual > .pnpv-people {
    width: min(100%, 520px);
}

/* ---------- What's new: a timeline of cards ---------- */
html body.pnp main.pnp-main > section.pnp-hero.pnp-wnhero {
    padding-bottom: clamp(36px, 3.4vw, 52px);
}

html body.pnp .pnp-wnhero a.pnp-textlink {
    display: inline-block;
    margin-top: 18px;
}

html body.pnp .pnp-tl {
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.pnp .pnp-tl > li {
    position: relative;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 40px;
    margin: 0;
    padding: 0 0 16px;
}

/* The rail: a line in the gap between the date and the card, a dot at each entry. */
html body.pnp .pnp-tl > li::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 179px;
    width: 2px;
    background: var(--pns-line);
}

html body.pnp .pnp-tl > li:first-child::after {
    top: 34px;
}

html body.pnp .pnp-tl__dot {
    position: absolute;
    top: 28px;
    left: 173px;
    z-index: 1;
    width: 14px;
    height: 14px;
    border: 3px solid var(--pns-mist);
    border-radius: 50%;
    background: var(--pns-text-3);
}

html body.pnp .pnp-tl > li:first-child .pnp-tl__dot {
    background: var(--pns-lime);
    box-shadow: 0 0 0 1px var(--pns-lime-deep);
}

html body.pnp .pnp-tl__date {
    padding-top: 26px;
    color: var(--pns-text-2);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

html body.pnp .pnp-tl__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 24px 28px;
    border: 1px solid var(--pns-line);
    border-radius: var(--pns-r-card);
    background: var(--pns-card);
}

html body.pnp .pnp-tl__card.has-visual {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    padding: 16px 16px 16px 28px;
}

html body.pnp .pnp-tl__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pns-mist);
    color: var(--pns-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

html body.pnp .pnp-tl__tag--new { background: var(--pns-lime); color: var(--pns-on-lime); }
html body.pnp .pnp-tl__tag--improved { background: var(--pns-tint-sky); color: #1e4fbf; }
html body.pnp .pnp-tl__tag--changed { background: var(--pns-tint-sand); color: #6b4e0f; }

html body.pnp h3.pnp-tl__title {
    margin: 12px 0 8px !important;
    color: var(--pns-text) !important;
    font-size: clamp(20px, 1.7vw, 24px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

html body.pnp p.pnp-tl__text {
    max-width: 56ch;
    margin: 0 !important;
    color: var(--pns-text-2) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

html body.pnp .pns-sheet a.pnp-tl__more {
    display: inline-block;
    margin-top: 14px;
    color: var(--pns-text);
    font-size: 15px;
    font-weight: 500;
}

html body.pnp .pnp-tl__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 20px;
    border-radius: 16px;
}

html body.pnp .pnp-tl__visual--sky { background: var(--pns-tint-sky); }
html body.pnp .pnp-tl__visual--peach { background: var(--pns-tint-peach); }
html body.pnp .pnp-tl__visual--mint { background: var(--pns-tint-mint); }
html body.pnp .pnp-tl__visual--sand { background: var(--pns-tint-sand); }

html body.pnp .pnp-tl__visual > .pnpv {
    width: min(100%, 300px);
}

html body.pnp .pnp-tl__visual > .pnpv-feed {
    width: min(100%, 230px);
}

html body.pnp .pnp-tl.is-short > li.is-older {
    display: none;
}

html body.pnp .pnp-tl__older {
    margin: 8px 0 0 200px;
}

html body.pnp .pnp-tl__older[hidden] {
    display: none;
}

html body.pnp .pnp-tl-feed {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 28px 0 0 200px;
    font-size: var(--pns-small);
}

/* ---------- Contact: three ways, one action each ---------- */
html body.pnp .pnp-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

html body.pnp .pnp-way {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 28px;
    border-radius: var(--pns-r-card);
}

html body.pnp .pnp-way--sky { background: var(--pns-tint-sky); }
html body.pnp .pnp-way--peach { background: var(--pns-tint-peach); }
html body.pnp .pnp-way--mint { background: var(--pns-tint-mint); }

html body.pnp .pnp-way__ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--pns-card);
    color: var(--pns-text);
}

html body.pnp h2.pnp-way__title {
    margin: 0 0 8px !important;
    color: var(--pns-text) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

html body.pnp .pns-sheet a.pnp-way__addr {
    margin: 0 0 8px;
    color: var(--pns-text);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

html body.pnp p.pnp-way__text {
    margin: 0 0 22px !important;
    color: var(--pns-text-2) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

html body.pnp .pnp-way .pns-btn {
    margin-top: auto;
}

html body.pnp p.pnp-company {
    margin: 24px 0 0 !important;
    color: var(--pns-text-3) !important;
    font-size: var(--pns-small) !important;
}

/* ---------- 404 (2026-11-19): words left, a week with one empty slot right, six ways on ---------- */
html body.pnp main.pnp-main > section.pnp-404 {
    padding: 0;
    text-align: left;
}

html body.pnp .pnp-404 .pnpv-empty {
    width: 100%;
    margin: 0;
}

html body.pnp .pnpv-empty--week .pnpv-empty__row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

html body.pnp .pnpv-empty--week .pnpv-post__meta {
    gap: 5px;
    font-size: 11.5px;
}

html body.pnp .pnpv-empty--week .pnpv-empty__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    text-align: center;
}

html body.pnp .pnpv-empty__code {
    color: var(--pns-text);
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

html body.pnp .pnpv-empty__note {
    color: var(--pns-text-3);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
}

html body.pnp section.pnp-404more h2.pnp-404more__title {
    margin: 0 0 20px !important;
    color: var(--pns-text) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

html body.pnp ul.pnp-404more__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html body.pnp ul.pnp-404more__grid > li {
    margin: 0;
    padding: 0;
}

html body.pnp a.pnp-404more__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    height: 100%;
    min-height: 76px;
    padding: 16px 44px 16px 18px;
    border: 1px solid var(--pns-line);
    border-radius: 16px;
    background: var(--pns-card);
    color: var(--pns-text);
    text-decoration: none;
    transition: border-color 0.15s var(--pns-ease), background-color 0.15s var(--pns-ease);
}

html body.pnp a.pnp-404more__tile:is(:hover, :focus-visible) {
    border-color: var(--pns-text-3);
    background: #ffffff;
    color: var(--pns-text);
}

html body.pnp .pnp-404more__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

html body.pnp .pnp-404more__text {
    color: var(--pns-text-2);
    font-size: 14px;
    line-height: 1.4;
}

html body.pnp .pnp-404more__arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--pns-text-3);
    transition: transform 0.15s var(--pns-ease);
}

html body.pnp a.pnp-404more__tile:is(:hover, :focus-visible) .pnp-404more__arrow {
    color: var(--pns-text);
    transform: translateX(2px);
}

@media (max-width: 900px) {
    html body.pnp ul.pnp-404more__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    html body.pnp .pnpv-empty--week .pnpv-empty__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html body.pnp .pnpv-empty--week .pnpv-post--outer {
        display: none;
    }

    html body.pnp ul.pnp-404more__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.pnp a.pnp-404more__tile,
    html body.pnp .pnp-404more__arrow {
        transition: none;
    }
}

/* ---------- Legal documents: a calmer reading column (wording unchanged) ---------- */
html body.pnp .pnp-doc,
html body.pnp .pnp-doc p,
html body.pnp .pnp-doc li {
    font-size: 17px;
    line-height: 1.75;
}

html body.pnp .pnp-doc p {
    margin: 0 0 16px;
}

/* A section title (h2 on /security, h3 on the others): a rule above it and room around it. */
html body.pnp .pnp-doc :is(h2, h3) {
    margin: 52px 0 16px;
    padding-top: 30px;
    border-top: 1px solid var(--pns-line);
    font-size: clamp(22px, 1.9vw, 26px) !important;
    letter-spacing: -0.025em !important;
}

html body.pnp .pnp-doc :is(h4, h3.pnp-sub) {
    margin: 30px 0 10px;
    font-size: 18px;
}

@media (min-width: 1100px) {
    html body.pnp .pnp-doc-wrap {
        grid-template-columns: minmax(0, 72ch) minmax(220px, 300px);
        gap: 64px;
    }

    html body.pnp .pnp-toc {
        top: 96px;
        max-height: calc(100vh - 120px);
    }

    html body.pnp .pns-sheet .pnp-toc a {
        padding: 7px 0;
        font-size: 14px;
    }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 1023px) {
    html body.pnp .pnp-ways {
        grid-template-columns: minmax(0, 1fr);
    }

    html body.pnp .pnp-tl > li {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 0 12px 28px;
    }

    html body.pnp .pnp-tl > li::after {
        left: 6px;
    }

    html body.pnp .pnp-tl__dot {
        top: 3px;
        left: 0;
    }

    html body.pnp .pnp-tl > li:first-child::after {
        top: 10px;
    }

    html body.pnp .pnp-tl__date {
        padding: 0 0 10px;
        text-align: left;
    }

    html body.pnp .pnp-tl__older,
    html body.pnp .pnp-tl-feed {
        margin-left: 28px;
    }
}

@media (max-width: 720px) {
    html body.pnp .pnp-tl__card,
    html body.pnp .pnp-tl__card.has-visual {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 20px;
    }

    html body.pnp .pnp-tl__card.has-visual .pnp-tl__visual {
        order: -1;
        min-height: 0;
        margin: -8px -8px 0;
    }
}

@media (max-width: 640px) {
    html body.pnp .pnpv-board__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body.pnp .pnpv-board__day:nth-child(n + 3) {
        display: none;
    }

    html body.pnp .pnpv-board .pnpv-post .pnpv-photo {
        aspect-ratio: 1;
    }

    html body.pnp .pnpv-bar__nets .pnpv-logo:nth-child(n + 4) {
        display: none;
    }

    html body.pnp .pnp-pagehero .pns-pagehero__cta {
        gap: 14px;
    }

    html body.pnp .pnp-way {
        padding: 22px;
    }

    html body.pnp .pnp-doc,
    html body.pnp .pnp-doc p,
    html body.pnp .pnp-doc li {
        font-size: 16px;
        line-height: 1.7;
    }

    html body.pnp .pnp-doc :is(h2, h3) {
        margin-top: 40px;
        padding-top: 24px;
    }
}

/* ===================================================================================================== */
/* Part B. Overlays (every marketing page)                                                               */
/* ===================================================================================================== */

/* ---------- Foundation reveal backdrop: ink scrim (app.css / app-critical.css paint it white 65%) ---------- */
.reveal-modal-bg {
    background: color-mix(in srgb, var(--pns-ink) 56%, transparent) !important;
}

/* ---------- Language modal (common/frontend_change_lang.pug) ----------
 * A compact white card on the ink scrim: title and close button, then one 48px row per language with a check on
 * the current one. Foundation reveal opens it (theme_v3.js: a.changelanguage), writes top/visibility/opacity
 * inline and closes it on Escape and a scrim click; .close-x-btn closes it too (theme_v3.js). It is fixed and
 * centred here, so the inline top Foundation writes for an absolute modal has no effect. app.css and
 * app-critical.css style #changelanguage and .reveal-modal with !important, hence the !important below. */
#changelanguage.reveal-modal.pn-lang {
    position: fixed !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    box-sizing: border-box;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 32px);
    margin: 0 !important;
    padding: 16px 16px 12px !important;
    overflow: auto !important;
    transform: translate(-50%, -50%);
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--pns-card) !important;
    box-shadow: 0 24px 64px color-mix(in srgb, var(--pns-ink) 24%, transparent) !important;
    color: var(--pns-text);
    text-align: left;
}

#changelanguage.pn-lang > :first-child,
#changelanguage.pn-lang > :last-child {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
}

#changelanguage.pn-lang .pn-lang__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    padding: 0 0 0 8px;
}

#changelanguage.pn-lang p.pn-lang__title {
    margin: 0;
    color: var(--pns-text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: var(--pns-track-h3);
}

#changelanguage.pn-lang a.close-x-btn {
    position: static;
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    border-radius: var(--pns-r-btn);
    background: transparent;
    color: var(--pns-text-2);
    line-height: 1;
    text-decoration: none;
    transform: none;
    transition: background-color .15s var(--pns-ease), color .15s var(--pns-ease);
}

#changelanguage.pn-lang a.close-x-btn:hover {
    background: var(--pns-mist);
    color: var(--pns-text);
    transform: none;
}

#changelanguage.pn-lang ul.pn-lang__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#changelanguage.pn-lang .pn-lang__list li {
    margin: 0 !important;
    padding: 0;
}

#changelanguage.pn-lang a.pn-lang__row {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 12px 0 8px;
    border: 0;
    border-radius: var(--pns-r-btn);
    background: transparent;
    color: var(--pns-text) !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s var(--pns-ease);
}

#changelanguage.pn-lang a.pn-lang__row:hover {
    background: var(--pns-mist);
    color: var(--pns-text) !important;
    transform: none;
}

#changelanguage.pn-lang a.pn-lang__row[aria-current] {
    font-weight: 600;
}

#changelanguage.pn-lang .pn-lang__row .flag-icon {
    flex: none;
    width: 20px !important;
    height: 15px !important;
    border-radius: 3px;
    box-shadow: 0 0 0 1px var(--pns-line);
}

#changelanguage.pn-lang .pn-lang__check {
    flex: none;
    margin-left: auto;
    color: var(--pns-text);
}

#changelanguage.pn-lang :is(a.close-x-btn, a.pn-lang__row):focus-visible {
    outline: 2px solid var(--pns-focus);
    outline-offset: -2px;
}

/* ---------- Closing CTA panel (common/v3/frontend_cta_panel.pug; base rules in theme-2026.css) ----------
 * The /pricing close: a lime sheet inset from the page edges on the ink canvas, ink words, an ink button.
 * Selectors carry an element or a second class so they win over theme-2026.css whatever the link order. */
section.pn-cta-panel {
    padding: var(--pns-inset) var(--pns-inset) 0;
    background: var(--pns-ink);
}

/* After a page body that already ends on the inset (main.pnp-main pads its bottom), no second gap. */
main.pnp-main + section.pn-cta-panel {
    padding-top: 0;
}

section.pn-cta-panel .pn-cta-panel__card {
    box-sizing: border-box;
    max-width: none;
    margin: 0;
    padding: var(--pns-y) 20px;
    border-radius: var(--pns-r-sheet);
    background: var(--pns-lime);
    color: var(--pns-on-lime);
    text-align: center;
}

section.pn-cta-panel .pn-cta-panel__title {
    max-width: 860px;
    margin: 0 auto;
    color: var(--pns-on-lime);
    font-size: var(--pns-h2);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: var(--pns-track-h2);
    text-wrap: balance;
}

section.pn-cta-panel .pn-cta-panel__text {
    max-width: 620px;
    margin: 14px auto 0;
    color: color-mix(in srgb, var(--pns-on-lime) 84%, var(--pns-lime));
    font-size: var(--pns-lead);
    font-weight: 400;
    line-height: 1.55;
    text-wrap: pretty;
}

section.pn-cta-panel a.pn-cta-panel__btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 48px;
    margin-top: 24px;
    padding: 12px 22px;
    border: 1px solid var(--pns-ink);
    border-radius: var(--pns-r-btn);
    background: var(--pns-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

section.pn-cta-panel a.pn-cta-panel__btn:hover {
    border-color: var(--pns-on-lime);
    background: var(--pns-on-lime);
}

section.pn-cta-panel a.pn-cta-panel__btn:focus-visible {
    outline: 2px solid var(--pns-on-lime);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    section.pn-cta-panel .pn-cta-panel__card {
        padding: var(--pns-y) 20px;
    }
}

/* ---------- Tooltips (tippy.js, theme_v3.js: every [data-tippy-content]) ---------- */
.tippy-box {
    border-radius: var(--pns-r-field);
    background-color: var(--pns-ink);
    color: var(--pns-on-ink);
    font-size: var(--pns-small);
    font-weight: 400;
    line-height: 1.5;
}

.tippy-box .tippy-content {
    padding: 8px 12px;
}

.tippy-box > .tippy-arrow {
    color: var(--pns-ink);
}
