:root {
    --brand: #6657f5;
    --brand-dark: #4f42df;
    --brand-soft: #efedff;
    --ink: #20213a;
    --muted: #6e7187;
    --line: #e7e8f1;
    --paper: #fff;
    --page: #f6f7fb;
    --warm: #ff725f;
    --warm-soft: #fff1ee;
    --shadow: 0 18px 55px rgba(46, 42, 95, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif; line-height: 1.65; }
body.is-locked { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(940px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 9px 14px; border-radius: 10px; color: #fff; background: var(--brand-dark); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.hero { position: relative; overflow: hidden; min-height: 388px; color: #fff; background: linear-gradient(137deg, #5d4df0 0%, #765ffc 50%, #7b62ee 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 56px; background: linear-gradient(to bottom right, transparent 49%, var(--page) 50%); }
.hero__inner { position: relative; z-index: 2; padding: 32px 0 90px; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .23; background: #fff; }
.hero__glow--one { width: 320px; height: 320px; top: -175px; right: 7%; }
.hero__glow--two { width: 180px; height: 180px; bottom: -90px; left: 9%; }
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border: 1px solid rgba(255,255,255,.26); border-radius: 12px; color: #fff; background: rgba(255,255,255,.1); text-decoration: none; font-size: 13px; font-weight: 800; backdrop-filter: blur(8px); }
.back-link:hover { background: rgba(255,255,255,.17); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__eyebrow { margin-top: 42px; font-size: 12px; font-weight: 900; letter-spacing: .22em; opacity: .78; }
.hero h1 { max-width: 660px; margin: 10px 0 14px; font-size: clamp(37px, 7vw, 62px); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 span { color: #fff0ad; }
.hero__lead { max-width: 650px; margin: 0; color: rgba(255,255,255,.83); font-size: 16px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero__meta span { padding: 6px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 800; }

.main { position: relative; z-index: 3; margin-top: -24px; padding-bottom: 70px; }
.prepare-card { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px 24px; border: 1px solid #f1e3e0; border-radius: 20px; background: #fffdfc; box-shadow: var(--shadow); }
.prepare-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #ff826d, #f05c50); font-size: 21px; font-weight: 950; }
.prepare-card h2 { margin: 0 0 7px; font-size: 18px; }
.prepare-card ul { margin: 0; padding-left: 19px; color: #666878; font-size: 14px; }
.prepare-card li + li { margin-top: 3px; }

.system-tabs { position: sticky; z-index: 20; top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; padding: 7px; border: 1px solid rgba(228,228,240,.85); border-radius: 17px; background: rgba(255,255,255,.88); box-shadow: 0 12px 30px rgba(49,46,97,.08); backdrop-filter: blur(16px); }
.system-tab { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 900; transition: .18s ease; }
.system-tab:hover { color: var(--brand); background: var(--brand-soft); }
.system-tab.is-active { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 9px 20px rgba(91,75,230,.24); }
.system-tab__mark { font-size: 18px; }
.system-tab:focus-visible, summary:focus-visible, .image-button:focus-visible, a:focus-visible, .lightbox__close:focus-visible { outline: 3px solid rgba(102,87,245,.28); outline-offset: 3px; }
.system-panel[hidden] { display: none; }
.system-panel { animation: reveal .28s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 31px 2px 17px; }
.panel-heading h2 { margin: 1px 0 0; font-size: clamp(24px, 4vw, 34px); line-height: 1.2; }
.panel-heading__kicker { color: var(--brand); font-size: 11px; font-weight: 950; letter-spacing: .18em; }
.download-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 11px 24px rgba(89,73,226,.2); text-decoration: none; font-size: 13px; font-weight: 900; white-space: nowrap; }
.download-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(89,73,226,.27); }
.download-btn--small { min-height: 42px; padding: 0 14px; }

.tutorial-step { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); box-shadow: 0 8px 26px rgba(42,40,82,.045); overflow: clip; }
.tutorial-step[open] { border-color: #dedafc; box-shadow: 0 16px 40px rgba(52,46,112,.08); }
.tutorial-step summary { min-height: 80px; display: grid; grid-template-columns: 46px minmax(0,1fr) 22px; align-items: center; gap: 14px; padding: 15px 19px; list-style: none; cursor: pointer; user-select: none; }
.tutorial-step summary::-webkit-details-marker { display: none; }
.tutorial-step summary:hover { background: #fbfaff; }
.step-number { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: var(--brand-soft); font-size: 12px; font-weight: 950; }
.tutorial-step[open] .step-number { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.tutorial-step summary strong { display: block; font-size: 17px; line-height: 1.35; }
.tutorial-step summary small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.summary-arrow { width: 10px; height: 10px; border-right: 2px solid #9698aa; border-bottom: 2px solid #9698aa; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.tutorial-step[open] .summary-arrow { transform: rotate(225deg) translate(-2px,-2px); }
.step-body { padding: 4px 23px 28px 83px; border-top: 1px solid #f0eff6; }
.step-body > p { margin: 19px 0; color: #56596d; font-size: 15px; }
.tip { margin: 18px 0; padding: 13px 15px; border-left: 4px solid var(--warm); border-radius: 0 12px 12px 0; color: #78433d; background: var(--warm-soft); font-size: 13px; }
.tip--soft { border-left-color: var(--brand); color: #4b4771; background: var(--brand-soft); }
figure { margin: 21px 0 7px; }
.image-button { position: relative; width: 100%; padding: 0; border: 1px solid #e3e4ed; border-radius: 15px; background: #f4f4f8; overflow: hidden; cursor: zoom-in; box-shadow: 0 8px 25px rgba(41,39,73,.06); }
.image-button::after { content: "点击放大"; position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border-radius: 8px; color: #fff; background: rgba(31,29,54,.72); opacity: 0; transform: translateY(4px); transition: .16s; font-size: 11px; font-weight: 800; backdrop-filter: blur(6px); }
.image-button:hover::after { opacity: 1; transform: none; }
.image-button img { width: 100%; height: auto; }
figcaption { padding: 7px 4px 0; color: #858799; font-size: 12px; text-align: center; }
.substep-title { display: flex; align-items: center; gap: 9px; margin: 23px 0 10px; color: var(--ink); font-size: 15px; }
.substep-title span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--brand); font-size: 11px; }
.phase-divider { height: 1px; margin: 30px 0 24px; background: linear-gradient(90deg, transparent, #dedaf4 12%, #dedaf4 88%, transparent); }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 19px 0; color: var(--muted); font-size: 12px; }
.text-link { color: var(--brand); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.learn-card { margin-top: 28px; padding: 28px; border-radius: 22px; color: #fff; background: linear-gradient(140deg, #24243e, #393463 54%, #504697); box-shadow: 0 20px 48px rgba(40,36,78,.18); }
.learn-card__tag { display: inline-block; padding: 4px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #f8edb6; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 900; }
.learn-card h2 { margin: 10px 0 3px; font-size: 25px; }
.learn-card > p { margin: 0 0 18px; color: rgba(255,255,255,.68); font-size: 14px; }
.learn-links { display: grid; gap: 9px; }
.learn-links a { min-height: 50px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #fff; background: rgba(255,255,255,.07); text-decoration: none; font-size: 13px; font-weight: 800; transition: .17s; }
.learn-links a:hover { background: rgba(255,255,255,.13); transform: translateX(2px); }
.learn-links span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #ded8ff; background: rgba(255,255,255,.1); font-size: 11px; }
.finish-actions { margin-top: 30px; text-align: center; }
.finish-actions p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.finish-actions a { display: inline-flex; min-height: 43px; align-items: center; padding: 0 18px; border: 1px solid #dcd9fb; border-radius: 12px; color: var(--brand); background: #fff; text-decoration: none; font-size: 13px; font-weight: 900; }

.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 22px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(21,20,34,.78); backdrop-filter: blur(8px); cursor: zoom-out; }
.lightbox__dialog { position: relative; z-index: 1; width: min(1120px, 96vw); max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.lightbox__dialog img { max-width: 100%; max-height: 82vh; border-radius: 12px; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.35); object-fit: contain; }
.lightbox__dialog p { margin: 9px 0 0; color: rgba(255,255,255,.85); font-size: 13px; text-align: center; }
.lightbox__close { position: absolute; z-index: 2; top: -15px; right: -15px; width: 40px; height: 40px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: #29263d; cursor: pointer; font-size: 25px; line-height: 1; }

@media (max-width: 720px) {
    .shell { width: min(100% - 22px, 940px); }
    .hero { min-height: 360px; }
    .hero__inner { padding-top: 20px; }
    .hero__eyebrow { margin-top: 34px; }
    .hero__lead { font-size: 14px; }
    .main { margin-top: -18px; }
    .prepare-card { grid-template-columns: 38px 1fr; padding: 18px 16px; }
    .prepare-card__icon { width: 36px; height: 36px; border-radius: 11px; }
    .system-tabs { top: 7px; }
    .system-tab { min-height: 45px; font-size: 13px; }
    .panel-heading { align-items: stretch; flex-direction: column; }
    .panel-heading .download-btn { width: 100%; }
    .tutorial-step summary { grid-template-columns: 42px minmax(0,1fr) 15px; gap: 10px; padding: 13px; }
    .step-number { width: 40px; height: 40px; }
    .tutorial-step summary strong { font-size: 15px; }
    .step-body { padding: 1px 13px 20px; }
    .step-body > p { font-size: 14px; }
    .action-row { align-items: stretch; flex-direction: column; }
    .action-row .download-btn { width: 100%; }
    .image-button { border-radius: 11px; }
    .image-button::after { display: none; }
    .learn-card { padding: 22px 17px; }
    .lightbox { padding: 12px; }
    .lightbox__close { top: -12px; right: -5px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}