/* ============================================================
   PEEL PROFESSIONAL — POLICY / LEGAL PAGES
   peelprofessional.uk
   Loaded on top of styles.css (reuses its custom properties).
   ============================================================ */

.policy-body { background: var(--bg-primary); }

/* ── Solid nav (no hero to sit over) ───────────────────────── */
.nav--solid {
    background: rgba(15, 23, 42, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav--solid .nav__container { justify-content: space-between; }

.nav__back {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.2s;
}
.nav__back:hover { color: #fff; }

/* ── Article shell ─────────────────────────────────────────── */
.policy {
    max-width: 820px;
    margin: 0 auto;
    padding: 140px 40px 100px;
}

.policy__crumb {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}
.policy__crumb:hover { color: #fff; }

.policy__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.policy__meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--card-border);
}

/* ── Body copy ─────────────────────────────────────────────── */
.policy__body {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.75;
}
.policy__body h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 44px 0 14px;
}
.policy__body h3,
.policy__body h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 10px;
}
.policy__body p { margin-bottom: 16px; }
.policy__body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.policy__body li { margin-bottom: 7px; }
.policy__body a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.policy__body a:hover { color: #fff; }
.policy__body strong { color: var(--text-primary); font-weight: 600; }

.policy__body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.policy__body th,
.policy__body td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--card-border);
    vertical-align: top;
}
.policy__body th {
    background: var(--glass-bg);
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Contact note + inter-policy nav ───────────────────────── */
.policy__note {
    margin-top: 48px;
    padding: 18px 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.policy__note p { margin: 0; }

.policy__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
    font-size: 0.85rem;
}
.policy__links a { color: var(--text-faint); transition: color 0.2s; }
.policy__links a:hover { color: #fff; }
.policy__links a[aria-current="page"] {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ── Lean footer for policy pages ──────────────────────────── */
.policy-footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px 40px;
}
.policy-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    font-size: 0.8125rem;
    color: var(--text-faint);
}
.policy-footer__inner a { color: var(--text-faint); transition: color 0.2s; }
.policy-footer__inner a:hover { color: #fff; }

@media (max-width: 600px) {
    .nav--solid .nav__container { gap: 16px; }
    .policy { padding: 120px 24px 72px; }
    .policy__body { font-size: 0.94rem; }
    .policy__body table { display: block; overflow-x: auto; }
    .policy-footer { padding: 28px 24px; }
}
