:root {
  --sw-bg: #0b1118;
  --sw-bg-deep: #070c12;
  --sw-panel: rgba(18, 27, 38, .72);
  --sw-panel-solid: #121c28;
  --sw-line: rgba(213, 226, 242, .15);
  --sw-line-strong: rgba(213, 226, 242, .25);
  --sw-text: #f1f4f7;
  --sw-soft: #d1d8e0;
  --sw-muted: #99a7b7;
  --sw-faint: #718092;
  --sw-blue: #a6c5f1;
  --sw-blue-deep: #dbe9ff;
  --sw-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { min-width: 320px; color-scheme: dark; scroll-behavior: smooth; background: var(--sw-bg); }
body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--sw-text);
  background:
    radial-gradient(ellipse 78% 48% at 50% -10%, rgba(61, 91, 129, .78), transparent 71%),
    radial-gradient(ellipse 43% 37% at 91% 13%, rgba(87, 106, 123, .64), transparent 72%),
    radial-gradient(ellipse 49% 41% at 8% 58%, rgba(5, 9, 14, .98), transparent 74%),
    linear-gradient(180deg, #0b1118 0%, #0b1118 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: -20%;
  content: "";
  pointer-events: none;
  opacity: .3;
  background:
    radial-gradient(ellipse 28% 23% at 50% 8%, rgba(143, 181, 231, .34), transparent 76%),
    radial-gradient(ellipse 26% 32% at 78% 22%, rgba(147, 161, 171, .2), transparent 72%);
  filter: blur(42px);
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.sw-shell { width: min(1120px, calc(100% - 40px)); margin-right: auto; margin-left: auto; }

.sw-nav {
  position: sticky;
  z-index: 20;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  min-height: 54px;
  margin: 16px auto 0;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--sw-line);
  border-radius: 18px;
  background: rgba(12, 19, 28, .58);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .15);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}
