* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-one-page {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: #172033;
    background: #f6f8fb;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 0 clamp(20px, 5vw, 72px);
    border-bottom: 1px solid rgba(126, 139, 162, 0.22);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.site-brand,
.site-actions,
.site-nav,
.site-hero-actions,
.site-footer {
    display: flex;
    align-items: center;
}

.site-brand {
    gap: 10px;
    color: #111827;
    font-weight: 750;
    font-size: 18px;
    text-decoration: none;
}

.site-brand img {
    width: clamp(120px, 11vw, 140px);
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.site-nav {
    gap: 26px;
}

.site-nav a,
.site-link,
.site-footer a {
    color: #526071;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.site-nav a:hover,
.site-link:hover,
.site-footer a:hover {
    color: #0087F7;
}

.site-actions {
    gap: 12px;
    position: relative;
}

.site-account-menu {
    position: relative;
}

.site-account-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0;
    border: 0;
    color: #273244;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.site-account-menu summary::-webkit-details-marker {
    display: none;
}

.site-account-menu[open] summary,
.site-account-menu summary:hover {
    color: #0087F7;
}

.site-account-menu summary i {
    font-size: 12px;
    transition: transform 0.16s ease;
}

.site-account-menu[open] summary i {
    transform: rotate(180deg);
}

.site-account-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 30;
    min-width: 168px;
    padding: 8px;
    border: 1px solid rgba(126, 139, 162, 0.2);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.site-account-dropdown a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 6px;
    color: #273244;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.site-account-dropdown a:hover {
    color: #0087F7;
    background: #f2f7ff;
}

.site-button,
.site-primary,
.site-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.site-button,
.site-primary {
    color: #fff;
    background: #0087F7;
    box-shadow: 0 12px 24px rgba(0, 135, 247, 0.22);
}

.site-secondary {
    color: #0087F7;
    border: 1px solid rgba(0, 135, 247, 0.28);
    background: #fff;
}

.site-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 42px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4f8 100%);
}

.site-eyebrow,
.site-section-heading p {
    margin: 0 0 12px;
    color: #0087F7;
    font-weight: 760;
    font-size: 13px;
    text-transform: uppercase;
}

.site-hero h1 {
    margin: 0;
    font-size: clamp(46px, 7vw, 88px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0;
}

.site-hero-text {
    max-width: 680px;
    margin: 24px 0 0;
    color: #4c5d6f;
    font-size: 19px;
    line-height: 1.8;
}

.site-hero-actions {
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.site-hero-visual {
    min-width: 0;
}

.site-device {
    overflow: hidden;
    border: 1px solid rgba(83, 113, 142, 0.22);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(35, 54, 78, 0.18);
}

.site-device-bar {
    display: flex;
    gap: 7px;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    background: #eef3f7;
    border-bottom: 1px solid #dde6ef;
}

.site-device-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8ea0b4;
}

.site-device-body {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    min-height: 340px;
}

.site-device aside {
    padding: 22px 18px;
    background: #172033;
    color: #fff;
}

.site-device aside strong {
    display: block;
    margin-bottom: 28px;
}

.site-device aside span {
    display: block;
    height: 12px;
    margin: 16px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
}

.site-device section {
    padding: 28px;
}

.site-chart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 14px;
    height: 190px;
    padding: 18px;
    border-radius: 8px;
    background: #f3f7fb;
}

.site-chart i {
    display: block;
    border-radius: 8px 8px 3px 3px;
    background: #0087F7;
}

.site-chart i:nth-child(1) { height: 46%; }
.site-chart i:nth-child(2) { height: 78%; background: #10a6a0; }
.site-chart i:nth-child(3) { height: 58%; background: #f59f36; }
.site-chart i:nth-child(4) { height: 90%; background: #4f7dd8; }

.site-rows {
    margin-top: 22px;
}

.site-rows span {
    display: block;
    height: 14px;
    margin-top: 12px;
    border-radius: 8px;
    background: #d9e4ee;
}

.site-section,
.site-band {
    padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.site-section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.site-section h2,
.site-band h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 780;
    letter-spacing: 0;
}

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

.site-grid article {
    min-height: 230px;
    padding: 26px;
    border: 1px solid #dae4ee;
    border-radius: 8px;
    background: #fff;
}

.site-grid i {
    color: #0087F7;
    font-size: 28px;
}

.site-grid h3 {
    margin: 22px 0 10px;
    font-size: 21px;
}

.site-grid p {
    margin: 0;
    color: #5a6878;
    line-height: 1.75;
}

.site-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
    background: #eaf2f0;
}

.site-scenarios {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-scenarios li {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    border-bottom: 1px solid rgba(59, 84, 103, 0.18);
    color: #26384a;
    font-size: 18px;
    font-weight: 650;
}

.site-scenarios span {
    color: #0087F7;
    font-weight: 780;
}

.site-stack {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.site-stack div {
    padding: 22px;
    border-left: 4px solid #0087F7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(28, 50, 75, 0.08);
}

.site-stack strong,
.site-stack span {
    display: block;
}

.site-stack span {
    margin-top: 10px;
    color: #647386;
}

.site-footer {
    justify-content: space-between;
    min-height: 70px;
    padding: 0 clamp(20px, 5vw, 72px);
    border-top: 1px solid #dce5ee;
    color: #647386;
    background: #fff;
}

body.eye-protection.site-one-page {
    color: #4a3c28;
    background: #f5f1e8;
}

body.eye-protection .site-header,
body.eye-protection .site-grid article,
body.eye-protection .site-stack div,
body.eye-protection .site-device,
body.eye-protection .site-footer {
    background: #faf8f3;
    border-color: #d9cbb8;
}

body.eye-protection .site-hero {
    background: #f5f1e8;
}

body.eye-protection .site-band {
    background: #ede5d7;
}

body.eye-protection .site-hero h1,
body.eye-protection .site-section h2,
body.eye-protection .site-band h2,
body.eye-protection .site-brand,
body.eye-protection .site-grid h3 {
    color: #4a3c28;
}

body.eye-protection .site-hero-text,
body.eye-protection .site-grid p,
body.eye-protection .site-stack span,
body.eye-protection .site-nav a,
body.eye-protection .site-footer {
    color: #6b5d4f;
}

@media (max-width: 920px) {
    .site-header {
        position: static;
        flex-wrap: wrap;
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .site-hero,
    .site-band {
        grid-template-columns: 1fr;
    }

    .site-hero {
        min-height: auto;
    }

    .site-grid,
    .site-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header,
    .site-actions,
    .site-hero-actions {
        align-items: stretch;
    }

    .site-actions,
    .site-hero-actions {
        width: 100%;
    }

    .site-account-menu,
    .site-account-menu summary {
        width: 100%;
    }

    .site-account-dropdown {
        left: 0;
        right: 0;
    }

    .site-button,
    .site-primary,
    .site-secondary {
        flex: 1 1 auto;
    }

    .site-device-body {
        grid-template-columns: 1fr;
    }

    .site-device aside {
        display: none;
    }

    .site-footer {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}
