/* ── Page ── */
.pp-page {
    padding: 120px 0 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.pp-container {
    max-width: 860px;
}

/* ── Header ── */
.pp-header {
    margin-bottom: 48px;
}

.pp-title {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pp-title-accent {
    color: var(--accent);
}

.pp-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* ── Intro banner ── */
.pp-intro-banner {
    background: var(--warning-bg);
    border: 1px solid rgba(255, 202, 80, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 40px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pp-intro-banner__icon {
    font-size: 20px;
    color: var(--warning-text);
    flex-shrink: 0;
    margin-top: 2px;
}

.pp-intro-banner__text {
    font-size: 14px;
    color: var(--warning-text);
    line-height: 1.6;
    margin: 0;
}

/* ── Card ── */
.pp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 16px;
}

.pp-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.pp-card__icon-wrap {
    width: 36px;
    height: 36px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-card__icon {
    font-size: 18px;
    color: var(--accent);
}

.pp-card__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ── Text group ── */
.pp-card__text-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-card__text-group--mt {
    margin-top: 16px;
}

.pp-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.pp-card__term {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Bullet list ── */
.pp-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pp-card__list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pp-card__list-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 7px;
}

/* ── Table ── */
.pp-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin-top: 4px;
}

.pp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pp-table__th {
    padding: 10px 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.pp-table__row {
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.pp-table__row:last-child {
    border-bottom: none;
}

.pp-table__row:hover {
    background: var(--bg-secondary);
}

.pp-table__td {
    padding: 12px 16px;
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.5;
}

.pp-table__td--strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* ── Subsections ── */
.pp-subsections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pp-subsection {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.pp-subsection__label {
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pp-subsection__body {
    background: var(--bg-secondary);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-subsection__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pp-subsection__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.pp-subsection__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Subsection color variants */
.pp-subsection--success .pp-subsection__label {
    background: var(--success-bg);
    color: #0CC36B;
}
.pp-subsection--success .pp-subsection__dot {
    background: var(--success);
}

.pp-subsection--info .pp-subsection__label {
    background: var(--info-bg);
    color: var(--info);
}
.pp-subsection--info .pp-subsection__dot {
    background: var(--info);
}

.pp-subsection--warning .pp-subsection__label {
    background: var(--warning-bg);
    color: var(--warning-text);
}
.pp-subsection--warning .pp-subsection__dot {
    background: var(--warning-text);
}

/* ── Highlight box ── */
.pp-highlight {
    margin-top: 20px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pp-highlight__icon {
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.pp-highlight__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ── Footer meta ── */
.pp-footer-meta {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pp-footer-meta__label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pp-footer-meta__value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.pp-footer-meta__link {
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.pp-footer-meta__link:hover {
    text-decoration: underline;
}

.pp-footer-meta__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.pp-footer-meta__back:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Dark mode ── */
[data-theme="dark"] .pp-table__th {
    background: var(--bg-secondary);
}

[data-theme="dark"] .pp-subsection--info .pp-subsection__label {
    background: rgba(80, 221, 255, 0.1);
}

[data-theme="dark"] .pp-intro-banner {
    background: var(--warning-bg);
    border-color: rgba(255, 202, 80, 0.2);
}
