/* Terms page styles */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --accent: #06b6d4;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --white: #ffffff;
    --surface: #f9fafb;
}

body {
    background: var(--surface);
    min-height: 100vh;
}

.terms-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    min-height: 100vh;
}

.terms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo { height: 38px; width: auto; }

.terms-content { }

.terms-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2rem;
    line-height: 1.3;
}

.terms-hero {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.terms-hero .hero-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.terms-hero h2 {
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.terms-hero p {
    margin: 0 0 1.25rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-chip {
    background: var(--surface);
    color: var(--text-secondary);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

.terms-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 1.1rem;
    background: var(--primary);
    border-radius: 2px;
}

.terms-article {
    padding: 0;
}

.terms-article h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.terms-article p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.925rem;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.925rem;
}

.terms-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
}

.terms-list strong { 
    color: var(--text-primary);
    font-weight: 600;
}

.terms-footer {
    text-align: center;
    padding: 2rem 0 0;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .terms-container { padding: 1rem 1rem 2rem; }
    .terms-header { 
        gap: 1rem;
    }
    .terms-title { 
        font-size: 1.5rem; 
    }
    .terms-hero { 
        padding: 1.25rem;
    }
    .terms-hero h2 {
        font-size: 1.25rem;
    }
    .hero-grid {
        flex-direction: column;
    }
    .terms-section { 
        padding: 1.25rem;
    }
}

@media print {
    body { background: #fff; }
    .terms-container { max-width: 100%; padding: 0.5rem; }
    .terms-header, .back-link { display: none; }
    .terms-section { box-shadow: none; page-break-inside: avoid; }
}
