:root {
    --ink: #142234;
    --muted: #667486;
    --line: #e3e8ef;
    --blue: #315ff4;
    --red: #d8312b;
    --soft: #f6f8fb;
    --panel: #fff;
    --shadow: 0 18px 48px rgba(20, 34, 52, .08);
    --container: min(1180px, calc(100% - 40px));
    --section-y: 112px;
    --card-pad: 28px;
    --grid-gap: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.68;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    padding: 0 clamp(20px, 5vw, 72px);
    border-bottom: 1px solid rgba(227, 232, 239, .8);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 210px;
    height: 48px;
}

.brand img {
    width: 100%;
    height: auto;
    display: block;
}

.site-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    color: #384658;
    font-size: 15px;
}

.site-nav a {
    padding: 24px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
    padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 72px) 64px;
    background:
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.eyebrow,
.section-title p,
.product-intro p,
.cta p {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.section-title h2,
.product-intro h2,
.service-section h2,
.cta h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.12;
    letter-spacing: 0;
}

.lead {
    margin: 22px 0 30px;
    max-width: 620px;
    color: #526174;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-points span {
    padding: 7px 11px;
    border: 1px solid #dce5f1;
    border-radius: 999px;
    color: #526174;
    background: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 12px 26px rgba(49, 95, 244, .22);
}

.btn.ghost {
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
}

.product-window {
    overflow: hidden;
    border: 1px solid #d9e2ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: #f7f9fc;
}

.window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8d1df;
}

.window-bar span:first-child {
    background: var(--red);
}

.window-bar span:nth-child(2) {
    background: #f1b548;
}

.window-bar span:nth-child(3) {
    background: #43b97f;
}

.window-bar strong {
    margin-left: 8px;
    color: #48586c;
    font-size: 14px;
}

.window-body {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-height: 420px;
}

.window-body aside {
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    background: #fbfcfe;
}

.window-body aside b,
.window-body aside em {
    display: block;
}

.window-body aside b {
    margin-bottom: 16px;
    color: #263446;
    font-size: 14px;
}

.window-body aside em {
    margin-bottom: 8px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #657386;
    font-style: normal;
    font-size: 14px;
}

.window-body aside .active {
    color: var(--blue);
    background: rgba(49, 95, 244, .08);
}

.window-body section {
    padding: 24px;
}

.patient-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.patient-row small,
.record-card label {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.patient-row strong {
    display: block;
    margin-top: 4px;
    font-size: 22px;
}

.patient-row span {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: #0f8c63;
    background: #e9f8f2;
    font-size: 13px;
}

.record-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 20px;
}

