:root {
    color-scheme: light;
    --ink: #2d241d;
    --ink-soft: #67584c;
    --paper: #fffdf9;
    --paper-warm: #f8f1e9;
    --line: #e8dbcd;
    --accent: #a86536;
    --accent-dark: #7c4725;
    --accent-soft: #f2dfcc;
    --shadow: 0 18px 50px rgba(75, 48, 28, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-150%);
}

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

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(232, 219, 205, 0.85);
    background: rgba(255, 253, 249, 0.94);
    backdrop-filter: blur(14px);
}

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

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

.brand-name {
    font-family: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-note {
    color: var(--ink-soft);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-toggle {
    display: none;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 14px;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(168, 101, 54, 0.28);
    outline-offset: 4px;
}

.hero {
    padding: 92px 0 82px;
    background:
        linear-gradient(115deg, rgba(248, 241, 233, 0.45), rgba(255, 253, 249, 0.95)),
        var(--paper);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 72px;
    align-items: center;
}

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

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

h1,
h2 {
    font-family: "Songti SC", "STSong", serif;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: clamp(40px, 5.6vw, 66px);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.25;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.hero-lead {
    max-width: 710px;
    margin-bottom: 30px;
    color: var(--ink-soft);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.primary-label {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.text-link {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    text-underline-offset: 5px;
}

.service-summary {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--shadow);
}

.summary-kicker {
    margin-bottom: 22px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-summary ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-summary li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
}

.service-summary li:first-child {
    border-top: 0;
}

.service-summary li span,
.card-index {
    color: var(--accent);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.section-block {
    padding: 88px 0;
}

.section-muted {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-warm);
}

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

.section-heading p:last-child,
.service-card p:last-child,
.support-card > p,
.legal-copy p,
.legal-copy li {
    color: var(--ink-soft);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    min-height: 260px;
    padding: 30px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.4);
}

.card-index {
    margin-bottom: 54px;
}

.safety-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 80px;
    align-items: start;
}

.section-heading.compact {
    margin-bottom: 0;
}

.brand-section {
    border-top: 1px solid var(--line);
}

.split-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 90px;
    align-items: start;
}

.long-copy {
    max-width: 700px;
    color: var(--ink-soft);
    font-size: 17px;
}

.long-copy p:last-child {
    margin-bottom: 0;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 90px;
    align-items: start;
}

.button-link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.button-link:hover,
.button-link:focus-visible {
    background: #633819;
}

.process-panel {
    border-top: 1px solid var(--line);
}

.process-panel ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-panel li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.process-panel li > span {
    color: var(--accent);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.process-panel strong {
    display: block;
    margin-bottom: 3px;
}

.process-panel p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.knowledge-heading {
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
}

.knowledge-heading h2 {
    margin-bottom: 0;
}

.featured-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.featured-insights article {
    min-height: 270px;
    padding: 30px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.44);
}

.featured-insights h3 {
    margin-top: 40px;
    font-family: "Songti SC", "STSong", serif;
    font-size: 24px;
    line-height: 1.35;
}

.featured-insights h3 a {
    text-decoration: none;
}

.featured-insights h3 a:hover,
.featured-insights h3 a:focus-visible {
    color: var(--accent-dark);
}

.featured-insights article > p:last-child {
    color: var(--ink-soft);
    font-size: 14px;
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
    gap: 90px;
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    padding: 22px 4px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
}

.faq-list details[open] summary {
    color: var(--accent-dark);
}

.faq-list p {
    max-width: 720px;
    padding: 0 4px 22px;
    color: var(--ink-soft);
}

.knowledge-hero {
    padding: 88px 0 76px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-warm);
}

