:root {
  color-scheme: light;
  --ink: #33363a;
  --muted: #54575d;
  --accent: #3a57a3;
  --paper: #f0f0f0;
  --panel: #f8f8f8;
  --charcoal: #282b2f;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
html { scroll-padding-top: 1rem }
body { margin: 0; line-height: 1.6 }
a { color: var(--accent); text-underline-offset: .2em }
a:hover { color: #293a76 }
a:focus-visible, summary:focus-visible { outline: 2px solid #5473d1; outline-offset: 4px }
h1, h2, h3, p, figure { margin: 0 }
img { max-width: 100%; object-fit: contain }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-150%); z-index: 2; background: #fff; padding: .55rem .8rem }
.skip:focus { transform: none }

.site-header { background: #fff }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: #254275; font-size: 1rem; font-weight: 800; text-decoration: none; white-space: nowrap }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 26px; height: 26px; padding: 4px; background: #ed813d; border-radius: 7px; transform: rotate(-7deg) }
.brand-mark i { background: #fff7ed; border-radius: 1px }
.brand-mark i:nth-child(2) { opacity: .55 }
.main-nav, .sub-nav { display: flex; align-items: center; flex-wrap: wrap }
.main-nav { gap: clamp(.8rem, 2.2vw, 1.6rem) }
.main-nav a, .sub-nav a { font-size: .9rem; text-decoration: none; white-space: nowrap }
.main-nav a { color: #4d5056 }
.main-nav a:hover, .main-nav a[aria-current] { color: #17191c }
.main-nav a[aria-current]:not(.nav-action) { font-weight: 700 }
.main-nav .nav-action, .primary { color: #fff; background: linear-gradient(115deg, #537ecf, #6e67d8); border-radius: 6px; font-weight: 700 }
.main-nav .nav-action { padding: .37rem .9rem; box-shadow: 0 6px 18px #626cd740 }
.main-nav .nav-action:hover, .primary:hover { color: #fff; background: #515bc0 }
.sub-header { background: var(--charcoal) }
.sub-nav { min-height: 42px; gap: .2rem 1.45rem }
.sub-nav a { padding-block: .55rem; color: #d5d7da }
.sub-nav a:hover { color: #fff; text-decoration: underline }
.sub-nav a[aria-current] { color: #fff; box-shadow: inset 0 -3px #efefef }

h1 { color: #34373b; font-size: clamp(2.4rem, 5.2vw, 4.35rem); font-weight: 750; line-height: 1.12; letter-spacing: -.035em }
h2 { color: #42464c; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.28 }
h3 { font-size: 1.15rem; line-height: 1.4 }
.lede { margin-top: .85rem; font-size: clamp(1rem, 1.55vw, 1.16rem); color: var(--muted); max-width: 46ch }
.intro { padding-block: clamp(32px, 5.1vw, 60px) 0 }
.catalog-hero .intro { padding-bottom: 0 }
.catalog-hero h1 { margin-bottom: 1.1rem }
.catalog-hero .lede { max-width: none; margin: 0; padding: 1.25rem 1.45rem; background: var(--panel); border-radius: 12px; box-shadow: 0 2px 4px #00000009 }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: .55rem 1.12rem; border-radius: 6px; text-decoration: none; font-weight: 700; line-height: 1.35 }
.quiet { color: #424750; background: #e1e3e7 }
.quiet:hover { color: #242936; background: #d7d9df }

.section { padding-block: clamp(36px, 4.7vw, 66px) }
.section-heading { margin-bottom: 1.5rem }
.catalog, .features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem }
.card { min-width: 0 }
.card-image { display: block; color: inherit; text-decoration: none; border-radius: 12px }
.card-image:hover .art { filter: brightness(1.08) }
.card-body { display: grid; gap: .28rem; padding-block: 1rem 0 }
.card-title, .card-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem }
.card-title h3 { font-size: 1.3rem; font-weight: 400 }
.card-title h3 a { color: #3c444f; text-decoration: none }
.card-title h3 a:hover { text-decoration: underline }
.card-body p, .card-title span, .card-end { color: var(--muted) }
.card-title span, .card-end { font-size: .9375rem }
.card-end { margin-top: .2rem }

.art { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; position: relative; overflow: hidden; width: 100%; aspect-ratio: 2.05; min-height: 192px; padding: clamp(16px, 2.4vw, 28px); border-radius: 12px; color: #fff; background: #262a38 }
.bridge { background: radial-gradient(ellipse at 80% 86%, #6c4e91, transparent 63%), linear-gradient(130deg, #191830, #3b3467) }
.diary { background: radial-gradient(ellipse at 75% 100%, #24766c, transparent 62%), linear-gradient(130deg, #132335, #224955) }
.art-label { display: flex; align-items: center; gap: .6rem; font-size: 1.04rem }
.product-icon { display: block; flex: 0 0 auto; border-radius: 10px; background: #fff }
.art .product-icon { width: 36px; height: 36px; border-radius: 8px }
.art-content { display: grid; align-content: center; padding-inline: clamp(0px, 1.6vw, 15px) }
.art-note { color: #edf0f6; font-size: .875rem }
.hardware { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(6px, 1.1vw, 14px) }
.hardware b { border-radius: 5px; background: #16152dba; padding: .32rem .54rem; color: #fff; font-size: .875rem }
.wave { display: flex; align-items: center; justify-content: space-between; gap: 2px; height: clamp(48px, 7vw, 78px) }
.wave i { display: block; flex: 1; height: var(--level); background: #ddc9ff; border-radius: 99px }
.wave i:nth-child(3n) { background: #afaaff }
.timeline { position: relative; padding: .55rem .7rem; border-radius: 7px; background: #0d2633c9; color: #e5fff9; font-size: .825rem }
.ticks { display: flex; justify-content: space-between; gap: 5px }
.tracks { display: grid; grid-template-columns: 1fr 1.1fr 1.5fr 1fr 1.25fr 1fr; gap: 4px; margin-top: 7px; min-height: 14px }
.tracks i { background: #61cbb6; border-radius: 3px }
.tracks i:nth-child(2n) { background: #448fac }
.tracks i:nth-child(3n) { background: #b2d98e }
.tracks-secondary { grid-template-columns: .9fr 1.1fr .8fr 1.5fr 1.2fr 1.1fr; opacity: .67 }
.tracks-secondary i:nth-child(3n) { visibility: hidden }
.cursor { position: absolute; top: 24px; bottom: 5px; width: 2px; left: 51%; background: #dcfff2 }

.support-band { background: #1e232e; color: #eeeff3 }
.support-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.1rem 2rem; padding-block: clamp(32px, 4.7vw, 63px) }
.support-inner h2 { color: #f4f5f8 }
.support-inner p { margin-top: .4rem; color: #d6d9e0 }
.hero-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding-block: clamp(22px, 4.3vw, 57px) }
.detail-hero { background: #f7f7f7 }
.crumb { padding-top: 1.1rem; color: var(--muted); font-size: .9375rem }
.product-identity { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; color: #545863; font-size: .9375rem }
.product-identity .product-icon { width: 38px; height: 38px }
.detail h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem) }
.detail-headline { margin-top: .5rem; font-size: clamp(1.18rem, 2.1vw, 1.45rem); font-weight: 700 }
.detail .lede { margin-top: .55rem }
.detail-band { background: #e8e8e9 }
.screen { padding: 1.25rem; text-align: center }
.screen img { display: block; max-height: 390px; width: auto; height: auto; margin-inline: auto; border-radius: 9px }
.screen figcaption { margin-top: .7rem; color: var(--muted) }
.features { grid-template-columns: repeat(auto-fit, minmax(min(218px, 100%), 1fr)); gap: 1.6rem 2rem }
.features article { padding-block: .15rem }
.features p { margin-top: .45rem; color: var(--muted) }
.platform { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .55rem 1rem; border-top: 1px solid #d9dadc; padding: 1.1rem 0 }
.platform p { color: var(--muted) }
.platform details { grid-column: 1 / -1 }
.platform summary { cursor: pointer; color: var(--accent) }
.platform ol { padding-inline-start: 1.5rem; margin-bottom: 0 }
.availability { font-size: .9375rem }
.download-hero { background: radial-gradient(ellipse at 75% 110%, #2e4971, transparent 70%), #171a2d }
.download-hero .intro { padding-block: clamp(38px, 5.4vw, 75px) }
.download-hero h1 { color: #fff }
.download-hero .lede { color: #e0e2ea }
.listing { padding-block: clamp(32px, 5vw, 68px) }
.download-card + .download-card { margin-top: 2.25rem }
.download-card header { display: flex; align-items: center; gap: .85rem; padding-bottom: 1rem }

footer { background: var(--charcoal); color: #e6e7e8 }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.7rem; align-items: start; padding-block: clamp(34px, 5vw, 61px); font-size: .9rem }
.foot .wordmark { color: #f3f4f5 }
.foot p { color: #f6f6f6; font-size: .95rem; font-weight: 700; margin-bottom: .55rem }
.foot div a { display: table; margin-block: .32rem; color: #c1c4c8; text-decoration: none }
.foot div a:hover { color: #fff; text-decoration: underline }
.filing { padding: .15rem 1rem 1.05rem; text-align: center; font-size: .9rem }
.filing a { color: #d4d6d9 }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px) }
  .hero-grid, .catalog { grid-template-columns: minmax(0, 1fr) }
  .catalog { row-gap: 1.8rem }
  .bar { min-height: 59px; gap: .75rem }
  .main-nav { gap: .7rem }
  .sub-nav { gap: .1rem 1rem }
  .support-inner { flex-wrap: wrap }
}
@media (max-width: 450px) {
  .bar { align-items: flex-start; flex-direction: column; padding-block: .62rem; gap: .45rem }
  .main-nav a { padding-block: .22rem }
  .sub-nav a { font-size: .875rem }
  .platform { grid-template-columns: minmax(0, 1fr) }
  .foot { grid-template-columns: 1fr 1fr; gap: 1.15rem }
  .foot > .wordmark { grid-column: 1 / -1 }
}