.record-card {
    min-height: 138px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.record-card.wide {
    grid-column: 1 / -1;
}

.record-card p {
    height: 12px;
    margin: 14px 0 0;
    border-radius: 999px;
    background: #edf2f7;
}

.record-card p:nth-of-type(2) {
    width: 82%;
}

.record-card p:nth-of-type(3) {
    width: 58%;
}

.chart-line {
    height: 76px;
    margin-top: 18px;
    border-bottom: 2px solid #dfe7f1;
    background:
        linear-gradient(135deg, transparent 12%, rgba(49, 95, 244, .16) 12% 16%, transparent 16% 28%, rgba(49, 95, 244, .24) 28% 33%, transparent 33% 52%, rgba(216, 49, 43, .18) 52% 57%, transparent 57% 72%, rgba(49, 95, 244, .18) 72% 78%, transparent 78%);
}

.record-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.record-card li {
    height: 10px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #edf2f7;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: var(--container);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 34, 52, .05);
}

.metrics div {
    padding: 26px 30px;
    border-right: 1px solid var(--line);
}

.metrics div:last-child {
    border-right: 0;
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    color: var(--blue);
    font-size: 34px;
    line-height: 1.1;
}

.metrics span {
    margin-top: 4px;
    color: var(--muted);
}

.section,
.product-section,
.service-section,
.cta {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: var(--section-y) 0;
}

.section-title {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-title h2,
.product-intro h2,
.service-section h2,
.cta h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.solution-grid article,
.service-cards article {
    min-height: 212px;
    padding: var(--card-pad);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.solution-grid h3,
.service-cards h3,
.delivery-rail h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.solution-grid p,
.service-cards p,
.delivery-rail p,
.product-intro span,
.section-title span,
.cta span,
.service-section > div > p:last-child {
    margin: 0;
    color: var(--muted);
}

.section-title span {
    display: block;
    max-width: 820px;
    margin-top: 14px;
}

.product-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 56px;
    border-radius: 8px;
    background: var(--ink);
}

.product-intro {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.product-intro h2 {
    color: #fff;
}

.product-intro span {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
}

.product-notes {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 34px;
}

.product-notes article {
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
}

.product-notes strong,
.product-notes small {
    display: block;
}

.product-notes strong {
    margin-bottom: 6px;
    color: #fff;
    font-size: 15px;
}

.product-notes small {
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.65;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-self: stretch;
}

.feature-list div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    min-height: 154px;
    padding: 16px 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
}

.feature-list b {
    color: rgba(255, 255, 255, .38);
    font-size: 20px;
}

.feature-list p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
}

.delivery-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.delivery-rail article {
    min-height: 220px;
    padding: var(--card-pad);
    border-right: 1px solid var(--line);
    background: #fff;
}

.delivery-rail article:last-child {
    border-right: 0;
}

.delivery-rail span {
    display: block;
    margin-bottom: 30px;
    color: var(--blue);
    font-weight: 800;
}

.service-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
    padding: var(--section-y) 0;
}

.service-section > div:first-child {
    display: flex;
    flex-direction: column;
    min-height: 430px;
}

.service-principles {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
}

.service-principles span {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #3d4c5f;
    background: #fff;
    font-size: 14px;
}

.service-cards {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 14px;
}

.service-cards article {
    min-height: 134px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cases {
    padding-top: 52px;
}

.client-pager {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    gap: 14px;
    align-items: center;
}

.client-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.client-list span {
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: #3c4a5d;
    font-size: 14px;
}

.client-list span[hidden] {
    display: none;
}

.pager-btn {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--blue);
    background: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(20, 34, 52, .06);
    transition: border-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

.pager-btn:hover:not(:disabled) {
    border-color: var(--blue);
    transform: translateY(-1px);
}

.pager-btn:disabled {
    cursor: default;
    opacity: .35;
}

.pager-status {
    grid-column: 2;
    justify-self: center;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 86px;
    padding: 42px;
    border: 1px solid #d8e0ee;
    border-radius: 8px;
    background: #f8fbff;
}

.cta h2 {
    margin-bottom: 8px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer img {
    width: 184px;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 1080px) {
    .hero,
    .product-section,
    .service-section {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .product-intro,
    .service-section > div:first-child {
        min-height: auto;
    }

    .product-notes,
    .service-principles {
        margin-top: 0;
    }

    .solution-grid,
    .feature-list,
    .delivery-rail,
    .client-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .delivery-rail article {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 720px) {
    .site-header {
        height: 66px;
        padding: 0 16px;
    }

    .brand {
        width: 174px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 11px 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 44px 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 17px;
    }

    .product-window {
        display: none;
    }

    .metrics,
    .solution-grid,
    .delivery-rail,
    .client-list {
        grid-template-columns: 1fr;
    }

    .client-pager {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .client-list {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .pager-prev,
    .pager-next {
        grid-row: 2;
        width: 44px;
        height: 44px;
        justify-self: start;
    }

    .pager-next {
        justify-self: end;
    }

    .pager-status {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .metrics div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .metrics div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 72px 0;
    }

    .product-section {
        width: 100%;
        padding: 58px 20px;
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-list div {
        grid-template-columns: 38px 1fr;
        min-height: auto;
    }

    .service-section {
        padding: 72px 0;
    }

    .service-cards {
        grid-template-rows: auto;
    }

    .service-cards article,
    .solution-grid article,
    .delivery-rail article {
        min-height: auto;
    }

    .cta,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
