:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --brand: #2868e8;
  --brand-strong: #174bb7;
  --brand-soft: #eaf1ff;
  --bg: #f5f7fb;
  --bg-soft: #eef3fa;
  --panel: rgba(255, 255, 255, .86);
  --panel-solid: #ffffff;
  --table: #ffffff;
  --text: #152033;
  --muted: #657286;
  --subtle: #8a96a8;
  --line: rgba(30, 43, 66, .12);
  --success: #10845d;
  --success-soft: #e6f7ef;
  --warning: #a46212;
  --warning-soft: #fff2da;
  --danger: #c83b3b;
  --danger-soft: #feecec;
  --info: #2f6fed;
  --info-soft: #eaf1ff;
  --shadow-xs: 0 1px 2px rgba(20, 32, 51, .05);
  --shadow-sm: 0 8px 24px rgba(20, 32, 51, .08);
  --shadow-md: 0 18px 48px rgba(20, 32, 51, .10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 64px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(234, 241, 255, .58), rgba(245, 247, 251, 0) 360px),
    var(--bg);
  font-family: var(--font-sans);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 14px max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 251, .82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #2868e8, #12a190);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(40, 104, 232, .22);
}
.brand strong { display: block; font-size: 16px; line-height: 1.2; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 760; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}
.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
}
.site-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav-toggle { display: none; }

main {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: var(--space-8);
  align-items: center;
  padding: 58px 0 34px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(40, 104, 232, .18);
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 850;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
}
.hero p {
  max-width: 650px;
  margin: var(--space-5) 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 650;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}
.hero-meta span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.hero-panel,
.client-card,
.support-section,
.faq-list details,
.file-dialog article,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.hero-panel {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
}
.announcement-box {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eef4ff, #edf9f5);
}
.announcement-box span {
  display: inline-flex;
  margin-bottom: var(--space-2);
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}
.announcement-box strong { display: block; font-size: 18px; line-height: 1.35; }
.announcement-box p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; font-weight: 650; }

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}
.download-steps article {
  min-height: 128px;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-solid);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.download-steps article:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 104, 232, .22);
  box-shadow: var(--shadow-xs);
}
.download-steps strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 12px;
}
.download-steps h2 { margin: var(--space-3) 0 0; font-size: 15px; line-height: 1.4; }
.download-steps p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; font-weight: 650; }

.download-section { padding: 34px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-heading p {
  max-width: 720px;
  margin: var(--space-3) 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 650;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.client-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.client-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 104, 232, .22);
  box-shadow: var(--shadow-md);
}
.client-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.platform-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 900;
}
.status-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
.status-badge.is-live { color: var(--success); background: var(--success-soft); }
.status-badge.is-warning { color: var(--warning); background: var(--warning-soft); }
.status-badge.is-info { color: var(--info); background: var(--info-soft); }
.status-badge.is-muted { color: var(--muted); background: #eef1f5; }
.client-body {
  display: grid;
  gap: var(--space-5);
  flex: 1;
}
.client-card h3 { margin: 0; font-size: 21px; line-height: 1.35; letter-spacing: 0; }
.client-card p {
  min-height: 62px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
  font-weight: 620;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.client-specs,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
}
.client-specs div,
.detail-grid div {
  min-width: 0;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.72);
}
dt { color: var(--subtle); font-size: 12px; font-weight: 800; }
dd { margin: 5px 0 0; color: var(--text); font-weight: 850; overflow-wrap: anywhere; }
.client-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.download-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-md);
  color: #fff;
  background: var(--brand);
  font-size: 14px;
  font-weight: 860;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(40, 104, 232, .20);
}
.download-button:hover { background: var(--brand-strong); }
.download-button.secondary {
  color: var(--brand);
  background: var(--brand-soft);
  box-shadow: none;
}
.download-button.secondary:hover { background: #dfeaff; }
.download-button.is-disabled,
.download-button:disabled {
  color: var(--subtle);
  background: #e9edf3;
  box-shadow: none;
  cursor: not-allowed;
}
.text-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0 4px;
  color: var(--brand);
  background: transparent;
  font-size: 14px;
  font-weight: 820;
}

.empty-state {
  min-height: 340px;
  display: grid;
  place-items: center;
  gap: var(--space-3);
  padding: var(--space-8);
  text-align: center;
}
.empty-state[hidden] { display: none; }
.empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 22px;
  font-weight: 900;
}
.empty-state strong { font-size: 20px; }
.empty-state span { max-width: 480px; color: var(--muted); line-height: 1.7; font-weight: 650; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }

.support-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6);
  margin: var(--space-5) 0;
}
.support-section h2 { margin: 0; font-size: 26px; }
.support-section p { margin: var(--space-2) 0 0; color: var(--muted); line-height: 1.7; font-weight: 650; }

.faq-section { padding: 34px 0 72px; }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.faq-list details {
  padding: var(--space-5);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  font-weight: 860;
  line-height: 1.5;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--brand);
  font-weight: 900;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list p {
  margin: var(--space-3) 0 0;
  color: var(--muted);
  line-height: 1.78;
  font-weight: 650;
}

.site-footer {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 44px;
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.file-dialog {
  width: min(720px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}
.file-dialog::backdrop { background: rgba(12,18,29,.48); backdrop-filter: blur(6px); }
.file-dialog article {
  position: relative;
  padding: var(--space-6);
  background: var(--panel-solid);
  box-shadow: var(--shadow-md);
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-solid);
}
.detail-head {
  display: flex;
  gap: var(--space-4);
  padding-right: 44px;
  margin-bottom: var(--space-6);
}
.detail-head h2 { margin: 0; font-size: 24px; }
.detail-head p { margin: var(--space-2) 0 0; color: var(--muted); line-height: 1.7; }
.release-notes {
  margin: var(--space-5) 0;
  padding: var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f8fafc;
}
.release-notes p { color: var(--muted); line-height: 1.78; }
.detail-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.front-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  transform: translate(-50%, 12px);
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--panel-solid);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 820;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.front-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.copy-fallback {
  position: fixed;
  left: 50%;
  bottom: 78px;
  z-index: 52;
  width: min(560px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  align-items: end;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-solid);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}
.copy-fallback[hidden] { display: none; }
.copy-fallback strong { display: block; font-size: 15px; }
.copy-fallback p { margin: 5px 0 var(--space-3); color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 650; }
.copy-fallback input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 11px;
  color: var(--text);
  background: var(--bg);
}
.copy-fallback button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand);
    background: var(--panel-solid);
    font-size: 13px;
    font-weight: 840;
  }
  .site-nav {
    display: none;
    width: 100%;
    padding-top: var(--space-2);
  }
  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
  }
  .site-nav a {
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--panel-solid);
    white-space: nowrap;
  }
  main { width: min(var(--container), calc(100% - 28px)); }
  .hero { padding: 34px 0 24px; gap: var(--space-5); }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .hero p { font-size: 16px; }
  .hero-panel { padding: var(--space-4); }
  .download-steps { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
  .client-card { min-height: auto; }
  .client-specs,
  .detail-grid { grid-template-columns: 1fr; }
  .client-card footer,
  .detail-actions,
  .empty-actions,
  .support-section {
    display: grid;
    grid-template-columns: 1fr;
  }
	  .download-button,
	  .text-link {
	    width: 100%;
	  }
  .copy-fallback { grid-template-columns: 1fr; align-items: stretch; }
	  .support-section { align-items: stretch; }
	}
