/*
 * pn-home.css: the homepage (app/server/views/frontend/frontend.pug, body.pn-home), rebuilt 2026-11-18 (late) on the
 * /pricing design system (pn-system.css tokens) with the product pictures in pn-app-mock.css.
 * Sections: ink hero (centred words, the wide PostNext window) -> below the hero (see the block comment there).
 * Every page rule starts with body.pn-home (the .pnhb picture rules below the hero do not). Linked only from frontend.pug, outside usemin blocks; bump ?v= on edit.
 */

body.pn-home,
body.pn-home .off-canvas-wrap,
body.pn-home .inner-wrap,
body.pn-home main#hero.landing-page {
    background: var(--pns-ink) !important;
}

body.pn-home main#hero.landing-page {
    margin: 0;
    padding: 0;
    color: var(--pns-on-ink);
    text-align: left;
}

body.pn-home main#hero > section.pnh-sec {
    position: relative;
}

body.pn-home main#hero > section.pns-sheet {
    padding-top: var(--pns-y) !important;
    padding-bottom: var(--pns-y) !important;
}

/* Reset for the page's own text and lists; the product pictures keep their own spacing. */
body.pn-home main#hero :is(h1, h2, h3, p, ul, ol, li):not(.pnv *, .pnh-app *, .pnh-pic *, .pnh-ask *) {
    margin: 0;
    padding: 0;
}

body.pn-home main#hero :is(ul, ol) {
    list-style: none;
}

/* The slim style include renders no bar spacer: up to 1280px the fixed bar covered the top 73px of the hero. */
@media (max-width: 1280px) {
    body.pn-home main#hero.landing-page {
        padding-top: 4.55rem !important;
    }
}

body.pn-home .pnh-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

body.pn-home .pnh-cta a.pns-btn {
    text-decoration: none;
}

/* ---------- 1. Hero: centred words, one wide product window, the seven networks ---------- */
body.pn-home main#hero > section.pnh-hero {
    /* Top padding raised 2026-11-19 (owner: "slight more top padding" after the eyebrow was removed). */
    padding: clamp(48px, 4.6vw, 72px) 0 clamp(44px, 4vw, 64px) !important;
    background: var(--pns-ink);
}

body.pn-home .pnh-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.pn-home main#hero h1.pnh-h1 {
    max-width: 1020px;
    margin: 0 !important;
    color: #ffffff;
    font-size: clamp(40px, 4.9vw, 76px) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    text-align: center;
    text-wrap: balance;
}

/* The rotating tail of the H1 (js/frontend/views/pn-home-rotate.js). One line tall, clips the swap; without JS or
 * with reduced motion it is the plain default tail. */
body.pn-home .pnh-rot {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    vertical-align: baseline;
    transition: width 0.32s var(--pns-ease);
}

body.pn-home .pnh-rot__item,
body.pn-home .pnh-rot__sizer {
    display: inline-block;
    white-space: nowrap;
}

/* With JS: the sizer keeps the baseline (an overflow clip would move it to the bottom edge), clip-path hides the swap. */
body.pn-home .pnh-rot.is-js {
    -webkit-clip-path: inset(-0.12em -0.3em -0.28em -0.3em);
    clip-path: inset(-0.12em -0.3em -0.28em -0.3em);
}

body.pn-home .pnh-rot__sizer {
    visibility: hidden;
    width: 0;
}

body.pn-home .pnh-rot.is-js .pnh-rot__item {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.32s var(--pns-ease), opacity 0.32s linear;
}

body.pn-home .pnh-rot.is-js .pnh-rot__item.is-on {
    opacity: 1;
    transform: none;
}

body.pn-home .pnh-rot.is-js .pnh-rot__item.is-out {
    opacity: 0;
    transform: translateY(-100%);
}

body.pn-home .pnh-rot__tile {
    display: inline-block;
    position: relative;
    width: 0.86em;
    height: 0.86em;
    border-radius: 0.2em;
    background: #ffffff;
    vertical-align: -0.1em;
}

body.pn-home main#hero img.pnh-rot__mark {
    position: absolute;
    top: 19%;
    left: 19%;
    width: 62%;
    height: 62%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: contain;
}

