:root {
    --pp-background: #0f1115;
    --pp-card: #181b20;
    --pp-card-dark: #13161b;
    --pp-border: #292d34;

    --pp-gold: #d4af37;
    --pp-gold-light: #f2c94c;
    --pp-gold-soft: rgba(212, 175, 55, 0.12);

    --pp-text: #f5f5f5;
    --pp-muted: #969ca6;
    --pp-green: #22c55e;

    --pp-update-text: #6e747d;
    --pp-update-strong: #afb4bb;

    --pp-sidebar-title: #656c76;
    --pp-soft-border: rgba(255, 255, 255, 0.05);
    --pp-navigation-text: #9198a2;

    --pp-content-text: #a4aab2;
    --pp-surface: #14171c;
    --pp-highlight-value: #daddE1;

    --pp-item-border: rgba(255, 255, 255, 0.06);
    --pp-data-title: #d9dce0;
    --pp-data-text: #818893;

    --pp-list-text: #a3a9b1;
    --pp-text-box-text: #969da6;

    --pp-notice-title: #d4d7db;
    --pp-notice-text: #858c95;

    --pp-retention-value: #c5c9ce;

    --pp-rights-text: #999fa8;

    --pp-contact-value: #d3d6da;
    --pp-button-text: #111317;
    --pp-small-text: #686f78;
}


/* =========================
   LIGHT THEME
========================= */

html[data-theme="light"] {
    --pp-background: #fafafa;
    --pp-card: #ffffff;
    --pp-card-dark: #f5f6f7;
    --pp-border: #e0e3e7;

    --pp-gold: #d4af37;
    --pp-gold-light: #f2c94c;
    --pp-gold-soft: rgba(212, 175, 55, 0.12);

    --pp-text: #181a1f;
    --pp-muted: #6d737c;
    --pp-green: #22c55e;

    --pp-update-text: #7d848e;
    --pp-update-strong: #4f555d;

    --pp-sidebar-title: #8a9099;
    --pp-soft-border: rgba(24, 26, 31, 0.07);
    --pp-navigation-text: #6d737c;

    --pp-content-text: #555c66;
    --pp-surface: #f5f6f7;
    --pp-highlight-value: #34383f;

    --pp-item-border: rgba(24, 26, 31, 0.08);
    --pp-data-title: #34383f;
    --pp-data-text: #737a84;

    --pp-list-text: #555c66;
    --pp-text-box-text: #606771;

    --pp-notice-title: #34383f;
    --pp-notice-text: #6d737c;

    --pp-retention-value: #4f555d;

    --pp-rights-text: #606771;

    --pp-contact-value: #34383f;
    --pp-button-text: #111317;
    --pp-small-text: #8a9099;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #d4af37 transparent;
}

/* Chrome, Edge, Safari */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        #f2c94c 0%,
        #d4af37 50%,
        #b88914 100%
    );
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #f6d96a 0%,
        #d4af37 50%,
        #a97d10 100%
    );
}

::selection {
    background: #FAF5E7;
    color: #111317;
}

::-moz-selection {
    background: #FAF5E7;
    color: #111317;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--pp-background);
    color: var(--pp-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}


/* =========================
   MAIN
========================= */

.pp-main {
    min-height: calc(100vh - 70px);
    padding: 58px 0 80px;
}

.pp-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HERO
========================= */

.pp-hero {
    max-width: 800px;
    padding: 15px 0 45px;
}

.pp-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--pp-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.pp-hero h1 {
    margin: 0;
    font-size: 39px;
    letter-spacing: -1.4px;
}

.pp-hero > p {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--pp-muted);
    font-size: 14px;
    line-height: 1.8;
}

.pp-update {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 7px 10px;
    border: 1px solid var(--pp-border);
    border-radius: 6px;
    color: var(--pp-update-text);
    font-size: 9px;
}

.pp-update strong {
    color: var(--pp-update-strong);
}


/* =========================
   LAYOUT
========================= */

.pp-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}


/* =========================
   SIDEBAR
========================= */

.pp-sidebar {
    position: sticky;
    top: 90px;
}

.pp-sidebar-card {
    padding: 18px;
    border: 1px solid var(--pp-border);
    border-radius: 12px;
    background: var(--pp-card);
}

.pp-sidebar-title {
    display: block;
    margin-bottom: 12px;
    color: var(--pp-sidebar-title);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 1px;
}

.pp-navigation {
    display: flex;
    flex-direction: column;
}

.pp-navigation a {
    padding: 9px 3px;
    border-top: 1px solid var(--pp-soft-border);
    color: var(--pp-navigation-text);
    font-size: 10px;
    font-weight: 550;
    text-decoration: none;
    transition: 0.2s;
}

.pp-navigation a:hover {
    padding-left: 7px;
    color: var(--pp-gold);
}


/* =========================
   CONTENT
========================= */

.pp-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pp-card {
    position: relative;
    padding: 29px;
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    background: var(--pp-card);
    scroll-margin-top: 95px;
}

