:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
  color: #17202a;
  background: #f5f7f8;
  --ink: #17202a;
  --muted: #66717c;
  --line: #dce2e6;
  --red: #d44738;
  --red-dark: #ad3328;
  --green: #198754;
  --blue: #176fc1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f5f7f8; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(220, 226, 230, .92);
  background: rgba(255, 255, 255, .96);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: #4d5964; font-size: 14px; text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
.site-header .nav-download { padding: 9px 14px; border: 1px solid var(--blue); border-radius: 5px; color: var(--blue); }
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #111d28;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 35, .96) 0%, rgba(12, 24, 35, .82) 43%, rgba(12, 24, 35, .25) 78%, rgba(12, 24, 35, .42) 100%),
    url("assets/plugin-interface.png") center / cover no-repeat;
}
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 96px; }
.eyebrow { margin: 0 0 14px; color: #66b8ff; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: 1.08; letter-spacing: 0; }
.hero-copy { max-width: 650px; margin: 24px 0 0; color: #d7e0e7; font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.primary-button {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 5px;
  color: white;
  background: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.primary-button:hover { border-color: var(--red-dark); background: var(--red-dark); }
.text-link { color: white; text-underline-offset: 5px; }
.version { margin: 18px 0 0; color: #9fafbb; font-size: 12px; }
.product-view, .feature-band, .install-band, .notice-band { padding: 88px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { max-width: 700px; }
.section-heading h2, .install-copy h2, .notice-band h2 { margin: 0; font-size: 36px; line-height: 1.25; letter-spacing: 0; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); line-height: 1.8; }
.screenshot-frame { margin: 36px 0 0; }
.screenshot-frame img { width: 100%; border: 1px solid var(--line); box-shadow: 0 16px 42px rgba(30, 42, 52, .12); }
.screenshot-frame figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.feature-band { background: white; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { min-height: 260px; padding: 28px 24px; border-right: 1px solid var(--line); }
.feature-grid article:last-child { border-right: 0; }
.feature-number { color: var(--red); font-size: 12px; font-weight: 700; }
.feature-grid h3 { margin: 52px 0 12px; font-size: 19px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.install-band { display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; background: #edf1f3; }
.install-copy ol { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: install; border-top: 1px solid #ccd5da; }
.install-copy li { counter-increment: install; display: grid; grid-template-columns: 36px 180px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid #ccd5da; }
.install-copy li::before { content: "0" counter(install); color: var(--red); font-size: 12px; font-weight: 700; }
.install-copy li span { color: var(--muted); line-height: 1.6; }
.install-action { padding-left: 36px; border-left: 3px solid var(--green); }
.install-action img { width: 56px; height: 56px; }
.install-action h3 { margin: 18px 0 5px; }
.install-action p { margin: 0 0 22px; color: var(--muted); }
.install-download-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.install-download-actions .primary-button {
  flex: 0 1 auto;
  min-width: max-content;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}
.install-download-actions .primary-button:first-child {
  flex: 1 1 auto;
}
.primary-button.full { width: 100%; }
.policy-link { display: block; margin-top: 16px; color: var(--blue); text-align: center; text-underline-offset: 4px; }
.notice-band { display: grid; grid-template-columns: 330px 1fr; gap: 70px; color: white; background: #20282f; }
.notice-band p { margin: 0; color: #cbd3d8; line-height: 1.8; }
footer { min-height: 86px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #64707a; background: white; font-size: 13px; }
footer div { display: flex; gap: 22px; }
footer a { text-underline-offset: 4px; }
.policy-main { padding-bottom: 90px; }
.policy-hero { padding: 86px max(24px, calc((100vw - 900px) / 2)) 46px; color: white; background: #18242e; }
.policy-hero h1 { margin: 0; font-size: 54px; letter-spacing: 0; }
.policy-hero > p:last-child { margin: 16px 0 0; color: #b9c4cc; }
.policy-content { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0; background: white; }
.policy-content section { padding: 30px 44px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { border-bottom: 0; }
.policy-content h2 { margin: 0 0 14px; font-size: 21px; }
.policy-content p, .policy-content li, .policy-content dd { color: #53606b; font-size: 15px; line-height: 1.85; }
.policy-content ul { padding-left: 22px; }
.policy-content dl { display: grid; grid-template-columns: 180px 1fr; margin: 0; }
.policy-content dt, .policy-content dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
.policy-content dt { font-family: Consolas, monospace; font-weight: 700; }
.policy-content dd { margin: 0; }
.policy-content a { color: var(--blue); }
@media (max-width: 860px) {
  .site-header { padding: 0 18px; }
  .site-header nav > a:not(.nav-download) { display: none; }
  .hero { min-height: 72vh; }
  .hero-content { width: calc(100% - 36px); padding: 70px 0 90px; }
  .hero h1 { font-size: 50px; }
  .hero-copy { font-size: 16px; }
  .product-view, .feature-band, .install-band, .notice-band { padding: 64px 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .install-band { grid-template-columns: 1fr; gap: 45px; }
  .install-action { padding-left: 24px; }
  .notice-band { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .brand span { font-size: 14px; }
  .hero h1 { font-size: 42px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .install-copy h2, .notice-band h2 { font-size: 29px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .feature-grid h3 { margin-top: 34px; }
  .install-copy li { grid-template-columns: 32px 1fr; }
  .install-copy li span { grid-column: 2; }
  footer { padding: 22px 20px; align-items: flex-start; flex-direction: column; }
  .policy-hero h1 { font-size: 42px; }
  .policy-content { width: calc(100% - 24px); }
  .policy-content section { padding: 26px 20px; }
  .policy-content dl { grid-template-columns: 1fr; }
  .policy-content dt { padding-bottom: 0; border-bottom: 0; }
}
