/* ============================================================
   Dream Clean - Legal pages (Privacy Policy, Terms & Conditions)
   Loaded on /privacy-policy and /terms-and-conditions
   alongside dcs-global.css, dcs-service-page.css, dcs-individual-service.css.

   Component: .dcs-legal
   Long-form text container - constrained line length for readability,
   clear H2/H3 hierarchy, generous vertical spacing between sections,
   and a "last updated" strip at the top.
   ============================================================ */

.dcs-legal {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    color: var(--ink);
}

/* Last-updated metadata strip */
.dcs-legal__meta {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--grey-line);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dcs-legal__meta i {
    color: var(--brand);
}

/* Headings */
.dcs-legal h2 {
    color: var(--charcoal);
    font-size: clamp(1.3rem, 1.1rem + 0.85vw, 1.7rem);
    margin: 2.75rem 0 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.dcs-legal h2:first-of-type {
    margin-top: 0;
}
.dcs-legal h3 {
    color: var(--charcoal);
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.15rem);
    margin: 1.75rem 0 0.75rem;
    font-weight: 700;
}

/* Body text - slightly larger than default for reading comfort */
.dcs-legal p {
    margin: 0 0 1.15rem;
    font-size: 1rem;
    line-height: 1.75;
}

/* Lists */
.dcs-legal ul,
.dcs-legal ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}
.dcs-legal li {
    margin-bottom: 0.55rem;
    line-height: 1.65;
    font-size: 1rem;
}
.dcs-legal li::marker {
    color: var(--brand);
}

/* Inline links - matches the site's dcs-link treatment */
.dcs-legal a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .18s var(--ease), text-decoration-thickness .18s var(--ease);
}
.dcs-legal a:hover,
.dcs-legal a:focus {
    color: var(--brand-dark);
    text-decoration-thickness: 2px;
}

/* Contact block - subtle green-tinted card with a brand rule on the left */
.dcs-legal__contact {
    margin: 1.5rem 0 2rem;
    padding: 1.35rem 1.5rem;
    background: rgba(76, 175, 80, 0.05);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.dcs-legal__contact p {
    margin: 0;
    line-height: 1.55;
}
.dcs-legal__contact p + p {
    margin-top: 0.35rem;
}
.dcs-legal__contact strong {
    color: var(--charcoal);
}

/* Emphasis inside body copy */
.dcs-legal strong {
    color: var(--charcoal);
    font-weight: 700;
}
