* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

:root {
    --color-primary: #101828;
    --color-secondary: #364153;
    --color-text-light: #4a5565;
    --color-text-lighter: #6a7282;
    --color-text-placeholder: #717182;
    --gradient-primary: linear-gradient(135deg, #9810fa 0%, #e60076 50%, #ff6900 100%);
    --gradient-purple-pink: linear-gradient(135deg, #9810fa 0%, #e60076 100%);
    --gradient-purple: linear-gradient(135deg, #c27aff 0%, #fb64b6 100%);
}

body {
    font-family: 'Arimo', sans-serif;
    font-weight: 400;
    color: var(--color-primary);
    background: #f3f4f6;
}

/* Header */
header {
    background: white;
    padding: 0;
    height: 81.43px;
    width: 100vw;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-container {
    max-width: 1390px;
    width: 100%;
    padding: 0 57px 1.44px 87px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-link:focus-visible {
    outline: 2px solid #9810fa;
    outline-offset: 4px;
    border-radius: 6px;
}

.logo img {
    height: 60px;
    width: 120px;
    object-fit: contain;
}

.btn-header {
    background: var(--gradient-purple-pink);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4285714285714286;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Legal content */
.legal-page {
    background: white;
    padding: 64px 24px 80px;
}

.legal-container {
    max-width: 960px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--color-text-lighter);
    margin-bottom: 24px;
}

.legal-container .breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
}

.legal-container .breadcrumb a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--color-text-lighter);
}

.breadcrumb [aria-current="page"] {
    color: var(--color-primary);
    font-weight: 600;
}

.legal-container h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.legal-container h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-container h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-container p,
.legal-container li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.legal-container p {
    margin-bottom: 16px;
}

.legal-container ul,
.legal-container ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-container li {
    margin-bottom: 10px;
}

.legal-container a {
    color: #9810fa;
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--color-primary);
    color: white;
    padding: 65px 0 0 0;
    width: 100vw;
    margin: 0;
    min-height: 384px;
}

.footer-container {
    max-width: 1391px;
    margin: 0 auto;
    padding: 0 55px;
}

.footer-content {
    max-width: 1390px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-brand p:first-of-type {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #99a1af;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4285714285714286;
    color: #99a1af;
    margin-bottom: 1rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #99a1af;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4285714285714286;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-alliance {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-alliance p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4285714285714286;
    color: #99a1af;
    margin-bottom: 1rem;
}

.footer-alliance .alliance-names {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 14px;
    line-height: 1.4285714285714286;
}

.footer-alliance .alliance-names span:first-child,
.footer-alliance .alliance-names span:last-child {
    font-weight: 700;
    color: #ffffff;
}

.footer-alliance .alliance-names span:nth-child(2) {
    font-weight: 400;
    color: #99a1af;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #6a7282;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 24px;
    }

    .legal-page {
        padding: 48px 20px 64px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 40px 20px 0 20px;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0 16px;
    }

    .btn-header {
        font-size: 12px;
        padding: 6px 12px;
    }

    .legal-container h1 {
        font-size: 28px;
    }
}
