/* ===========================
   Book-Demo.CSS - Fairlead
   =========================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===========================
   CONTAINER
   =========================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 48px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0055ff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle Switch */
.night-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 999px;
    transition: background 0.3s;
}

.slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked + .slider {
    background: #0055ff;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(16px);
}

/* Buttons */
.btn-primary {
    background: #0055ff;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #0044dd;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #1a1a2e;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1.5px solid #d0d0d0;
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.2s, transform 0.15s;
}

.btn-outline:hover {
    border-color: #0055ff;
    color: #0055ff;
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.5);
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.2s;
}

.btn-outline-white:hover {
    border-color: #fff;
}









:root {
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --primary-gradient: linear-gradient(90deg, #2563eb, #06b6d4);
}

.dark {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f9fafb;
    --text-muted: #94a3b8;
    --border-color: #334155;
}






/* --- CONTAINER --- */
.legal-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-header {
    margin-bottom: 50px;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* --- GRID SYSTEM --- */
.legal-grid {
    display: flex;
    flex-direction: column; /* Mobile Default */
    gap: 40px;
}

/* --- SIDEBAR --- */
.content-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns on phone */
    gap: 10px;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.sidebar-nav a:hover { color: var(--blue-accent); }

/* --- CONTENT AREA --- */
.policy-block { margin-bottom: 60px; }

.policy-block h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.status-badge {
    display: inline-block;
    background: rgba(22, 163, 74, 0.1);
    color: var(--green-accent);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.policy-block h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
    color: var(--text-main);
}

.policy-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.custom-list { list-style: none; }
.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.custom-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue-accent);
    font-weight: bold;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}

/* --- DESKTOP BREAKPOINT (1024px+) --- */
@media (min-width: 1024px) {
    .legal-grid { flex-direction: row; }
    
    .legal-sidebar {
        width: 250px;
        flex-shrink: 0;
    }

    .sidebar-sticky {
        position: sticky;
        top: 40px;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .legal-content {
        padding-left: 50px;
        border-left: 1px solid var(--border-color);
    }

    .legal-header h1 { font-size: 3.5rem; }
}







/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    gap: 28px;
}

.footer-left a {
    font-size: 13.5px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-left a:hover {
    color: #0055ff;
}

.footer-right {
    font-size: 13px;
    color: #999;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
    .hero-inner,
    .who-inner {
        flex-direction: column;
    }

    .hero-right,
    .who-right {
        flex: unset;
        width: 100%;
    }

    .dashboard-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .mv-cards,
    .approach-cards,
    .feature-blocks {
        grid-template-columns: 1fr;
    }

    .pain-solution {
        flex-direction: column;
    }

    .arrow-divider {
        transform: rotate(90deg);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-left h2 {
        max-width: 100%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 20px;
    }

    .site-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-section,
    .cta-section {
        padding: 48px 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }
}