:root {
    --bg: #f4f5f7;
    --bg-soft: #fbfbfd;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --line: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.12);
    --text: #111827;
    --muted: #667085;
    --subtle: #98a2b3;
    --blue: #1677ff;
    --blue-soft: rgba(22, 119, 255, 0.12);
    --green: #2f8f6b;
    --green-soft: rgba(47, 143, 107, 0.14);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.06);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    font-family:
        "SF Pro Display",
        "SF Pro Text",
        "PingFang SC",
        "Hiragino Sans GB",
        "Microsoft YaHei",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background:
        radial-gradient(circle at top left, rgba(90, 145, 255, 0.12), transparent 28%),
        radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.9), transparent 24%),
        linear-gradient(180deg, #f9fafb 0%, #f2f4f7 52%, #eef2f6 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 70%);
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.ambient {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.7;
}

.ambient-left {
    top: 80px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: rgba(90, 145, 255, 0.18);
}

.ambient-right {
    top: 180px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: rgba(47, 143, 107, 0.12);
}

.site-header,
.page {
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 18px 16px 0;
}

.nav-shell {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, #2f8f6b 0%, #237255 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    transition: color 0.18s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.page {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    gap: 24px;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 22px 0 36px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-copy h2,
.section-heading h2,
.closing-card h2 {
    margin: 0;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.hero-copy h1 {
    font-size: clamp(54px, 7.2vw, 90px);
}

.hero-text,
.section-copy p,
.glass-panel strong,
.feature-card p,
.download-card p,
.release-note,
.closing-card p {
    color: var(--muted);
    line-height: 1.8;
}

.hero-text {
    max-width: 640px;
    margin: 24px 0 0;
    font-size: 18px;
}

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

.button {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
    color: #fff;
    background: linear-gradient(180deg, #2283ff 0%, #0d6ff2 100%);
    box-shadow: 0 12px 30px rgba(13, 111, 242, 0.24);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(15, 23, 42, 0.08);
}

.button-disabled {
    width: 100%;
    color: rgba(17, 24, 39, 0.42);
    background: rgba(17, 24, 39, 0.06);
    cursor: not-allowed;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.meta-pill {
    min-width: 240px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.meta-label,
.panel-label,
.feature-kicker,
.download-badge {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.meta-label {
    color: var(--subtle);
    margin-bottom: 8px;
}

.meta-pill strong {
    display: block;
    line-height: 1.45;
    font-size: 15px;
}

.hero-devices {
    display: grid;
    gap: 18px;
}

.device-card,
.summary-card,
.glass-panel,
.feature-card,
.download-card,
.closing-card {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.device-card {
    padding: 18px;
    border-radius: var(--radius-xl);
}

.device-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.device-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.12);
}

.device-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.device-head p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.device-head strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.device-screen {
    padding: 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.screen-tile,
.signal-item,
.panel-row {
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    background: rgba(255, 255, 255, 0.86);
}

.screen-tile {
    padding: 16px;
}

.screen-tile.large {
    min-height: 130px;
}

.screen-tile.muted {
    background: linear-gradient(180deg, rgba(247, 249, 252, 0.96), rgba(243, 246, 249, 0.92));
}

.screen-tile span,
.signal-item span {
    display: block;
    color: var(--subtle);
    font-size: 12px;
    margin-bottom: 8px;
}

.screen-tile strong,
.signal-item strong {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.screen-tile em {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
}

.signal-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.signal-item {
    padding: 16px;
}

.device-senior .device-screen {
    background: linear-gradient(180deg, rgba(242, 251, 247, 0.95), rgba(255, 255, 255, 0.78));
}

.device-family .device-screen {
    background: linear-gradient(180deg, rgba(245, 247, 255, 0.95), rgba(255, 255, 255, 0.78));
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 12px 0 64px;
}

.summary-card {
    padding: 22px;
    border-radius: 26px;
}

.summary-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.summary-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.section {
    padding: 42px 0 0;
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.section-copy h2,
.section-heading h2,
.closing-card h2 {
    font-size: clamp(34px, 4vw, 56px);
}

.section-copy p {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: 17px;
}

.glass-panel {
    padding: 18px;
    border-radius: var(--radius-xl);
}

.panel-row {
    padding: 18px;
}

.panel-row + .panel-row {
    margin-top: 12px;
}

.panel-label {
    margin-bottom: 8px;
    color: var(--blue);
}

.glass-panel strong {
    display: block;
    color: var(--text);
    font-size: 18px;
    line-height: 1.6;
}

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

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

.feature-card {
    padding: 24px;
    border-radius: 28px;
}

.feature-kicker {
    margin-bottom: 14px;
    color: var(--blue);
}

.feature-card h3,
.download-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.feature-card p,
.download-card p,
.closing-card p {
    margin: 0;
    font-size: 15px;
}

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

.download-card {
    padding: 24px;
    border-radius: 28px;
}

.download-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.download-badge {
    min-height: 30px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
}

.download-badge.alt {
    background: var(--blue-soft);
    color: var(--blue);
}

.download-card p {
    margin-bottom: 22px;
}

.release-note {
    margin-top: 16px;
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.54);
    box-shadow: var(--shadow-md);
    font-size: 15px;
}

.closing-card {
    padding: 32px;
    border-radius: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.closing-card p {
    max-width: 680px;
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .hero,
    .section-grid,
    .feature-grid,
    .download-grid,
    .summary-strip,
    .closing-card {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .feature-grid {
        display: grid;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        border-radius: 26px;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 14vw, 66px);
    }

    .hero-text,
    .section-copy p {
        font-size: 16px;
    }

    .hero-actions,
    .hero-meta {
        flex-direction: column;
    }

    .meta-pill {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .page {
        width: min(var(--max-width), calc(100% - 20px));
        padding-bottom: 56px;
    }

    .site-header {
        padding: 12px 10px 0;
    }

    .nav-shell,
    .device-card,
    .summary-card,
    .glass-panel,
    .feature-card,
    .download-card,
    .release-note,
    .closing-card {
        border-radius: 22px;
    }

    .hero {
        gap: 18px;
        padding-top: 12px;
    }

    .device-card,
    .summary-card,
    .feature-card,
    .download-card,
    .closing-card {
        padding: 18px;
    }

    .device-screen,
    .screen-grid {
        gap: 10px;
    }

    .screen-grid {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .download-top,
    .device-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