body.pn-home main#hero p.pnh-sub {
    max-width: 760px;
    margin: 22px auto 0 !important;
    color: var(--pns-on-ink-2);
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.55;
    text-align: center;
    text-wrap: pretty;
}

body.pn-home .pnh-hero .pnh-cta {
    justify-content: center;
    margin-top: 24px;
}

/* theme-2026.css paints `.pn-page a#getstartedmain` ink with !important (the 2026-09 look): the hero button is lime. */
body.pn-home main#hero a#getstartedmain.pns-btn,
body.pn-home main#hero a#getstartedmain.pns-btn:focus {
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    min-height: 52px;
    margin: 0 !important;
    padding: 14px 28px !important;
    border: 1px solid var(--pns-lime) !important;
    border-radius: var(--pns-r-btn) !important;
    background: var(--pns-lime) !important;
    box-shadow: none !important;
    color: var(--pns-on-lime) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

body.pn-home main#hero a#getstartedmain.pns-btn:hover {
    border-color: var(--pns-lime-hover) !important;
    background: var(--pns-lime-hover) !important;
    color: var(--pns-on-lime) !important;
}

body.pn-home main#hero a#getstartedmain.pns-btn > span {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body.pn-home .pnh-hero__visual {
    min-width: 0;
    margin-top: 56px;
}

/* One quiet strip under the button: "Works with" and eight agent marks, a divider, "Publishes to" and seven networks.
 * Plain single-colour marks (mask images), white at 62% opacity, quieter than the paragraph. */
body.pn-home .pnh-marks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 24px;
    margin-top: 48px;
}

body.pn-home .pnh-marks__group {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

body.pn-home .pnh-marks__label {
    color: var(--pns-on-ink-3);
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
}

body.pn-home .pnh-marks__sep {
    width: 1px;
    height: 20px;
    background: var(--pns-ink-line);
}

body.pn-home main#hero a.pnh-mark {
    display: inline-flex;
    color: #ffffff;
    opacity: 0.62;
    transition: opacity 0.15s var(--pns-ease);
}

body.pn-home main#hero a.pnh-mark:is(:hover, :focus-visible) {
    opacity: 1;
}

body.pn-home .pnh-mark__i {
    display: block;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

body.pn-home main#hero a.pnh-marks__more {
    color: var(--pns-on-ink-3);
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

body.pn-home main#hero a.pnh-marks__more:hover {
    color: var(--pns-on-ink);
}
/* =====================================================================================================
 * Below the hero (rebuilt 2026-11-19 night; owner: "also improve homepage, dont touch above the fold/hero").
 * Sections: features sheet (a bento of five cards with large product pictures, then the seven networks as post
 * previews) -> AI band (words left, one light conversation window right) -> who (six audience cards with a photo)
 * -> FAQ (six questions, the rest behind "Show all N questions") -> lime closing panel (shared, pn-system.css).
 * Pictures: common/v3/visuals/pn_home_visuals.pug section 2 onwards, every rule under .pnhb (not page-scoped, so a
 * picture can move to another page with this block). Motion only under html.pns-motion; the finished frame is the
 * default. Lime only for one active control per picture (Approve, the connected tick), never on the first screen.
 * ===================================================================================================== */

/* ---------- Picture base ---------- */
.pnhb,
.pnhb * {
    box-sizing: border-box;
}

.pnhb {
    display: block;
    position: relative;
    color: var(--pns-text);
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}

.pnhb :where(span, i, b, em, strong) {
    font-style: normal;
}

.pnhb img {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pnhb .pnv-chan img,
.pnhb-netcard .pnv-chan img {
    width: 58%;
    height: 58%;
    object-fit: contain;
}

/* A product window: white, one line, rounded top. Inside a card panel it rises from the panel's bottom edge. */
.pnhb-win {
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: 14px;
    background: #ffffff;
}

.pnhb-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border-bottom: 1px solid var(--pns-line-soft);
}

.pnhb-bar .pnh-app__logo {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    color: #ffffff;
    font-size: 13px;
}

