:root {
  --hw-primary: #0c73f6;
  --hw-secondary: #14b8a6;
  --hw-bg: #f7f9fc;
  --hw-surface: #ffffff;
  --hw-text: #111827;
  --hw-muted: #5f6b7a;
  --hw-on-primary: var(--on-primary, #ffffff);
  --hw-border: color-mix(in srgb, var(--hw-text) 12%, transparent);
  --hw-soft: color-mix(in srgb, var(--hw-primary) 10%, var(--hw-surface));
  --hw-soft-strong: color-mix(in srgb, var(--hw-primary) 18%, var(--hw-surface));
  --hw-shadow: 0 16px 48px color-mix(in srgb, var(--hw-text) 10%, transparent);
  --hw-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hw-page {
  margin: 0;
  background: var(--hw-bg);
  color: var(--hw-text);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hw-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--hw-surface) 94%, transparent);
  border-bottom: 1px solid var(--hw-border);
  backdrop-filter: blur(14px);
}

.hw-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hw-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.hw-brand img {
  width: 180px;
  height: auto;
}

.hw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1 1 auto;
  font-size: 14px;
  color: var(--hw-muted);
}

.hw-nav a,
.hw-footer a,
.hw-news-card a,
.hw-list-card a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hw-nav a:hover,
.hw-footer a:hover,
.hw-news-card a:hover,
.hw-list-card a:hover {
  color: var(--hw-primary);
}

.hw-nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--hw-radius);
  background: var(--hw-text);
  color: var(--hw-on-primary);
  font-size: 14px;
  font-weight: 700;
}

.hw-hero {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--hw-primary) 7%, transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb, var(--hw-primary) 6%, transparent) 1px, transparent 1px),
    var(--hw-surface);
  background-size: 42px 42px;
  border-bottom: 1px solid var(--hw-border);
}

.hw-hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0 58px;
}

.hw-eyebrow {
  margin: 0 0 14px;
  color: var(--hw-primary);
  font-size: 13px;
  font-weight: 800;
}

.hw-hero h1,
.hw-subpage-hero h1,
.hw-article-hero h1 {
  margin: 0;
  color: var(--hw-text);
  font-size: 64px;
  line-height: 1.05;
  font-weight: 900;
}

.hw-hero-kicker {
  margin: 16px 0 0;
  font-size: 26px;
  line-height: 1.28;
  color: var(--hw-text);
  font-weight: 800;
}

.hw-hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--hw-muted);
  font-size: 17px;
}

.hw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--hw-radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hw-btn:hover,
.hw-nav-cta:hover {
  transform: translateY(-1px);
}

.hw-btn-primary {
  background: var(--hw-primary);
  color: var(--hw-on-primary);
  border-color: color-mix(in srgb, var(--hw-primary) 82%, var(--hw-text));
}

.hw-btn-ghost {
  background: var(--hw-surface);
  color: var(--hw-text);
  border-color: var(--hw-border);
}

.hw-version {
  margin: 18px 0 0;
  color: var(--hw-muted);
  font-size: 14px;
}

.hw-hero-media {
  position: relative;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  background: var(--hw-surface);
  box-shadow: var(--hw-shadow);
  overflow: hidden;
}

.hw-hero-media::before {
  content: "";
  display: block;
  height: 34px;
  border-bottom: 1px solid var(--hw-border);
  background: linear-gradient(90deg, var(--hw-primary), var(--hw-secondary));
}

.hw-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.hw-section {
  padding: 84px 0;
}

.hw-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.hw-section-head h2,
.hw-proof-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 900;
}

.hw-section-head p:not(.hw-eyebrow),
.hw-proof-copy p {
  margin: 14px 0 0;
  color: var(--hw-muted);
}

.hw-feature-grid,
.hw-news-grid,
.hw-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hw-card,
.hw-news-card,
.hw-list-card,
.hw-download-panel,
.hw-side-card {
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  background: var(--hw-surface);
}

.hw-card {
  padding: 26px;
}

.hw-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border-radius: 6px;
  background: var(--hw-soft);
  color: var(--hw-primary);
  font-size: 13px;
  font-weight: 900;
}

.hw-card h3,
.hw-side-card h2,
.hw-download-panel h2 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hw-card p,
.hw-news-card p,
.hw-list-card p,
.hw-side-card p {
  margin: 0;
  color: var(--hw-muted);
}

.hw-platform-band {
  border-block: 1px solid var(--hw-border);
  background: var(--hw-text);
  color: var(--hw-on-primary);
}

.hw-platform-inner {
  min-height: 86px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hw-platform-inner span,
.hw-platform-inner strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--hw-on-primary) 28%, transparent);
  border-radius: var(--hw-radius);
  padding: 0 14px;
}

