/* Shared design tokens: warm charcoal, burgundy, and muted rose. */
:root {
    color-scheme: dark;
    --background: #151214;
    --surface: #1d181c;
    --text: #f1e9e3;
    --muted: #b8aaad;
    --accent: #d598a8;
    --accent-strong: #8c3d55;
    --line: #3a2e34;
    --serif: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", SimSun, serif;
    --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 32px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 760px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 15%, #3b1b2a55, transparent 65%);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

button, a, summary {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button, summary {
    cursor: pointer;
}

::selection {
    background: #794256;
    color: #fff;
}

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

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

h1, h2, h3 {
    font-weight: 400;
    text-wrap: balance;
}

.wrap {
    width: min(1184px, calc(100% - 96px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 20;
    padding: 10px 20px;
    background: var(--text);
    color: var(--background);
    transform: translateY(-160%);
}

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

.site-header {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--line);
}

.brand {
    flex-shrink: 0;
    font-family: var(--serif);
    font-size: 27px;
    letter-spacing: .1em;
    line-height: 1.25;
}

.brand > span:first-child {
    color: var(--accent);
    font-size: 23px;
}

.brand-caption {
    display: block;
    font-family: var(--sans);
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .24em;
    margin-top: 9px;
}

.main-nav {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.main-nav a {
    font-size: 13px;
    color: var(--muted);
    padding-block: 12px;
    transition: color .2s;
}

.main-nav a:hover, .main-nav a[aria-current], .text-link:hover, .back-top:hover {
    color: var(--accent);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 18px;
}

.age-label {
    border: 1px solid #654150;
    color: var(--accent);
    padding: 0 8px;
    font-size: 11px;
    line-height: 23px;
    letter-spacing: .08em;
    border-radius: 3px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #7e6974;
}

.language-switch button {
    background: none;
    border: 0;
    padding: 10px 7px;
    min-height: 44px;
    font-size: 12px;
    color: var(--muted);
}

.language-switch button[aria-pressed="true"] {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 7px;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    padding-block: 58px 65px;
}

.eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--accent);
    line-height: 1.6;
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px #d598a811;
    flex-shrink: 0;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(50px, 5.5vw, 76px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.hero h1 span, .hero h1 em {
    display: block;
}

.hero h1 em {
    color: var(--accent);
    font-weight: 400;
}

.hero-description {
    max-width: 455px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 13px 23px;
    min-height: 50px;
    font-size: 13px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: background .2s, border-color .2s, transform .2s;
}

.button-primary {
    color: #fff5f4;
    background: var(--accent-strong);
    border-color: #a2536b;
}

.button-primary:hover {
    background: #a04b64;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-height: 44px;
    font-size: 12px;
    transition: color .2s;
}

.hero-note {
    color: var(--muted);
    font-size: 10px;
    margin-top: 30px;
    letter-spacing: .015em;
}

.hero-art {
    position: relative;
    align-self: stretch;
    min-height: 482px;
    background: linear-gradient(145deg, #20171f88, #25161c55 65%, #22181a22);
    border: 1px solid #51333d77;
    border-radius: 48% 48% 3px 3px;
    overflow: hidden;
}

.bond-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.art-topline, .art-bottomline {
    position: absolute;
    left: 28px;
    right: 28px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.art-topline {
    top: 44px;
    left: 0;
    right: 0;
    justify-content: center;
    gap: 20px;
    font-size: 8px;
    letter-spacing: .17em;
    color: var(--muted);
}

.art-bottomline {
    bottom: 24px;
    font-size: 15px;
    font-family: var(--serif);
    font-style: italic;
    color: #d2b5b8;
    align-items: center;
}

.art-symbol {
    font-family: var(--sans);
    font-style: normal;
    font-size: 22px;
}

.values-strip {
    border-block: 1px solid var(--line);
}

.values-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    letter-spacing: .19em;
    color: var(--muted);
}

.value-star {
    color: var(--accent);
    font-size: 22px;
}

.section {
    padding-block: 72px;
}

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

h2 {
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.section-heading h2 {
    margin-top: 13px;
}

.section-intro {
    max-width: 235px;
    font-size: 12px;
    color: var(--muted);
}

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

.principle {
    padding-right: 32px;
}

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

.principle:last-child {
    padding-right: 0;
}

.principle-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--serif);
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 22px;
}

.principle-number > span {
    font-family: var(--sans);
    font-size: 18px;
    color: #94717d;
}

.principle h3 {
    font-family: var(--serif);
    font-size: 24px;
    margin-bottom: 13px;
    line-height: 1.35;
}

.principle p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.95;
}

.principle-tag {
    display: block;
    margin-top: 21px;
    font-size: 10px;
    color: var(--accent);
}

.resource-section {
    border-block: 1px solid var(--line);
}

.small-label {
    font-size: 9px;
    letter-spacing: .14em;
    color: var(--muted);
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 32px;
    border: 1px solid #533641;
    border-radius: 4px;
    padding: 30px 35px;
    background: linear-gradient(110deg, #312029, #211a1f 70%);
    transition: border-color .2s, background .2s;
}

.resource-card:hover {
    border-color: var(--accent);
    background: linear-gradient(110deg, #3c2632, #251d22 70%);
}

.file-art {
    display: grid;
    justify-items: center;
    flex-shrink: 0;
    color: #b78091;
}

.file-art svg {
    width: 55px;
    height: 68px;
}

.file-art > span {
    font-size: 9px;
    letter-spacing: .15em;
    margin-top: 9px;
}

.resource-copy {
    display: block;
    max-width: 740px;
}

.resource-meta {
    display: block;
    color: var(--accent);
    font-size: 9px;
    letter-spacing: .14em;
    margin-bottom: 9px;
}

.resource-title {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.4;
}

.resource-description {
    display: block;
    margin-top: 8px;
    max-width: 670px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
}

.resource-file-meta {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 14px;
}

.resource-arrow {
    margin-left: auto;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #654351;
    border-radius: 50%;
    font-size: 24px;
    color: var(--accent);
}

.section-footnote {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px;
}

.guidelines-section {
    display: grid;
    grid-template-columns: .82fr 1.6fr;
    gap: 90px;
}

.guidelines-heading h2 {
    margin-top: 17px;
    max-width: 300px;
}

.guidelines-heading > p:not(.eyebrow) {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
    max-width: 290px;
}

.guidelines-heading .text-link {
    margin-top: 21px;
    color: var(--accent);
}

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

.guidelines-list details:first-child {
    border-top: 1px solid var(--line);
}

summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 21px;
    list-style: none;
    font-size: 14px;
}

summary::-webkit-details-marker {
    display: none;
}

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

.detail-number {
    font-size: 10px;
    color: var(--accent);
}

.details-toggle {
    position: relative;
    width: 12px;
    height: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.details-toggle::before, .details-toggle::after {
    content: "";
    position: absolute;
    background: var(--accent);
    top: 5px;
    left: 0;
    width: 12px;
    height: 1px;
}

.details-toggle::after {
    transform: rotate(90deg);
}

details[open] .details-toggle::after {
    transform: rotate(0);
}

.detail-body {
    padding: 0 22px 23px 32px;
}

.detail-body p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.95;
}

.detail-body p + p {
    margin-top: 12px;
}

.legal-section {
    padding: 38px 0 64px;
}

.legal-section .section-heading {
    border-top: 1px solid var(--line);
    padding-top: 42px;
    margin-bottom: 20px;
}

.legal-section h2 {
    font-size: 29px;
}

.legal-intro {
    max-width: 940px;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 26px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 27px 29px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.legal-card h3 {
    margin-top: 11px;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.5;
}

blockquote {
    margin: 19px 0 17px;
    border-left: 2px solid #96546a;
    padding-left: 16px;
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    line-height: 1.55;
    color: #dcbec3;
}

.legal-card p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 17px;
}

.legal-card .text-link {
    color: var(--accent);
    font-size: 11px;
    margin-top: auto;
}

.contact-section {
    border-top: 1px solid var(--line);
    padding-block: 43px 53px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-section h2 {
    font-size: 28px;
    margin-top: 12px;
}

.contact-section p:not(.eyebrow) {
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px;
}

.contact-email {
    font-family: var(--serif);
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid #765061;
    padding-block: 12px;
}

.contact-email:hover {
    color: var(--accent);
}

.contact-email span {
    font-family: var(--sans);
    color: var(--accent);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding-block: 28px;
    border-top: 1px solid var(--line);
}

.footer-brand, .footer-brand > span:first-child {
    font-size: 18px;
}

.site-footer p, .back-top {
    font-size: 10px;
    color: var(--muted);
}

.back-top {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 44px;
}

.download-main {
    padding-block: 34px 70px;
}

.download-back {
    color: var(--muted);
    margin-bottom: 44px;
}

.download-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 90px;
    align-items: start;
}

.download-copy h1 {
    font-family: var(--serif);
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.2;
    letter-spacing: -.035em;
    margin-top: 20px;
}

.download-copy h1 span, .download-copy h1 em {
    display: block;
}

.download-copy h1 em {
    color: var(--accent);
    font-weight: 400;
}

.download-intro {
    color: var(--muted);
    margin-top: 23px;
    font-size: 14px;
    max-width: 520px;
}

.download-notes {
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.download-notes h2 {
    font-size: 24px;
}

.download-notes ul {
    padding-left: 18px;
    color: var(--muted);
    margin-block: 18px 0;
    font-size: 13px;
}

.download-notes li {
    padding-left: 6px;
    margin-top: 13px;
}

.download-notes li::marker {
    color: var(--accent);
}

.download-panel {
    background: linear-gradient(145deg, #34212c, #1d171b 75%);
    border: 1px solid #654150;
    border-radius: 4px;
    padding: 33px;
}

.download-file-icon {
    color: var(--accent);
    width: 74px;
    height: 88px;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 50px;
    border: 1px solid #976579;
    margin-block: 36px 30px;
    border-radius: 2px 20px 2px 2px;
}

.download-panel h2 {
    font-size: 29px;
    line-height: 1.35;
    margin-top: 13px;
}

.original-filename {
    margin-top: 25px;
    font-size: 11px;
    color: var(--muted);
}

.original-filename span, .original-filename b {
    display: block;
}

.original-filename b {
    color: var(--text);
    font-weight: 400;
    overflow-wrap: anywhere;
    margin-top: 4px;
}

.download-button {
    margin-top: 28px;
    width: 100%;
}

.download-hint {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.8;
    margin-top: 14px;
}

.download-panel > .text-link {
    margin-top: 20px;
    color: var(--accent);
}

.download-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 60px;
}

.download-contact a {
    color: var(--accent);
}

html[lang="zh-Hans"] .hero h1 {
    font-size: clamp(44px, 4.7vw, 64px);
    line-height: 1.35;
    letter-spacing: .015em;
}

html[lang="zh-Hans"] .hero h1 em {
    font-style: normal;
}

html[lang="zh-Hans"] .download-copy h1 em {
    font-style: normal;
}

html[lang="zh-Hans"] h2 {
    line-height: 1.5;
}

html[lang="zh-Hans"] .principle h3 {
    font-size: 22px;
}

html[lang="zh-Hans"] .hero-description {
    line-height: 2.15;
}

html[lang="zh-Hans"] .eyebrow {
    letter-spacing: .15em;
}

@media (min-width: 1440px) {
    .hero {
        padding-block: 70px 80px;
    }
    .hero-art {
        min-height: 505px;
    }
}

@media (max-width: 1060px) {
    .wrap {
        width: calc(100% - 64px);
    }
    .main-nav {
        gap: 22px;
    }
    .header-tools {
        gap: 12px;
        margin-left: 0;
    }
    .hero {
        gap: 28px;
    }
    .hero-art {
        min-height: 450px;
    }
    .hero h1 {
        font-size: 58px;
    }
    .hero-actions {
        gap: 17px;
    }
    .button {
        gap: 18px;
        padding-inline: 18px;
    }
    .guidelines-section {
        gap: 48px;
    }
    .download-layout {
        gap: 44px;
    }
    .contact-email {
        font-size: 19px;
        gap: 16px;
    }
}

@media (max-width: 760px) {
    .wrap {
        width: calc(100% - 40px);
    }
    .site-header {
        flex-wrap: wrap;
        gap: 0;
        padding-top: 23px;
        min-height: auto;
    }
    .brand {
        font-size: 24px;
    }
    .header-tools {
        margin-left: auto;
    }
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 16px;
        justify-content: space-between;
        gap: 18px;
        border-top: 1px solid #3a2e3466;
    }
    .main-nav a {
        font-size: 12px;
        padding-block: 13px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-block: 42px 40px;
        gap: 35px;
    }
    .hero h1 {
        font-size: clamp(52px, 10vw, 72px);
    }
    .hero .eyebrow {
        margin-bottom: 24px;
    }
    .hero-description {
        max-width: 520px;
        font-size: 14px;
    }
    .hero-actions {
        margin-top: 27px;
        gap: 24px;
    }
    .hero-note {
        margin-top: 23px;
    }
    .hero-art {
        min-height: 390px;
        width: min(100%, 470px);
        justify-self: center;
        border-radius: 44% 44% 3px 3px;
    }
    .bond-art {
        height: 112%;
        top: -6%;
    }
    .art-topline {
        top: 35px;
    }
    .art-bottomline {
        bottom: 19px;
    }
    .values-inner {
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 14px;
        row-gap: 0;
        padding-block: 15px;
        min-height: 70px;
        font-size: 8px;
        letter-spacing: .09em;
    }
    .value-star {
        font-size: 14px;
    }
    .values-inner .value-star:nth-of-type(4) {
        display: none;
    }
    .section {
        padding-block: 46px;
    }
    .section-heading {
        display: block;
        margin-bottom: 28px;
    }
    h2 {
        font-size: 29px;
    }
    .section-intro {
        max-width: 100%;
        margin-top: 16px;
        font-size: 12px;
    }
    .section-heading > .small-label {
        display: block;
        margin-top: 16px;
    }
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .principle, .principle + .principle {
        padding: 0 0 25px;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .principle:last-child {
        padding-bottom: 0;
        border: 0;
    }
    .principle-number {
        margin-bottom: 12px;
    }
    .principle p {
        font-size: 13px;
    }
    .principle-tag {
        margin-top: 14px;
        font-size: 11px;
    }
    .resource-card {
        padding: 24px 20px;
        gap: 18px;
        align-items: flex-start;
        position: relative;
    }
    .file-art {
        margin-top: 5px;
    }
    .file-art svg {
        width: 35px;
        height: 45px;
    }
    .resource-title {
        font-size: 23px;
        padding-right: 20px;
    }
    .resource-meta {
        font-size: 8px;
        padding-right: 12px;
    }
    .resource-arrow {
        position: absolute;
        right: 15px;
        bottom: 20px;
        width: 30px;
        height: 30px;
        font-size: 19px;
    }
    .resource-file-meta {
        padding-right: 26px;
    }
    .guidelines-section {
        grid-template-columns: 1fr;
        gap: 27px;
    }
    .guidelines-heading h2, .guidelines-heading > p:not(.eyebrow) {
        max-width: none;
    }
    .guidelines-heading > p:not(.eyebrow) {
        margin-top: 13px;
    }
    .guidelines-heading .text-link {
        margin-top: 12px;
    }
    .legal-section {
        padding-block: 0 45px;
    }
    .legal-section .section-heading {
        padding-top: 35px;
    }
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .legal-card {
        padding: 25px;
    }
    .legal-card p, .legal-intro {
        font-size: 13px;
    }

    .detail-body p, .download-notes ul {
        font-size: 14px;
    }
    .contact-section {
        flex-direction: column;
        align-items: flex-start;
        padding-block: 35px;
        gap: 15px;
    }
    .contact-section h2 {
        font-size: 27px;
    }
    .contact-email {
        font-size: 22px;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .site-footer {
        flex-wrap: wrap;
        gap: 8px 20px;
        padding-block: 22px;
    }
    .site-footer p {
        order: 3;
        width: 100%;
    }
    .site-footer .back-top {
        margin-left: auto;
    }
    .download-main {
        padding-block: 22px 42px;
    }
    .download-back {
        margin-bottom: 30px;
    }
    .download-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .download-copy h1 {
        font-size: 43px;
    }
    .download-notes {
        margin-top: 28px;
    }
    .download-panel {
        padding: 28px;
    }
    .download-file-icon {
        margin-block: 23px;
    }
    .download-contact {
        margin-top: 35px;
        gap: 5px 16px;
    }
    html[lang="zh-Hans"] .hero h1 {
        font-size: clamp(40px, 8.4vw, 59px);
    }
}

@media (max-width: 370px) {
    .wrap {
        width: calc(100% - 32px);
    }
    .brand {
        font-size: 22px;
    }
    .header-tools {
        gap: 7px;
    }
    .language-switch {
        gap: 0;
    }
    .language-switch button {
        padding-inline: 5px;
    }
    .hero-actions {
        gap: 9px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero-art {
        min-height: 345px;
    }
    .values-inner {
        column-gap: 9px;
        font-size: 7px;
    }
    .download-copy h1 {
        font-size: 37px;
    }
    .resource-card {
        gap: 13px;
        padding-inline: 16px;
    }
}

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