:root { color-scheme: dark; --ink: #f3ede3; --muted: #aebcb7; --gold: #e5c48b; --line: #e6c78c30; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0b1119; color: var(--ink); font: 16px/1.8 "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable]:not([contenteditable="false"]) { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
a { color: inherit; }
.topbar { min-height: 76px; padding: 14px max(5vw, calc((100vw - 1260px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); background: #101d21; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.3; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #d9b777; border-radius: 50%; font: 28px Georgia, serif; color: var(--gold); }
.brand strong, .brand small { display: block; }
.brand strong { font: 600 18px/1.3 Georgia, "Songti SC", serif; }
.brand small { margin-top: 3px; color: #9dada5; font-size: 11px; }
.top-link { color: var(--gold); font-size: 13px; text-decoration: none; }
.top-link:hover, .related a:hover, footer a:hover { color: #fff0c8; }
.article-hero { position: relative; isolation: isolate; min-height: 460px; display: flex; align-items: center; overflow: hidden; background: #122226; border-bottom: 1px solid var(--line); }
.article-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 40%, #6dcdb41f 46%, #e5c48b36 50%, transparent 59%); }
.article-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0c151df2 5%, #0c151de3 40%, #0c151d58 75%, #0c151d9c), linear-gradient(0deg, #0b1119, transparent 60%); }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 42%; }
.hero-copy { position: relative; z-index: 1; width: min(1260px, 90%); margin: 0 auto; padding: 78px 0; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1, h2 { font-family: Georgia, "Songti SC", "Noto Serif CJK SC", serif; line-height: 1.3; }
h1 { max-width: 780px; margin: 18px 0 18px; font-size: clamp(36px, 4vw, 58px); }
.intro { max-width: 670px; color: #d4ded8; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 20px; border: 1px solid var(--gold); border-radius: 3px; color: #111b1d; background: var(--gold); text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #f4d8a1; }
.button.secondary { color: #eadcc2; background: #111d24b3; border-color: #d8c29a66; }
.button.secondary:hover { background: #263436; }
.article-layout { width: min(1260px, 90%); margin: 0 auto; padding: 72px 0 90px; display: grid; grid-template-columns: 220px minmax(0, 800px); gap: clamp(36px, 7vw, 110px); }
.contents { align-self: start; position: sticky; top: 24px; border-left: 1px solid var(--line); padding-left: 20px; }
.contents .eyebrow { margin: 0 0 16px; }
.contents nav { display: grid; gap: 9px; }
.contents a { color: var(--muted); text-decoration: none; font-size: 14px; }
.contents a:hover { color: var(--gold); }
.article-body section + section { margin-top: 54px; }
.article-body section { scroll-margin-top: 20px; }
.article-body h2, .related h2 { margin: 0 0 17px; font-size: clamp(25px, 2.2vw, 34px); }
.article-body p { color: #c3d0ca; margin: 0 0 14px; }
.article-body section:not(.next-step) h2::before { content: ''; display: block; width: 46px; height: 2px; margin-bottom: 17px; background: linear-gradient(90deg, var(--gold), #76bbaa); }
.next-step { padding: 28px 32px 32px; border: 1px solid #d2b47c45; background: radial-gradient(ellipse at 90% 15%, #1d595244, transparent 65%), #111c23; }
.next-step .eyebrow { color: var(--gold); }
.next-step p { max-width: 630px; }
.related { border-top: 1px solid var(--line); background: #101920; padding: 44px max(5vw, calc((100vw - 1260px)/2)) 55px; display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.related .eyebrow { margin-top: 0; }
.related h2 { margin-bottom: 0; }
.related-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.related-links a { color: var(--gold); text-decoration: none; font-size: 14px; }
footer { padding: 26px max(5vw, calc((100vw - 1260px)/2)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: #95a59e; font-size: 13px; }
footer p { margin: 0; }
footer a { color: #c6b692; text-decoration: none; }
footer .footer-signature { color: #a99e8a; font: 12px/1.6 Georgia, "Songti SC", serif; letter-spacing: .1em; }
@media (max-width: 700px) { .topbar { padding-inline: 5%; } .article-hero { min-height: 450px; } .article-hero::after { background: linear-gradient(90deg, #0c151def, #0c151d9e), linear-gradient(0deg, #0b1119, transparent); } .hero-copy { padding: 54px 0; } .article-layout { padding: 44px 0 65px; display: block; } .contents { position: static; margin-bottom: 42px; } .next-step { padding: 24px; } .related { padding-inline: 5%; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: guide-scene-drift 16s ease-in-out infinite alternate; }
  .article-hero::before { animation: guide-light-sweep 9s ease-in-out infinite; }
  .hero-copy > * { animation: guide-arrive .8s cubic-bezier(.22, 1, .36, 1) backwards; }
  .hero-copy h1 { animation-delay: .1s; } .hero-copy .intro { animation-delay: .2s; } .hero-copy .hero-actions { animation-delay: .3s; }
  @supports (animation-timeline: view()) {
    .article-body section:not(.next-step) h2::before { transform-origin: left; animation: guide-line linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes guide-scene-drift { from { transform: scale(1.03) translateX(-.5%); } to { transform: scale(1.07) translateX(.5%); } }
@keyframes guide-light-sweep { 0%, 15% { opacity: 0; transform: translateX(-100%); } 35% { opacity: 1; } 60%, 100% { opacity: 0; transform: translateX(100%); } }
@keyframes guide-arrive { from { opacity: .25; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes guide-line { from { opacity: .3; transform: scaleX(.15); } to { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } .button:hover { transform: none; } }
