/* =========================================
   HOBBY PAINT PRIVACY POLICY
   ========================================= */

.hp-privacy {
    --hp-green: #28563e;
    --hp-light: #edf4ef;
    --hp-border: #dce5de;
    color: #333;
    line-height: 1.7;
}

.hp-privacy * {
    box-sizing: border-box;
}

.hp-privacy h1,
.hp-privacy h2,
.hp-privacy h3 {
    color: var(--hp-green);
    line-height: 1.3;
}

.hp-privacy h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 14px;
}

.hp-privacy h2 {
    font-size: clamp(23px, 3vw, 30px);
    margin: 0 0 16px;
}

.hp-privacy h3 {
    font-size: 19px;
    margin: 0 0 10px;
}

.hp-privacy p {
    margin: 0 0 16px;
}

.hp-privacy section {
    margin-bottom: 30px;
    scroll-margin-top: 30px;
}

.hp-privacy .hp-centre {
    text-align: center;
}

.hp-privacy .hp-small {
    color: #626b65;
    font-size: 13px;
}

.hp-privacy .hp-eyebrow {
    color: var(--hp-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Branded introduction */

.hp-privacy .hp-hero {
    background: var(--hp-light);
    border: 1px solid var(--hp-border);
    border-radius: 9px;
    padding: 34px 24px;
    text-align: center;
}

.hp-privacy .hp-hero p {
    max-width: 720px;
    margin: 0 auto;
}

/* Responsive grids */

.hp-privacy .hp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hp-privacy .hp-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* Information cards */

.hp-privacy .hp-card {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 22px;
    min-width: 0;
}

.hp-privacy .hp-card p,
.hp-privacy .hp-card li {
    font-size: 14px;
}

.hp-privacy .hp-card p:last-child {
    margin-bottom: 0;
}

.hp-privacy .hp-card ul {
    margin: 0 0 0 20px;
}

.hp-privacy .hp-panel {
    background: var(--hp-light);
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 24px;
}

.hp-privacy .hp-panel p:last-child {
    margin-bottom: 0;
}

/* Numbered symbols */

.hp-privacy .hp-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--hp-light);
    color: var(--hp-green);
    font-size: 20px;
    font-weight: 700;
}

/* Privacy navigation */

.hp-privacy .hp-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.hp-privacy .hp-index a {
    display: block;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: 5px;
    color: var(--hp-green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hp-privacy .hp-index a::before {
    content: "\203A";
    margin-right: 8px;
}

.hp-privacy .hp-index a:hover {
    border-color: var(--hp-green);
}

/* Expandable privacy rights */

.hp-privacy details {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: 6px;
    padding: 15px 18px;
    margin-bottom: 10px;
}

.hp-privacy details[open] {
    background: var(--hp-light);
}

.hp-privacy summary {
    cursor: pointer;
    color: var(--hp-green);
    font-weight: 600;
}

.hp-privacy details p {
    margin: 14px 0 0;
}

.hp-privacy #hp-rights .hp-panel {
    margin: 20px 0;
}

/* Links and buttons */

.hp-privacy a {
    overflow-wrap: anywhere;
}

.hp-privacy .hp-button {
    display: inline-block;
    padding: 12px 20px;
    margin: 4px;
    background: var(--hp-green);
    color: #fff !important;
    border: 1px solid var(--hp-green);
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.hp-privacy .hp-button:hover {
    background: #193e2b;
}

.hp-privacy .hp-button-outline {
    background: #fff;
    color: var(--hp-green) !important;
}

.hp-privacy .hp-button-outline:hover {
    background: var(--hp-light);
}

.hp-privacy a:focus-visible,
.hp-privacy summary:focus-visible {
    outline: 2px solid var(--hp-green);
    outline-offset: 3px;
}

/* Final support panel */

.hp-privacy .hp-final {
    background: var(--hp-green);
    color: #fff;
    border-radius: 9px;
    padding: 30px 24px;
    text-align: center;
}

.hp-privacy .hp-final h2 {
    color: #fff;
}

.hp-privacy .hp-final .hp-button {
    background: #fff;
    color: var(--hp-green) !important;
    border-color: #fff;
}

.hp-privacy .hp-final .hp-button:hover {
    background: var(--hp-light);
}

/* Mobile layout */

@media (max-width: 767px) {

    .hp-privacy section {
        margin-bottom: 24px;
    }

    .hp-privacy .hp-hero {
        padding: 24px 16px;
    }

    .hp-privacy .hp-grid,
    .hp-privacy .hp-two-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hp-privacy .hp-index {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .hp-privacy .hp-card,
    .hp-privacy .hp-panel {
        padding: 18px;
    }

    .hp-privacy .hp-symbol {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .hp-privacy details {
        padding: 14px;
    }

    .hp-privacy .hp-final {
        padding: 24px 16px;
    }

    .hp-privacy .hp-final .hp-button {
        display: block;
        max-width: 280px;
        margin: 8px auto;
    }

}