.sw-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #e8edf4; font-size: 13px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.sw-brand-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(212, 226, 244, .32); border-radius: 9px; color: #d9e8ff; background: rgba(119, 153, 195, .2); font-size: 11px; font-weight: 750; letter-spacing: -.06em; }
.sw-brand-icon { width: 27px; height: 27px; border-radius: 8px; box-shadow: 0 7px 22px rgba(107, 157, 235, .22); }
.sw-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; color: var(--sw-muted); font-size: 12px; }
.sw-nav-links a { transition: color .2s ease; white-space: nowrap; }
.sw-nav-links a:hover { color: #fff; }
.sw-nav-cta { padding: 9px 13px; border: 1px solid rgba(219, 233, 255, .25); border-radius: 999px; color: #e9f2ff !important; background: rgba(166, 197, 239, .12); }

.sw-eyebrow, .sw-kicker { display: inline-flex; align-items: center; color: var(--sw-blue); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.sw-eyebrow i { display: inline-block; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: #a7c9f7; box-shadow: 0 0 16px #9fc6fa; }
.sw-hero { padding: 104px 0 0; }
.sw-hero-inner { text-align: center; }
.sw-hero h1 { max-width: 820px; margin: 24px auto 22px; color: #f7f9fb; font-size: clamp(48px, 6vw, 62px); font-weight: 520; line-height: 1.08; letter-spacing: -.06em; }
.sw-hero-product, .sw-hero-tagline { display: block; }
.sw-hero-tagline { color: #d8dee6; }
.sw-hero-copy { max-width: 650px; margin: 0 auto; color: var(--sw-muted); font-size: 16px; line-height: 1.85; }
.sw-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.sw-catalog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sw-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.sw-button:hover { transform: translateY(-2px); }
.sw-button-primary { color: #111923; background: #f3f6fa; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.sw-button-primary:hover { background: #fff; }
.sw-button-quiet { border: 1px solid var(--sw-line-strong); color: #e3ebf5; background: rgba(255, 255, 255, .04); }
.sw-button-quiet:hover { border-color: rgba(222, 235, 252, .45); background: rgba(255, 255, 255, .08); }
.sw-download-icon { display: inline-grid; place-items: center; width: 15px; height: 15px; font-size: 16px; line-height: 1; }
.sw-text-link { color: #c8d2de; font-size: 13px; }
.sw-text-link:hover { color: #fff; }
.sw-note { margin-top: 15px; color: var(--sw-faint); font-size: 11px; }
.sw-download-meter { display: flex; flex-direction: column; gap: 4px; min-height: 31px; margin-top: 15px; color: #b8c6d5; font-size: 11px; }
.sw-download-count { color: #c8d7e8; font-weight: 600; }
.sw-download-note { color: var(--sw-faint); font-size: 10px; }
.sw-download-meter[data-state="cache"] .sw-download-count { color: #aebdcc; }
.sw-download-meter[data-state="unavailable"] .sw-download-count { color: #c5aeb0; }

.sw-reader-window { position: relative; width: 100%; margin-top: 80px; overflow: hidden; border: 1px solid var(--sw-line-strong); border-radius: 24px; background: rgba(11, 18, 27, .78); box-shadow: var(--sw-shadow); }
.sw-window-bar { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 0 18px; border-bottom: 1px solid var(--sw-line); color: var(--sw-faint); background: rgba(22, 31, 42, .82); font-size: 11px; }
.sw-window-bar::before { display: inline-block; width: 7px; height: 7px; border-radius: 50%; content: ""; background: #9aabba; box-shadow: 14px 0 #718091, 28px 0 #4d5b6a; }
.sw-window-title { margin-left: 23px; color: #cad4df; }
.sw-window-hint { margin-left: auto; }
.sw-window-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 470px; }
.sw-workspace { padding: 22px 14px; border-right: 1px solid var(--sw-line); color: var(--sw-faint); background: rgba(15, 24, 35, .72); font-size: 11px; }
.sw-workspace-brand { display: flex; align-items: center; gap: 8px; margin: 0 8px 30px; color: #dce5ee; font-size: 12px; }
.sw-workspace-brand img { width: 20px; height: 20px; border-radius: 6px; }
.sw-side-label { margin: 0 8px 9px; color: #6f7e8e; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.sw-side-label-lower { margin-top: 31px; }
.sw-side-item { display: block; margin: 3px 0; padding: 9px 10px; border-radius: 8px; color: #8291a1; }
.sw-side-item.active { color: #e2eaf3; background: rgba(152, 184, 224, .13); }
.sw-paper-stage { min-width: 0; padding: 22px 25px 27px; background: linear-gradient(135deg, rgba(31, 43, 56, .8), rgba(13, 21, 30, .9)); }
.sw-paper-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 19px; color: #8797a8; font-size: 10px; }
.sw-paper-toolbar span:first-child { color: #cbd6e1; }
.sw-paper-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sw-paper { min-width: 0; min-height: 361px; padding: 28px 26px 23px; color: #182331; background: #f3f5f7; box-shadow: 0 18px 36px rgba(0, 0, 0, .22); font-family: Georgia, "Times New Roman", serif; }
.sw-paper-zh { background: #e8edf1; }
.sw-paper-kicker { display: block; margin-bottom: 22px; color: #687480; font-family: Inter, ui-sans-serif, sans-serif; font-size: 8px; font-weight: 750; letter-spacing: .14em; }
.sw-paper h2 { margin: 0 0 19px; font-size: clamp(19px, 2.2vw, 27px); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.sw-paper p { margin: 0 0 15px; color: #3d4853; font-size: 12px; line-height: 1.75; }
.sw-paper-rule { width: 100%; height: 1px; margin-top: 29px; background: #bdc8d1; }
.sw-paper-foot { display: block; margin-top: 12px; color: #7b8791; font-family: Inter, ui-sans-serif, sans-serif; font-size: 9px; }
.sw-preview-label { position: absolute; right: 19px; bottom: 14px; color: #8e9eae; font-size: 10px; }

.sw-catalog-hero { padding: 116px 0 76px; text-align: center; }
.sw-catalog-hero h1 { margin: 23px 0 17px; color: #f3f6f9; font-size: clamp(42px, 5.3vw, 60px); font-weight: 530; line-height: 1.1; letter-spacing: -.065em; }
.sw-catalog-hero p { max-width: 620px; margin: 0 auto 27px; color: var(--sw-muted); font-size: 16px; line-height: 1.8; }
.sw-catalog-product { display: grid; grid-template-columns: .78fr 1.22fr; gap: 58px; align-items: center; padding: 35px 0 112px; border-top: 1px solid var(--sw-line); }
.sw-catalog-product-copy h2 { display: flex; align-items: center; gap: 11px; margin: 17px 0 14px; color: #f3f6fa; font-size: 36px; font-weight: 540; letter-spacing: -.06em; }
.sw-catalog-product-copy > p { max-width: 450px; color: var(--sw-muted); font-size: 14px; line-height: 1.85; }
.sw-card-icon { width: 31px; height: 31px; border-radius: 9px; box-shadow: 0 8px 22px rgba(107, 157, 235, .22); }
.sw-product-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 27px; }
.sw-chip { padding: 6px 9px; border: 1px solid var(--sw-line); border-radius: 999px; color: #a9b8c8; background: rgba(255, 255, 255, .035); font-size: 10px; }
.sw-catalog-product-preview { position: relative; overflow: hidden; border: 1px solid var(--sw-line-strong); border-radius: 20px; background: rgba(17, 26, 37, .78); box-shadow: 0 23px 64px rgba(0, 0, 0, .24); }
.sw-compact-window-bar { display: flex; justify-content: space-between; padding: 13px 17px; border-bottom: 1px solid var(--sw-line); color: #8f9eac; font-size: 9px; }
.sw-compact-window-body { display: grid; grid-template-columns: 112px 1fr; min-height: 267px; }
.sw-compact-sidebar { padding: 17px 11px; border-right: 1px solid var(--sw-line); color: #728293; font-size: 9px; }
.sw-compact-sidebar strong { display: block; margin: 0 6px 15px; color: #cbd7e3; font-size: 10px; }
.sw-compact-sidebar span { display: block; padding: 8px 7px; border-radius: 6px; }
.sw-compact-sidebar .active { color: #e2eaf3; background: rgba(152, 184, 224, .13); }
.sw-compact-papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 20px 18px; background: rgba(9, 15, 22, .35); }
.sw-paper-small { min-height: 218px; padding: 18px 16px 14px; }
.sw-paper-small .sw-paper-kicker { margin-bottom: 13px; font-size: 7px; }
.sw-paper-small h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.sw-paper-small p { margin-bottom: 9px; font-size: 9px; line-height: 1.65; }
.sw-paper-small .sw-paper-rule { margin-top: 16px; }

.sw-section { padding: 100px 0; }
.sw-section-line { border-top: 1px solid var(--sw-line); }
.sw-section h2 { margin: 15px 0 15px; color: #f3f6f9; font-size: clamp(31px, 4vw, 48px); font-weight: 520; line-height: 1.13; letter-spacing: -.06em; }
.sw-lead { max-width: 650px; color: var(--sw-muted); font-size: 15px; line-height: 1.85; }
.sw-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 53px; border-top: 1px solid var(--sw-line); }
.sw-feature { min-height: 173px; padding: 25px 35px 28px 0; border-bottom: 1px solid var(--sw-line); }
.sw-feature:nth-child(even) { padding-right: 0; padding-left: 35px; border-left: 1px solid var(--sw-line); }
.sw-feature-index { color: #91b2dd; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.sw-feature h3 { margin: 18px 0 9px; color: #e9eef4; font-size: 16px; font-weight: 600; }
.sw-feature p { max-width: 460px; color: var(--sw-muted); font-size: 13px; line-height: 1.75; }
.sw-reader-section { padding-top: 92px; padding-bottom: 92px; background: rgba(10, 16, 23, .28); }
.sw-reader-note { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: end; }
.sw-reader-note > p { color: var(--sw-muted); font-size: 15px; line-height: 1.9; }
.sw-reader-callout { display: block; grid-column: 2; margin-top: -61px; color: #7d8e9f; font-size: 10px; }
.sw-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 51px; }
.sw-step { padding-top: 17px; border-top: 1px solid var(--sw-line-strong); }
.sw-step-num { color: #91b2dd; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.sw-step h3 { margin: 15px 0 9px; color: #e9eef4; font-size: 16px; font-weight: 600; }
.sw-step p { color: var(--sw-muted); font-size: 13px; line-height: 1.8; }
.sw-fine { max-width: 890px; margin-top: 35px; padding: 15px 18px; border-left: 2px solid #789bd0; color: #8e9eae; background: rgba(150, 185, 230, .06); font-size: 12px; line-height: 1.8; }
.sw-faq-section { border-top: 1px solid var(--sw-line); }
.sw-faq-list { max-width: 850px; margin-top: 40px; border-top: 1px solid var(--sw-line); }
.sw-faq-list details { border-bottom: 1px solid var(--sw-line); }
.sw-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; list-style: none; color: #e8eef5; font-size: 14px; font-weight: 550; }
.sw-faq-list summary::-webkit-details-marker { display: none; }
.sw-faq-list summary::after { color: #8192a5; content: "+"; font-size: 18px; font-weight: 350; }
.sw-faq-list details[open] summary::after { content: "−"; }
.sw-faq-list details p { max-width: 760px; padding: 0 40px 20px 0; color: var(--sw-muted); font-size: 13px; line-height: 1.8; }
.sw-faq-list a { color: #b4cff5; text-decoration: underline; text-underline-offset: 3px; }
.sw-bottom { padding: 76px 0; border-top: 1px solid var(--sw-line); background: rgba(5, 9, 14, .45); }
.sw-bottom-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.sw-bottom h2 { margin: 12px 0 10px; color: #f3f6f9; font-size: clamp(28px, 4vw, 44px); font-weight: 520; line-height: 1.15; letter-spacing: -.06em; }
.sw-bottom p { max-width: 600px; color: var(--sw-muted); font-size: 14px; line-height: 1.8; }
.sw-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; padding-bottom: 29px; color: #718091; font-size: 11px; }
.sw-footer a { color: #a1b5ce; }

@media (max-width: 850px) {
  .sw-catalog-product { grid-template-columns: 1fr; gap: 42px; }
  .sw-catalog-product-copy > p { max-width: 650px; }
  .sw-reader-note { grid-template-columns: 1fr; gap: 22px; }
  .sw-reader-callout { grid-column: auto; margin-top: 0; }
  .sw-bottom-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .sw-nav { top: 10px; width: calc(100% - 28px); margin-top: 10px; }
  .sw-nav-links { gap: 10px; }
  .sw-nav-links a:not(.sw-nav-cta) { display: none; }
  .sw-nav-cta { padding: 8px 11px; }
  .sw-shell { width: min(100% - 32px, 1120px); }
  .sw-hero { padding-top: 86px; }
  .sw-hero h1 { font-size: clamp(36px, 9vw, 50px); }
  .sw-reader-window { margin-top: 58px; border-radius: 18px; }
  .sw-window-body { grid-template-columns: 1fr; min-height: 0; }
  .sw-workspace { display: flex; align-items: center; gap: 5px; overflow: hidden; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--sw-line); }
  .sw-workspace-brand { flex: 0 0 auto; margin: 0 10px 0 0; }
  .sw-side-label, .sw-side-label-lower { display: none; }
  .sw-side-item { flex: 0 0 auto; padding: 7px 9px; }
  .sw-paper-stage { padding: 17px 13px 27px; }
  .sw-paper-toolbar { font-size: 9px; }
  .sw-paper-toolbar span:last-child { display: none; }
  .sw-paper-pair, .sw-compact-papers { grid-template-columns: 1fr; }
  .sw-paper { min-height: 245px; padding: 22px 19px 18px; }
  .sw-paper-zh { display: block; }
  .sw-catalog-hero { padding-top: 92px; }
  .sw-catalog-product { padding-bottom: 82px; }
  .sw-compact-window-body { grid-template-columns: 1fr; }
  .sw-compact-sidebar { display: flex; align-items: center; gap: 4px; overflow: hidden; padding: 9px 10px; border-right: 0; border-bottom: 1px solid var(--sw-line); }
  .sw-compact-sidebar strong { margin: 0 8px 0 2px; white-space: nowrap; }
  .sw-compact-sidebar span { padding: 6px 7px; white-space: nowrap; }
  .sw-compact-papers { padding: 14px; }
  .sw-paper-small { min-height: 168px; }
  .sw-feature-grid, .sw-step-grid { grid-template-columns: 1fr; }
  .sw-feature, .sw-feature:nth-child(even) { min-height: 0; padding: 23px 0; border-left: 0; }
  .sw-section { padding: 76px 0; }
  .sw-step-grid { gap: 27px; }
}
@media (max-width: 480px) {
  .sw-shell { width: calc(100% - 28px); }
  .sw-brand { font-size: 12px; }
  .sw-brand-mark, .sw-brand-icon { width: 24px; height: 24px; }
  .sw-hero h1, .sw-catalog-hero h1 { font-size: 33px; line-height: 1.16; }
  .sw-hero-copy, .sw-catalog-hero p { font-size: 14px; }
  .sw-actions { gap: 15px; }
  .sw-catalog-actions { gap: 8px; }
  .sw-catalog-product-copy h2 { font-size: 31px; }
  .sw-section h2 { font-size: 32px; }
  .sw-paper h2 { font-size: 21px; }
  .sw-footer { display: block; line-height: 1.8; }
  .sw-footer span { display: block; }
  .sw-footer span + span { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sw-button, .sw-nav-links a { transition: none; }
  .sw-button:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sw-nav, .sw-reader-window, .sw-catalog-product-preview { background: var(--sw-panel-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