.pnhb-bar__title {
    color: var(--pns-text);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pnhb-bar__end {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-width: 0;
}

.pnhb-seg {
    display: inline-flex;
    padding: 2px;
    border-radius: 8px;
    background: var(--pns-mist);
    font-size: 11.5px;
    font-weight: 500;
}

.pnhb-seg > span {
    padding: 3px 9px;
    border-radius: 6px;
    color: var(--pns-text-3);
}

.pnhb-seg > span.is-on {
    background: #ffffff;
    color: var(--pns-text);
    box-shadow: 0 0 0 1px var(--pns-line);
}

.pnhb-filter {
    display: inline-flex;
    gap: 4px;
}

.pnhb-filter .pnv-chan {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.pnhb-when {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--pns-line);
    border-radius: 8px;
    color: var(--pns-text-2);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.pnhb-btn {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--pns-ink);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- 2a. The month ---------- */
.pnhb-month__head,
.pnhb-month__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    padding: 0 12px;
}

.pnhb-month__head {
    padding-top: 8px;
    padding-bottom: 5px;
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 500;
}

.pnhb-month__head > span {
    padding-left: 4px;
}

.pnhb-month__grid {
    padding-bottom: 12px;
}

.pnhb-day {
    position: relative;
    height: 50px;
    border-radius: 9px;
    background: #fafafa;
}

.pnhb-day--we {
    background: #f4f4f5;
}

.pnhb-day--from {
    background: transparent;
    outline: 1.5px dashed var(--pns-field);
    outline-offset: -1.5px;
}

.pnhb-day__n {
    position: absolute;
    top: 3px;
    left: 6px;
    color: var(--pns-text-3);
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
}

.pnhb-post {
    position: absolute;
    inset: 16px 3px 3px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--pns-mist);
}

.pnhb-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pnhb-post__tag {
    display: inline-flex;
    position: absolute;
    left: 3px;
    bottom: 3px;
    align-items: center;
    gap: 3px;
    height: 18px;
    padding: 0 5px 0 2px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--pns-text);
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1;
}

.pnhb-post__tag .pnv-chan {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 4px;
}

/* The post that moved: an ink ring, the way a dragged post looks. */
.pnhb-post--moved {
    box-shadow: 0 0 0 2px var(--pns-ink);
}

/* ---------- 2b. One post, three versions ---------- */
.pnhb-versions__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.pnhb-ver {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--pns-line);
    border-radius: 12px;
    background: #ffffff;
}

.pnhb-ver.is-on {
    border-color: var(--pns-ink);
    box-shadow: 0 0 0 1px var(--pns-ink);
}

.pnhb-ver__top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.pnhb-ver__top .pnv-chan {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.pnhb-ver__net {
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pnhb-ver__pic {
    display: block;
    height: 96px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--pns-mist);
}

.pnhb-ver__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pnhb-ver__who {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 4px;
    font-size: 11px;
}

.pnhb-ver__who img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.pnhb-ver__who b {
    font-weight: 600;
}

.pnhb-ver__text {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pns-text);
    font-size: 11.5px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pnhb-ver__tags {
    margin-top: 4px;
    overflow: hidden;
    color: #2a5bd7;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ---------- 2c. The AI writer ---------- */
.pnhb-writer {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
}

.pnhb-writer__pic {
    position: relative;
    height: 140px;
    overflow: hidden;
    border-radius: 10px;
}

.pnhb-writer__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pnhb-writer__net {
    position: absolute;
    left: 6px;
    bottom: 6px;
}

.pnhb-writer__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.pnhb-writer__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pnhb-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--pns-line);
    border-radius: 999px;
    color: var(--pns-text);
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
}

.pnhb-pill b {
    color: var(--pns-text-3);
    font-weight: 500;
}

.pnhb-pill--ai {
    border-color: var(--pns-ink);
    background: var(--pns-ink);
    color: #ffffff;
}

.pnhb-pill--ai::before {
    content: '';
    width: 10px;
    height: 10px;
    background: currentColor;
    -webkit-clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.pnhb-writer__text {
    color: var(--pns-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
}

.pnhb-writer__text.is-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background: var(--pns-text);
    vertical-align: -0.12em;
    animation: pnv-caret 1s steps(1) infinite;
}

.pnhb-writer__tags {
    color: #2a5bd7;
    font-size: 12px;
    line-height: 1.4;
}

/* ---------- 2d. Team approval and 2e. results (one post row on top) ---------- */
.pnhb-approval,
.pnhb-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
}

