:root {
    /* ADHD-Friendly Color Scheme */
    --primary-color: rgb(89, 128, 89);
    --primary-light: rgb(140, 191, 140);
    --primary-dark: rgb(64, 89, 64);
    --secondary-color: rgb(220, 216, 235);
    --secondary-light: rgb(201, 230, 220);
    --accent-color: rgb(179, 217, 255);
    --accent-light: rgb(255, 204, 128);
    --success-color: rgb(140, 191, 140);
    --warning-color: rgb(255, 204, 128);
    --error-color: rgb(217, 220, 230);
    --text-primary: rgb(64, 70, 80);
    --text-secondary: rgb(89, 128, 89);
    --text-light: rgb(140, 191, 140);
    --bg-primary: #ffffff;
    --bg-secondary: rgb(247, 248, 250);
    --bg-accent: rgb(220, 216, 235);
    --border-color: rgb(220, 216, 235);
    --shadow-sm: 0 1px 2px 0 rgba(89, 128, 89, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(89, 128, 89, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(89, 128, 89, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.breadcrumb {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary-dark);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--text-secondary);
    font-weight: 500;
}

.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.last-updated {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    font-size: 0.875rem;
}

.terms-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.table-of-contents {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    position: sticky;
    top: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.table-of-contents h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.table-of-contents nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents nav li {
    margin-bottom: 0.75rem;
}

.table-of-contents nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.table-of-contents nav a:hover {
    color: var(--primary-color);
}

.terms-sections {
    max-width: 800px;
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.terms-section h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.terms-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.terms-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-section li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.terms-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
}

.contact-method h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-method p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .table-of-contents {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .terms-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
