/* ==========================================================================
   diyky.com 全站样式
   设计基调：工程化、克制、信息优先；深色金融感的墨绿强调色，单一主色，
   装饰只用细线、网格与几何图形，不引入外部字体、图标库或 JS 框架。
   ========================================================================== */

:root {
    --ink: #0f1720;
    --ink-soft: #33424f;
    --muted: #60707d;
    --bg: #f5f7f8;
    --surface: #ffffff;
    --line: #e0e7ec;
    --line-soft: #edf2f5;
    --accent: #0b6b5f;
    --accent-deep: #084e46;
    --accent-bright: #3aa392;
    --accent-soft: #e7f2ef;
    --gold: #b9863a;
    --warn-soft: #fbf6ea;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 32px rgba(15, 23, 32, 0.07);
    --shadow-lift: 0 18px 42px rgba(15, 23, 32, 0.1);
    --wrap: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

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

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

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

a:hover {
    text-decoration: underline;
}

p {
    margin: 0 0 1em;
    max-width: 68ch;
}

h1, h2, h3 {
    margin: 0 0 0.6em;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(1.95rem, 3.4vw, 2.85rem);
    font-weight: 700;
    letter-spacing: -0.022em;
}

h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.72rem);
    font-weight: 700;
}

h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-soft);
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.2em;
}

li {
    margin-bottom: 0.45em;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.icon-tile {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--accent-soft), #f4faf8);
    border: 1px solid #d8e9e4;
    color: var(--accent);
    margin-bottom: 16px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    z-index: 20;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------- 页头 ---------- */

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.site-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright) 40%, transparent 78%);
    opacity: 0.65;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

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

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: 50px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

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

.brand-text strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.brand-text span {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav li {
    margin: 0;
}

.site-nav a {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.94rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    background: var(--accent-soft);
    color: var(--accent-deep);
    text-decoration: none;
}

.site-nav a.is-active {
    background: var(--accent);
    color: #fff;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.2s ease;
}

.header-contact .icon {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.header-contact a:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

/* 账户入口（页头） */
.header-account {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-account a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
}

.header-account a:hover {
    text-decoration: none;
}

.account-login {
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.88rem;
    transition: background 0.2s ease;
}

.account-login:hover {
    background: var(--accent-deep);
    color: #fff;
}

.account-chip {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    gap: 8px;
}

.account-chip:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
}

.account-chip-name {
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-chip-quota {
    padding-left: 8px;
    border-left: 1px solid var(--line);
    color: var(--accent-deep);
    font-variant-numeric: tabular-nums;
}

/* 账户入口（页脚） */
.footer-account {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.footer-account a:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

/* ---------- 首屏 ---------- */

.hero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(900px 420px at 10% -20%, #e4f1ed 0%, rgba(228, 241, 237, 0) 70%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 92%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 107, 95, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 107, 95, 0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 88%);
    pointer-events: none;
}

.hero > .wrap {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.hero-home {
    padding: 78px 0 70px;
}

.hero-compact {
    padding: 56px 0 46px;
}

.hero-deco {
    position: absolute;
    right: -70px;
    top: -150px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(11, 107, 95, 0.16);
    box-shadow: inset 0 0 0 26px rgba(11, 107, 95, 0.028);
    pointer-events: none;
}

.hero-compact .wrap {
    position: relative;
    z-index: 1;
}

.kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(11, 107, 95, 0.12);
}

.hero h1 {
    max-width: 21em;
    margin-bottom: 0.45em;
    white-space: pre-line;
    text-wrap: balance;
}

.lead {
    font-size: 1.06rem;
    color: var(--ink-soft);
    max-width: 44em;
    margin-bottom: 1.9em;
}

.hero-figure {
    min-width: 0;
}

.hero-svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    filter: drop-shadow(0 22px 46px rgba(8, 30, 28, 0.18));
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(11, 107, 95, 0.22);
}

.btn-primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink-soft);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.facts li {
    position: relative;
    margin: 0;
    padding: 5px 13px 5px 24px;
    font-size: 0.84rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.facts li::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 0.72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-bright);
}