.pnhb-approval__post,
.pnhb-results__post {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pnhb-approval__post > img,
.pnhb-results__post > img {
    flex: 0 0 auto;
    width: 60px;
    height: 74px;
    border-radius: 9px;
    object-fit: cover;
}

.pnhb-approval__meta,
.pnhb-results__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pnhb-approval__top {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pns-text-3);
    font-size: 11.5px;
    font-weight: 500;
}

.pnhb-approval__top .pnv-chan {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.pnhb-approval__text {
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.3;
}

.pnhb-state {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--pns-tint-sand);
    color: #7a5a12;
    font-size: 11px;
    font-weight: 500;
}

.pnhb-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pnhb-note img {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.pnhb-note span {
    padding: 7px 10px;
    border-radius: 4px 12px 12px 12px;
    background: var(--pns-mist);
    font-size: 12.5px;
    line-height: 1.35;
}

.pnhb-approval__acts {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.pnhb-act {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--pns-line);
    border-radius: 8px;
    color: var(--pns-text);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.pnhb-act--go {
    border-color: var(--pns-lime);
    background: var(--pns-lime);
    color: var(--pns-on-lime);
}

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

.pnhb-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 9px;
    background: var(--pns-mist);
}

.pnhb-stat em {
    overflow: hidden;
    color: var(--pns-text-3);
    font-size: 10.5px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pnhb-stat b {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.pnhb-bars {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    min-height: 64px;
}

.pnhb-bars__col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    height: 100%;
}

.pnhb-bars__col i {
    display: block;
    height: var(--h);
    min-height: 6px;
    border-radius: 4px;
    background: #d4d4d8;
    transform-origin: bottom;
}

.pnhb-bars__col i.is-top {
    background: var(--pns-ink);
}

.pnhb-bars__col em {
    color: var(--pns-text-3);
    font-size: 9.5px;
    text-align: center;
}

/* ---------- 2f. Network previews (inside .pnhb-netcard) ---------- */
.pnhb-net {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 156px;
    padding: 10px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--pns-mist);
    color: var(--pns-text);
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
}

.pnhb-net,
.pnhb-net * {
    box-sizing: border-box;
}

.pnhb-net img {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

.pnhb-net__who {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.pnhb-net__who img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.pnhb-net__who b {
    font-size: 11px;
    font-weight: 600;
}

.pnhb-net__text {
    display: -webkit-box;
    flex: 0 0 auto;
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 500;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pnhb-net__media {
    display: block;
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.pnhb-net__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pnhb-net--square .pnhb-net__media {
    flex: 0 0 auto;
    width: 100%;
    height: 112px;
}

.pnhb-net__dots {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 7px;
    gap: 4px;
    transform: translateX(-50%);
}

.pnhb-net__dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.pnhb-net__dots i:first-child {
    background: #ffffff;
}

.pnhb-net--tall {
    align-items: center;
    background: var(--pns-ink);
}

.pnhb-net--tall .pnhb-net__media {
    flex: 0 0 auto;
    width: 88px;
    height: 100%;
}

.pnhb-net__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.55);
}

.pnhb-net__play::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 12px;
    border-width: 6px 0 6px 9px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.pnhb-net--video .pnhb-net__media {
    flex: 0 0 auto;
    height: 92px;
}

.pnhb-net__len {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 1px 4px;
    border-radius: 4px;
    background: rgba(20, 20, 20, 0.8);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 600;
}

.pnhb-net--thread .pnhb-net__media {
    margin-left: 24px;
}

.pnhb-net--thread .pnhb-net__text {
    margin-left: 24px;
}

/* ---------- 3. The AI band window ---------- */
.pnhb-agent {
    width: 100%;
    max-width: 640px;
    border-color: transparent;
    border-radius: 18px;
}

.pnhb-agent .pnhb-bar {
    height: 54px;
    padding: 0 16px;
}

.pnhb-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 10px 0 4px;
    border: 1px solid var(--pns-line);
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 600;
}

.pnhb-link .pnh-app__logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 12px;
}

.pnhb-agent__chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 14px;
}

.pnhb-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 88%;
    color: var(--pns-text);
    font-size: 14px;
    line-height: 1.45;
}

