/* ==========================================================================
   1. GLOBAL SYSTEM SETTINGS
   ========================================================================== */
:root {
    color-scheme: light dark;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   2. BASE RESET & TYPOGRAPHY
   ========================================================================== */
body {
    font-family: system-ui;
    margin: 0px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 5px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 10px;
    }
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Shared page widths across sections */
.app-section,
#privacy-policy,
#terms-of-service,
#customer-support {
    width: 90%;
}

@media (min-width: 768px) {
    .app-section,
    #privacy-policy,
    #terms-of-service,
    #customer-support {
        width: 60%;
    }
}

/* ==========================================================================
   4. CONTENT BLOCKS
   ========================================================================== */

/* Hero App Section */
.app-section {
    text-align: center;
}

.image-banner {
    width: 100%;
    height: auto;
}

/* App Download Badges */
.app-badge {
    width: 45%;
    height: auto;
    padding: 20px;
}

@media (min-width: 768px) {
    .app-badge {
        width: 25%;
        padding: 30px;
    }
}

/* Text alignment for policy and support lists */
#privacy-policy,
#terms-of-service,
#customer-support {
    text-align: left;
}

/* Link reset for banners & support links */
.app-section a,
#customer-support a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   5. NAVIGATION BAR
   ========================================================================== */
.navigation-bar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.navigation-bar li a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    text-transform: uppercase;
    color: inherit;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

.navigation-bar li a:hover {
    text-decoration: underline;
}

/* Responsive navigation bar */
@media (max-width: 600px) {
    .navigation-bar {
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid #ccc;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .navigation-bar li a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}
