.portal-page {
    background: #f5f8f7;
}

.portal-main {
    padding-top: var(--site-header-height);
}

.portal-hero {
    color: #ffffff;
    background: #174d40;
}

.portal-hero-grid {
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 72px;
    padding-block: 66px;
}

.portal-hero-copy {
    max-width: 680px;
}

.portal-hero-copy h1 {
    max-width: 760px;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 600;
}

.portal-hero-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.portal-hero-media {
    min-height: 260px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 26px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    box-shadow: 0 26px 60px rgba(3, 27, 22, 0.24);
}

.portal-hero-media img {
    width: min(100%, 330px);
    max-height: 300px;
    object-fit: contain;
}

.product-feature-band,
.product-catalog-band,
.service-gateway-band,
.home-portal-band,
.news-list-band,
.news-topics-band,
.support-workspace {
    padding-block: 88px;
}

.product-feature-band,
.news-topics-band {
    background: #ffffff;
}

.product-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: 72px;
}

.product-feature-copy h2,
.news-list-heading h2,
.support-guidance h2 {
    margin-bottom: 20px;
    color: var(--site-ink);
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.22;
    font-weight: 600;
}

.product-feature-copy > p:not(.eyebrow) {
    color: var(--site-muted);
    font-size: 17px;
}

.product-spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 34px 0 0;
    border-top: 1px solid var(--site-line);
}

.product-spec-list div {
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid var(--site-line);
}

.product-spec-list div:nth-child(odd) {
    padding-right: 26px;
    border-right: 1px solid var(--site-line);
}

.product-spec-list div:nth-child(even) {
    padding-left: 26px;
}

.product-spec-list dt {
    margin-bottom: 5px;
    color: var(--site-green);
    font-weight: 700;
}

.product-spec-list dd {
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.65;
}

.product-capability-panel {
    display: grid;
    gap: 10px;
    padding: 28px;
    color: #ffffff;
    background: #243b53;
    border-left: 5px solid var(--site-gold);
    border-radius: 8px;
}

.product-capability-panel span {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-weight: 700;
}

.catalog-spotlight {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
    min-height: 420px;
    margin-top: 44px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--site-line);
    border-radius: 8px;
}

.catalog-spotlight-media {
    min-height: 390px;
    background: #e8efeb;
}

.catalog-spotlight-media img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.catalog-spotlight-copy {
    align-self: center;
    padding: 50px;
}

.product-kind {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 4px 10px;
    color: var(--site-green);
    background: var(--site-green-soft);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}

.catalog-spotlight h3,
.product-card h3 {
    color: var(--site-ink);
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-weight: 600;
}

.catalog-spotlight h3 {
    margin-bottom: 18px;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.25;
}

.catalog-spotlight p,
.product-card p {
    color: var(--site-muted);
}

.plain-list {
    display: grid;
    gap: 8px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.plain-list li {
    position: relative;
    padding-left: 20px;
}

.plain-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--site-gold);
    border-radius: 50%;
}

.product-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.product-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--site-line);
    border-radius: 8px;
}

.product-card-image {
    height: 250px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 20px;
    background: #eef3f0;
    border-bottom: 1px solid var(--site-line);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 24px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.35;
}

.product-card p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.75;
}

.service-gateway-band {
    background: #ebf1ee;
}

.home-portal-band {
    background: #eef3f1;
}

.home-portal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.home-portal-grid > a {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: #ffffff;
    background: var(--site-green);
    border-top: 4px solid var(--site-gold);
    border-radius: 8px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-portal-grid > a:nth-child(2) {
    background: #243b53;
}

.home-portal-grid > a:nth-child(3) {
    color: var(--site-ink);
    background: #ffffff;
    border: 1px solid var(--site-line);
    border-top: 4px solid #2f7fa7;
}

.home-portal-grid > a:nth-child(4) {
    background: #704d2f;
}

.home-portal-grid > a:hover,
.home-portal-grid > a:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--kyd-shadow);
}

.home-portal-grid span,
.home-portal-grid small {
    color: rgba(255, 255, 255, 0.7);
}

