:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #737983;
  --line: #e5e8ec;
  --soft: #f7f8fa;
  --white: #fff;
  --dark: #17191d;
  --max: 1480px;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--soft); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(102, 88, 255, .055), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(39, 163, 255, .05), transparent 25rem),
    var(--soft);
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(var(--max), calc(100% - 64px));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(220, 224, 229, .78);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: .02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  padding: 6px;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--dark);
  box-shadow: 0 7px 16px rgba(10, 12, 16, .16);
}

.brand-mark i { border-radius: 3px; background: #fff; }
.brand-mark i:nth-child(2) { opacity: .72; }
.brand-mark i:nth-child(3) { opacity: .46; }
.brand-mark i:nth-child(4) { opacity: .2; }

.header-note { color: #8c929b; font-size: 14px; }

main { min-height: calc(100vh - 250px); }

.intro {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 68px 0 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8a9099;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

.intro h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(35px, 4.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.intro > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}

.products-section {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding-bottom: 86px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  min-height: 292px;
  padding: 34px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: minmax(132px, 1fr) auto;
  column-gap: 28px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(23, 27, 35, .035);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #d9dde3;
  box-shadow: 0 18px 42px rgba(23, 27, 35, .075);
}

.product-icon {
  width: 112px;
  height: 112px;
  grid-row: 1;
  border-radius: 26px;
  object-fit: cover;
  background: linear-gradient(145deg, #eceff3, #f7f8fa);
  box-shadow: 0 10px 24px rgba(35, 43, 58, .12);
}

.product-copy {
  min-width: 0;
  padding-top: 13px;
}

.product-copy h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.product-copy p {
  min-height: 52px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.product-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-self: end;
}

.product-button {
  height: 48px;
  padding: 0 18px;
  border: 1px solid #d8dce2;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #444951;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s, transform .16s;
}

.product-button:hover:not(:disabled) { transform: translateY(-1px); border-color: #bfc4cc; }

.product-button.primary { border-color: var(--dark); color: #fff; background: var(--dark); }
.product-button.primary:hover:not(:disabled) { background: #050607; border-color: #050607; }

.product-button:disabled,
.product-button.disabled {
  color: #b6bbc2;
  border-color: #e6e8eb;
  background: #fafbfc;
  cursor: not-allowed;
}

.skeleton { position: relative; overflow: hidden; }
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  animation: loading 1.25s infinite;
}
.skeleton span { width: 112px; height: 112px; border-radius: 26px; background: #edf0f3; }
.skeleton div { height: 72px; margin-top: 15px; border-radius: 12px; background: #f0f2f4; }
@keyframes loading { to { transform: translateX(100%); } }

.empty-state { padding: 90px 20px; text-align: center; color: var(--muted); }
.empty-state > span { font-size: 42px; color: #b9bec6; }
.empty-state h2 { margin: 16px 0 8px; color: var(--ink); font-size: 24px; }
.empty-state p { margin: 0; }

footer {
  padding: 36px 24px 42px;
  display: grid;
  gap: 8px;
  text-align: center;
  color: #7d838c;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .56);
  font-size: 14px;
}
footer p { margin: 0; }
footer p:last-child { color: #a3a8af; }

.download-dialog {
  width: min(430px, calc(100% - 36px));
  padding: 36px;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 80px rgba(8, 11, 16, .24);
}
.download-dialog::backdrop { background: rgba(10, 12, 16, .5); backdrop-filter: blur(4px); }
.dialog-close {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  color: #757b84; background: #f1f3f5; font-size: 25px; line-height: 1; cursor: pointer;
}
.dialog-icon { width: 82px; height: 82px; border-radius: 21px; object-fit: cover; box-shadow: 0 8px 20px rgba(25,30,40,.13); }
.dialog-kicker { margin: 22px 0 6px; color: #8a9099; font-size: 12px; letter-spacing: .12em; }
.download-dialog h2 { margin: 0; font-size: 26px; }
.download-links { margin-top: 24px; display: grid; gap: 11px; }
.download-link {
  height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; color: #fff; background: var(--dark); text-decoration: none; font-weight: 650;
}
.download-link span:last-child { opacity: .65; }

@media (max-width: 1120px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header, .intro, .products-section { width: min(100% - 36px, var(--max)); }
  .site-header { height: 70px; }
  .header-note { display: none; }
  .intro { padding: 48px 0 34px; }
  .intro h1 { font-size: 36px; line-height: 1.18; }
  .intro > p:last-child { margin-top: 16px; font-size: 16px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card {
    min-height: 252px; padding: 24px; grid-template-columns: 84px minmax(0, 1fr);
    grid-template-rows: minmax(112px, 1fr) auto; gap: 18px;
  }
  .product-icon { width: 84px; height: 84px; border-radius: 21px; }
  .product-copy { padding-top: 5px; }
  .product-copy h2 { font-size: 21px; }
  .product-copy p { margin-top: 8px; min-height: 0; font-size: 14px; line-height: 1.6; }
  .product-actions { gap: 10px; }
  .product-button { height: 45px; padding: 0 12px; font-size: 14px; }
  .products-section { padding-bottom: 56px; }
  .download-dialog { padding: 34px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
