/*
|--------------------------------------------------------------------------
| DataNet News-Style Footer + Static Policy Pages
|--------------------------------------------------------------------------
*/

.dn-news-footer {
    margin-top: 52px;
    background:
        radial-gradient(circle at 80% 0%, rgba(56, 189, 248, .16), transparent 24rem),
        linear-gradient(135deg, #020617 0%, #0f172a 54%, #082f49 100%);
    color: #dbeafe;
    border-top: 1px solid rgba(186, 230, 253, .18);
}

.dn-footer-topline {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9, #2563eb, #38bdf8);
    border-radius: 0 0 999px 999px;
    opacity: .95;
}

.dn-news-footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(160px, .65fr));
    gap: clamp(22px, 4vw, 44px);
    padding: clamp(34px, 5vw, 56px) 0 34px;
}

.dn-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #ffffff;
    text-decoration: none;
}

.dn-footer-brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .35);
}

.dn-footer-brand strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.dn-footer-brand em {
    display: block;
    margin-top: 5px;
    color: #93c5fd;
    font-size: .8rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dn-footer-brand-block p {
    max-width: 620px;
    margin: 18px 0 0;
    color: #bfdbfe;
    line-height: 1.75;
    font-size: .96rem;
}

.dn-footer-news-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.dn-footer-news-strip span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(186, 230, 253, .22);
    background: rgba(255, 255, 255, .07);
    color: #e0f2fe;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dn-footer-column h3 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.dn-footer-column a {
    display: block;
    width: fit-content;
    color: #bfdbfe;
    text-decoration: none;
    font-size: .94rem;
    font-weight: 650;
    padding: 6px 0;
    transition: color .18s ease, transform .18s ease;
}

.dn-footer-column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.dn-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid rgba(186, 230, 253, .16);
    padding: 20px 0 28px;
    color: #93c5fd;
    font-size: .9rem;
}

.dn-footer-bottom strong {
    color: #e0f2fe;
}

.dn-footer-bottom span {
    margin-left: 6px;
}

.dn-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dn-footer-bottom-links a {
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 800;
}

.dn-footer-bottom-links a:hover {
    color: #ffffff;
}

.dn-legal-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid #bae6fd;
    background:
        radial-gradient(circle at 88% 0%, rgba(14, 165, 233, .24), transparent 18rem),
        linear-gradient(135deg, #ffffff, #f0f9ff);
    box-shadow: 0 20px 55px rgba(14, 165, 233, .12);
    padding: clamp(26px, 5vw, 48px);
    margin-bottom: 22px;
}

.dn-legal-hero .dn-kicker {
    margin-bottom: 10px;
}

.dn-legal-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(2.3rem, 6vw, 4.7rem);
    line-height: .92;
    letter-spacing: -.075em;
    font-weight: 950;
}

.dn-legal-hero p {
    max-width: 820px;
    margin: 16px 0 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.75;
}

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

.dn-legal-card {
    border: 1px solid #dbeafe;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    padding: clamp(22px, 4vw, 34px);
}

.dn-legal-card h2 {
    margin: 28px 0 10px;
    color: #0f172a;
    font-size: 1.45rem;
    letter-spacing: -.035em;
}

.dn-legal-card h2:first-child {
    margin-top: 0;
}

.dn-legal-card p,
.dn-legal-card li {
    color: #334155;
    line-height: 1.82;
}

.dn-legal-card ul {
    padding-left: 1.2rem;
}

.dn-legal-side {
    position: sticky;
    top: 96px;
    border: 1px solid #dbeafe;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    padding: 18px;
}

.dn-legal-side h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dn-legal-side a {
    display: block;
    border-radius: 14px;
    color: #0369a1;
    text-decoration: none;
    font-weight: 800;
    padding: 9px 10px;
}

.dn-legal-side a:hover,
.dn-legal-side a.active {
    background: #f0f9ff;
    color: #075985;
}

.dn-updated-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
    color: #075985;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .82rem;
    font-weight: 900;
    margin-top: 16px;
}

@media (max-width: 980px) {
    .dn-news-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dn-footer-brand-block {
        grid-column: 1 / -1;
    }

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

    .dn-legal-side {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .dn-news-footer-grid {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }

    .dn-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .dn-footer-bottom span {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }

    .dn-legal-hero {
        border-radius: 24px;
    }

    .dn-legal-card,
    .dn-legal-side {
        border-radius: 22px;
    }
}