.home-portal-grid > a:nth-child(3) span,
.home-portal-grid > a:nth-child(3) small {
    color: var(--site-muted);
}

.home-portal-grid strong {
    margin: 8px 0 10px;
    font-size: 21px;
    line-height: 1.4;
}

.home-news-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 26px 30px;
    background: #ffffff;
    border-left: 4px solid var(--site-gold);
    border-radius: 8px;
}

.home-news-row p {
    margin-bottom: 2px;
}

.home-news-row h3 {
    margin-bottom: 0;
    color: var(--site-ink);
    font-size: 21px;
}

.service-gateway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.service-gateway {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #ffffff;
    background: var(--site-green);
    border-top: 4px solid var(--site-gold);
    border-radius: 8px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-gateway:nth-child(2) {
    background: #243b53;
}

.service-gateway:nth-child(3) {
    background: #704d2f;
}

.service-gateway:hover,
.service-gateway:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--kyd-shadow);
}

.service-gateway span,
.service-gateway small {
    color: rgba(255, 255, 255, 0.72);
}

.service-gateway strong {
    margin: 8px 0 10px;
    font-size: 23px;
    line-height: 1.35;
}

.news-hero {
    background: #243b53;
}

.news-hero-note {
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid var(--site-gold);
    border-radius: 8px;
}

.news-hero-note strong,
.news-hero-note span {
    display: block;
}

.news-hero-note strong {
    margin-bottom: 10px;
    color: #f0cf89;
    font-size: 20px;
}

.news-hero-note span {
    color: rgba(255, 255, 255, 0.78);
}

.news-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.news-list-heading {
    position: sticky;
    top: 106px;
}

.news-list-heading p:last-child {
    color: var(--site-muted);
}

.news-list {
    display: grid;
    gap: 18px;
}

.news-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--site-line);
    border-radius: 8px;
}

.news-card-media {
    min-height: 330px;
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    align-self: center;
    padding: 42px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 18px;
    color: var(--site-green);
    font-size: 13px;
    font-weight: 700;
}

.news-card h3 {
    margin-bottom: 16px;
    color: var(--site-ink);
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
}

.news-card p {
    color: var(--site-muted);
}

.news-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
}

.news-topic-grid article {
    min-height: 170px;
    padding: 32px 26px;
    border-right: 1px solid var(--site-line);
}

.news-topic-grid article:last-child {
    border-right: 0;
}

.news-topic-grid strong,
.news-topic-grid span {
    display: block;
}

.news-topic-grid strong {
    margin-bottom: 10px;
    color: var(--site-green);
    font-size: 20px;
}

.news-topic-grid span {
    color: var(--site-muted);
    font-size: 14px;
}

.support-hero {
    background: #174d40;
}

.support-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.support-process li {
    position: relative;
    text-align: center;
}

.support-process li::after {
    content: "";
    position: absolute;
    top: 19px;
    left: calc(50% + 27px);
    width: calc(100% - 30px);
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.support-process li:last-child::after {
    display: none;
}

.support-process span,
.support-process strong {
    position: relative;
    z-index: 1;
    display: block;
}

.support-process span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    color: var(--site-green);
    background: #f0cf89;
    border-radius: 50%;
    font-weight: 700;
}

.support-process strong {
    font-size: 14px;
}

.support-workspace {
    background: #f5f8f7;
}

.support-workspace-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 52px;
}

.support-guidance {
    position: sticky;
    top: 106px;
}

.support-guidance dl {
    margin: 34px 0;
    border-top: 1px solid var(--site-line);
}

.support-guidance dl div {
    padding: 20px 0;
    border-bottom: 1px solid var(--site-line);
}

.support-guidance dt {
    margin-bottom: 5px;
    color: var(--site-ink);
    font-weight: 700;
}

.support-guidance dd {
    color: var(--site-muted);
    font-size: 14px;
}

.support-safety-note {
    padding: 18px;
    color: #7c561d;
    background: #fff7e8;
    border-left: 4px solid #c59434;
    border-radius: 6px;
    font-size: 14px;
}

.support-form-panel {
    background: #ffffff;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    box-shadow: var(--kyd-shadow-sm);
}