/* ---------- 通用区块 ---------- */

.section {
    position: relative;
    padding: 64px 0;
}

.section-alt {
    background: linear-gradient(180deg, #ffffff 0%, #fafcfc 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section > .wrap > h2,
.section-alt > .wrap > h2 {
    position: relative;
    padding-left: 18px;
}

.section > .wrap > h2::before,
.section-alt > .wrap > h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 4px;
    height: 1.1em;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-bright));
}

.section-intro {
    color: var(--muted);
    margin-top: -0.4em;
    margin-bottom: 1.8em;
}

.grid {
    display: grid;
    gap: 22px;
}

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

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

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright) 45%, transparent 85%);
    opacity: 0.5;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    border-color: #cfe0db;
}

.card h2 {
    margin-bottom: 0.5em;
}

.card p {
    color: var(--ink-soft);
}

.ticks,
.limits {
    list-style: none;
    padding: 0;
    margin: 1.1em 0 1.4em;
}

.ticks li,
.limits li {
    position: relative;
    padding-left: 22px;
    font-size: 0.94rem;
    color: var(--ink-soft);
}

.ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.limits li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
}

.text-link {
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--accent-deep);
}

.text-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(3px);
}

/* ---------- 服务卡 / 交付事实 / 典型方案 ---------- */

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.24rem;
    margin-bottom: 0.55em;
}

.service-card p {
    color: var(--ink-soft);
}

.service-card .ticks {
    margin-top: 0.9em;
}

.service-card .card-links {
    margin-top: auto;
    padding-top: 16px;
}

.proof-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 42px;
    align-items: center;
    padding: 42px 44px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0b3f3a 0%, #0e1a22 72%);
    color: #fff;
    box-shadow: 0 20px 44px rgba(8, 30, 28, 0.18);
}

.proof-band::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -90px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.proof-copy {
    position: relative;
    z-index: 1;
}

.proof-copy h2 {
    color: #fff;
    margin-bottom: 0.55em;
}

.proof-copy p {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 1.2em;
    max-width: 46em;
}

.proof-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
}

.proof-links .text-link {
    color: #fff;
}

.proof-links .text-link:hover {
    color: var(--accent-bright);
}

.proof-stats {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
}

.proof-stat {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-stat strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1.1;
    color: var(--accent-bright);
}

.proof-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.66);
}

.solutions-note {
    max-width: 80em;
    margin: -0.6em 0 26px;
    padding: 11px 15px;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #6b5a33;
    background: rgba(185, 134, 58, 0.08);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
}

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

.solution {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 28px 22px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright), transparent);
    border-radius: var(--radius) var(--radius) 0 0;
}

.solution:hover {
    transform: translateY(-2px);
    border-color: #cfe0db;
    box-shadow: var(--shadow-lift);
}

