* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--color-surface-subtle, #f7f9fc);
    color: var(--color-content-default, #343a46);
    font:
        16px/1.65 -apple-system,
        BlinkMacSystemFont,
        'PingFang SC',
        'Microsoft YaHei',
        sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--color-action-primary, #2450ff);
}
img {
    max-width: 100%;
    display: block;
}
button,
input,
textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid #9dbaff;
    outline-offset: 3px;
}
.site-container {
    max-width: 1200px;
    padding-inline: 24px;
    margin-inline: auto;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.skip-link {
    position: absolute;
    top: -60px;
    left: 24px;
    padding: 12px;
    background: #fff;
    z-index: 100;
}
.skip-link:focus {
    top: 8px;
}
.top-strip {
    background: #f5f7fa;
    color: #667085;
    padding: 8px 0;
    font-size: 13px;
}
.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid #e9edf3;
    background: #fff;
}
.header-inner {
    display: flex;
    min-height: 82px;
    gap: 28px;
    align-items: center;
}
.brand {
    flex: 0 0 auto;
}
.brand img {
    width: auto;
    max-width: 150px;
    height: 28px;
    object-fit: contain;
}
.primary-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex: 1;
}
.primary-nav > a,
.nav-group > summary {
    font-size: 15px;
    white-space: nowrap;
}
.nav-group {
    position: relative;
}
.nav-group summary {
    cursor: pointer;
    list-style: none;
}
.nav-group summary::after {
    content: '⌄';
    margin-left: 6px;
}
.nav-submenu {
    position: absolute;
    top: 36px;
    left: -16px;
    display: grid;
    min-width: 190px;
    max-height: 450px;
    overflow: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5eaf0;
    box-shadow: 0 12px 30px #132c4b1a;
}
.nav-submenu a {
    padding: 7px 12px;
    font-size: 14px;
    white-space: nowrap;
}
.header-search {
    display: flex;
    width: 170px;
}
.header-search input {
    min-width: 0;
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #e1e7ef;
    border-right: 0;
    font-size: 13px;
}
.header-search button,
.search-form button,
.consultation-form button {
    border: 0;
    background: var(--color-action-primary, #2450ff);
    color: #fff;
    padding: 9px 15px;
    white-space: nowrap;
}
.home-hero {
    min-height: 390px;
    color: #fff;
    background-size: cover;
    background-position: center;
}
.hero-inner {
    padding-block: 80px;
    max-width: 1200px;
}
.hero-kicker {
    font-size: 15px;
    letter-spacing: 2px;
}
.hero-inner h1 {
    max-width: 780px;
    font-size: 42px;
    line-height: 1.25;
    margin: 20px 0;
}
.hero-inner p {
    max-width: 760px;
    font-size: 18px;
    opacity: 0.92;
}
.hero-link {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 18px;
    border: 1px solid #ffffff99;
    color: #fff;
}
.hero-link:hover {
    background: #fff;
    color: #2450ff;
}
.licensing-website .home-hero {
    min-height: 500px;
    text-align: center;
}
.licensing-website .hero-inner h1,
.licensing-website .hero-inner p {
    margin-inline: auto;
}
.category-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-block: 28px;
}
.category-strip a {
    display: grid;
    gap: 6px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e2e8f1;
}
.category-strip strong {
    font-size: 18px;
}
.category-strip span {
    font-size: 13px;
    color: #778196;
}
.page-section {
    padding-block: 40px;
}
.section-heading {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.section-heading h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid var(--color-action-primary, #2450ff);
}
.section-heading > a,
.section-heading > span {
    font-size: 13px;
    color: #687489;
}
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}
.article-list {
    background: #fff;
    border: 1px solid #e6ebf2;
    padding-inline: 24px;
}
.article-row {
    display: flex;
    gap: 22px;
    padding: 25px 0;
    border-bottom: 1px solid #edf0f5;
}
.article-row:last-child {
    border-bottom: 0;
}
.article-image {
    flex: 0 0 165px;
    aspect-ratio: 16/10;
    align-self: center;
    overflow: hidden;
}
.article-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.article-row-copy {
    min-width: 0;
}
.article-row h2 {
    font-size: 20px;
    line-height: 1.5;
    margin: 8px 0;
}
.article-row p {
    margin: 0;
    color: #748091;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #7b8595;
    font-size: 12px;
}
.article-meta span:first-child {
    color: var(--color-action-primary, #2450ff);
}
.sidebar-block {
    padding: 22px;
    background: #fff;
    border: 1px solid #e6ebf2;
    margin-bottom: 24px;
}
.sidebar-block h2 {
    font-size: 19px;
    margin: 0 0 18px;
    border-left: 3px solid #2450ff;
    padding-left: 12px;
}
.recommendations {
    padding: 0;
    margin: 0;
    list-style: none;
}
.recommendations li {
    display: grid;
    gap: 5px;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f5;
}
.recommendations li:last-child {
    border: 0;
}
.recommendations span,
.recommendations time {
    font-size: 11px;
    color: #8490a0;
}
.recommendations a {
    font-size: 14px;
    line-height: 1.5;
}
.text-link {
    display: inline-block;
    font-size: 13px;
    margin-top: 15px;
    color: #2450ff;
}
.catalog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.catalog-links a {
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #e7ebf1;
    background: #f8faff;
}
.business-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-block: 12px 50px;
}
.business-block {
    padding: 25px;
    background: #fff;
    border: 1px solid #e6ebf2;
}
.business-block h2 {
    font-size: 22px;
    margin-top: 0;
}
.compact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.compact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #edf0f5;
    font-size: 15px;
}
.page-banner {
    background: #edf3ff;
    border-bottom: 1px solid #e1e8f3;
    padding-block: 30px;
}
.page-banner h1 {
    font-size: 34px;
    margin: 12px 0;
}
.page-banner p {
    color: #778296;
    margin: 0;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    font-size: 13px;
    color: #8892a0;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #606d80;
}
.article-detail {
    padding: 36px;
    background: #fff;
    border: 1px solid #e5eaf2;
}
.article-detail h1 {
    font-size: 30px;
    line-height: 1.5;
    margin: 12px 0 18px;
}
.article-category {
    color: #2450ff;
    font-size: 14px;
}
.article-detail header {
    padding-bottom: 24px;
    border-bottom: 1px solid #edf0f5;
}
.article-summary {
    padding: 18px 20px;
    margin: 26px 0;
    background: #f5f8fc;
    color: #6f7d8f;
    border-left: 3px solid #d5e4ff;
    font-size: 15px;
}
.article-body {
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}
.article-body h2 {
    font-size: 24px;
    margin-top: 32px;
}
.article-body h3 {
    font-size: 20px;
    margin-top: 24px;
}
.article-body img {
    height: auto;
    margin: 24px auto;
}
.article-body a {
    color: #2450ff;
    text-decoration: underline;
}
.article-body table {
    border-collapse: collapse;
    max-width: 100%;
    display: block;
    overflow: auto;
}
.article-body td,
.article-body th {
    padding: 10px;
    border: 1px solid #e0e5eb;
}
.article-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #edf0f5;
    padding-top: 24px;
    margin-top: 32px;
    font-size: 14px;
    color: #2450ff;
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 28px 0;
}
.pagination a,
.pagination span {
    display: block;
    min-width: 38px;
    padding: 7px 12px;
    text-align: center;
    border: 1px solid #e2e8f1;
    background: #fff;
    font-size: 14px;
}
.pagination span {
    background: #2450ff;
    color: #fff;
    border-color: #2450ff;
}
.empty-state {
    padding: 28px;
    color: #8893a3;
}
.search-form {
    display: flex;
    max-width: 700px;
    margin-top: 20px;
}
.search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d4ddeb;
    padding: 12px;
}
.search-total {
    font-size: 13px;
    color: #7b8595;
}
.consultation-section {
    padding: 40px 0;
    background: #eaf1ff;
}
.consultation-section h2 {
    font-size: 26px;
    margin: 0;
}
.consultation-section > div > p {
    color: #6b7d98;
    margin-bottom: 24px;
}
.consultation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 850px;
}
.consultation-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
}
.consultation-form input,
.consultation-form textarea {
    width: 100%;
    border: 1px solid #d9e2f2;
    padding: 10px 12px;
    background: #fff;
}
.form-message {
    grid-column: 1/-1;
}
.consultation-form button {
    justify-self: start;
    min-width: 130px;
}
.form-feedback {
    margin: 0;
    font-size: 14px;
    align-self: center;
}
.form-feedback.is-error {
    color: #a32720;
}
.site-footer {
    background: var(--color-surface-footer, #202124);
    color: #fff;
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 80px;
    padding-block: 50px;
}
.footer-main h2 {
    font-size: 20px;
    margin: 0 0 22px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 26px;
}
.footer-nav a {
    font-size: 14px;
    color: #ffffffcc;
}
.footer-nav a:hover {
    color: #9bbaff;
}
.footer-qr {
    display: grid;
    gap: 10px;
    text-align: center;
    justify-items: center;
}
.footer-qr img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}
.footer-qr strong {
    font-size: 12px;
}
.copyright {
    border-top: 1px solid #ffffff20;
    padding: 20px 24px;
    color: #ffffffa6;
    font-size: 12px;
    text-align: center;
}
@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        padding-block: 18px;
        gap: 18px;
    }
    .primary-nav {
        order: 3;
        flex-basis: 100%;
        overflow: auto;
        gap: 24px;
    }
    .header-search {
        margin-left: auto;
    }
    .nav-submenu {
        position: static;
    }
    .content-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 22px;
    }
    .hero-inner h1 {
        font-size: 36px;
    }
}
@media (max-width: 767px) {
    .site-container {
        padding-inline: 18px;
    }
    .brand img {
        max-width: 130px;
        height: 24px;
    }
    .header-search {
        width: 160px;
    }
    .primary-nav {
        align-items: flex-start;
        padding-bottom: 5px;
    }
    .primary-nav > a,
    .nav-group > summary {
        font-size: 14px;
    }
    .home-hero,
    .licensing-website .home-hero {
        min-height: 330px;
    }
    .hero-inner {
        padding-block: 55px;
    }
    .hero-inner h1 {
        font-size: 29px;
    }
    .hero-inner p {
        font-size: 16px;
    }
    .category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .category-strip a {
        padding: 15px;
    }
    .category-strip strong {
        font-size: 16px;
    }
    .content-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    .page-section {
        padding-block: 28px;
    }
    .section-heading h2 {
        font-size: 23px;
    }
    .article-list {
        padding-inline: 18px;
    }
    .article-row {
        gap: 14px;
        padding: 20px 0;
    }
    .article-image {
        flex-basis: 100px;
    }
    .article-row h2 {
        font-size: 17px;
    }
    .article-row p {
        font-size: 12px;
    }
    .article-detail {
        padding: 22px 18px;
    }
    .article-detail h1 {
        font-size: 24px;
    }
    .article-body {
        font-size: 16px;
    }
    .page-banner h1 {
        font-size: 28px;
    }
    .business-sections {
        grid-template-columns: 1fr;
    }
    .consultation-form {
        grid-template-columns: 1fr;
    }
    .form-message {
        grid-column: auto;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 32px;
    }
    .footer-qr {
        display: flex;
        align-items: center;
    }
    .footer-qr img {
        width: 64px;
        height: 64px;
    }
    .copyright {
        font-size: 11px;
    }
    .form-feedback {
        min-height: 24px;
    }
}
