:root {
    --page: #E6E2DA;
    --deep-page: #D4CFC6;
    --paper: #F4F1EA;
    --paper-soft: #EBE7DF;
    --ink: #2C2A28;
    --body: #3A3732;
    --muted: #6A645C;
    --soft: #8A847A;
    --elephant: #B8B3A8;
    --moss: #6A7A58;
    --clay: #A65A3A;
    --border: rgba(44, 42, 40, 0.14);
    --accent-border: rgba(166, 90, 58, 0.36);
    --shadow: 0 12px 28px rgba(44, 42, 40, 0.08);
    --footer: #241F1C;
    --max: 980px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page);
    color: var(--body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.site-header { min-height: 120px; }
.xiang-news {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    height: 20px;
    background: var(--ink);
    color: var(--paper);
    font-size: 12px;
}
.top-inner, .head-inner, .step-inner, .footer-inner, .page-shell {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}
.top-inner, .head-inner, .step-inner {
    height: 100%;
    display: flex;
    align-items: center;
}
.top-inner { justify-content: space-between; }
.text-control, .drawer-open, .icon-control {
    border: 0;
    background: transparent;
    padding: 0 10px;
    min-height: 44px;
    cursor: pointer;
}
.text-control { color: var(--paper); font-size: 12px; min-height: 20px; padding-right: 0; }
.xiang-head {
    position: fixed;
    top: 20px;
    inset-inline: 0;
    z-index: 79;
    height: 54px;
    background: var(--elephant);
    border-bottom: 1px solid rgba(44, 42, 40, 0.24);
}
.head-inner { justify-content: space-between; }
.brand-link { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo, .footer-logo, .drawer-logo { display: inline-flex; align-items: center; }
.site-logo-image { height: 24px; width: auto; object-fit: contain; }
.site-logo-fallback { font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 4px; }
.app-link, .drawer-open {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--ink);
    white-space: nowrap;
}
.app-link:hover, .drawer-open:hover { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 4px; }
.xiang-step {
    height: 46px;
    margin-top: 74px;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 74px;
    z-index: 60;
}
.step-inner { justify-content: flex-start; gap: 28px; }
.step-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; gap: 7px; color: var(--ink); font-size: 13px; }
.step-link span { color: var(--clay); font-size: 12px; }
.step-link.is-current span { color: var(--ink); }
.step-link.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--clay); }
.site-main { min-height: 60vh; }
.page-shell { padding: 48px 0 72px; }
.page-shell.compact-top { padding-top: 34px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 14px; font-weight: 700; letter-spacing: .01em; }
h1 { font-size: 24px; line-height: 1.3; }
h2 { font-size: 20px; line-height: 1.4; }
h3 { font-size: 16px; line-height: 1.45; }
p { margin: 0 0 16px; }
.lead { font-size: 16px; color: var(--ink); }
.eyebrow { color: var(--clay); font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.hero-number { font-size: 54px; line-height: 1; font-weight: 700; color: var(--clay); letter-spacing: -.05em; margin-bottom: 18px; }
.section { margin-top: 56px; }
.section:first-child { margin-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); }
.primary-btn, .secondary-btn {
    min-height: 44px;
    padding: 9px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary-btn { background: linear-gradient(135deg, #B8B3A8 0%, #2C2A28 100%); color: var(--paper); box-shadow: var(--shadow); }
.secondary-btn { background: var(--paper); color: var(--ink); border: 1px solid var(--clay); }
.primary-btn:hover, .secondary-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(44, 42, 40, .12); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.media-slot, .short-frame, .banner-slot, .portrait-slot, .card-media, .quote-media, .step-media, .brand-media {
    background: var(--deep-page);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-slot img, .short-frame img, .banner-slot img, .portrait-slot img, .card-media img, .quote-media img, .step-media img, .brand-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.media-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(244, 241, 234, .38), rgba(184, 179, 168, .18)); }
.short-frame { width: 100%; height: 180px; }
.banner-slot { width: 100%; height: 200px; }
.portrait-slot { min-height: 260px; max-height: 320px; height: 320px; }
.brand-media { height: 220px; }
.intro-panel {
    max-width: 760px;
    padding: 30px 0 18px;
}
.intro-panel .lead { font-size: 19px; margin-bottom: 12px; }
.step-list { display: grid; gap: 14px; }
.step-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.step-item:last-child { border-bottom: 1px solid var(--border); }
.step-index { color: var(--clay); font-size: 13px; font-weight: 700; }
.step-body.with-media { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: center; }
.step-media { height: 150px; }
.quote-stack { display: grid; gap: 16px; }
.quote-block {
    background: var(--paper);
    border-left: 3px solid var(--clay);
    padding: 22px 24px;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow);
}
.quote-block.with-media { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; align-items: center; }
.quote-block p:last-child { margin-bottom: 0; }
.quote-media { height: 150px; }
.card-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.card-media { height: 170px; margin-bottom: 16px; }
.period-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.spaced-top { margin-top: 14px; }
.period-card { background: var(--paper-soft); border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.period-card strong { color: var(--clay); display: block; margin-bottom: 8px; }
.status-list { display: grid; gap: 10px; }
.status-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; }
.status-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; border-radius: 999px; padding: 2px 10px; background: var(--deep-page); color: var(--ink); font-size: 12px; font-weight: 700; }
.status-row.is-working .status-chip { background: #DCE1D6; color: var(--ink); }
.status-row.is-pending .status-chip { background: #E8D7CF; color: var(--ink); }
.product-split { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.2fr); gap: 34px; align-items: center; }
.product-copy { background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 28px; box-shadow: var(--shadow); }
.app-icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--deep-page); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: contain; }
.method-list, .memo-list, .policy-list, .topic-list, .help-list { display: grid; gap: 14px; }
.method-item, .memo-item, .policy-item, .topic-item, .help-item {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
}
.method-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
.method-item .eyebrow { padding-top: 2px; }
.memo-item { border-left: 3px solid var(--moss); }
.memo-item strong, .policy-item strong { display: block; color: var(--ink); margin-bottom: 7px; }
.topic-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; }
.topic-tag { color: var(--clay); font-weight: 700; font-size: 13px; }
.center-card-wrap { max-width: 740px; margin-inline: auto; display: grid; gap: 18px; }
.center-card { text-align: center; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; padding: 28px; box-shadow: var(--shadow); }
.center-card p { max-width: 620px; margin-left: auto; margin-right: auto; }
.center-card .button-row { justify-content: center; }
.single-column { max-width: 760px; margin-inline: auto; }
.single-column .section { margin-top: 44px; }
.single-column .note-box { background: var(--paper-soft); border: 1px solid var(--accent-border); border-radius: 8px; padding: 20px; }
.full-frame-copy { margin-top: 22px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
.full-frame-copy .side-note { color: var(--muted); font-size: 13px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--border); border-radius: 8px; padding: 20px 22px; }
.faq-item h2, .faq-item h3 { margin-bottom: 9px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; }
.inline-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 4px; }
.brand-statement { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: center; }
.site-footer { background: var(--footer); color: #E6E2DA; border-top: 1px solid rgba(184, 179, 168, .22); font-size: 13px; }
.footer-inner { padding: 34px 0 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-size: 16px; color: var(--paper); }
.footer-brand span { color: #C9C3B8; font-size: 12px; letter-spacing: .08em; }
.footer-logo .site-logo-fallback { color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 18px; border-top: 1px solid rgba(184, 179, 168, .2); }
.footer-grid h2 { font-size: 13px; color: var(--paper); margin-bottom: 9px; }
.footer-grid a { display: flex; align-items: center; color: #E6E2DA; min-height: 44px; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--clay); }
.footer-note { margin-top: 24px; color: #D5CFC4; max-width: 780px; }
.copyright { margin: 0; color: #BDB6AA; }
.screen-overlay {
    position: fixed;
    inset: 0;
    background: rgba(36, 31, 28, .38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 90;
}
.screen-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.site-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--paper);
    color: var(--ink);
    transform: translateX(-102%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
    z-index: 100;
    overflow-y: auto;
    box-shadow: 18px 0 40px rgba(44, 42, 40, .18);
}
.site-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { position: sticky; top: 0; z-index: 2; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border-bottom: 1px solid var(--border); padding: 8px 14px 8px 18px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.drawer-groups { padding: 8px 18px 30px; }
.drawer-groups section { padding: 14px 0 4px; border-bottom: 1px solid var(--border); }
.drawer-groups h2 { font-size: 13px; color: var(--clay); margin-bottom: 6px; }
.drawer-groups a { display: block; padding: 10px 0; }
.drawer-groups a strong { display: block; font-size: 14px; }
.drawer-groups a span { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.site-search {
    position: fixed;
    top: 74px;
    left: 50%;
    width: min(calc(100% - 32px), 680px);
    transform: translate(-50%, -12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 101;
}
.site-search.is-open { opacity: 1; transform: translate(-50%, 0); visibility: visible; pointer-events: auto; }
.search-card { background: var(--paper); color: var(--ink); border: 1px solid var(--border); border-radius: 0 0 10px 10px; box-shadow: var(--shadow); padding: 22px; }
.search-head { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.search-head strong { font-size: 18px; }
.search-head p { color: var(--muted); margin: 2px 0 0; }
.search-label { display: block; margin: 16px 0 6px; font-size: 12px; color: var(--muted); }
.search-input { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--ink); padding: 8px 12px; }
.search-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 54px; background: var(--paper-soft); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.search-presets a span { display: block; color: var(--muted); font-size: 12px; }
.mobile-bottom { display: none; }
@media (max-width: 760px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .site-header { min-height: 74px; }
    .top-inner, .head-inner, .footer-inner, .page-shell { width: calc(100% - 32px); }
    .xiang-step { display: none; }
    .xiang-news { height: 20px; }
    .xiang-head { top: 20px; height: 54px; }
    .head-inner { gap: 8px; }
    .head-actions { gap: 0; }
    .app-link, .drawer-open { padding-inline: 9px; }
    .page-shell { padding: 34px 0 56px; }
    .hero-number { font-size: 46px; }
    .section { margin-top: 42px; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 8px; }
    .step-item, .step-body.with-media, .quote-block.with-media, .card-grid.two, .period-grid, .product-split, .full-frame-copy, .brand-statement, .topic-item, .method-item { grid-template-columns: 1fr; }
    .step-item { gap: 6px; }
    .step-media, .quote-media { height: 160px; }
    .period-grid { gap: 10px; }
    .status-row { grid-template-columns: 1fr; gap: 8px; }
    .portrait-slot { height: 300px; max-height: 320px; }
    .product-copy { padding: 22px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-search { inset: 0; width: 100%; height: 100%; transform: none; background: var(--ink); }
    .site-search.is-open { transform: none; }
    .search-card { min-height: 100%; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); padding: 88px 16px 70px; }
    .search-head strong { color: var(--paper); }
    .search-head p, .search-label { color: #D8D2C8; }
    .search-head .icon-control { color: var(--paper); }
    .search-presets { grid-template-columns: 1fr; }
    .search-presets a { background: #3A3530; color: var(--paper); border-color: rgba(244, 241, 234, .15); }
    .search-presets a span { color: #D8D2C8; }
    .mobile-bottom {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        height: calc(48px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: var(--paper);
        border-top: 1px solid var(--border);
    }
    .mobile-bottom a { min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink); }
    .mobile-bottom a.is-current { background: var(--ink); color: var(--paper); }
    .screen-overlay { z-index: 90; }
    .site-drawer { z-index: 100; }
}
@media (max-width: 420px) {
    .brand-logo .site-logo-image { max-width: 126px; }
    .brand-logo .site-logo-fallback { font-size: 15px; }
    .app-link, .drawer-open { font-size: 12px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