.pnhb-msg .pnh-logo {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.pnhb-msg--me {
    align-self: flex-end;
    padding: 9px 13px;
    border-radius: 14px 14px 4px 14px;
    background: var(--pns-mist);
}

.pnhb-agent__cal {
    display: block;
    margin: 0 12px 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--pns-mist);
}

.pnhb-agent__calbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
}

.pnhb-agent__calbar b {
    font-size: 13px;
    font-weight: 600;
}

.pnhb-agent__calbar span {
    overflow: hidden;
    color: var(--pns-text-2);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pnhb-agent__days {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.pnhb-agent__day {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pnhb-agent__day em {
    color: var(--pns-text-3);
    font-size: 11px;
    font-weight: 500;
}

.pnhb-agent__draft {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 4px 6px;
    border: 1px dashed #c4c4ca;
    border-radius: 10px;
    background: #ffffff;
}

.pnhb-agent__draft img {
    width: 100%;
    height: 104px;
    border-radius: 7px;
    object-fit: cover;
}

.pnhb-agent__tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 2px;
    font-size: 10.5px;
    font-weight: 600;
}

.pnhb-agent__tag .pnv-chan {
    width: 18px;
    height: 18px;
    border-radius: 5px;
}

.pnhb-agent__chip {
    align-self: flex-start;
    margin-left: 2px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--pns-tint-sand);
    color: #7a5a12;
    font-size: 10px;
    font-weight: 500;
}

/* ---------- Motion (only under html.pns-motion; pn-motion.js) ---------- */
@keyframes pnhb-move {
    0%, 30% { transform: translateX(calc(-200% - 16px)); }
    100% { transform: none; }
}

.pns-motion [data-pnv='hmonth'].is-in .pnhb-post--moved {
    animation: pnv-rise 0.5s var(--pns-ease) both, pnhb-move 1.1s var(--pns-ease) 1.2s both;
    animation-delay: 0.6s, 1.2s;
}

.pns-motion [data-pnv='hresults'] .pnhb-bars__col i.pnv-step {
    opacity: 1;
    transform: scaleY(0.05);
}

.pns-motion [data-pnv='hresults'].is-in .pnhb-bars__col i.pnv-step {
    animation: pnv-grow 0.7s var(--pns-ease) both;
    animation-delay: calc(0.15s + var(--i, 0) * 0.07s);
}

@media (prefers-reduced-motion: reduce) {
    .pnhb .pnv-step,
    .pnhb-bars__col i {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- Section head: title left, lead right ---------- */
body.pn-home .pnh-head {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: 16px 56px;
    align-items: end;
    margin-bottom: 32px;
}

body.pn-home .pnh-head h2 {
    color: var(--pns-text);
    text-align: left;
}

body.pn-home .pnh-head p.pns-lead {
    max-width: 520px;
    margin: 0;
    padding-bottom: 4px;
    text-align: left;
}

/* ---------- 2. Features: the bento ---------- */
body.pn-home .pnhb-bento {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.pn-home .pnhb-bento__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.pn-home .pnhb-bento__row--lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.pn-home a.pnhb-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px 10px 22px;
    border: 1px solid var(--pns-line);
    border-radius: var(--pns-r-card);
    background: var(--pns-card);
    color: var(--pns-text);
    text-decoration: none;
    transition: border-color 0.15s var(--pns-ease);
}

body.pn-home a.pnhb-card:is(:hover, :focus-visible) {
    border-color: var(--pns-text);
    color: var(--pns-text);
}

/* The picture panel: a tint, the window rising from its bottom edge. */
body.pn-home .pnhb-card__panel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    height: 228px;
    padding: 20px 20px 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--pns-mist);
}

body.pn-home .pnhb-card--lg .pnhb-card__panel {
    height: 306px;
    padding: 24px 24px 0;
}

body.pn-home .pnhb-card__panel > .pnhb-win {
    flex: 1 1 auto;
    width: 100%;
    max-width: 560px;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
}

body.pn-home .pnhb-card:nth-child(1) .pnhb-card__panel { background: var(--pns-tint-sky); }
body.pn-home .pnhb-card:nth-child(2) .pnhb-card__panel { background: var(--pns-tint-peach); }
body.pn-home .pnhb-card:nth-child(3) .pnhb-card__panel { background: var(--pns-tint-sand); }
body.pn-home .pnhb-card:nth-child(4) .pnhb-card__panel { background: var(--pns-tint-mint); }
body.pn-home .pnhb-card:nth-child(5) .pnhb-card__panel { background: var(--pns-tint-sky); }

body.pn-home .pnhb-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 12px 0;
}

