﻿/* =========================
   DFM Guidelines Page CSS
   Clean Structure Version
   No background / No color
   Font size in rem
   ========================= */

/* Base */
.dfm-page {
    line-height: 1.65;
    font-size: 0.875rem;
}

.dfm-page p {
    font-size: 0.875rem;
}
.mb-dfm {
    background: #000;
    height: 85vh;
    margin-bottom: 25px;
}

.dfm-hero,
.dfm-container {
    margin: 0 auto;
    padding: 20px 50px;
    max-width: 1480px;
}

.dfm-seo-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Typography */
.dfm-h2 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin: 0;
    letter-spacing: .02em;
}

.dfm-h3 {
    font-size: 1rem;
    margin: 0 0 .5rem;
}

.dfm-lead {
    margin-top: .6rem;
}

.dfm-p {
    margin: 0;
}

.dfm-p--hint {
    margin-top: .6rem;
}

/* Breadcrumb */
.dfm-breadcrumb {
    padding-top: .9rem;
}

.dfm-breadcrumb__list {
    list-style: none;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: .8125rem;
    padding: 0;
    margin: 0;
}

.dfm-breadcrumb__item::after {
    content: "/";
    margin-left: .6rem;
}

.dfm-breadcrumb__item--current::after {
    content: "";
}

.dfm-breadcrumb__link {
    text-decoration: none;
}

/* Badge */
.dfm-badge {
    display: inline-flex;
    align-items: center;
    padding: .5rem .75rem;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    font-size: .8125rem;
}

.dfm-hero__grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 1.2rem;
}

.dfm-hero__kicker {
    font-size: .8125rem;
    text-transform: uppercase;
    margin-bottom: .6rem;
    letter-spacing: .04em;
}

.dfm-hero__title {
    font-size: 3.2rem;
    margin: 0;
    line-height: 1.15;
}

.dfm-hero__subtitle {
    margin: 20px 0px;
}

.dfm-hero__cta {
    margin-top: 1rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.dfm-hero__bullets {
    margin-top: 20px;
    padding-left: 1.2rem;
}
    .dfm-hero__bullets li {
        margin: 5px 0px;
    }

.dfm-hero__meta {
    margin-top: 20px;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

/* Panel */
.dfm-panel {
    border: 1px solid #d0d0d0;
    border-radius: 1.25rem;
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.dfm-panel__title {
    font-weight: 700;
    margin-bottom: .6rem;
}

.dfm-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
}

.dfm-checklist__item {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}

.dfm-check {
    width: 1rem;
    height: 1rem;
    border-radius: .25rem;
    border: 1px solid #d0d0d0;
    flex: 0 0 1rem;
}

.dfm-panel__actions {
    margin-top: .8rem;
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

/* Sections */
.dfm-section {
    padding: 1.4rem 0;
}

.dfm-section__head {
    margin-bottom: 1rem;
}

/* TOC */
.dfm-toc {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: .6rem;
}

.dfm-toc__item {
    padding: .75rem;
    border: 1px solid #d0d0d0;
    border-radius: .75rem;
    text-decoration: none;
    transition: transform .15s ease;
}

    .dfm-toc__item:hover {
        transform: translateY(-1px);
    }

/* Table */
.dfm-table-wrap {
    border: 1px solid #d0d0d0;
    overflow: auto;
}

.dfm-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 55rem;
}

    .dfm-table th,
    .dfm-table td {
        padding: .75rem;
        border-bottom: 1px solid #d0d0d0;
    }

    .dfm-table thead th {
        position: sticky;
        top: 0;
        text-align: left;
        font-size: .8125rem;
    }

    .dfm-table tbody th {
        font-weight: 700;
        text-align: left;
    }
    .dfm-table tr:last-child {
        border-bottom: none;
    }
        .dfm-table tr:last-child td {
            border-bottom: none;
        }
    .dfm-table .td-title {
        font-weight: 700;
    }



/* Cards */
.dfm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .75rem;
}

.dfm-grid--two {
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.dfm-card {
    border: 1px solid #d0d0d0;
    padding: 1rem;
}

.dfm-seg {
    margin: 10px 0px;
}

/* CTA */
.dfm-cta-bar {
    border: 1px solid #d0d0d0;
    padding: .9rem 1rem;
    margin-top: 10px;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dfm-final,
.dfm-cost-card,
.dfm-mistake-item,
.dfm-faq__item {
    border: 1px solid #d0d0d0;
    padding: .9rem 1rem;
    margin-top: 10px;
}

/* FAQ */
.dfm-faq__q {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.dfm-faq__a {
    padding-top: .6rem;
}

.dfm-cta-bar__text {
    max-width: 500px;
}

/* Responsive */
@media (max-width: 1100px) {
    .mb-dfm {
        height: 55vh;
    }
    .dfm-hero__grid {
        grid-template-columns: 1fr;
    }

    .dfm-toc,
    .dfm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mb-dfm {
        height: auto;
    }

    .dfm-hero__title {
        font-size: 1.5rem;
    }

    .dfm-hero {
        padding: 50px 0px 0px 0px;
    }

    .dfm-container {
        padding: 0px 20px;
    }

    .dfm-toc,
    .dfm-grid,
    .dfm-grid--two {
        grid-template-columns: 1fr;
    }

    .dfm-deliverables__list {
        margin-top: 20px;
        padding-left: 1.2rem;
    }

        .dfm-deliverables__list li {
            margin: 5px 0px;
        }

    .dfm-cta-bar__text {
        font-size: 0.875rem;
        margin-right: 10px;
    }
}
