:root {
    --color-primary: #0b9f6e;
    --color-primary-dark: #087a55;
    --color-primary-soft: #e9f8f2;
    --color-ink: #142b3a;
    --color-text: #455b6a;
    --color-muted: #708391;
    --color-line: #dfe9e7;
    --color-surface: #ffffff;
    --color-background: #f5f9f8;
    --color-warning: #9a4c08;
    --color-warning-bg: #fff7ed;
    --shadow-sm: 0 8px 24px rgba(20, 43, 58, 0.06);
    --shadow-lg: 0 24px 60px rgba(20, 43, 58, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary-dark);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 3px solid rgba(11, 159, 110, 0.35);
    outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-ink);
    line-height: 1.3;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    color: #ffffff;
    background: var(--color-ink);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    color: #ffffff;
    transform: translateY(0);
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
    color: var(--color-ink);
}

.brand:hover {
    color: var(--color-ink);
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(145deg, #15bd83, var(--color-primary-dark));
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(11, 159, 110, 0.22);
    font-size: 1.35rem;
    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 1.08rem;
}

.brand-text small {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
}

.site-nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: 9px 18px;
    color: var(--color-text);
    border-radius: 999px;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-surface);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.hero {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(76, 222, 171, 0.2), transparent 34%),
        radial-gradient(circle at 5% 90%, rgba(66, 153, 225, 0.1), transparent 28%),
        linear-gradient(145deg, #f5fffa 0%, #eef8f5 55%, #f7fbff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 64px;
}

.hero-content > p {
    max-width: 620px;
    margin-bottom: 12px;
    color: #3f5b60;
    font-size: 1.1rem;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--color-primary);
    box-shadow: 0 10px 24px rgba(11, 159, 110, 0.2);
}

.button-primary:hover {
    color: #ffffff;
    background: var(--color-primary-dark);
}

.button-secondary {
    color: var(--color-ink);
    background: #ffffff;
    border-color: var(--color-line);
}

.button-secondary:hover {
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.button-small {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 0.92rem;
}

.hero-panel {
    padding: 34px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-panel h2 {
    margin-top: 18px;
    font-size: 1.65rem;
}

.status-pill,
.version-badge,
.platform-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    color: var(--color-primary-dark);
    background: var(--color-primary-soft);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.check-list {
    display: grid;
    margin: 24px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--color-line);
    gap: 12px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--color-ink);
    font-weight: 600;
}

.check-list li::before {
    position: absolute;
    top: 0.72em;
    left: 2px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    content: "";
}

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

.feature-card {
    height: 100%;
    padding: 30px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    place-items: center;
    background: linear-gradient(145deg, #20bd88, #07936a);
    border-radius: 18px;
}

.feature-icon img {
    width: 42px;
    height: 42px;
}

.feature-card p {
    margin-bottom: 0;
}

.product-showcase {
    display: flex
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 64px;
}

.product-copy p {
    max-width: 1000px;
    font-size: 1.08rem;
}

.product-copy .button {
    margin-top: 16px;
}

.product-visual {
    display: grid;
    min-height: 340px;
    margin-bottom: 0;
    padding: 30px;
    place-items: center;
    background: linear-gradient(145deg, #e9f8f2, #edf5ff);
    border-radius: var(--radius-lg);
}

.product-visual img {
    width: min(100%, 360px);
}

.step-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    gap: 20px;
    list-style: none;
    counter-reset: steps;
}

.step-card {
    position: relative;
    height: 100%;
    padding: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    counter-increment: steps;
}

.step-card::before {
    display: block;
    margin-bottom: 20px;
    color: #b5c8c2;
    content: "0" counter(steps);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.step-card img {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    object-fit: contain;
}

.step-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.page-hero {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 85% 15%, rgba(76, 222, 171, 0.18), transparent 32%),
        linear-gradient(145deg, #f1fcf7, #f6faff);
    border-bottom: 1px solid var(--color-line);
}

.page-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.page-hero p {
    max-width: 720px;
    margin-bottom: 0;
    font-size: 1.06rem;
}

.breadcrumb {
    margin-bottom: 28px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb li + li::before {
    margin-right: 8px;
    color: #9aaba5;
    content: "/";
}

.breadcrumb [aria-current="page"] {
    color: var(--color-muted);
}

.download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
}

.download-card,
.qr-card,
.support-card,
.version-card {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.download-card {
    padding: 36px;
}

.download-card-single {
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-line);
    gap: 20px;
}

.card-header .eyebrow {
    margin-bottom: 8px;
}

.card-header h2 {
    margin-bottom: 0;
}

.version-badge {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.9rem;
}

.spec-list {
    margin-bottom: 28px;
}

.spec-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    padding: 13px 0;
    border-bottom: 1px dashed var(--color-line);
    gap: 20px;
}

.spec-row dt {
    color: var(--color-muted);
    font-weight: 600;
}

.spec-row dd {
    margin-bottom: 0;
    color: var(--color-ink);
}

.notice {
    margin: 26px 0;
    padding: 18px 20px;
    color: #77400e;
    background: var(--color-warning-bg);
    border-left: 4px solid #e58a34;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.notice strong {
    color: var(--color-warning);
}

.notice ol {
    margin: 10px 0 0;
    padding-left: 22px;
}

.notice p {
    margin-bottom: 0;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 28px 0 18px;
    gap: 12px;
}

.software-note {
    color: var(--color-muted);
    font-size: 0.94rem;
}

.qr-card {
    margin-bottom: 0;
    padding: 24px;
    text-align: center;
}

.qr-card img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
}