body.pn-home main#hero h3.pnhb-card__title {
    margin: 0 !important;
    color: var(--pns-text);
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-align: left;
}

body.pn-home main#hero .pnhb-card--lg h3.pnhb-card__title {
    font-size: 24px !important;
}

body.pn-home .pnhb-card__text {
    margin-top: 8px;
    color: var(--pns-text-2);
    font-size: 15.5px;
    line-height: 1.5;
}

body.pn-home .pnhb-card__more {
    margin-top: auto;
    padding-top: 14px;
    color: var(--pns-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- 2. Features: the networks ---------- */
body.pn-home .pnhb-nets {
    margin-top: 36px;
}

body.pn-home .pnhb-nets__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    margin-bottom: 18px;
}

body.pn-home main#hero h3.pnhb-nets__title {
    margin: 0 !important;
    color: var(--pns-text);
    font-size: var(--pns-h2-sm) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    text-align: left;
}

body.pn-home main#hero a.pnhb-nets__all {
    color: var(--pns-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.pn-home main#hero a.pnhb-nets__all::after {
    content: ' \2192';
}

body.pn-home main#hero ul.pnhb-nets__row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

body.pn-home a.pnhb-netcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px 8px 16px;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
    color: var(--pns-text);
    text-decoration: none;
    transition: border-color 0.15s var(--pns-ease);
}

body.pn-home a.pnhb-netcard:is(:hover, :focus-visible) {
    border-color: var(--pns-text);
    color: var(--pns-text);
}

body.pn-home .pnhb-netcard__name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 6px 0;
}

body.pn-home .pnhb-netcard__name .pnv-chan {
    width: 26px;
    height: 26px;
    border-radius: 8px;
}

body.pn-home .pnhb-netcard__name b {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

body.pn-home .pnhb-netcard__d {
    margin: 6px 6px 0;
    color: var(--pns-text-2);
    font-size: 13.5px;
    line-height: 1.4;
}

/* ---------- 3. AI band ---------- */
body.pn-home main#hero > section.pnh-agents {
    padding-top: clamp(48px, 4.2vw, 64px) !important;
    padding-bottom: clamp(48px, 4.2vw, 64px) !important;
}

body.pn-home .pnh-split {
    display: grid;
    grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
    gap: clamp(32px, 4.4vw, 72px);
    align-items: center;
}

body.pn-home main#hero .pnh-agents h2 {
    color: var(--pns-on-ink);
    text-align: left;
}

body.pn-home main#hero p.pnh-agents__label {
    margin: 0 0 16px !important;
}

body.pn-home main#hero .pnh-split__copy p.pns-lead {
    max-width: 500px;
    margin: 18px 0 0 !important;
    color: var(--pns-on-ink);
}

body.pn-home main#hero ul.pnh-agents__steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 22px 0 0 !important;
}

body.pn-home main#hero ul.pnh-agents__steps > li {
    color: var(--pns-on-ink-2);
    font-size: 16px;
    line-height: 1.5;
}

body.pn-home .pnh-agents__steps b {
    color: var(--pns-on-ink);
    font-weight: 600;
}

body.pn-home .pnh-agents .pnh-cta {
    margin-top: 28px;
}

body.pn-home .pnh-split__visual {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

/* ---------- 4. Who it is for ---------- */
body.pn-home main#hero > section.pnh-who {
    padding-top: clamp(44px, 3.6vw, 56px) !important;
    padding-bottom: clamp(44px, 3.6vw, 56px) !important;
}

body.pn-home main#hero ul.pnhb-who {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

body.pn-home a.pnhb-aud {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--pns-line);
    border-radius: 18px;
    background: var(--pns-card);
    color: var(--pns-text);
    text-decoration: none;
    transition: border-color 0.15s var(--pns-ease);
}