.solution-kind {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(11, 107, 95, 0.08);
    color: var(--accent-deep);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.solution h3 {
    font-size: 1.16rem;
    line-height: 1.35;
    margin-bottom: 1.1em;
}

.solution-rows {
    margin: 0;
}

.solution-rows > div {
    padding: 11px 0;
    border-top: 1px solid var(--line-soft);
}

.solution-rows dt {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.solution-rows dd {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

.solution-rows .ticks {
    margin: 0.35em 0 0;
}

.solution-rows .ticks li {
    font-size: 0.9rem;
}

.solution-meta {
    display: grid;
    grid-template-columns: 5.6em minmax(0, 1fr);
    gap: 7px 14px;
}

.solution-meta dt {
    margin: 0;
    align-self: start;
}

.solution-meta dd {
    margin: 0;
}

/* ---------- 步骤 ---------- */

.steps {
    display: grid;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

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

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

.steps li {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    margin: 0;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.steps li:hover {
    transform: translateY(-2px);
    border-color: #cfe0db;
    box-shadow: var(--shadow);
}

.step-no {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 50%;
    border: 1px solid #cfe0db;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent);
}

.steps h3 {
    margin-bottom: 0.4em;
    color: var(--ink);
}

.steps p {
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 0;
}

.steps .step-output {
    margin-top: 0.8em;
    font-size: 0.82rem;
    color: #8a6a2c;
}

/* ---------- 插图 ---------- */

.figure-block {
    margin: 24px 0 6px;
    padding: 16px 16px 12px;
    background: linear-gradient(180deg, #f8fafb, #f1f6f7);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.figure-svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.figure-block figcaption {
    margin-top: 12px;
    padding: 0 4px;
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--muted);
}

.media-figure {
    margin: 26px 0 0;
    max-width: 760px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.media-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.media-figure figcaption {
    padding: 12px 18px;
    font-size: 0.82rem;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
    background: #fbfcfd;
}

/* ---------- CTA ---------- */

.cta-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, #07463f 0%, #0b6b5f 52%, #0a5a51 100%);
    color: #fff;
    border-radius: 18px;
    padding: 44px 46px;
    box-shadow: 0 22px 44px rgba(8, 78, 70, 0.2);
}

.cta-band::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-band::after {
    content: "";
    position: absolute;
    right: 60px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 163, 146, 0.4), transparent 68%);
}

.cta-copy,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-copy h2 {
    color: #fff;
    margin-bottom: 0.35em;
}

.cta-copy p {
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    max-width: 40em;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.cta-band .btn-primary {
    background: #fff;
    color: var(--accent-deep);
    border-color: #fff;
    box-shadow: none;
}

.cta-band .btn-primary:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
}

.cta-band .btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.cta-band .btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

/* ---------- 能力页 ---------- */

.service {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 34px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service:hover {
    box-shadow: var(--shadow-lift);
}

.service-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 4px;
}

.service-head .icon-tile {
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-head h2 {
    margin-bottom: 0.2em;
}

.service > p {
    color: var(--ink-soft);
}

.service-detail {
    gap: 28px;
    margin-top: 1.4em;
}

.service-detail h3 {
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.service-cta {
    margin: 0.6em 0 0;
}

/* ---------- 案例页 ---------- */

.case {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 34px;
    box-shadow: var(--shadow);
}

.case-body h2 {
    margin-top: 1.2em;
}

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

.case-side {
    border-left: 1px solid var(--line);
    padding-left: 32px;
}

.case-side h3 {
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.case-meta {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 0.4em;
}

.compliance-line {
    margin: 16px 0 0;
    padding: 12px 16px;
    background: var(--warn-soft);
    border-left: 3px solid #d9b36c;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    color: #6d5a32;
}

.related {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 26px;
}

.product {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.product-side {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}

.product-side .ticks {
    margin-bottom: 0;
}

/* ---------- 关于页 ---------- */

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 18px;
    border-radius: var(--radius);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.94rem;
}

.info-table th,
.info-table td {
    text-align: left;
    vertical-align: top;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: 0;
}

.info-table th {
    width: 34%;
    font-weight: 600;
    color: var(--ink-soft);
    background: #fafbfc;
}

.verify {
    font-size: 0.9rem;
    color: var(--muted);
}

.compliance-block {
    position: relative;
    margin-top: 36px;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid #e8d9b8;
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}

.compliance-block h2 {
    font-size: 1.12rem;
    color: #7a5c22;
    padding-left: 0;
}

.compliance-block h2::before {
    display: none;
}

.compliance-block p {
    margin: 0;
    color: var(--ink-soft);
}

/* ---------- 联系页 ---------- */

.contact-grid .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-email {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.35em;
    word-break: break-all;
}

.contact-tel {
    margin: 0 0 0.9em;
}

.contact-tel a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-tel .icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.contact-tel a:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

.contact-wechat-id {
    margin: 0 0 0.6em;
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.contact-wechat-id strong {
    color: var(--ink);
    letter-spacing: 0.02em;
    word-break: break-all;
}

.qr {
    width: 180px;
    height: 180px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    object-fit: contain;
    background: #fff;
}

.checklist {
    margin-top: 1.2em;
    max-width: 60em;
}

.form-note {
    font-size: 0.88rem;
    color: var(--muted);
}

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

.contact-company h2 {
    font-size: 1.15rem;
}

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

.company-list div {
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
}

.company-list dt {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 4px;
}

.company-list dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink);
    word-break: break-word;
}

/* ---------- 页脚 ---------- */

.site-footer {
    background: linear-gradient(180deg, #0f1720 0%, #0b1218 100%);
    color: rgba(255, 255, 255, 0.78);
    padding: 54px 0 24px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.65fr) minmax(0, 1fr);
    gap: 42px;
    padding-bottom: 30px;
}

.footer-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-lockup:hover {
    text-decoration: none;
}

.footer-lockup img {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.footer-lockup strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.footer-lockup em {
    font-style: normal;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-meta {
    margin: 0 0 0.3em;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer-wechat {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-h {
    margin: 0 0 14px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav ul {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #fff;
    transform: translateX(3px);
    text-decoration: none;
}

.footer-mail,
.footer-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.92rem;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-mail + .footer-tel {
    margin-top: 8px;
}

.footer-mail .icon,
.footer-tel .icon {
    width: 16px;
    height: 16px;
    color: var(--accent-bright);
}

.footer-mail:hover,
.footer-tel:hover {
    text-decoration: none;
    border-color: var(--accent-bright);
}

.footer-tel + .footer-wechat {
    display: block;
}

.footer-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.footer-qr img {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
}

.footer-qr span {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.footer-note {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-note p {
    margin: 0;
    max-width: 60em;
}

.icp {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.icp:hover {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

/* ---------- FAQ ---------- */

.faq-list {
    display: grid;
    gap: 16px;
}

.qa {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent-soft);
    border-radius: var(--radius-sm);
    padding: 22px 26px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.qa:hover {
    border-left-color: var(--accent-bright);
    box-shadow: var(--shadow);
}

.qa h3 {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 0.5em;
}

.qa p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- 知识库 ---------- */

.breadcrumbs {
    margin: 0 0 20px;
    font-size: 0.82rem;
    color: var(--muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    margin: 0;
}

.breadcrumbs li + li::before {
    content: "/";
    margin: 0 8px;
    color: #b9c6cd;
}

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

.breadcrumbs a:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
    color: var(--ink-soft);
}

.knowledge-entry h3 {
    font-size: 1.18rem;
}

.entry-link {
    color: var(--ink);
}

.entry-link:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

.topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 1.2em;
    padding: 0;
    list-style: none;
}

.topic-list li {
    margin: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(11, 107, 95, 0.08);
    color: var(--accent-deep);
    font-size: 0.75rem;
    line-height: 1.6;
}

.topic-list-lg {
    margin-top: -0.4em;
}

.article-list {
    display: grid;
    gap: 16px;
}

.article-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-item:hover {
    transform: translateY(-2px);
    border-color: #cfe0db;
    box-shadow: var(--shadow-lift);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--muted);
}

.article-meta-hero {
    margin: 0 0 1.2em;
}

.tag {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.article-item h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.4em;
}

.article-item h3 a {
    color: var(--ink);
}

.article-item h3 a:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

.article-item p {
    margin-bottom: 0.7em;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 46px;
    align-items: start;
}

.article-body {
    min-width: 0;
}

.article-lead {
    padding-left: 14px;
    border-left: 3px solid var(--accent-soft);
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.article-block {
    margin-top: 36px;
}

.article-block h2 {
    font-size: clamp(1.2rem, 1.9vw, 1.45rem);
    padding-left: 0;
}

.article-block h2::before {
    display: none;
}

.article-block p {
    color: var(--ink-soft);
}

.code-block {
    margin: 20px 0;
    border: 1px solid #16352f;
    border-radius: 12px;
    overflow: hidden;
    background: #0f1720;
    box-shadow: 0 12px 26px rgba(15, 23, 32, 0.16);
}

.code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    letter-spacing: 0.03em;
}

.code-lang {
    flex-shrink: 0;
    color: var(--accent-bright);
}

.code-block pre {
    margin: 0;
    padding: 16px 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-block code {
    display: block;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.86rem;
    line-height: 1.7;
    color: #dce9e5;
    white-space: pre;
}

.article-note {
    padding: 10px 14px;
    background: var(--warn-soft);
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #6d5a32;
}

.article-disclaimer {
    margin-top: 36px;
}

.article-aside {
    position: sticky;
    top: 92px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 24px 18px;
    box-shadow: var(--shadow);
}

.article-aside h2 {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    padding-left: 0;
}

.article-aside h2::before {
    display: none;
}

.related-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-list li {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

.related-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.related-list a {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.5;
}

.related-list a:hover {
    color: var(--accent-deep);
    text-decoration: none;
}

.related-list span {
    font-size: 0.76rem;
    color: var(--muted);
}

.article-aside-link {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

/* ---------- 下载专区 ---------- */

.download-table th {
    width: auto;
    white-space: nowrap;
}

.download-table-products {
    min-width: 720px;
}

.download-table td strong {
    display: block;
    color: var(--ink);
}

.product-sub {
    display: block;
    margin-top: 4px;
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
    white-space: normal;
}

.status-muted {
    color: var(--muted);
    font-size: 0.86rem;
}

.download-access {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.download-source {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.download-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.75;
}

.download-support-heading {
    margin-top: 52px;
}

.download-product h2 {
    font-size: 1.2rem;
}

.doc-body {
    max-width: 900px;
}

.doc-table {
    min-width: 560px;
}

.doc-table caption {
    padding: 0 0 10px;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: left;
}

.doc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

/* ---------- 滚动淡入 ---------- */

.has-js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.has-js .reveal.is-in {
    opacity: 1;
    transform: none;
}

.grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.faq-list .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.faq-list .reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.steps .reveal:nth-child(4),
.faq-list .reveal:nth-child(4) {
    transition-delay: 0.24s;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
    .header-contact {
        display: none;
    }

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

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

    .proof-band {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .article-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .article-aside {
        position: static;
    }

    .hero-figure {
        max-width: 640px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .case,
    .product {
        grid-template-columns: minmax(0, 1fr);
    }

    .case-side {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 26px;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px 30px;
    }
}

@media (max-width: 760px) {
    .hero {
        padding: 46px 0 40px;
    }

    .hero-home {
        padding: 50px 0 44px;
    }

    .hero-compact {
        padding: 42px 0 36px;
    }

    .hero-deco {
        width: 300px;
        height: 300px;
        right: -110px;
        top: -120px;
    }

    .section {
        padding: 46px 0;
    }

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

    .proof-band {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .proof-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .proof-stat strong {
        font-size: 1.6rem;
    }

    .solution {
        padding: 24px 20px 18px;
    }

    .article-item {
        padding: 22px 20px;
    }

    .code-block code {
        font-size: 0.8rem;
    }

    .solution-meta {
        grid-template-columns: 5rem minmax(0, 1fr);
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header-account {
        margin-left: auto;
    }

    .account-chip-name {
        max-width: 6em;
    }

    .site-nav {
        margin-left: 0;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

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

    .site-nav a {
        padding: 5px 10px;
        font-size: 0.88rem;
        white-space: nowrap;
    }

    .card,
    .service {
        padding: 24px 20px;
    }

    .cta-band {
        padding: 30px 24px;
    }

    .figure-block {
        padding: 10px 10px 12px;
    }

    .figure-block figcaption {
        padding: 0 2px;
    }

    .info-table th {
        width: 40%;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .media-figure {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .wrap {
        padding: 0 18px;
    }

    .brand-logo {
        width: auto;
        height: 34px;
    }

    .brand-text span {
        display: none;
    }

    .hero h1 {
        font-size: 1.66rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn {
        padding: 11px 18px;
        font-size: 0.92rem;
    }

    .facts li {
        font-size: 0.8rem;
    }

    .contact-email {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .has-js .reveal {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