.qr-card figcaption {
    color: var(--color-ink);
    font-weight: 700;
}

.qr-card p {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.platform-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 24px;
    gap: 8px;
}

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

.version-card {
    padding: 30px;
}

.version-card p {
    min-height: 56px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.contact-code {
    margin-bottom: 0;
}

.contact-code img {
    width: 100%;
    border-radius: var(--radius-md);
}

.contact-code figcaption {
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 0.9rem;
    text-align: center;
}

.contact-content > p {
    max-width: 650px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
    gap: 24px;
}

.contact-details section {
    padding: 22px;
    background: var(--color-background);
    border-radius: var(--radius-sm);
}

.contact-details h3 {
    font-size: 1rem;
}

.contact-details address {
    font-style: normal;
}

.contact-details ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-details li + li {
    margin-top: 8px;
}

.service-time {
    margin-top: 22px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.site-footer {
    color: #b8c9c3;
    background: #142f2a;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    padding-bottom: 28px;
    gap: 20px;
    font-size: 0.88rem;
}

.footer-inner p {
    margin-bottom: 0;
}

.footer-inner a {
    color: #d8e7e2;
}

.footer-inner a:hover {
    color: #ffffff;
}

.mobile-download-page {
    background: linear-gradient(160deg, #effbf6, #f7fbff);
}

.mobile-download-main {
    display: grid;
    width: min(100% - 32px, 480px);
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding: 28px 0;
    place-items: center;
}

.mobile-download-card {
    width: 100%;
    padding: 28px;
}

.mobile-download-header {
    margin-bottom: 20px;
    text-align: center;
}

.mobile-download-header h1 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.mobile-download-header p {
    margin-bottom: 0;
}

.mobile-download-card .spec-list {
    margin-bottom: 20px;
}

.mobile-download-card .spec-row {
    grid-template-columns: 86px minmax(0, 1fr);
    padding: 10px 0;
    gap: 12px;
}

.mobile-download-card .notice {
    margin: 20px 0;
    padding: 14px 16px;
    font-size: 0.9rem;
}

.mobile-download-button {
    width: 100%;
    min-height: 52px;
}

@media (max-width: 960px) {
    .hero-grid,
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-panel {
        max-width: 680px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-card:last-child {
        grid-column: 1 / -1;
    }

    .step-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-visual {
        min-height: 280px;
    }

    .download-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 64px 0;
    }

    .download-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .download-layout .qr-card {
        width: min(100%, 340px);
        margin-right: auto;
        margin-left: auto;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-code {
        width: min(100%, 240px);
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .header-inner {
        min-height: 70px;
        gap: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 1.15rem;
    }

    .brand-text small {
        display: none;
    }

    .brand-text strong {
        font-size: 0.98rem;
    }

    .site-nav ul {
        gap: 2px;
    }

    .site-nav a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    h1 {
        letter-spacing: -0.025em;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .hero-content > p {
        font-size: 1rem;
    }

    .hero-actions,
    .download-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .hero-panel,
    .download-card {
        padding: 24px;
        border-radius: var(--radius-md);
    }

    .feature-grid,
    .step-list,
    .version-grid,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child {
        grid-column: auto;
    }

    .feature-card,
    .step-card,
    .version-card {
        padding: 24px;
    }

    .step-card {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 18px;
    }

    .step-card::before {
        grid-column: 1 / -1;
        margin-bottom: 16px;
    }

    .step-card img {
        grid-row: 2 / 4;
        width: 60px;
        height: 60px;
        margin: 4px 0 0;
    }

    .step-card h3,
    .step-card p {
        grid-column: 2;
    }

    .card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .page-hero {
        padding: 40px 0 48px;
    }

    .version-card p {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}
