@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/catalog/fonts/noto-sans-sc.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --surface: #fff;
  --text: #1e1e1e;
  --muted: #757575;
  --border: #d9d9d9;
  --button: #2c2c2c;
  --space-200: 8px;
  --space-400: 16px;
  --space-600: 24px;
  --space-800: 32px;
  --radius-400: 16px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
a:focus-visible { outline: 3px solid #506a9a; outline-offset: 5px; border-radius: 4px; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: var(--space-200); align-items: center; font-size: 24px; line-height: 38px; font-weight: 500; }
.brand img { width: 24px; height: 24px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 24px; }
.catalog-main { padding-block: 48px 64px; }
.catalog-main > h1 { font-size: 48px; font-weight: 500; line-height: 75px; margin-bottom: var(--space-800); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-600); }
.app-card, .feature-card { border-radius: var(--radius-400); box-shadow: inset 0 0 0 1px var(--border); padding: var(--space-600); min-width: 0; }
.app-card { display: flex; flex-direction: column; gap: var(--space-400); height: 248px; }
.app-card:hover { box-shadow: inset 0 0 0 1px #8799bb; }
.app-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; flex-shrink: 0; }
.card-copy { display: flex; flex-direction: column; gap: var(--space-200); }
.card-copy h2, .feature-card h3 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.4px; overflow-wrap: anywhere; }
.card-copy p, .feature-card p { font-size: 14px; line-height: 23px; color: var(--muted); min-height: 46px; }
.card-action { display: flex; align-items: center; justify-content: space-between; font-size: 13px; line-height: 21px; }
.card-action img { width: 20px; height: 20px; flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { height: 80px; display: flex; align-items: center; color: var(--muted); font-size: 12px; line-height: 19px; }
.detail-main { display: flex; flex-direction: column; gap: var(--space-800); padding-block: 36px 72px; }
.back-link { display: block; color: var(--muted); font-size: 14px; line-height: 22px; align-self: flex-start; }
.product-identity { display: flex; align-items: center; gap: var(--space-800); }
.product-heading { display: flex; flex-direction: column; gap: var(--space-200); min-width: 0; }
.product-heading h1 { font-size: 40px; font-weight: 500; line-height: 62px; overflow-wrap: anywhere; }
.platform { color: var(--muted); font-size: 14px; line-height: 22px; }
.product-copy { display: flex; flex-direction: column; gap: var(--space-400); }
.product-summary { max-width: 900px; color: var(--muted); font-size: 18px; line-height: 28px; }
.product-status { color: var(--muted); font-size: 13px; line-height: 21px; font-weight: 500; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-width: 120px; height: 46px; padding-inline: 24px; background: var(--button); border-radius: 8px; color: #fff; font-size: 14px; line-height: 22px; font-weight: 500; }
.primary-link:hover { background: #414141; }
.detail-main > hr { width: 100%; height: 1px; border: 0; background: var(--border); margin: 0; }
.feature-section { display: flex; flex-direction: column; gap: var(--space-600); }
.feature-section > h2 { font-size: 22px; line-height: 35px; font-weight: 500; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-600); }
.feature-card { display: flex; flex-direction: column; gap: var(--space-200); min-height: 154px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 18px; border: 2px solid #506a9a; border-radius: 4px; background: #fff; font-size: 14px; }

@media (min-width: 601px) and (max-width: 1099px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .header-inner { height: 72px; }
  .brand { font-size: 21px; line-height: 33px; }
  .catalog-main { padding-block: 32px 48px; }
  .catalog-main > h1 { font-size: 36px; line-height: 56px; margin-bottom: var(--space-600); }
  .app-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-400); }
  .detail-main { padding-block: 24px 40px; gap: var(--space-600); }
  .back-link { display: flex; align-items: center; min-height: 44px; }
  .product-identity { flex-direction: column; align-items: flex-start; gap: var(--space-400); }
  .product-heading { gap: var(--space-400); }
  .product-heading h1 { font-size: 28px; line-height: 44px; }
  .platform { font-size: 13px; line-height: 21px; }
  .product-summary { font-size: 16px; line-height: 25px; }
  .primary-link { min-width: 132px; }
  .feature-section { gap: var(--space-400); }
  .feature-section > h2 { font-size: 20px; line-height: 31px; font-weight: 500; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-400); }
  .feature-card { min-height: 144px; }
}

@media (max-width: 359px) {
  .app-card { height: auto; min-height: 248px; }
}
