/* ============================================================
   GPX Buddy — Shared Stylesheet
   Used by: index.html (T&C), support.html (Help & Support)
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: white;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e7;
}

h1 {
    font-size: 2.5em;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.app-name {
    color: #007aff;
}

.last-updated {
    color: #86868b;
    font-size: 0.9em;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: #424245;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    color: #424245;
}

.contact {
    background-color: #f5f5f7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

a {
    color: #007aff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e7;
    color: #86868b;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.3em;
    }
}
