/* ===== CSS VARIABLES ===== */
:root {
    /* Premium Blue Color Palette - Streamlined & Professional */
    --c-deep: #0a1428;           /* Deepest navy - for backgrounds */
    --c-navy: #1e293b;           /* Rich navy - primary dark */
    --c-teal: #0891b2;           /* Premium teal - primary accent */
    --c-blue-light: #1e40af;     /* Royal blue - secondary accent */
    --c-blue-medium: #3b82f6;    /* Bright blue - highlights */
    --c-blue-dark: #1e3a8a;      /* Deep blue - depth */
    
    /* Neutral Palette */
    --white: #FFFFFF;
    --light-gray: #f8fafc;
    --medium-gray: #94a3b8;
    --dark-gray: #475569;
    --black: #000000;
    
    /* Legacy Support */
    --green: var(--c-teal);
    
    /* Typography System - Professional Landing Page */
    --font-size-xs: 0.8125rem;    /* ~13px */
    --font-size-sm: 0.9375rem;    /* ~15px */
    --font-size-base: 1.05rem;    /* ~16.8px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.35rem;      /* ~21.6px */
    --font-size-2xl: 1.8rem;      /* 28.8px */
    --font-size-3xl: 2.25rem;     /* 36px */
    --font-size-4xl: 2.7rem;      /* 43.2px */
    --font-size-5xl: 2.9rem;      /* 46.4px */
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;
    --line-height-loose: 1.9;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* ===== BACKGROUND ===== */
.bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-navy) 50%, var(--c-blue-light) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Dots overlay limited to top/bottom bands via mask */
.bg-dots {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0 1px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: 0.9;
    transform: rotate(-12deg);
    /* Show only in top ~30% and bottom ~28% (tweak stops to taste) */
    -webkit-mask:
        linear-gradient(to bottom, black 0%, black 30%, transparent 48%),
        linear-gradient(to top, black 0%, black 28%, transparent 50%);
    mask:
        linear-gradient(to bottom, black 0%, black 30%, transparent 48%),
        linear-gradient(to top, black 0%, black 28%, transparent 50%);
}

/* Graceful fallback where mask isn't supported: soften dots in the centre */
@supports not ((-webkit-mask: none) or (mask: none)) {
    .bg-dots {
        background-image:
            radial-gradient(circle, rgba(74, 144, 226, 0.35) 0 1px, transparent 1.2px),
            /* centre fade reduces dot visibility */
            linear-gradient(to bottom, rgba(4, 26, 51, 0) 20%, rgba(4, 26, 51, 0.85) 55%, rgba(4, 26, 51, 0) 80%);
        background-size: 22px 22px, 100% 100%;
        background-blend-mode: normal, multiply;
        opacity: 0.8;
    }
}

/* ===== HERO SECTION ===== */
.policy-hero {
    padding: 7rem 0 2rem;
    background: #0a1428;
    color: #fff;
    text-align: center;
}

.policy-hero h1 {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: var(--font-size-3xl);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-tight);
}

/* ===== POLICY CONTENT ===== */
.policy-content {
    padding: 3rem 0 4rem;
    background: #ffffff;
}

.policy-content h2 {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1428;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    margin-bottom: 1rem;
}

.policy-content p,
.policy-content li {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

.policy-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.policy-content a {
    color: var(--c-teal);
    text-decoration: none;
}

.policy-content a:hover {
    color: var(--c-blue-light);
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .policy-hero {
        padding: 6rem 0 2rem;
    }

    .policy-hero h1 {
        font-size: 2rem;
    }

    .policy-content {
        padding: 2rem 0 3rem;
    }

    .policy-content h2 {
        font-size: 1.125rem;
    }

    .policy-content p,
    .policy-content li {
        font-size: 0.95rem;
    }
}
