/* Commercial inner pages share the homepage design tokens. */

.inner-page {
    min-height: 70vh;
    overflow: hidden;
    background: var(--home-ground, #f7f9fc);
    color: var(--home-text, #344154);
}

.inner-page a {
    text-decoration: none;
}

.inner-page__container {
    padding-top: 26px;
    padding-bottom: 112px;
}

.inner-hero {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    border-bottom: 1px solid var(--home-line, #d5deea);
    background: #eef3f9;
}

.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 50%;
    width: 1px;
    background: rgba(21, 87, 232, 0.12);
}

.inner-hero__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    align-items: center;
    min-height: 300px;
}

.inner-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 690px;
    padding: 64px 0 58px;
}

.inner-hero__copy h1 {
    margin: 0 0 18px;
    color: var(--home-ink, #0f1724);
    font-family: var(--home-display, "KSD Display", "Microsoft YaHei", sans-serif);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 760;
    line-height: 1.05;
    letter-spacing: -0.038em;
}

.inner-hero__copy p {
    max-width: 640px;
    margin: 0;
    color: var(--home-muted, #536176);
    font-size: 17px;
    line-height: 1.8;
}

.inner-hero__architecture {
    position: relative;
    align-self: stretch;
    min-height: 300px;
}

.inner-hero__node {
    position: absolute;
    display: block;
    border: 1px solid rgba(21, 87, 232, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(28, 64, 112, 0.08);
}

.inner-hero__node--one {
    top: 52px;
    left: 22%;
    width: 62%;
    height: 66px;
}

.inner-hero__node--two {
    top: 132px;
    left: 3%;
    width: 72%;
    height: 92px;
    border-color: rgba(21, 87, 232, 0.34);
}

.inner-hero__node--three {
    top: 165px;
    right: -10%;
    width: 58%;
    height: 108px;
    background: rgba(21, 87, 232, 0.92);
}

.inner-hero__node--four {
    top: 90px;
    right: 9%;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--home-blue, #1557e8);
}

.inner-hero__promo {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 12%;
    width: min(390px, 80%);
    padding: 25px 28px;
    transform: translateY(-50%);
    border: 1px solid rgba(21, 87, 232, 0.24);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--home-shadow, 0 22px 60px rgba(24, 52, 91, 0.13));
}

.inner-hero__promo span {
    display: block;
    margin-bottom: 14px;
    color: var(--home-blue, #1557e8);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0.12em;
}

.inner-hero__promo strong {
    display: block;
    color: var(--home-ink, #0f1724);
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.018em;
}

.inner-hero__promo p {
    margin: 12px 0 0;
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.7;
}

.inner-breadcrumb {
    display: flex;
    align-items: center;
    min-height: 46px;
    margin-bottom: 70px;
    border-bottom: 1px solid var(--home-line, #d5deea);
    color: var(--home-muted, #536176);
    font-size: 13px;
}

.inner-breadcrumb a {
    color: var(--home-text, #344154);
    transition: color 180ms ease;
}

.inner-breadcrumb a:hover,
.inner-breadcrumb a:focus-visible {
    color: var(--home-blue, #1557e8);
}

.inner-section-heading {
    max-width: 800px;
    margin-bottom: 48px;
}

.inner-section-heading h2 {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--home-ink, #0f1724);
    font-family: var(--home-display, "KSD Display", "Microsoft YaHei", sans-serif);
    font-size: clamp(38px, 4.6vw, 60px);
    font-weight: 740;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.inner-section-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--home-muted, #536176);
    font-size: 17px;
    line-height: 1.85;
}

.inner-primary-button,
.inner-secondary-button,
.inner-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.inner-primary-button,
.inner-cta > a {
    background: var(--home-blue, #1557e8);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(21, 87, 232, 0.2);
}

.inner-primary-button:hover,
.inner-primary-button:focus-visible,
.inner-cta > a:hover,
.inner-cta > a:focus-visible {
    background: var(--home-blue-dark, #0f42b8);
    color: #ffffff;
    transform: translateY(-2px);
}

.inner-secondary-button {
    border-color: var(--home-line, #d5deea);
    background: #ffffff;
    color: var(--home-ink, #0f1724);
}

.inner-secondary-button:hover,
.inner-secondary-button:focus-visible {
    border-color: var(--home-blue, #1557e8);
    color: var(--home-blue, #1557e8);
    transform: translateY(-2px);
}

.inner-primary-button:active,
.inner-secondary-button:active,
.inner-cta > a:active {
    transform: scale(0.98);
}

/* About */

.about-editorial {
    padding-bottom: 112px;
}

.about-editorial__layout {
    display: grid;
    grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
    gap: clamp(50px, 8vw, 108px);
    align-items: start;
}

.about-capability {
    position: sticky;
    top: 108px;
    padding: 30px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: var(--home-tint, #eef4ff);
}

.about-capability h3 {
    margin: 0 0 30px;
    color: var(--home-ink, #0f1724);
    font-size: 24px;
    font-weight: 720;
    line-height: 1.45;
    letter-spacing: -0.018em;
}

.about-capability ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-capability li {
    display: grid;
    gap: 7px;
    padding: 20px 0;
    border-top: 1px solid rgba(21, 87, 232, 0.15);
}

.about-capability li:last-child {
    padding-bottom: 0;
}

.about-capability strong {
    color: var(--home-blue, #1557e8);
    font-size: 15px;
}

.about-capability span {
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.7;
}

.about-narrative {
    min-width: 0;
    padding: 4px 0 0;
    color: var(--home-text, #344154);
    font-size: 16px;
    line-height: 1.95;
}

.about-narrative p {
    max-width: 760px;
    margin: 0 0 24px;
}

.about-narrative__lead {
    color: var(--home-ink, #0f1724);
    font-size: 19px;
    line-height: 1.85;
}

.about-narrative__statement {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 34px 0;
    padding: 30px 34px 32px;
    overflow: hidden;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
}

.about-narrative__statement::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--home-blue, #1557e8);
}

.about-narrative__statement span {
    color: var(--home-blue, #1557e8);
    font-size: 14px;
    font-weight: 720;
}

.about-narrative__statement strong {
    max-width: 620px;
    color: var(--home-ink, #0f1724);
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.018em;
}

.rich-content {
    min-width: 0;
    color: var(--home-text, #344154);
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.rich-content > :first-child {
    margin-top: 0 !important;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 1.7em 0 0.65em;
    color: var(--home-ink, #0f1724);
    font-weight: 720;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.rich-content h2 {
    font-size: clamp(28px, 3vw, 38px);
}

.rich-content h3 {
    font-size: 24px;
}

.rich-content p {
    margin: 0 0 1.25em;
}

.rich-content a {
    color: var(--home-blue, #1557e8);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.rich-content img {
    display: block;
    width: auto;
    max-width: 100% !important;
    height: auto !important;
    margin: 30px auto;
    border-radius: 14px;
}

.rich-content iframe,
.rich-content video {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 30px auto;
    border: 0;
    border-radius: 14px;
}

.rich-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.rich-content th,
.rich-content td {
    padding: 12px 14px;
    border: 1px solid var(--home-line, #d5deea);
}

.rich-content ul,
.rich-content ol {
    padding-left: 1.4em;
}

.inner-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    padding: 42px 46px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
    color: var(--home-ink, #0f1724);
    box-shadow: 0 18px 52px rgba(24, 52, 91, 0.08);
}

.inner-cta h2 {
    margin: 0 0 10px;
    color: var(--home-ink, #0f1724);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 730;
    letter-spacing: -0.025em;
}

.inner-cta p {
    max-width: 650px;
    margin: 0;
    color: var(--home-muted, #536176);
    line-height: 1.75;
}

/* Catalog */

.catalog-section,
.case-library {
    padding-bottom: 18px;
}

.software-filter {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 44px;
    padding: 19px 22px;
    border-top: 1px solid var(--home-line, #d5deea);
    border-bottom: 1px solid var(--home-line, #d5deea);
}

.software-filter__label {
    padding-top: 10px;
    color: var(--home-muted, #536176);
    font-size: 13px;
    font-weight: 700;
}

.software-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.software-filter__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    color: var(--home-text, #344154);
    font-size: 14px;
    font-weight: 650;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.software-filter__option:hover,
.software-filter__option:focus-visible {
    background: var(--home-tint, #eef4ff);
    color: var(--home-blue, #1557e8);
}

.software-filter__option.is-active {
    background: var(--home-blue, #1557e8);
    color: #ffffff;
}

.software-filter__option:active {
    transform: scale(0.98);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.catalog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
    transition: box-shadow 260ms ease, transform 260ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.catalog-card:hover {
    box-shadow: var(--home-shadow, 0 22px 60px rgba(24, 52, 91, 0.13));
    transform: translateY(-5px);
}

.catalog-card__link {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 300px;
    color: inherit;
}

.catalog-card__media {
    min-width: 0;
    overflow: hidden;
    background: #e5ebf3;
}

.catalog-card__media img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: transform 600ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.catalog-card:hover .catalog-card__media img {
    transform: scale(1.035);
}

.catalog-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px;
}

.catalog-card__type {
    margin-bottom: 18px;
    color: var(--home-blue, #1557e8);
    font-size: 13px;
    font-weight: 750;
}

.catalog-card h3 {
    margin: 0 0 14px;
    color: var(--home-ink, #0f1724);
    font-size: clamp(22px, 2.3vw, 29px);
    font-weight: 730;
    line-height: 1.38;
    letter-spacing: -0.022em;
}

.catalog-card p {
    display: -webkit-box;
    margin: 0 0 26px;
    overflow: hidden;
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.catalog-card__action,
.case-library-card strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--home-blue, #1557e8);
    font-size: 14px;
    font-weight: 720;
}

.catalog-card__action::after,
.case-library-card strong::after {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 180ms ease;
}

.catalog-card:hover .catalog-card__action::after,
.case-library-card:hover strong::after {
    transform: scaleX(1.64);
}

.catalog-search {
    max-width: 720px;
    margin: 70px auto 0;
    padding: 30px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
}

.catalog-search label {
    display: block;
    margin-bottom: 12px;
    color: var(--home-ink, #0f1724);
    font-size: 18px;
    font-weight: 710;
}

.catalog-search > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.catalog-search input {
    min-width: 0;
    min-height: 50px;
    padding: 0 17px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 10px;
    background: #ffffff;
    color: var(--home-ink, #0f1724);
    font-size: 16px;
}

.catalog-search input::placeholder {
    color: #748196;
}

.catalog-search button {
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--home-blue, #1557e8);
    color: #ffffff;
    font-size: 14px;
    font-weight: 720;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
}

.catalog-search button:hover,
.catalog-search button:focus-visible {
    background: var(--home-blue-dark, #0f42b8);
}

.catalog-search button:active {
    transform: scale(0.98);
}

/* Case library */

.case-library__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.case-library-card {
    grid-column: span 5;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
    transition: box-shadow 260ms ease, transform 260ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.case-library-card:nth-child(4n + 1),
.case-library-card:nth-child(4n + 4) {
    grid-column: span 7;
}

.case-library-card:hover {
    box-shadow: var(--home-shadow, 0 22px 60px rgba(24, 52, 91, 0.13));
    transform: translateY(-5px);
}

.case-library-card > a {
    display: grid;
    grid-template-rows: minmax(280px, 1fr) auto;
    height: 100%;
    color: inherit;
}

.case-library-card__media {
    min-height: 280px;
    overflow: hidden;
    background: #e3e9f1;
}

.case-library-card:nth-child(4n + 1) .case-library-card__media,
.case-library-card:nth-child(4n + 4) .case-library-card__media {
    min-height: 360px;
}

.case-library-card__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 600ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.case-library-card:hover .case-library-card__media img {
    transform: scale(1.035);
}

.case-library-card__body {
    display: flex;
    flex-direction: column;
    padding: 28px 30px 30px;
}

.case-library-card__body > span {
    margin-bottom: 13px;
    color: var(--home-blue, #1557e8);
    font-size: 13px;
    font-weight: 750;
}

.case-library-card h3 {
    margin: 0 0 13px;
    color: var(--home-ink, #0f1724);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 730;
    line-height: 1.38;
    letter-spacing: -0.022em;
}

.case-library-card p {
    display: -webkit-box;
    margin: 0 0 25px;
    overflow: hidden;
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Pagination and empty states */

.inner-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 58px 0 0;
}

.inner-pagination a,
.inner-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 10px;
    background: #ffffff;
    color: var(--home-text, #344154);
    font-size: 13px;
    font-weight: 650;
}

.inner-pagination a:hover,
.inner-pagination a:focus-visible,
.inner-pagination .page-num-current {
    border-color: var(--home-blue, #1557e8);
    background: var(--home-blue, #1557e8);
    color: #ffffff;
}

.inner-empty {
    max-width: 680px;
    margin: 40px auto;
    padding: 48px 30px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.inner-empty h2 {
    margin: 0 0 10px;
    color: var(--home-ink, #0f1724);
    font-size: 25px;
}

.inner-empty p {
    margin: 0 0 22px;
    color: var(--home-muted, #536176);
}

.inner-empty a {
    color: var(--home-blue, #1557e8);
    font-weight: 700;
}

/* Product detail */

.product-detail__overview {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
    gap: clamp(42px, 6vw, 76px);
    align-items: start;
    margin-bottom: 96px;
}

.product-gallery {
    min-width: 0;
}

.product-gallery .view {
    position: relative;
    width: 100%;
    max-width: none;
    overflow: hidden;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
}

.product-gallery .view .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    max-width: none;
    padding: 0;
    background: #ffffff;
}

.product-gallery .view .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery .view .arrow-left,
.product-gallery .view .arrow-right,
.product-gallery .preview .arrow-left,
.product-gallery .preview .arrow-right {
    position: absolute;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(213, 222, 234, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--home-ink, #0f1724);
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(24, 52, 91, 0.12);
}

.product-gallery .view .arrow-left,
.product-gallery .view .arrow-right {
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
}

.product-gallery .view .arrow-left {
    left: 16px;
}

.product-gallery .view .arrow-right {
    right: 16px;
}

.product-gallery .arrow-left::before,
.product-gallery .arrow-right::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.product-gallery .arrow-left::before {
    transform: rotate(-45deg) translate(1px, 1px);
}

.product-gallery .arrow-right::before {
    transform: rotate(135deg) translate(1px, 1px);
}

.product-gallery .preview {
    position: relative;
    left: auto;
    width: 100%;
    margin-top: 12px;
    padding: 0 42px;
}

.product-gallery .preview .swiper-slide {
    width: 92px;
    height: 72px;
    margin: 0 5px;
    overflow: hidden;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 10px;
    background: #ffffff;
}

.product-gallery .preview .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .preview .active-nav {
    border: 2px solid var(--home-blue, #1557e8);
}

.product-gallery .preview .arrow-left,
.product-gallery .preview .arrow-right {
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
}

.product-gallery .preview .arrow-left {
    left: 0;
}

.product-gallery .preview .arrow-right {
    right: 0;
}

.product-detail__summary {
    min-width: 0;
    padding-top: 8px;
}

.product-detail__category,
.case-detail__header > span {
    display: block;
    margin-bottom: 18px;
    color: var(--home-blue, #1557e8);
    font-size: 13px;
    font-weight: 760;
}

.product-detail__summary h2 {
    margin: 0 0 20px;
    color: var(--home-ink, #0f1724);
    font-family: var(--home-display, "KSD Display", "Microsoft YaHei", sans-serif);
    font-size: clamp(36px, 4.2vw, 56px);
    font-weight: 740;
    line-height: 1.16;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.product-detail__summary > p {
    margin: 0 0 32px;
    color: var(--home-muted, #536176);
    font-size: 16px;
    line-height: 1.8;
}

.product-facts {
    margin: 0 0 34px;
    border-top: 1px solid var(--home-line, #d5deea);
}

.product-facts > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--home-line, #d5deea);
}

.product-facts dt {
    margin: 0;
    color: var(--home-muted, #536176);
    font-size: 13px;
    font-weight: 650;
}

.product-facts dd {
    margin: 0;
    color: var(--home-ink, #0f1724);
    font-size: 14px;
    font-weight: 650;
}

.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-content-section {
    display: grid;
    grid-template-columns: minmax(230px, 3fr) minmax(0, 9fr);
    gap: clamp(46px, 7vw, 90px);
    align-items: start;
    padding: 76px 0;
    border-top: 1px solid var(--home-line, #d5deea);
}

.detail-content-section > header {
    position: sticky;
    top: 106px;
}

.detail-content-section > header h2 {
    margin: 0 0 10px;
    color: var(--home-ink, #0f1724);
    font-size: 30px;
    font-weight: 730;
    letter-spacing: -0.02em;
}

.detail-content-section > header p {
    margin: 0;
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.7;
}

.detail-adjacent {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 34px;
    border-top: 1px solid var(--home-line, #d5deea);
}

.detail-adjacent > div {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 14px;
    background: #ffffff;
    color: var(--home-text, #344154);
    line-height: 1.65;
}

.detail-adjacent > div:last-child {
    text-align: right;
}

.detail-adjacent span {
    display: block;
    margin-bottom: 8px;
    color: var(--home-muted, #536176);
    font-size: 12px;
    font-weight: 700;
}

.detail-adjacent a {
    color: var(--home-ink, #0f1724);
    font-weight: 650;
}

.detail-adjacent a:hover,
.detail-adjacent a:focus-visible {
    color: var(--home-blue, #1557e8);
}

/* Case detail */

.case-detail__header {
    max-width: 980px;
    margin-bottom: 62px;
}

.case-detail__header h2 {
    margin: 0 0 24px;
    color: var(--home-ink, #0f1724);
    font-family: var(--home-display, "KSD Display", "Microsoft YaHei", sans-serif);
    font-size: clamp(38px, 5.2vw, 66px);
    font-weight: 740;
    line-height: 1.14;
    letter-spacing: -0.037em;
    overflow-wrap: anywhere;
}

.case-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-top: 20px;
    border-top: 1px solid var(--home-line, #d5deea);
    color: var(--home-muted, #536176);
    font-size: 13px;
}

.case-detail__layout {
    display: grid;
    grid-template-columns: minmax(260px, 3fr) minmax(0, 9fr);
    gap: clamp(50px, 8vw, 104px);
    align-items: start;
    margin-bottom: 72px;
}

.case-detail__aside {
    position: sticky;
    top: 106px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: var(--home-tint, #eef4ff);
}

.case-detail__aside h3 {
    margin: 0 0 12px;
    color: var(--home-ink, #0f1724);
    font-size: 25px;
    font-weight: 720;
}

.case-detail__aside p {
    margin: 0 0 24px;
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.75;
}

.case-detail__aside .inner-primary-button,
.case-detail__aside .inner-secondary-button {
    width: 100%;
    margin-top: 9px;
}

/* Comments */

.inner-comments {
    padding: 0 0 92px;
}

.inner-comments > .container > .shadow-sm {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 34px !important;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px !important;
    box-shadow: none !important;
}

.inner-comments h4 {
    color: var(--home-ink, #0f1724);
    font-weight: 720;
}

.inner-comments .form-control {
    min-height: 48px;
    border-color: var(--home-line, #d5deea);
    border-radius: 10px;
    color: var(--home-ink, #0f1724);
    font-size: 16px;
}

.inner-comments textarea.form-control {
    min-height: 120px;
}

.inner-comments .btn-info {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--home-blue, #1557e8);
    color: #ffffff;
    font-weight: 700;
}

/* Reveal is an enhancement; content stays visible without JavaScript. */

.inner-js [data-inner-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1)), transform 620ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

.inner-js [data-inner-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Member login and registration */

.member-auth__container {
    padding-bottom: 124px;
}

.member-auth {
    display: grid;
    grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(24, 52, 91, 0.09);
}

.member-auth__intro {
    position: relative;
    padding: 52px 48px;
    overflow: hidden;
    border-right: 1px solid var(--home-line, #d5deea);
    background: var(--home-tint, #eef4ff);
}

.member-auth__intro::after {
    content: "";
    position: absolute;
    right: -78px;
    bottom: -78px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(21, 87, 232, 0.18);
    border-radius: 50%;
}

.member-auth__eyebrow,
.member-auth__heading > span {
    display: block;
    margin-bottom: 18px;
    color: var(--home-blue, #1557e8);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0.12em;
}

.member-auth__intro h2,
.member-auth__heading h2 {
    margin: 0;
    color: var(--home-ink, #0f1724);
    font-family: var(--home-display, "KSD Display", "Microsoft YaHei", sans-serif);
    font-size: clamp(34px, 3.5vw, 48px);
    font-weight: 740;
    line-height: 1.16;
    letter-spacing: -0.034em;
}

.member-auth__intro > p,
.member-auth__heading p {
    margin: 18px 0 0;
    color: var(--home-muted, #536176);
    line-height: 1.8;
}

.member-auth__intro ul {
    position: relative;
    z-index: 1;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.member-auth__intro li {
    display: grid;
    gap: 7px;
    padding: 18px 0;
    border-top: 1px solid rgba(21, 87, 232, 0.16);
}

.member-auth__intro strong {
    color: var(--home-ink, #0f1724);
    font-size: 15px;
}

.member-auth__intro li span {
    color: var(--home-muted, #536176);
    font-size: 14px;
    line-height: 1.65;
}

.member-auth__panel {
    padding: 52px 58px 56px;
    background: #ffffff;
}

.member-auth__heading {
    margin-bottom: 36px;
}

.member-auth__heading h2 {
    font-size: clamp(32px, 3.2vw, 44px);
}

.member-auth__form {
    display: grid;
    gap: 22px;
}

.auth-field {
    min-width: 0;
}

.auth-field label {
    display: block;
    margin: 0 0 9px;
    color: var(--home-ink, #0f1724);
    font-size: 14px;
    font-weight: 700;
}

.auth-field .form-control {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 10px;
    background: var(--home-ground, #f7f9fc);
    color: var(--home-ink, #0f1724);
    font-size: 16px;
    box-shadow: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.auth-field .form-control::placeholder {
    color: #7b8799;
}

.auth-field .form-control:hover {
    border-color: #b6c3d5;
}

.auth-field .form-control:focus {
    border-color: var(--home-blue, #1557e8);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 87, 232, 0.1);
    outline: 0;
}

.member-auth__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.auth-captcha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 154px;
    gap: 12px;
}

.auth-captcha__image,
.auth-code-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0;
    border: 1px solid var(--home-line, #d5deea);
    border-radius: 10px;
    background: #ffffff;
    color: var(--home-blue, #1557e8);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.auth-captcha__image:hover,
.auth-code-button:hover {
    border-color: var(--home-blue, #1557e8);
}

.auth-captcha__image:active,
.auth-code-button:active {
    transform: scale(0.98);
}

.auth-captcha__image img {
    display: block;
    max-width: 130px;
    height: 38px;
    object-fit: contain;
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    border: 1px solid var(--home-blue, #1557e8);
    border-radius: 999px;
    background: var(--home-blue, #1557e8);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(21, 87, 232, 0.2);
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.auth-submit:hover,
.auth-submit:focus-visible {
    border-color: var(--home-blue-dark, #0f42b8);
    background: var(--home-blue-dark, #0f42b8);
    transform: translateY(-2px);
}

.auth-submit:active {
    transform: scale(0.98);
}

.member-auth__switch {
    margin: 0;
    color: var(--home-muted, #536176);
    font-size: 14px;
    text-align: center;
}

.member-auth__switch a {
    color: var(--home-blue, #1557e8);
    font-weight: 700;
}

.member-auth__switch a:hover,
.member-auth__switch a:focus-visible {
    color: var(--home-blue-dark, #0f42b8);
}

.member-auth .invalid-feedback,
.member-auth .valid-feedback {
    margin-top: 8px;
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .member-auth {
        grid-template-columns: 1fr;
    }

    .member-auth__intro {
        border-right: 0;
        border-bottom: 1px solid var(--home-line, #d5deea);
    }

    .member-auth__intro ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
    .inner-page__container {
        padding-bottom: 92px;
    }

    .inner-hero__layout {
        grid-template-columns: minmax(0, 3fr) minmax(240px, 2fr);
    }

    .about-editorial__layout,
    .product-detail__overview,
    .detail-content-section,
    .case-detail__layout {
        grid-template-columns: 1fr;
    }

    .about-capability,
    .detail-content-section > header,
    .case-detail__aside {
        position: static;
    }

    .catalog-card__link {
        grid-template-columns: 1fr;
    }

    .catalog-card__media img {
        min-height: 250px;
        max-height: 330px;
    }

    .product-detail__overview {
        gap: 50px;
    }

    .product-gallery .view .swiper-slide {
        height: 480px;
    }

    .detail-content-section {
        gap: 34px;
    }

    .case-detail__aside {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 12px;
        align-items: center;
    }

    .case-detail__aside h3,
    .case-detail__aside p {
        grid-column: 1;
    }

    .case-detail__aside .inner-primary-button,
    .case-detail__aside .inner-secondary-button {
        grid-row: 1 / span 2;
        width: auto;
        margin: 0;
    }
}

@media (max-width: 767.98px) {
    .member-auth__container {
        padding-bottom: 84px;
    }

    .member-auth__intro,
    .member-auth__panel {
        padding: 36px 28px;
    }

    .member-auth__intro ul,
    .member-auth__field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .member-auth__field-grid {
        gap: 22px;
    }
    .inner-page__container {
        padding-top: 16px;
        padding-bottom: 78px;
    }

    .inner-hero,
    .inner-hero__layout {
        min-height: 250px;
    }

    .inner-hero::before,
    .inner-hero__architecture {
        display: none;
    }

    .inner-hero__layout {
        grid-template-columns: 1fr;
    }

    .inner-hero__copy {
        padding: 54px 0 48px;
    }

    .inner-hero__copy h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .inner-hero__copy p {
        font-size: 16px;
    }

    .inner-breadcrumb {
        margin-bottom: 54px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .inner-section-heading {
        margin-bottom: 36px;
    }

    .inner-section-heading h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .about-editorial {
        padding-bottom: 78px;
    }

    .about-editorial__layout {
        gap: 36px;
    }

    .about-capability,
    .catalog-card__body,
    .case-library-card__body,
    .catalog-search,
    .case-detail__aside {
        padding: 24px;
    }

    .inner-cta {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px 26px;
    }

    .inner-cta > a {
        justify-self: start;
    }

    .software-filter {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-right: 0;
        padding-left: 0;
    }

    .software-filter__label {
        padding-top: 0;
    }

    .catalog-grid,
    .case-library__grid {
        grid-template-columns: 1fr;
    }

    .case-library-card,
    .case-library-card:nth-child(4n + 1),
    .case-library-card:nth-child(4n + 4) {
        grid-column: auto;
    }

    .case-library-card > a {
        grid-template-rows: auto auto;
    }

    .case-library-card__media,
    .case-library-card:nth-child(4n + 1) .case-library-card__media,
    .case-library-card:nth-child(4n + 4) .case-library-card__media {
        min-height: 250px;
        aspect-ratio: 16 / 10;
    }

    .catalog-search > div {
        grid-template-columns: 1fr;
    }

    .catalog-search button {
        width: 100%;
    }

    .product-gallery .view .swiper-slide {
        height: auto;
        min-height: 300px;
        aspect-ratio: 4 / 3;
    }

    .product-gallery .preview {
        display: none;
    }

    .product-detail__summary h2,
    .case-detail__header h2 {
        font-size: clamp(34px, 10.5vw, 48px);
    }

    .detail-content-section {
        padding: 58px 0;
    }

    .detail-adjacent {
        grid-template-columns: 1fr;
    }

    .detail-adjacent > div:last-child {
        text-align: left;
    }

    .case-detail__layout {
        gap: 38px;
    }

    .case-detail__aside {
        display: flex;
        align-items: stretch;
    }

    .inner-comments > .container > .shadow-sm {
        padding: 24px !important;
    }
}

@media (max-width: 479.98px) {
    .member-auth__intro,
    .member-auth__panel {
        padding: 30px 22px;
    }

    .auth-captcha {
        grid-template-columns: 1fr;
    }

    .auth-captcha__image,
    .auth-code-button {
        width: 100%;
    }
    .inner-primary-button,
    .inner-secondary-button,
    .inner-cta > a,
    .product-detail__actions > a {
        width: 100%;
    }

    .product-detail__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-gallery .view .arrow-left,
    .product-gallery .view .arrow-right {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inner-js [data-inner-reveal],
    .inner-js [data-inner-reveal].is-visible,
    .catalog-card,
    .case-library-card,
    .catalog-card__media img,
    .case-library-card__media img {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .product-gallery .view .arrow-left,
    .product-gallery .view .arrow-right,
    .product-gallery .preview .arrow-left,
    .product-gallery .preview .arrow-right {
        background: #ffffff;
    }
}
