* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    background: #eef2ff;
    color: #26354d;
    line-height: 1.65;
}

.license-page {
    max-width: 1050px;
    margin: 40px auto;
    padding: 0 20px 60px;
}

.license-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 55, 100, 0.1);
    overflow: hidden;
}

.license-header {
    padding: 30px 35px;

    background: linear-gradient(135deg, #173d75, #285aa0);

    color: #ffffff;
}

.license-header h1 {
    margin: 0 0 8px;

    font-size: 30px;
    line-height: 1.2;
}

.license-header p {
    margin: 0;

    color: #e7efff;
    font-size: 15px;
}

.license-content {
    padding: 35px;
}

.license-section {
    margin-bottom: 38px;
}

.license-section:last-child {
    margin-bottom: 0;
}

.license-section h2 {
    margin: 0 0 15px;

    color: #173d75;
    font-size: 22px;
    line-height: 1.3;

    padding-bottom: 8px;
    border-bottom: 1px solid #dce4f2;
}

.license-section h3 {
    margin: 25px 0 8px;

    color: #244c84;
    font-size: 17px;
}

.license-section p {
    margin: 0 0 14px;
}

.license-section ul {
    margin: 10px 0 18px;
    padding-left: 25px;
}

.license-section li {
    margin-bottom: 7px;
}

.license-box {
    margin: 20px 0;
    padding: 20px 22px;

    background: #f5f8ff;
    border: 1px solid #d8e2f4;
    border-left: 5px solid #285aa0;

    border-radius: 10px;
}

.license-box strong {
    color: #173d75;
}

.license-warning {
    background: #fff9ed;
    border-color: #f0d79b;
    border-left-color: #d79a18;
}

.license-warning strong {
    color: #8a5a00;
}

.license-green {
    background: #f1faf5;
    border-color: #c8e6d4;
    border-left-color: #2f8f5b;
}

.license-green strong {
    color: #216d45;
}

.cc-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 5px 0 18px;
    padding: 10px 15px;

    border-radius: 8px;

    background: #173d75;
    color: #ffffff;

    font-weight: 700;
    font-size: 15px;
}

.cc-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 2px solid #ffffff;
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}

.source {
    padding: 14px 18px;
    margin: 12px 0;

    background: #f8f9fc;
    border: 1px solid #e2e7f0;
    border-radius: 8px;
}

.source strong {
    color: #173d75;
}

.license-footer {
    margin-top: 25px;
    padding: 22px 35px;

    background: #f6f8fc;

    border-top: 1px solid #e1e6ef;

    text-align: center;

    color: #687891;
    font-size: 13px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 20px;

    color: #244c84;
    text-decoration: none;

    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .license-page {
        margin: 20px auto;
        padding: 0 12px 35px;
    }

    .license-header {
        padding: 24px 22px;
    }

    .license-header h1 {
        font-size: 25px;
    }

    .license-content {
        padding: 25px 20px;
    }

    .license-section h2 {
        font-size: 20px;
    }

    .license-footer {
        padding: 20px;
    }
}
