:root {
  --ink: #22242a;
  --muted: #63656f;
  --line: #dadbe1;
  --surface: #ffffff;
  --surface-muted: #f3f4f6;
  --primary: #65415f;
  --primary-dark: #4b3047;
  --status: #3f745f;
  --status-soft: #dfece6;
  --accent-soft: #eee5eb;
  --dark: #232129;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mobile-break { display: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { width: min(calc(100% - 40px), var(--container)); min-height: 76px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; white-space: nowrap; }
.brand img { width: 44px; height: 44px; border-radius: 4px; }
.site-nav { display: flex; align-items: stretch; gap: 28px; margin-left: auto; align-self: stretch; }
.site-nav a { position: relative; display: flex; align-items: center; color: #4d4f57; font-size: 15px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.site-nav a:hover, .site-nav a.is-current { color: var(--primary); }
.site-nav a.is-current::after { background: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.text-action { color: var(--primary); font-size: 14px; font-weight: 700; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid var(--primary); border-radius: 4px; background: var(--primary); color: #fff; font-weight: 700; line-height: 1.2; transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.button-small { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.button-secondary { background: #fff; color: var(--primary); }
.button-secondary:hover { color: #fff; }
.button-light { border-color: #fff; background: #fff; color: var(--primary-dark); }
.button-light:hover { border-color: var(--status-soft); background: var(--status-soft); color: var(--ink); }
.button-outline-light { border-color: rgba(255,255,255,.58); background: transparent; color: #fff; }
.button-outline-light:hover { border-color: #fff; background: #fff; color: var(--primary-dark); }

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 650px; padding: 48px 0 42px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .92fr); grid-template-areas: "copy media"; align-items: center; gap: 72px; }
.hero-copy { grid-area: copy; max-width: 620px; }
.hero-media { grid-area: media; align-self: center; display: grid; grid-template-columns: 112px minmax(250px, 1fr); grid-template-areas: "tabs stage" "switch stage"; gap: 14px 18px; align-items: start; }
.eyebrow { margin-bottom: 18px; color: var(--status); font-size: 12px; font-weight: 800; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.14; letter-spacing: 0; }
.hero-copy > p { max-width: 580px; margin-bottom: 28px; color: #555761; font-size: 18px; }
.hero-actions, .download-actions, .prose-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-facts div { min-width: 0; }
.hero-facts dt { color: #777983; font-size: 12px; }
.hero-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.folio-tabs { grid-area: tabs; display: grid; gap: 6px; }
.folio-tabs span { padding: 9px 10px; border-left: 2px solid var(--line); color: #777983; font-size: 12px; }
.folio-tabs span.is-active { border-left-color: var(--primary); color: var(--primary); font-weight: 800; }
.folio-stage { grid-area: stage; position: relative; min-height: 548px; padding: 22px 56px 0 24px; border: 1px solid var(--line); background: var(--surface-muted); }
.folio-stage::before { content: "PREVIEW"; position: absolute; top: 16px; right: 10px; writing-mode: vertical-rl; color: #8a8c94; font-size: 10px; }
.folio-stage > img { width: auto; max-width: min(100%, 330px); max-height: 520px; margin: 0 auto; object-fit: contain; box-shadow: 0 16px 36px rgba(39,34,43,.12); }
.folio-caption { position: absolute; right: 0; bottom: 0; width: 58px; min-height: 148px; padding: 12px 9px; background: var(--primary); color: #fff; writing-mode: vertical-rl; display: flex; align-items: center; gap: 9px; }
.folio-caption span { font-size: 11px; opacity: .72; }
.folio-caption strong { font-size: 13px; letter-spacing: 0; }
.preview-switcher { grid-area: switch; display: grid; gap: 8px; }
.preview-button { width: 100%; min-height: 72px; padding: 5px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #5e6069; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.preview-button img { width: 34px; height: 56px; object-fit: cover; object-position: top; }
.preview-button span { font-size: 12px; }
.preview-button.is-active { border-color: var(--primary); color: var(--primary); background: var(--accent-soft); }

.section-band { padding: 82px 0; border-bottom: 1px solid var(--line); }
.section-band-muted { background: var(--surface-muted); }
.section-band-dark { background: var(--dark); color: #fff; }
.section-heading { margin-bottom: 34px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .faq-preview-title h2, .support-grid h2 { margin-bottom: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.step-register { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.step-register article { padding: 28px 28px 30px 0; }
.step-register article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.step-register span { color: var(--primary); font-size: 13px; font-weight: 800; }
.step-register h3 { margin: 18px 0 10px; font-size: 20px; }
.step-register p { margin-bottom: 0; color: var(--muted); }
.inline-link { display: inline-block; margin-top: 24px; color: var(--primary); font-weight: 700; }
.inline-link span { margin-left: 5px; }
.inline-link-light { color: #d9f0e5; }

.showcase-grid { display: grid; grid-template-columns: 1.12fr .88fr .88fr; gap: 18px; align-items: stretch; }
.showcase-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.image-well { height: 430px; padding: 24px; background: #e6e7ea; display: flex; align-items: center; justify-content: center; }
.showcase-item:nth-child(2) .image-well { background: #ebe8ec; }
.showcase-item:nth-child(3) .image-well { background: #e2ebe7; }
.image-well img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 13px 26px rgba(40,38,43,.12); }
.showcase-item figcaption { min-height: 134px; padding: 20px 22px; position: relative; }
.showcase-item figcaption span { color: var(--primary); font-size: 12px; font-weight: 800; }
.showcase-item figcaption strong { display: block; margin: 4px 0; font-size: 18px; }
.showcase-item figcaption p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.capability-grid article { min-height: 230px; padding: 28px 26px 12px 0; }
.capability-grid article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.capability-code { width: 34px; height: 34px; border: 1px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.capability-grid h3 { margin: 32px 0 12px; font-size: 20px; }
.capability-grid p { margin-bottom: 0; color: var(--muted); }

.faq-preview-grid { display: grid; grid-template-columns: 320px 1fr; gap: 72px; }
.faq-preview-title { position: sticky; top: 30px; align-self: start; }
.faq-preview-list { border-top: 1px solid #55515b; }
.faq-preview-list details { border-bottom: 1px solid #55515b; }
.faq-preview-list summary { padding: 22px 42px 22px 0; cursor: pointer; font-weight: 700; }
.faq-preview-list p { margin: 0; padding: 0 50px 22px 0; color: #c9c8cd; }

.download-band { background: var(--primary); color: #fff; }
.download-inner { min-height: 180px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-inner h2 { margin-bottom: 0; font-size: clamp(25px, 3vw, 38px); }
.download-kicker { display: block; margin-bottom: 5px; color: #e3d8e0; font-size: 11px; font-weight: 800; }

.site-footer { padding: 42px 0 32px; background: #f7f7f8; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 42px; height: 42px; border-radius: 4px; }
.footer-inner nav { margin: 20px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; color: #555761; font-size: 14px; }
.footer-inner p { max-width: 820px; margin: 0 auto; color: #696b74; font-size: 13px; text-align: center; }
.footer-inner .copyright { margin-top: 10px; }

.page-hero { border-bottom: 1px solid var(--line); background: var(--surface-muted); }
.page-hero-grid { min-height: 360px; padding: 64px 0; display: grid; grid-template-columns: 1fr 250px; gap: 80px; align-items: center; }
.page-hero h1 { max-width: 830px; font-size: clamp(34px, 4vw, 54px); }
.page-hero p { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.page-hero-index { min-height: 180px; padding: 20px; border-left: 3px solid var(--primary); background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.page-hero-index span { color: var(--status); font-size: 11px; font-weight: 800; }
.page-hero-index strong { font-size: 48px; line-height: 1; }
.page-hero-index small { color: var(--muted); }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; align-items: start; }
.article-nav { position: sticky; top: 28px; display: grid; border-top: 1px solid var(--ink); }
.article-nav strong { padding: 18px 0; }
.article-nav a { padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article-nav a:hover { color: var(--primary); }
.prose { max-width: 820px; }
.prose section { position: relative; padding: 0 0 54px 68px; border-left: 1px solid var(--line); }
.prose section:last-child { padding-bottom: 0; }
.prose-number { position: absolute; left: -20px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.prose h2 { margin-bottom: 18px; font-size: 29px; line-height: 1.25; }
.prose p { color: #4f515a; }
.prose a:not(.button) { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose-actions { margin: 24px 0 12px; }
.guide-media { margin: 30px 0 12px; padding: 24px; background: var(--surface-muted); display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.guide-media img { max-height: 390px; width: auto; margin: auto; box-shadow: 0 12px 24px rgba(30,30,35,.11); }
.guide-media strong { font-size: 20px; }
.guide-media p { margin: 8px 0 0; }

.faq-filter { margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-filter-button { min-width: 86px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #555761; cursor: pointer; }
.faq-filter-button.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.faq-list-large { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-items: start; }
.faq-list-large details { border-top: 1px solid var(--line); }
.faq-list-large details.is-hidden { display: none; }
.faq-list-large summary { min-height: 86px; padding: 23px 16px 20px 0; cursor: pointer; font-weight: 700; line-height: 1.5; }
.faq-list-large summary span { display: inline-block; min-width: 34px; color: var(--primary); font-size: 12px; }
.faq-list-large details > div { padding: 0 20px 24px 34px; color: var(--muted); }
.faq-list-large details p { margin: 0; }
.faq-list-large a { color: var(--primary); text-decoration: underline; }
.support-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.support-grid ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.support-grid li { min-height: 86px; padding: 22px; background: #fff; display: flex; align-items: center; gap: 16px; font-weight: 700; }
.support-grid li span { color: var(--primary); font-size: 12px; }

@media (max-width: 960px) {
  .header-inner { min-height: 68px; gap: 14px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 68px; padding: 8px; border: 1px solid var(--line); background: #fff; box-shadow: 0 15px 30px rgba(20,20,25,.1); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px; }
  .site-nav a::after { display: none; }
  .header-actions { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "copy" "media"; gap: 38px; padding: 46px 0; }
  .hero-copy { max-width: 760px; }
  .hero-media { max-width: 620px; width: 100%; margin: 0 auto; }
  .folio-stage { min-height: 510px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-tall { grid-row: span 2; }
  .showcase-tall .image-well { height: 760px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid article:nth-child(3) { border-left: 0; }
  .faq-preview-grid { grid-template-columns: 260px 1fr; gap: 40px; }
  .page-hero-grid { grid-template-columns: 1fr 200px; gap: 40px; }
  .article-grid { grid-template-columns: 180px 1fr; gap: 40px; }
}

@media (max-width: 700px) {
  .container, .header-inner { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 15px; }
  h1 { font-size: 32px; }
  .mobile-break { display: block; }
  .hero-grid { padding: 22px 0 18px; gap: 16px; }
  .hero-copy .eyebrow { margin-bottom: 8px; }
  .hero-copy h1 { margin-bottom: 12px; }
  .hero-copy > p { margin-bottom: 16px; font-size: 15px; line-height: 1.65; }
  .page-hero p { font-size: 16px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 42px; padding: 8px 14px; }
  .hero-facts, .folio-tabs, .preview-switcher { display: none; }
  .hero-media { display: block; }
  .folio-stage { min-height: 225px; height: 225px; padding: 10px 40px 6px 10px; display: flex; align-items: center; justify-content: center; }
  .folio-stage > img { max-height: 209px; margin: 0 auto; }
  .folio-caption { width: 38px; min-height: 104px; }
  .section-band { padding: 58px 0; }
  .section-heading { margin-bottom: 26px; }
  .step-register, .showcase-grid, .capability-grid { grid-template-columns: 1fr; }
  .step-register article, .step-register article + article, .capability-grid article, .capability-grid article + article { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); min-height: 0; }
  .step-register article:first-child, .capability-grid article:first-child { border-top: 0; }
  .showcase-tall { grid-row: auto; }
  .image-well, .showcase-tall .image-well { height: 460px; }
  .faq-preview-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-preview-title { position: static; }
  .download-inner { min-height: 230px; padding: 34px 0; flex-direction: column; align-items: flex-start; justify-content: center; }
  .download-actions { width: 100%; }
  .download-actions .button { flex: 1 1 130px; }
  .page-hero-grid { min-height: 0; padding: 46px 0; grid-template-columns: 1fr; }
  .page-hero-index { min-height: 110px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-nav { position: static; grid-template-columns: 1fr 1fr; }
  .article-nav strong { grid-column: 1 / -1; }
  .article-nav a { padding-right: 10px; }
  .prose section { padding-left: 28px; }
  .prose-number { left: -16px; width: 32px; height: 32px; }
  .prose h2 { font-size: 24px; }
  .guide-media { grid-template-columns: 1fr; }
  .faq-list-large { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid ol { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  h1 { font-size: 30px; }
  .hero-actions .button, .prose-actions .button { width: 100%; }
  .hero-actions .button { width: auto; flex: 1 1 140px; }
  .folio-stage { min-height: 220px; height: 220px; }
  .folio-stage > img { max-height: 204px; }
  .image-well, .showcase-tall .image-well { height: 410px; }
}