.pp-card h2 {
    margin: 0 0 15px;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.pp-card > p {
    margin: 11px 0 0;
    color: var(--pp-content-text);
    font-size: 12px;
    line-height: 1.8;
}

.pp-section-number {
    display: block;
    margin-bottom: 6px;
    color: var(--pp-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================
   DATA CONTROLLER
========================= */

.pp-highlight-box {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0;
    margin-top: 21px;
    overflow: hidden;
    border: 1px solid var(--pp-border);
    border-radius: 9px;
    background: var(--pp-surface);
}

.pp-highlight-box span,
.pp-highlight-box strong {
    padding: 12px 14px;
    border-bottom: 1px solid var(--pp-border);
    font-size: 10px;
}

.pp-highlight-box span {
    color: var(--pp-muted);
}

.pp-highlight-box strong {
    color: var(--pp-highlight-value);
    font-weight: 650;
    overflow-wrap: anywhere;
}

.pp-highlight-box span:nth-last-child(-n+2),
.pp-highlight-box strong:nth-last-child(-n+2) {
    border-bottom: 0;
}


/* =========================
   DATA GRID
========================= */

.pp-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.pp-data-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--pp-item-border);
    border-radius: 9px;
    background: var(--pp-surface);
}

.pp-data-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--pp-gold-soft);
    color: var(--pp-gold);
    font-size: 10px;
    font-weight: 800;
}

.pp-data-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--pp-data-title);
    font-size: 10px;
}

.pp-data-item span {
    display: block;
    color: var(--pp-data-text);
    font-size: 9px;
    line-height: 1.65;
}


/* =========================
   SIMPLE LIST
========================= */

.pp-simple-list {
    margin-top: 22px;
    border-top: 1px solid var(--pp-border);
}

.pp-simple-list > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid var(--pp-border);
}

.pp-simple-list span {
    flex-shrink: 0;
    color: var(--pp-gold);
    font-size: 8px;
    font-weight: 800;
}

.pp-simple-list p {
    margin: 0;
    color: var(--pp-list-text);
    font-size: 11px;
    line-height: 1.65;
}


/* =========================
   TEXT BOX
========================= */

.pp-text-box {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(212, 175, 55, 0.13);
    border-radius: 9px;
    background: rgba(212, 175, 55, 0.035);
}

.pp-text-box p {
    margin: 0;
    color: var(--pp-text-box-text);
    font-size: 11px;
    line-height: 1.8;
}

.pp-text-box p + p {
    margin-top: 12px;
}


/* =========================
   NOTICE
========================= */

.pp-notice {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 2px solid var(--pp-gold);
    background: rgba(212, 175, 55, 0.035);
}

.pp-notice strong {
    color: var(--pp-notice-title);
    font-size: 10px;
}

.pp-notice span {
    color: var(--pp-notice-text);
    font-size: 9px;
    line-height: 1.7;
}


/* =========================
   RETENTION
========================= */

.pp-retention {
    margin: 21px 0;
    border-top: 1px solid var(--pp-border);
}

.pp-retention > div {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--pp-border);
}

.pp-retention span {
    color: var(--pp-muted);
    font-size: 10px;
}

.pp-retention strong {
    color: var(--pp-retention-value);
    font-size: 10px;
    font-weight: 600;
}


/* =========================
   RIGHTS
========================= */

.pp-rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 21px;
}

.pp-rights-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--pp-soft-border);
    border-radius: 8px;
    background: var(--pp-surface);
    color: var(--pp-rights-text);
    font-size: 9px;
    line-height: 1.6;
}

.pp-rights-grid span {
    flex-shrink: 0;
    color: var(--pp-gold);
    font-weight: 800;
}


/* =========================
   CONTACT
========================= */

.pp-contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--pp-border);
    border-radius: 9px;
    background: var(--pp-surface);
}

.pp-contact-box > div {
    min-width: 0;
}

.pp-contact-box span {
    display: block;
    margin-bottom: 4px;
    color: var(--pp-muted);
    font-size: 9px;
}

.pp-contact-box strong {
    color: var(--pp-contact-value);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.pp-contact-box a {
    flex-shrink: 0;
    padding: 8px 13px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 7px;
    color: var(--pp-gold);
    font-size: 9px;
    font-weight: 750;
    text-decoration: none;
    transition: 0.2s;
}

.pp-contact-box a:hover {
    background: var(--pp-gold);
    color: var(--pp-button-text);
}

.pp-card .pp-small-text {
    color: var(--pp-small-text);
    font-size: 9px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .pp-layout {
        grid-template-columns: 1fr;
    }

    .pp-sidebar {
        position: static;
    }

    .pp-sidebar-card {
        display: none;
    }

}


@media (max-width: 650px) {

    .pp-main {
        padding: 35px 0 55px;
    }

    .pp-container {
        width: calc(100% - 24px);
    }

    .pp-hero {
        padding-bottom: 32px;
    }

    .pp-hero h1 {
        font-size: 29px;
    }

    .pp-hero > p {
        font-size: 12px;
    }

    .pp-card {
        padding: 21px 17px;
        border-radius: 12px;
    }

    .pp-card h2 {
        font-size: 18px;
    }

    .pp-data-grid,
    .pp-rights-grid {
        grid-template-columns: 1fr;
    }

    .pp-highlight-box {
        grid-template-columns: 1fr;
    }

    .pp-highlight-box span,
    .pp-highlight-box strong {
        border-bottom: 0;
    }

    .pp-highlight-box strong {
        padding-top: 0;
        padding-bottom: 13px;
        border-bottom: 1px solid var(--pp-border);
    }

    .pp-highlight-box strong:last-child {
        border-bottom: 0;
    }

    .pp-retention > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pp-contact-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .pp-contact-box a {
        width: 100%;
        text-align: center;
    }

}