body.pn-home a.pnhb-aud:is(:hover, :focus-visible) {
    border-color: var(--pns-text);
    color: var(--pns-text);
}

body.pn-home .pnhb-aud__pic {
    display: block;
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--pns-mist);
}

body.pn-home main#hero .pnhb-aud__pic img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
}

body.pn-home .pnhb-aud__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 18px;
}

body.pn-home .pnhb-aud__t {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

body.pn-home .pnhb-aud__d {
    color: var(--pns-text-2);
    font-size: 14px;
    line-height: 1.45;
}

/* ---------- 5. FAQ: six show, the button opens the rest (frontend.pug script) ---------- */
body.pn-home .pnh-faq .faq-container.is-short > .faq-item:nth-child(n + 7) {
    display: none;
}

body.pn-home button.pnh-faq-more {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: 20px 0 0;
    padding: 12px 22px;
    border: 1px solid var(--pns-field);
    border-radius: var(--pns-r-btn);
    background: var(--pns-card);
    color: var(--pns-text);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

body.pn-home button.pnh-faq-more[hidden] {
    display: none;
}

body.pn-home button.pnh-faq-more:hover {
    border-color: var(--pns-text);
}

body.pn-home button.pnh-faq-more:focus-visible {
    outline: 2px solid var(--pns-focus);
    outline-offset: 2px;
}

body.pn-home main#hero > section.services-deserve {
    margin-bottom: 0 !important;
}

/* ---------- Below the hero: tablet ---------- */
@media (max-width: 1179px) {
    body.pn-home main#hero ul.pnhb-nets__row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.pn-home main#hero ul.pnhb-who {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1099px) {
    body.pn-home .pnh-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    body.pn-home .pnh-split__visual {
        justify-content: flex-start;
    }

    body.pn-home .pnh-head {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 24px;
    }

    body.pn-home .pnhb-bento__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pn-home .pnhb-bento__row--sm > a.pnhb-card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

/* ---------- Below the hero: phone ---------- */
@media (max-width: 640px) {
    body.pn-home .pnh-head {
        gap: 10px;
        margin-bottom: 20px;
    }

    body.pn-home .pnhb-bento {
        gap: 12px;
    }

    body.pn-home .pnhb-bento__row--lg {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    /* The three small cards: one row you swipe, the next card shows at the edge. */
    body.pn-home .pnhb-bento__row--sm {
        display: flex;
        gap: 10px;
        margin: 0 calc(-1 * var(--pns-edge) - var(--pns-inset));
        padding: 0 calc(var(--pns-edge) + var(--pns-inset)) 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: calc(var(--pns-edge) + var(--pns-inset));
        scrollbar-width: none;
    }

    body.pn-home .pnhb-bento__row--sm::-webkit-scrollbar {
        display: none;
    }

    body.pn-home .pnhb-bento__row--sm > a.pnhb-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    body.pn-home a.pnhb-card {
        padding-bottom: 20px;
    }

    body.pn-home .pnhb-card__panel,
    body.pn-home .pnhb-card--lg .pnhb-card__panel {
        height: 232px;
        padding: 16px 14px 0;
    }

    body.pn-home .pnhb-card__body {
        padding: 16px 8px 0;
    }

    body.pn-home main#hero h3.pnhb-card__title,
    body.pn-home main#hero .pnhb-card--lg h3.pnhb-card__title {
        font-size: 20px !important;
    }

    body.pn-home .pnhb-card__text {
        font-size: 15px;
    }

    /* The month on a phone: three weeks, the bar without the network filter. */
    .pnhb-filter {
        display: none;
    }

    .pnhb-month .pnhb-day:nth-child(n + 22) {
        display: none;
    }

    .pnhb-day {
        height: 50px;
    }

    .pnhb-month__head,
    .pnhb-month__grid {
        gap: 4px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .pnhb-post__tag span {
        display: none;
    }

    .pnhb-post__tag {
        padding-right: 2px;
    }

    .pnhb-versions__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 10px;
    }

    .pnhb-versions__row > .pnhb-ver:nth-child(3) {
        display: none;
    }

    .pnhb-when {
        display: none;
    }

    .pnhb-writer {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .pnhb-writer__pic {
        height: 116px;
    }

    .pnhb-writer__text {
        font-size: 13.5px;
    }

    body.pn-home .pnhb-nets {
        margin-top: 36px;
    }

    /* The networks: one row you swipe, the next card shows at the edge. */
    body.pn-home main#hero ul.pnhb-nets__row {
        display: flex;
        margin: 0 calc(-1 * var(--pns-edge) - var(--pns-inset));
        padding: 0 calc(var(--pns-edge) + var(--pns-inset)) 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: calc(var(--pns-edge) + var(--pns-inset));
        scrollbar-width: none;
    }

    body.pn-home main#hero ul.pnhb-nets__row::-webkit-scrollbar {
        display: none;
    }

    body.pn-home main#hero ul.pnhb-nets__row > li {
        flex: 0 0 158px;
        scroll-snap-align: start;
    }

    .pnhb-agent__days {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pnhb-agent__day:nth-child(n + 4) {
        display: none;
    }

    .pnhb-msg {
        max-width: 100%;
        font-size: 13.5px;
    }

    body.pn-home .pnh-agents .pnh-cta {
        margin-top: 24px;
    }

    /* Who: a list, the photo left and the whole line right. */
    body.pn-home main#hero ul.pnhb-who {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    body.pn-home a.pnhb-aud {
        flex-direction: row;
        align-items: stretch;
    }

    body.pn-home .pnhb-aud__pic {
        position: relative;
        width: 104px;
        aspect-ratio: auto;
    }

    body.pn-home main#hero .pnhb-aud__pic img {
        position: absolute;
        inset: 0;
    }

    .pnhb-ver__pic {
        height: 76px;
    }

    .pnhb-ver__text {
        -webkit-line-clamp: 2;
    }

    body.pn-home .pnhb-aud__copy {
        justify-content: center;
        padding: 12px 14px;
    }

    body.pn-home .pnhb-aud__d {
        font-size: 13.5px;
    }
}

