/*
 * PeopleNote landing pages (/PeopleNote, /PeopleNote/<intent>). Loaded after
 * game.css, whose hero, panels and facts list these pages reuse.
 */

.pn-hero__title {
    max-width: 900px;
}

/* ── Direct answer + screenshot ──────────────────────────────────────────── */

.pn-intro {
    padding: 90px 0 40px;
}

.pn-answer {
    margin: 0 0 30px;
    padding: 22px 26px;
    border-left: 4px solid var(--tg-theme-primary);
    border-radius: 8px;
    background: rgba(69, 248, 130, 0.07);
    font-size: 20px;
    line-height: 1.65;
    color: #e9e9f2;
}

.pn-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 26px;
}

.pn-play {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 200px;
}

.pn-play img {
    display: block;
    width: 100%;
    height: auto;
}

.pn-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #c9c9d6;
}

.pn-pills i {
    margin-right: 4px;
    color: var(--tg-theme-primary);
}

.pn-shot {
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
}

.pn-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pn-shot figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: #8a8aa0;
}

/* ── Article ─────────────────────────────────────────────────────────────── */

.pn-body {
    padding: 40px 0 60px;
}

.pn-section {
    margin-bottom: 46px;
}

.pn-section h2 {
    margin: 0 0 16px;
    font-size: 28px;
    line-height: 1.25;
}

.pn-section p {
    margin: 0 0 16px;
    font-size: 16.5px;
    line-height: 1.75;
}

.pn-list {
    margin: 0 0 16px;
}

.pn-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 28px;
    line-height: 1.6;
}

.pn-list li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tg-theme-primary);
}

.pn-more {
    font-weight: 600;
    color: var(--tg-theme-primary);
}

.pn-more:hover {
    text-decoration: underline;
}

/* How-to steps */

.pn-steps {
    margin: 0;
    counter-reset: pn-step;
}

.pn-steps li {
    position: relative;
    margin-bottom: 14px;
    padding: 16px 18px 16px 64px;
    border-radius: 12px;
    background: #1a1b24;
    line-height: 1.6;
    counter-increment: pn-step;
}

.pn-steps li::before {
    content: counter(pn-step);
    position: absolute;
    top: 14px;
    left: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tg-theme-primary);
    font-weight: 700;
    line-height: 32px;
    text-align: center;
    color: #0f161b;
}

.pn-steps strong {
    display: block;
    color: #fff;
}

/* Free vs Pro */

.pn-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    background: #1a1b24;
}

.pn-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
}

.pn-table caption {
    padding: 14px 18px 0;
    caption-side: top;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8aa0;
}

.pn-table th,
.pn-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
    vertical-align: top;
}

.pn-table thead th {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tg-theme-primary);
}

.pn-table tbody th {
    font-weight: 500;
    color: #fff;
}

.pn-table tbody tr:last-child th,
.pn-table tbody tr:last-child td {
    border-bottom: 0;
}

.pn-cell--yes i {
    color: var(--tg-theme-primary);
}

.pn-cell--no {
    color: #6c6c80;
}

/* FAQ */

.pn-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pn-faq summary {
    position: relative;
    padding: 18px 40px 18px 0;
    list-style: none;
    cursor: pointer;
}

.pn-faq summary::-webkit-details-marker {
    display: none;
}

.pn-faq summary h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.pn-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--tg-theme-primary);
}

.pn-faq details[open] summary::after {
    content: "\2212";
}

.pn-faq details p {
    margin: 0 0 20px;
}

/* ── Aside ───────────────────────────────────────────────────────────────── */

.pn-aside {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 24px;
}

.pn-card .pn-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.pn-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.pn-card .pn-card__name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.pn-card .pn-card__by {
    margin: 0;
    font-size: 14px;
    color: #8a8aa0;
}

.pn-card .pn-card__sentence {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.65;
}

.pn-play--wide {
    max-width: 180px;
    margin-bottom: 8px;
}

.pn-card__facts > div {
    grid-template-columns: 90px 1fr;
}

.pn-guides ul {
    margin: 0;
}

.pn-guides li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pn-guides li:last-child {
    border-bottom: 0;
}

.pn-guides a,
.pn-guides span {
    display: block;
    padding: 11px 0;
    font-weight: 500;
}

.pn-guides a {
    color: #e6e6ef;
}

.pn-guides a:hover {
    color: var(--tg-theme-primary);
}

.pn-guides span {
    color: var(--tg-theme-primary);
}

/* ── Closing ─────────────────────────────────────────────────────────────── */

.pn-closing {
    padding: 0 0 110px;
}

.pn-closing__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    border: 1px solid rgba(69, 248, 130, 0.25);
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(69, 248, 130, 0.1), rgba(26, 27, 36, 0.9));
}

.pn-closing__box h2 {
    margin: 0 0 6px;
    font-size: 30px;
}

.pn-closing__box p {
    margin: 0;
}

/* ── Small screens ───────────────────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .pn-aside {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .pn-intro {
        padding-top: 60px;
    }

    .pn-answer {
        padding: 18px 18px;
        font-size: 17.5px;
    }

    .pn-section h2 {
        font-size: 23px;
    }

    .pn-steps li {
        padding-left: 58px;
    }

    .pn-closing__box {
        padding: 28px 22px;
    }

    .pn-closing__box h2 {
        font-size: 24px;
    }
}