#supportForm {
    padding: 40px;
}

.form-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.form-heading h2 {
    margin-bottom: 0;
    color: var(--site-ink);
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 600;
}

.form-heading > span {
    color: var(--site-muted);
    font-size: 13px;
}

.form-heading i,
.form-field i,
.consent-field i {
    color: var(--site-red);
    font-style: normal;
}

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

.form-field {
    position: relative;
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--site-text);
    background: #ffffff;
    border: 1px solid #cdd8d3;
    border-radius: 6px;
    outline: 0;
    font-weight: 400;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--site-green-mid);
    box-shadow: 0 0 0 3px rgba(36, 111, 89, 0.12);
}

.form-field [aria-invalid="true"] {
    border-color: var(--site-red);
}

.field-error {
    min-height: 20px;
    color: var(--site-red);
    font-size: 13px;
    font-weight: 400;
}

.field-helper {
    position: absolute;
    right: 12px;
    bottom: 30px;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 400;
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    color: var(--site-muted);
    font-size: 14px;
}

.consent-field input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 4px;
    accent-color: var(--site-green);
}

.form-error-summary {
    margin-bottom: 24px;
    padding: 14px 16px;
    color: var(--site-red);
    background: #fff1ef;
    border: 1px solid #f2c7c1;
    border-radius: 6px;
    font-size: 14px;
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--site-line);
}

.form-submit-row p {
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
}

.form-submit-row p.is-error {
    color: var(--site-red);
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

@media (max-width: 1080px) {
    .product-card-grid,
    .home-portal-grid,
    .news-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-topic-grid article:nth-child(2) {
        border-right: 0;
    }

    .news-topic-grid article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--site-line);
    }
}

@media (max-width: 860px) {
    .portal-hero-grid,
    .product-feature,
    .catalog-spotlight,
    .news-layout,
    .support-workspace-grid {
        grid-template-columns: 1fr;
    }

    .portal-hero-grid {
        gap: 36px;
    }

    .portal-hero-media {
        min-height: 230px;
    }

    .product-feature,
    .news-layout,
    .support-workspace-grid {
        gap: 40px;
    }

    .news-list-heading,
    .support-guidance {
        position: static;
    }

    .service-gateway-grid {
        grid-template-columns: 1fr;
    }

    .catalog-spotlight-media,
    .catalog-spotlight-media img {
        min-height: 320px;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card-media {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .portal-main {
        padding-top: 64px;
    }

    .portal-hero-grid {
        min-height: 0;
        padding-block: 46px;
    }

    .portal-hero-copy h1 {
        font-size: 38px;
    }

    .portal-hero-copy > p:not(.eyebrow) {
        font-size: 16px;
    }

    .product-feature-band,
    .product-catalog-band,
    .service-gateway-band,
    .home-portal-band,
    .news-list-band,
    .news-topics-band,
    .support-workspace {
        padding-block: 58px;
    }

    .product-spec-list,
    .product-card-grid,
    .home-portal-grid,
    .news-topic-grid,
    .form-row,
    .support-process {
        grid-template-columns: 1fr;
    }

    .product-spec-list div,
    .product-spec-list div:nth-child(odd),
    .product-spec-list div:nth-child(even) {
        padding: 17px 0;
        border-right: 0;
    }

    .catalog-spotlight-copy,
    .news-card-body,
    #supportForm {
        padding: 26px;
    }

    .catalog-spotlight-media,
    .catalog-spotlight-media img {
        min-height: 240px;
    }

    .product-card-image {
        height: 230px;
    }

    .news-card-media {
        min-height: 220px;
    }

    .news-card h3 {
        font-size: 27px;
    }

    .news-topic-grid article {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--site-line);
    }

    .news-topic-grid article:last-child {
        border-bottom: 0;
    }

    .support-process {
        gap: 12px;
    }

    .support-process li {
        display: grid;
        grid-template-columns: 40px 1fr;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .support-process li::after {
        display: none;
    }

    .support-process span {
        margin: 0;
    }

    .form-heading,
    .form-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit-row .button {
        width: 100%;
        justify-content: center;
    }

    .home-news-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }
}
