:root {
  color-scheme: dark;
  --bg: #0b1117;
  --card: #141e27;
  --ink: #f8f6ed;
  --muted: #a7bac7;
  --cyan: #27bad6;
  --yellow: #ffc329;
  --coral: #f97858;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; }
a { color: var(--cyan); text-underline-offset: 5px; }
a:hover { color: var(--yellow); }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
header, main, footer { max-width: 1120px; margin: auto; padding: 28px 36px; }
header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #253440; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; color: var(--ink); text-decoration: none; letter-spacing: -.6px; }
.brand img { border-radius: 9px; }
.eyebrow { font-size: 12px; letter-spacing: 2.5px; color: var(--cyan); text-transform: uppercase; }
figcaption, .caption, .gallery-hint { font-size: 14px; line-height: 1.65; color: var(--muted); }
figcaption { margin-top: 14px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 2; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.text-link { font-size: 16px; font-weight: 600; }
.actions { display: flex; justify-content: center; align-items: center; gap: 14px 28px; flex-wrap: wrap; margin-top: 22px; }
.button { display: inline-block; margin-top: 10px; padding: 11px 20px; background: var(--cyan); border-radius: 12px; color: #071014; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--yellow); color: #071014; }
.notice { border-left: 3px solid var(--yellow); padding: 12px 22px; background: #1b242a; border-radius: 0 12px 12px 0; }
ul { padding-left: 24px; }
code { font-size: .9em; }
footer { border-top: 1px solid #253440; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Begin with the real app, then pair each listening scenario with an image. */
.product-intro { max-width: 940px; margin: auto; padding: 28px 0 30px; text-align: center; }
.product-intro h1 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.2; letter-spacing: -1.8px; margin: 14px 0 20px; text-wrap: balance; }
html[lang="zh-CN"] .product-intro h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.3; letter-spacing: -1px; }
.product-intro p { color: var(--muted); font-size: 18px; max-width: 760px; margin: 0 auto 18px; }
.platforms { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; color: var(--muted); }
.release-status { border: 1px solid #375363; border-radius: 99px; padding: 2px 12px; }
.screen-showcase { padding-bottom: 60px; text-align: center; }
.screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; padding: 6px; }
.screenshot-gallery figure { min-width: 0; }
.screenshot-link { display: block; border-radius: 20px; }
.shot-surface { display: flex; justify-content: center; align-items: center; padding: 20px 12px; background: #14212b; border: 1px solid #2e414f; }
.screenshot-gallery figure:nth-child(2) .shot-surface { background: #201e2b; }
.screenshot-gallery figure:nth-child(3) .shot-surface { background: #152824; }
.screenshot-gallery img { display: block; width: auto; height: 408px; max-width: 100%; object-fit: contain; border-radius: 16px; }
.screenshot-gallery figcaption { font-weight: 600; color: var(--ink); }
.gallery-hint { display: none; }
.screen-showcase .caption { margin: 20px 0 0; }
.stories { padding: 48px 0 0; border-top: 1px solid #253440; }
.section-heading { max-width: 740px; margin-bottom: 36px; }
.section-heading h2, .getting-started h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -1px; margin: 14px 0 18px; text-wrap: balance; }
.section-heading p, .story p, .getting-started p { color: var(--muted); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid #253440; }
.story > * { min-width: 0; }
.story h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.3; letter-spacing: -.8px; margin: 16px 0 22px; text-wrap: balance; }
.story-copy .text-link { display: inline-block; margin-top: 10px; }
.story:nth-of-type(even) .story-copy { order: 2; }
.story-media { text-align: center; }
.story-image { display: flex; justify-content: center; align-items: center; padding: 28px; background: var(--card); border: 1px solid #2e414f; }
.story-image img { display: block; width: auto; max-height: 460px; border-radius: 16px; object-fit: contain; }
.story-tablet .story-image img { max-height: 480px; }
.story-wide { grid-template-columns: .95fr 1.15fr; gap: 36px; padding: 32px; border: 1px solid #375363; border-radius: 24px; background: var(--card); }
.story-wide .story-image { padding: 0; border: 0; border-radius: 12px; }
.story-wide .story-image img { width: 100%; max-height: none; border: 1px solid #375363; border-radius: 12px; }
.getting-started { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 32px; padding: 40px; margin: 56px 0 32px; background: var(--card); border-radius: 24px; }
.getting-started > img { border-radius: 22px; }
.getting-started h2 { font-size: 30px; }
.getting-started p { max-width: 720px; }
.availability { margin: 0 0 40px; }

/* Help and privacy documents keep their readable single-column layout. */
.document { max-width: 800px; padding-bottom: 70px; }
.document h1 { font-size: 44px; line-height: 1.15; letter-spacing: -1.5px; margin-top: 45px; }
.document h2 { font-size: 24px; margin: 36px 0 10px; }
.document p, .document li { color: var(--muted); }
.document section { scroll-margin-top: 24px; }
.document li { margin-bottom: 10px; }
.document strong { color: var(--ink); }
.contents { display: flex; gap: 10px 22px; border-block: 1px solid #253440; padding: 22px 0; margin: 30px 0; }
.contents a { font-size: 15px; }
.document details { border-bottom: 1px solid #253440; padding: 18px 0; }
.document summary { font-size: 18px; font-weight: 650; cursor: pointer; line-height: 1.5; }
.document summary::marker { color: var(--cyan); }
.document details p { margin-bottom: 4px; }

@media (max-width: 900px) {
  .screenshot-gallery { gap: 16px; }
  .screenshot-gallery img { height: 350px; }
  .shot-surface { padding: 16px 10px; }
  .story { gap: 32px; }
  .story-wide { grid-template-columns: 1fr; }
  .story-wide .story-media { max-width: 720px; }
  .story-image { padding: 20px; }
}
@media (max-width: 700px) {
  header, main, footer { padding-left: 22px; padding-right: 22px; }
  header { align-items: flex-start; gap: 15px; flex-direction: column; padding-top: 20px; padding-bottom: 20px; }
  nav { gap: 16px; }
  .product-intro { padding: 8px 0 26px; text-align: left; }
  .product-intro h1 { letter-spacing: -1px; }
  .product-intro p { font-size: 17px; }
  .platforms { justify-content: flex-start; }
  .screen-showcase { padding-bottom: 38px; }
  .screenshot-gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 6px; scrollbar-color: #375363 var(--bg); padding-bottom: 14px; }
  .screenshot-gallery figure { flex: 0 0 82%; scroll-snap-align: start; }
  .screenshot-gallery img { height: 390px; }
  .gallery-hint { display: block; margin: 12px 0 0; }
  .screen-showcase .caption { margin-top: 8px; }
  .actions { justify-content: flex-start; text-align: left; }
  .stories { padding-top: 36px; }
  .section-heading { margin-bottom: 28px; }
  .story { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .story:nth-of-type(even) .story-copy { order: 0; }
  .story h3 { font-size: 28px; margin-top: 12px; }
  .story-wide { padding: 22px; }
  .story-media { width: 100%; max-width: 420px; margin: auto; }
  .story-image img, .story-tablet .story-image img { max-height: 420px; }
  .story-wide .story-image img { max-height: none; }
  .getting-started { grid-template-columns: 1fr; gap: 20px; padding: 24px; margin-top: 38px; }
  .getting-started > img { width: 68px; height: 68px; border-radius: 16px; }
  .getting-started h2 { font-size: 28px; }
  .document h1 { font-size: 34px; text-wrap: balance; }
  .document summary { font-size: 17px; }
}
