:root {
    --ink: #183238;
    --muted: #617276;
    --paper: #f6f8f6;
    --surface: #ffffff;
    --accent: #147d73;
    --accent-dark: #0d5d56;
    --accent-soft: #dcefe9;
    --gold: #b87927;
    --line: #dbe5e1;
    --shadow: 0 12px 34px rgba(24, 50, 56, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(219, 229, 225, 0.92);
    background: rgba(246, 248, 246, 0.96);
    backdrop-filter: blur(12px);
}

.nav-inner,
.container {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.15;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 50, 56, 0.15);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 16px;
    letter-spacing: 0;
}

.brand small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
}

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

.site-nav .nav-button {
    padding: 7px 13px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent-dark);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.language-switcher a {
    color: var(--muted);
}

.language-switcher a[aria-current="page"] {
    color: var(--accent-dark);
    font-weight: 700;
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 76px;
    align-items: center;
    padding: 92px 0 84px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: 0;
}

h1 {
    max-width: 690px;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 760;
}

h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 730;
}

h3 {
    font-size: 19px;
    font-weight: 700;
}

p {
    margin: 0 0 18px;
}

.hero-copy > p {
    max-width: 650px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 19px;
}

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

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

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

.button.secondary {
    background: transparent;
    color: var(--accent-dark);
}

.button.secondary:hover {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.hero-visual {
    display: grid;
    justify-items: center;
    gap: 22px;
    padding: 24px 0;
}

.hero-visual img {
    width: min(220px, 58vw);
    border-radius: 48px;
    box-shadow: 0 22px 50px rgba(24, 50, 56, 0.18);
}

.visual-note {
    max-width: 310px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.section {
    padding: 76px 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-header p {
    max-width: 550px;
    margin: 0;
    color: var(--muted);
}

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

.feature,
.info-panel,
.support-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.feature {
    min-height: 220px;
    padding: 24px;
}

.feature-index {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
}

.feature p,
.info-panel p,
.support-item p {
    color: var(--muted);
}

.format-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.format-list span {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 14px;
}

.pro-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 28px;
    align-items: start;
}

.pro-intro {
    padding-right: 20px;
}

.pro-intro p {
    margin-top: 20px;
    color: var(--muted);
}

.pro-note {
    padding: 15px 17px;
    border-left: 3px solid var(--gold);
    background: #fff9ef;
    color: #6c512c;
    font-size: 14px;
}

.comparison {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.comparison th,
.comparison td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison tr:last-child td {
    border-bottom: 0;
}

.comparison th {
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 14px;
}

.comparison td:first-child {
    width: 34%;
    font-weight: 700;
}

.comparison td:not(:first-child) {
    color: var(--muted);
}

.callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 29px 31px;
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
}

.callout p {
    margin: 8px 0 0;
    color: var(--muted);
}

.page-intro {
    padding: 74px 0 48px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.page-intro h1 {
    max-width: 760px;
    font-size: clamp(36px, 5vw, 56px);
}

.page-intro p {
    max-width: 710px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 18px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
    align-items: start;
    padding: 58px 0 82px;
}

.prose {
    min-width: 0;
}

.prose h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    font-size: 28px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin-top: 26px;
    margin-bottom: 8px;
}

.prose ul,
.prose ol {
    margin: 8px 0 22px;
    padding-left: 1.35em;
}

.prose li + li {
    margin-top: 5px;
}

.prose .lead {
    color: var(--muted);
    font-size: 18px;
}

.info-panel {
    position: sticky;
    top: 102px;
    padding: 22px;
}

.info-panel h3 {
    margin-bottom: 12px;
}

.info-panel ul {
    margin: 0;
    padding-left: 1.2em;
    color: var(--muted);
    font-size: 14px;
}

.info-panel li + li {
    margin-top: 5px;
}

.support-list {
    display: grid;
    gap: 14px;
}

.support-item {
    padding: 21px 23px;
}

.support-item h3 {
    margin-bottom: 8px;
}

.support-item p:last-child {
    margin-bottom: 0;
}

.contact-box {
    margin-top: 30px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.placeholder {
    color: var(--gold);
    font-weight: 700;
}

.language-section {
    margin-top: 58px;
    padding-top: 42px;
    border-top: 1px solid var(--line);
}

.language-section .actions {
    margin-top: 20px;
}

.language-section .feature-grid {
    margin-top: 28px;
}

.language-section h2 {
    font-size: 25px;
}

.language-section p,
.language-section li {
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
}

code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #edf2ef;
    color: var(--accent-dark);
    font-size: 0.9em;
}

@media (max-width: 800px) {
    .hero,
    .pro-layout,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        gap: 34px;
        padding: 64px 0 58px;
    }

    .hero-visual {
        order: -1;
    }

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

    .feature {
        min-height: auto;
    }

    .pro-intro {
        padding-right: 0;
    }

    .info-panel {
        position: static;
    }

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

@media (max-width: 560px) {
    .nav-inner,
    .container {
        width: min(100% - 28px, 1080px);
    }

    .site-nav {
        gap: 11px;
        font-size: 13px;
    }

    .site-nav a:nth-child(1) {
        display: none;
    }

    .brand img {
        width: 37px;
        height: 37px;
        border-radius: 9px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        font-size: 10px;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        display: block;
    }

    .section-header p {
        margin-top: 14px;
    }

    .comparison {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .comparison th,
    .comparison td {
        min-width: 150px;
        padding: 13px 12px;
        font-size: 14px;
    }

    .comparison td:first-child {
        min-width: 125px;
    }

    .footer-inner {
        display: block;
        padding: 24px 0;
    }

    .footer-links {
        margin-top: 10px;
    }
}

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