.narrow-shell {
    max-width: 860px;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.insight-card {
    min-height: 320px;
    padding: 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.insight-card h2 {
    margin: 48px 0 14px;
    font-size: clamp(25px, 2.7vw, 34px);
}

.insight-card h2 a {
    text-decoration: none;
}

.insight-card h2 a:hover,
.insight-card h2 a:focus-visible {
    color: var(--accent-dark);
}

.insight-card > p:not(.card-index) {
    color: var(--ink-soft);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: 13px;
}

.card-meta a {
    color: var(--accent-dark);
    font-weight: 700;
    text-underline-offset: 4px;
}

.editorial-standard {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 90px;
}

.editorial-standard ul {
    margin: 0;
    padding-left: 1.25em;
    color: var(--ink-soft);
}

.editorial-standard li + li {
    margin-top: 12px;
}

.article-main {
    padding: 42px 0 92px;
}

.article-shell {
    max-width: 920px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 44px;
    color: var(--ink-soft);
    font-size: 13px;
}

.breadcrumbs a {
    text-underline-offset: 3px;
}

.article-copy {
    max-width: 820px;
}

.article-header {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

.article-header h1 {
    max-width: 820px;
    font-size: clamp(38px, 6.4vw, 62px);
}

.article-summary {
    max-width: 760px;
    color: var(--ink-soft);
    font-size: 19px;
}

.article-meta {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.answer-box {
    margin: 38px 0;
    padding: 28px 30px;
    border-left: 4px solid var(--accent);
    background: var(--paper-warm);
}

.answer-box h2 {
    margin-bottom: 14px;
    font-family: inherit;
    font-size: 18px;
}

.answer-box ul {
    margin: 0;
    padding-left: 1.25em;
    color: var(--ink-soft);
}

.answer-box li + li {
    margin-top: 7px;
}

.article-body section {
    margin-top: 52px;
}

.article-body h2 {
    margin-bottom: 18px;
    font-size: clamp(27px, 3.5vw, 36px);
}

.article-body p,
.article-body li {
    color: #4f4339;
    font-size: 17px;
}

.article-body ul {
    padding-left: 1.3em;
}

.article-body li + li {
    margin-top: 9px;
}

.editorial-note {
    margin-top: 58px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.editorial-note strong {
    color: var(--accent-dark);
}

.editorial-note p {
    margin: 7px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.article-next {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    margin-top: 34px;
}

.article-next .button-link {
    flex: 0 0 auto;
    margin-top: 0;
}

.article-next span {
    color: var(--ink-soft);
    font-size: 13px;
    text-align: right;
}

.legal-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    overflow: hidden;
}

.legal-panel a {
    display: grid;
    gap: 5px;
    padding: 24px 26px;
    text-decoration: none;
}

.legal-panel a + a {
    border-top: 1px solid var(--line);
}

.legal-panel a:hover,
.legal-panel a:focus-visible {
    background: #fff8f1;
}

.legal-panel span {
    color: var(--accent-dark);
    font-weight: 700;
}

.legal-panel small {
    color: var(--ink-soft);
    font-size: 13px;
}

.support-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    gap: 70px;
    align-items: end;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.support-card h2,
.support-card p {
    margin-bottom: 0;
}

.site-footer {
    padding: 38px 0;
    border-top: 1px solid var(--line);
    background: #2c241e;
    color: #f8efe6;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-inner strong {
    font-family: "Songti SC", "STSong", serif;
    font-size: 20px;
    letter-spacing: 0.08em;
}

.footer-inner p {
    margin: 4px 0 0;
    color: #cdbfb3;
    font-size: 13px;
}

.footer-meta {
    text-align: right;
}

.footer-meta a {
    margin-left: 16px;
    color: #e7d8ca;
    text-underline-offset: 4px;
}

.legal-page {
    background: var(--paper-warm);
}

.legal-main {
    padding: 70px 0 90px;
}

.legal-copy {
    max-width: 860px;
    padding: 52px clamp(24px, 6vw, 70px);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.legal-copy .update-date {
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: 13px;
}

.legal-copy section {
    margin-top: 34px;
}

.legal-copy h2 {
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 21px;
}

.legal-copy ol,
.legal-copy ul {
    padding-left: 1.35em;
}

@media (max-width: 900px) {
    .hero-grid,
    .safety-grid,
    .support-card,
    .split-intro,
    .enterprise-grid,
    .faq-grid,
    .editorial-standard {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .service-card {
        min-height: 230px;
    }

    .featured-insights {
        grid-template-columns: 1fr;
    }

    .featured-insights article {
        min-height: 0;
    }

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

@media (max-width: 640px) {
    .shell {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 66px;
    }

    .brand-note {
        display: none;
    }

    .brand-name {
        font-size: 19px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 14px 14px;
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 11px 4px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .hero {
        padding: 62px 0 58px;
    }

    .hero-grid {
        gap: 34px;
    }

    h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .primary-label {
        width: 100%;
    }

    .service-summary,
    .support-card,
    .legal-copy {
        padding: 24px;
        border-radius: 12px;
    }

    .section-block {
        padding: 62px 0;
    }

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

    .service-card {
        min-height: 0;
    }

    .card-index {
        margin-bottom: 34px;
    }

    .footer-inner {
        display: grid;
        gap: 22px;
    }

    .footer-meta {
        text-align: left;
    }

    .footer-meta a {
        display: block;
        margin: 6px 0 0;
    }

    .knowledge-heading,
    .article-next,
    .card-meta {
        display: grid;
        align-items: start;
    }

    .featured-insights h3,
    .insight-card h2 {
        margin-top: 30px;
    }

    .insight-card {
        min-height: 0;
        padding: 26px;
    }

    .knowledge-hero {
        padding: 58px 0 50px;
    }

    .article-main {
        padding: 28px 0 62px;
    }

    .breadcrumbs {
        margin-bottom: 30px;
    }

    .article-header h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .article-summary {
        font-size: 17px;
    }

    .answer-box,
    .editorial-note {
        padding: 22px;
    }

    .article-next span {
        text-align: left;
    }

    .legal-main {
        padding: 34px 0 60px;
    }
}

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