.hw-platform-inner strong {
  background: var(--hw-primary);
  border-color: var(--hw-primary);
}

.hw-proof-section {
  background: var(--hw-surface);
  border-bottom: 1px solid var(--hw-border);
}

.hw-proof-grid,
.hw-download-grid,
.hw-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 34px;
  align-items: start;
}

.hw-proof-grid {
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.hw-proof-media {
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  overflow: hidden;
  background: var(--hw-bg);
}

.hw-proof-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hw-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hw-check-list li {
  padding: 14px 16px;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  background: var(--hw-bg);
}

.hw-news-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.hw-news-card,
.hw-list-card {
  padding: 22px;
}

.hw-news-card a {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.hw-news-card p,
.hw-card-meta {
  margin-top: 14px;
  font-size: 13px;
}

.hw-subpage-hero,
.hw-article-hero {
  padding: 76px 0;
  border-bottom: 1px solid var(--hw-border);
  background: var(--hw-surface);
}

.hw-subpage-hero .hw-container > p,
.hw-download-hero p:not(.hw-eyebrow),
.hw-article-head > p:not(.hw-eyebrow) {
  max-width: 720px;
  color: var(--hw-muted);
  font-size: 18px;
}

.hw-download-grid {
  align-items: center;
}

.hw-download-panel {
  padding: 28px;
  box-shadow: var(--hw-shadow);
}

.hw-download-panel dl {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.hw-download-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--hw-border);
  padding-bottom: 12px;
}

.hw-download-panel dt {
  color: var(--hw-muted);
}

.hw-download-panel dd {
  margin: 0;
  font-weight: 850;
}

.hw-content-grid {
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.25fr);
}

.hw-prose {
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  background: var(--hw-surface);
  padding: 34px;
}

.hw-prose h2,
.hw-prose h3 {
  margin-top: 32px;
  line-height: 1.25;
}

.hw-prose h2:first-child,
.hw-prose h3:first-child {
  margin-top: 0;
}

.hw-prose p,
.hw-prose li {
  color: color-mix(in srgb, var(--hw-text) 78%, var(--hw-muted));
}

.hw-prose a {
  color: var(--hw-primary);
  font-weight: 800;
}

.hw-side-card {
  position: sticky;
  top: 96px;
  padding: 18px;
}

.hw-side-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--hw-border);
}

.hw-side-card .hw-btn {
  width: 100%;
  margin-top: 18px;
}

.hw-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hw-list-card h2 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.hw-article-head {
  max-width: 900px;
}

.hw-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--hw-muted);
  font-size: 14px;
}

.hw-article-meta span {
  border: 1px solid var(--hw-border);
  border-radius: 6px;
  padding: 5px 10px;
  background: var(--hw-bg);
}

.hw-footer {
  background: var(--hw-text);
  color: var(--hw-on-primary);
  padding: 54px 0;
}

.hw-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.4fr));
  gap: 34px;
}

.hw-footer-logo {
  width: 180px;
  height: auto;
  background: var(--hw-surface);
  border-radius: var(--hw-radius);
  padding: 6px;
}

.hw-footer p {
  max-width: 520px;
  color: color-mix(in srgb, var(--hw-on-primary) 76%, transparent);
}

.hw-footer h2 {
  margin: 0 0 16px;
  font-size: 16px;
}

.hw-footer a {
  display: block;
  color: color-mix(in srgb, var(--hw-on-primary) 76%, transparent);
  margin-top: 10px;
}

.hw-copyright {
  margin-top: 20px;
  font-size: 13px;
}

@media (max-width: 940px) {
  .hw-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hw-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hw-hero-grid,
  .hw-proof-grid,
  .hw-download-grid,
  .hw-content-grid,
  .hw-footer-grid {
    grid-template-columns: 1fr;
  }

  .hw-hero-grid {
    min-height: auto;
    padding: 52px 0;
  }

  .hw-hero h1,
  .hw-subpage-hero h1,
  .hw-article-hero h1 {
    font-size: 48px;
  }

  .hw-feature-grid,
  .hw-news-grid,
  .hw-list-grid {
    grid-template-columns: 1fr;
  }

  .hw-side-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .hw-container {
    width: min(100% - 28px, 1180px);
  }

  .hw-brand img {
    width: 158px;
  }

  .hw-nav-cta {
    width: 100%;
  }

  .hw-hero h1,
  .hw-subpage-hero h1,
  .hw-article-hero h1 {
    font-size: 38px;
  }

  .hw-hero-kicker,
  .hw-list-card h2 {
    font-size: 22px;
  }

  .hw-section-head h2,
  .hw-proof-copy h2 {
    font-size: 28px;
  }

  .hw-actions,
  .hw-btn {
    width: 100%;
  }

  .hw-prose {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