/* ---------- Motion: the hero words rise once (the pictures play through pn-motion.js) ---------- */
@media (prefers-reduced-motion: no-preference) {
    @keyframes pnh-rise {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: none; }
    }

    body.pn-home .pnh-hero__copy > * {
        animation: pnh-rise 0.7s var(--pns-ease) both;
    }

    body.pn-home .pnh-hero__copy > :nth-child(2) { animation-delay: 0.05s; }
    body.pn-home .pnh-hero__copy > :nth-child(3) { animation-delay: 0.1s; }
    body.pn-home .pnh-hero__copy > :nth-child(n + 4) { animation-delay: 0.15s; }
}

/* ---------- Hero on a phone (unchanged 2026-11-19 night) ---------- */
@media (max-width: 640px) {
    body.pn-home main#hero > section.pnh-hero {
        padding: 40px 0 36px !important;
    }

    body.pn-home .pnh-split {
        gap: 32px;
    }

    body.pn-home main#hero h1.pnh-h1 {
        font-size: 34px !important;
        line-height: 1.06 !important;
    }

    body.pn-home main#hero p.pnh-sub {
        font-size: 16px;
    }

    /* Phones: the rotating tail is its own last line, centred, one line tall. */
    body.pn-home .pnh-rot {
        display: block;
        width: auto !important;
        vertical-align: baseline;
    }

    body.pn-home .pnh-rot.is-js .pnh-rot__item {
        right: 0;
        text-align: center;
    }

    body.pn-home .pnh-hero__visual {
        margin-top: 40px;
    }

    body.pn-home main#hero p.pnh-sub {
        margin-top: 16px !important;
    }

    body.pn-home .pnh-cta {
        margin-top: 24px;
    }

    body.pn-home .pnh-cta a.pns-btn,
    body.pn-home main#hero a#getstartedmain.pns-btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    body.pn-home .pnh-marks {
        flex-direction: column;
        gap: 14px;
        margin-top: 36px;
    }

    body.pn-home .pnh-marks__sep {
        display: none;
    }

    body.pn-home .pnh-marks__group {
        gap: 12px;
    }

    body.pn-home .pnh-marks__label {
        flex: 1 0 100%;
        text-align: center;
    }

    body.pn-home .pnh-mark__i {
        width: 18px;
        height: 18px;
    }

    body.pn-home .pnh-split__visual {
        width: 100%;
    }
}
