:root {
  color-scheme: light;
  --paper: #f6f5ed;
  --ink: #201b32;
  --muted: #504a60;
  --line: #d8d4df;
  --violet: #302154;
  --lime: #e5f985;
  --lavender: #e9e1ff;
  --white: #fffef8;
  font: 16px/1.65 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8059e4; outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 3; padding: .55rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead { border-top: 5px solid var(--ink); border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; width: max-content; font-size: 1.2rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 6px); grid-auto-rows: 6px; gap: 3px; justify-content: center; align-content: center; width: 33px; aspect-ratio: 1; border-radius: 8px; background: var(--ink); }
.brand-mark i { background: var(--lime); border-radius: 1px; }
.brand-mark i:last-child { background: #a48aea; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem; }
.masthead nav a { font-size: .94rem; font-weight: 650; text-decoration: none; text-underline-offset: .36em; }
.masthead nav a[aria-current], .masthead nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: 76px 66px; }
.eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .87rem; font-weight: 750; letter-spacing: .06em; color: var(--muted); }
.eyebrow span { display: block; width: 10px; height: 10px; border-radius: 2px; background: #9069ea; transform: rotate(-12deg); }
.hero h1 { margin-top: 1rem; font-size: clamp(3.05rem, 6vw, 5.4rem); line-height: .99; letter-spacing: -.06em; font-weight: 900; }
.hero-intro { max-width: 33ch; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .72rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: .52rem 1rem; border: 1px solid var(--ink); border-radius: 7px; text-decoration: none; font-weight: 750; font-size: .94rem; }
.primary { background: var(--ink); color: var(--white); }
.primary:hover { background: var(--violet); }
.secondary:hover { background: var(--lavender); }

.load-board { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; border: 1px solid #352754; background: #2d214a; color: #fffef8; box-shadow: 8px 9px 0 #e2dbea; }
.load-board::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 22%, #a07de6 0, transparent 39%), repeating-linear-gradient(90deg, transparent 0 35px, #f4ebff36 35px 36px), repeating-linear-gradient(0deg, transparent 0 35px, #f4ebff36 35px 36px); opacity: .28; }
.load-board::after { content: ""; position: absolute; z-index: -1; width: 19rem; aspect-ratio: 1; right: -7rem; bottom: -10rem; transform: rotate(-32deg); border: 1px solid #d7c6f468; border-radius: 38px; box-shadow: 0 0 0 23px #dfcaff14, 0 0 0 49px #dfcaff0f, 0 0 0 74px #dfcaff0b; }
.board-window { display: flex; justify-content: space-between; align-items: center; padding: .62rem 1.25rem; border-bottom: 1px solid #d4bcee45; background: #20173491; font: 650 .71rem/1.7 ui-monospace, Consolas, monospace; letter-spacing: .12em; color: #e6daff; }
.board-window > span:first-child { display: flex; gap: 6px; }
.board-window i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #bcacda; }
.board-window i:first-child { background: var(--lime); border-color: var(--lime); }
.board-body { padding: clamp(1.25rem, 3.6vw, 3rem); }
.board-body h2 { font-size: clamp(1.45rem, 2.7vw, 2.3rem); letter-spacing: -.04em; }
.load-stages { list-style: none; display: grid; gap: .58rem; margin: 1.15rem 0 0; padding: 0; }
.load-stages li { display: grid; grid-template-columns: 11px 1fr; gap: .85rem; align-items: center; padding: .57rem .85rem; border: 1px solid #e3d2ff48; border-radius: 7px; background: #241938b5; }
.load-stages li > span { width: 9px; height: 9px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 12px #e5f98585; }
.load-stages li:nth-child(2) > span { background: #c6a4ff; box-shadow: none; }
.load-stages li:nth-child(3) > span { background: none; outline: 1px solid #e3d2ff; box-shadow: none; }
.load-stages strong, .load-stages small { display: block; }
.load-stages strong { font-size: 1rem; }
.load-stages small { color: #e8dcff; font-size: .81rem; }

.guide-section { padding-block: 27px 45px; border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin-bottom: 1.1rem; }
.section-heading h2, .home-faq h2, .related > h2 { font-size: clamp(1.63rem, 3vw, 2.25rem); line-height: 1.22; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.guide-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 225px; padding: 1.35rem; border: 1px solid #d9d0e4; border-radius: 11px; background: var(--white); }
.guide-card:hover { border-color: #8d73b7; }
.guide-card h3 { margin-top: .55rem; max-width: 16ch; font-size: 1.2rem; line-height: 1.48; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { text-decoration: underline; }
.guide-card p { margin: .45rem 0 1.1rem; color: var(--muted); font-size: .93rem; }
.card-symbol { display: flex; align-items: end; justify-content: center; gap: 3px; width: 36px; height: 33px; padding: 7px 6px; margin-bottom: .85rem; border-radius: 7px; background: var(--lavender); }
.card-symbol i { width: 5px; height: 7px; background: #533b83; border-radius: 1px; }
.card-symbol i:nth-child(2) { height: 12px; }
.card-symbol i:nth-child(3) { height: 17px; }
.theme-demo-vs-video .card-symbol { background: var(--lime); }
.theme-demo-vs-video .card-symbol i { height: 12px; }
.theme-demo-vs-video .card-symbol i:nth-child(2) { transform: translateY(-4px); }
.theme-mobile-compatibility .card-symbol { background: #ffded0; }
.theme-mobile-compatibility .card-symbol i { height: 13px; outline: 1px solid #533b83; background: transparent; }
.theme-mobile-compatibility .card-symbol i:nth-child(2) { height: 17px; }
.card-label { font-size: .78rem; font-weight: 750; color: var(--muted); }
.card-action { margin-top: auto; font-size: .87rem; font-weight: 750; }
.card-action span { margin-left: .15rem; }

.home-faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem; padding-block: 2rem 3.6rem; border-top: 1px solid var(--line); }
.home-faq > div > a { display: inline-block; margin-top: .6rem; }
.home-faq ul { margin: 0; padding: 0; list-style: none; }
.home-faq li + li { border-top: 1px solid var(--line); }
.home-faq li a { display: block; padding: .52rem .22rem .65rem 0; font-weight: 650; }
.footer { border-top: 1px solid #37304f; color: #f9f4ff; background: var(--ink); }
.footer-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 1.15rem 2rem; padding-block: 26px; }
.footer-brand { font-size: 1.15rem; font-weight: 800; letter-spacing: -.04em; }
.footer p { font-size: .91rem; color: #e2d8f4; }

.article-header { padding-block: 3.1rem 2rem; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .88rem; }
.article-header h1 { margin-top: .6rem; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.12; letter-spacing: -.05em; }
.article-summary { max-width: 45ch; margin-top: .8rem; font-size: 1.12rem; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: 230px minmax(0, 680px); justify-content: start; gap: 3rem; padding-block: 2rem 3.3rem; }
.toc { align-self: start; padding: 1rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.toc h2 { font-size: .95rem; }
.toc ol { display: grid; gap: .38rem; padding-inline-start: 1.3rem; margin: .4rem 0 0; font-size: .91rem; }
.prose { min-width: 0; font-size: 1.04rem; line-height: 1.83; }
.prose section + section { margin-top: 2.1rem; }
.prose section { scroll-margin-top: 1rem; }
.prose h2 { margin-bottom: .6rem; font-size: clamp(1.34rem, 2.4vw, 1.7rem); line-height: 1.3; letter-spacing: -.024em; }
.prose p + p { margin-top: .9rem; }
.sources { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.sources ul { margin: .2rem 0 0; padding-inline-start: 1.25rem; }
.related { padding-block: 1.8rem 3rem; border-top: 1px solid var(--line); }
.related > h2 { margin-bottom: 1.1rem; }
.faq-page { min-height: 65vh; }
.faq-list { max-width: 770px; padding-block: 1.1rem 4rem; }
.faq-list details { scroll-margin-top: 1rem; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 1rem .1rem; font-size: 1.13rem; font-weight: 750; }
.faq-list details > div { padding: 0 .2rem .9rem 1.2rem; color: var(--muted); }
.faq-list details p + p { margin-top: .45rem; }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 58px); }
  .hero { gap: 2rem; padding-block: 55px 48px; }
  .article-grid { grid-template-columns: 190px minmax(0, 1fr); gap: 1.8rem; }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-inner { min-height: 0; flex-wrap: wrap; padding-block: .75rem; gap: .65rem .85rem; }
  .masthead nav { flex-basis: 100%; gap: .45rem 1.22rem; }
  .masthead nav a { display: inline-flex; align-items: center; min-height: 37px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; padding-block: 36px 35px; }
  .hero h1 { font-size: clamp(2.7rem, 10.5vw, 4.25rem); }
  .hero-intro { margin-top: .96rem; }
  .hero-actions { margin-top: 1.12rem; }
  .load-board { box-shadow: 4px 5px 0 #e2dbea; }
  .board-body h2 { font-size: 1.45rem; }
  .guide-grid, .home-faq, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card { min-height: 0; }
  .home-faq { gap: .7rem; }
  .footer-inner { flex-wrap: wrap; }
  .article-header { padding-block: 2rem 1.6rem; }
  .article-grid { gap: 1.3rem; padding-block: 1.35rem 2.45rem; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .button { padding-inline: .65rem; }
  .masthead nav { gap: .3rem .8rem; }
}
