.subpage-theme-commercial-license {
    --subpage-bg: #ffffff;
    --subpage-content-color: #23272f;
    --subpage-header-base: #cda27a;
    --subpage-accent: #5b2b2f;
    --subpage-home-hover: #5b2b2f;
}

.subpage-theme-commercial-license .subpage-header {
    background-color: #cda27a;
}

.subpage-theme-commercial-license .subpage-header::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
    background-color: #cda27a;
    background-image:
        radial-gradient(circle at 17% 79%, rgba(255, 221, 170, 1) 0%, rgba(255, 221, 170, 0) 50%),
        radial-gradient(circle at 39% 24%, rgba(218, 28, 52, 0.95) 0%, rgba(218, 28, 52, 0) 44%),
        radial-gradient(circle at 57% 30%, rgba(255, 170, 146, 0.95) 0%, rgba(255, 170, 146, 0) 44%),
        radial-gradient(circle at 76% 16%, rgba(206, 217, 136, 0.92) 0%, rgba(206, 217, 136, 0) 43%),
        radial-gradient(circle at 84% 82%, rgba(232, 84, 74, 0.9) 0%, rgba(232, 84, 74, 0) 42%),
        radial-gradient(circle at 67% 69%, rgba(66, 33, 74, 0.84) 0%, rgba(66, 33, 74, 0) 49%),
        radial-gradient(circle at 13% 18%, rgba(140, 98, 62, 0.78) 0%, rgba(140, 98, 62, 0) 46%),
        radial-gradient(circle at 47% 53%, rgba(107, 47, 77, 0.6) 0%, rgba(107, 47, 77, 0) 54%),
        radial-gradient(circle at 62% 56%, rgba(47, 24, 52, 0.42) 0%, rgba(47, 24, 52, 0) 60%);
    background-size: 130% 130%;
    background-position: 50% 50%;
    filter: blur(11px) saturate(1.2) contrast(1.14);
    transform: scale(1.06);
    transform-origin: center;
}

.subpage-content.license {
    text-align: left;
    padding: 48px 24px 72px;
    line-height: 1.6;
}

.license-article {
    max-width: 720px;
    margin: 0 auto;
    font-size: 11.5pt;
}

.license-article > .subpage-content-title {
    text-align: center;
}

.license-lede {
    margin: 0 0 4pt;
    font-size: 14pt;
    font-weight: 600;
    color: var(--subpage-accent, #5b2b2f);
    line-height: 1.3;
    text-align: center;
}

.license-meta {
    margin: 0 0 22pt;
    color: #5c606a;
    font-size: 10pt;
    text-align: center;
}

.license-intro {
    margin: 0 0 18pt;
    font-size: 12pt;
}

.license-rule {
    border: 0;
    height: 1px;
    background: rgba(91, 43, 47, 0.18);
    margin: 28pt 0;
}

.license-section {
    margin: 0 0 22pt;
}

.license-section h2 {
    margin: 0 0 10pt;
    font-size: 14pt;
    font-weight: 600;
    color: var(--subpage-accent, #5b2b2f);
    line-height: 1.3;
    scroll-margin-top: 24px;
}

.subpage-content.license p,
.subpage-content.license li {
    font-size: 11.5pt;
    line-height: 1.6;
    margin: 0 0 9pt;
}

.subpage-content.license ul {
    margin: 0 0 12pt;
    padding-left: 22px;
}

.subpage-content.license li {
    margin-bottom: 6pt;
}

.subpage-content.license li::marker {
    color: var(--subpage-accent, #5b2b2f);
}

.subpage-content.license strong {
    color: #1a1c22;
}

.subpage-content.license a {
    color: var(--subpage-accent, #5b2b2f);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.subpage-content.license a:hover {
    text-decoration-thickness: 2px;
}

.license-quote {
    margin: 10pt 0 14pt;
    padding: 10pt 16pt;
    border-left: 3px solid var(--subpage-accent, #5b2b2f);
    background: rgba(205, 162, 122, 0.16);
    color: #2a2c33;
    font-style: italic;
}

.license-quote a {
    font-style: normal;
}

.subpage-content.license code {
    font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
    font-size: 0.9em;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(91, 43, 47, 0.08);
    color: #3a1d1f;
}

.license-acceptance {
    margin: 0 0 10pt;
    font-size: 12pt;
    font-weight: 500;
}

.license-signature {
    margin: 0;
    font-size: 11.5pt;
    color: #5c606a;
}

@media (max-width: 640px) {
    .subpage-content.license {
        padding: 32px 20px 56px;
    }

    .license-article {
        font-size: 11pt;
    }

    .license-lede {
        font-size: 13pt;
    }

    .license-section h2 {
        font-size: 13pt;
    }

    .subpage-content.license p,
    .subpage-content.license li {
        font-size: 11pt;
    }
}
