/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    flex: 1;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Card */
.card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

nav a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

nav a:hover {
    background: #2980b9;
    text-decoration: none;
}

/* Content Block (Privacy Policy, Terms, etc.) */
.content {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

.content h2:first-child {
    margin-top: 0;
}

.content p,
.content li {
    margin-bottom: 0.75rem;
    color: #444;
}

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

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    color: #777;
    font-size: 0.9rem;
}

/* Page-specific: Privacy Policy */
.page-privacy body {
    line-height: 1.8;
}

.page-privacy header {
    padding: 2rem 1rem;
}

.page-privacy header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.page-privacy header p {
    font-size: 0.95rem;
}

.page-privacy main {
    padding-bottom: 3rem;
}
