body.product {
  --ink: #182131;
  --muted: #526075;
  --blue: #3757ca;
  --rule: #dce2ea;
  --edge: clamp(22px, 4.8vw, 78px);
  width: 100%;
  color: var(--ink);
  font-family: "DM Sans", "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.product .wrapper { width: min(1280px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.product .site-header { padding-block: 23px; position: relative; z-index: 2; }
.product .home img { height: clamp(23px, 2.1vw, 30px); }
.header-links, .chapters, .footer-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.chapters a, .footer-links a { color: var(--muted); font-size: .9rem; line-height: 1.4; text-decoration: none; }
.chapters a:hover, .footer-links a:hover, .languages summary:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.product .languages { border-inline-start: 1px solid var(--rule); padding-inline-start: clamp(14px, 2vw, 32px); }
.product .languages summary { padding: 6px 0 6px 3px; font-weight: 550; }
.product main, .product figure { margin: 0; padding: 0; }
.product section { margin-block: 0; }
.product h1, .product h2 { font-weight: 650; letter-spacing: -.052em; text-wrap: balance; overflow-wrap: anywhere; }
.product :is(h1,h2):lang(zh), .product :is(h1,h2):lang(ja), .product :is(h1,h2):lang(ko) { letter-spacing: -.035em; }
.product p { color: var(--muted); line-height: 1.65; text-wrap: pretty; }
.hero { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.37fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(38px,5.6vw,84px) clamp(54px,7vw,104px); }
.platform { display: inline-block; font-size: .8rem; font-weight: 650; color: var(--blue); letter-spacing: .035em; }
.hero h1 { margin-block: 17px 0; font-size: clamp(2.65rem, 5.3vw, 5.15rem); line-height: 1.04; }
.hero .intro { margin-block-start: 22px; max-width: 34ch; font-size: clamp(1.05rem,1.55vw,1.28rem); }
.primary-link { display: inline-flex; align-items: center; gap: 1.15em; padding: .82em 1.35em; margin-top: 28px; border-radius: 100px; font-size: .94rem; font-weight: 650; text-decoration: none; background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px #1b3dab8a; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.25rem; }
.primary-link:hover { background: #2947b8; }
.primary-link span, .text-link span { font-size: 1.2em; line-height: 1; }
.hero-scene { position: relative; border-radius: clamp(14px, 1.8vw, 26px); overflow: hidden; isolation: isolate; background: #edeae5; }
.scene-photo { display: block; width: 100%; height: auto; }
.mac-display {
  position: absolute; left: 43.5%; top: 24.3%; width: 47.25%; height: 45.1%;
  transform: skewY(-.2deg); transform-origin: top left; overflow: hidden; pointer-events: none;
  container-type: inline-size;
}
.mac-menubar { height: 6.8%; background: #eef4ffad; display: flex; align-items: center; justify-content: space-between; padding: 0 3%; }
.mac-menubar span { width: 23%; height: 20%; background: linear-gradient(to right,#596f90 9%,transparent 9% 20%,#7f95b0 20% 47%,transparent 47% 57%,#7f95b0 57% 76%,transparent 76% 86%,#7f95b0 86%); border-radius: 1px; }
.mac-menubar i { width: 3%; height: 34%; border-radius: 1px; background: #71839e; }
.photo-window {
  position: absolute; top: 21%; left: 7%; width: 53%; height: 59%;
  border-radius: 2.4cqw; overflow: hidden; background: #f9fafc; box-shadow: 0 1.6cqw 3.2cqw #24375835;
}
.window-titlebar { display: flex; align-items: center; gap: 1.4%; height: 14%; padding-inline: 5%; background: #f0f2f5; }
.window-titlebar i { width: 3.1%; aspect-ratio: 1; background: #e47872; border-radius: 100%; }
.window-titlebar i:nth-child(2) { background: #e9ba68; }
.window-titlebar i:nth-child(3) { background: #81b696; }
.window-photos { height: 86%; padding: 3%; display: grid; gap: 4%; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; }
.window-photos span { background: url("/photo-guide.webp") 0% center / 670% auto no-repeat; border-radius: .7cqw; }
.window-photos span:first-child { grid-row: span 2; }
.window-photos span:nth-child(2) { background-position-x: 60%; }
.window-photos span:last-child { background-position-x: 100%; }
.desktop-folder { position: absolute; right: 6.5%; top: 16%; width: 8.2%; height: 7.6%; border-radius: .8cqw; background: #4575b2; box-shadow: inset 0 1cqw #7da8db; }
.desktop-folder::before { content: ""; position: absolute; left: 0; bottom: 88%; width: 46%; height: 25%; background: #7da8db; border-radius: .55cqw .55cqw 0 0; }
.screen-companion { position: absolute; right: 8%; bottom: 8%; width: 28%; height: auto; }
.product h2 { font-size: clamp(1.95rem, 3.45vw, 3.35rem); line-height: 1.12; }
.example { border-top: 1px solid var(--rule); padding-block: clamp(38px,5vw,76px) clamp(56px,6.5vw,98px); }
.section-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: clamp(22px,6vw,100px); align-items: end; margin-bottom: clamp(24px,3vw,44px); }
.section-intro p { margin: 0; max-width: 52ch; font-size: 1rem; }
.comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px, 2vw, 28px); }
.example-photo, .example-portrait { aspect-ratio: 1.8; overflow: hidden; border-radius: clamp(10px,1.15vw,17px); }
.example-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 43%; }
.example-portrait { display: grid; place-items: center; background: #edf1fd; }
.example-portrait img { display: block; width: auto; height: 74%; max-width: 75%; object-fit: contain; }
.product figcaption { margin-top: 10px; font-size: .87rem; color: #435065; font-weight: 550; }
.comparison figcaption span { margin-inline: .45em; color: #a9b1c0; font-weight: 400; }
.motion-band { padding-block: clamp(42px,5.5vw,80px); background: #f3f6fb; }
.motion-heading .motion-summary { margin: .65em 0 0; color: var(--blue); font-size: .92rem; font-weight: 550; }
.motion-toggle { display: inline-flex; align-items: center; gap: .55em; min-height: 30px; margin-top: 8px; padding: 0; background: none; color: var(--blue); font-size: .88rem; }
.motion-toggle[hidden] { display: none; }
.motion-toggle b { font-weight: 550; }
.motion-toggle:hover b { text-decoration: underline; text-underline-offset: 3px; }
.motion-toggle span { width: 0; height: 0; border-block: .35em solid transparent; border-left: .55em solid currentColor; }
.motion-toggle[data-playing="true"] span { width: .58em; height: .72em; border: 0; border-inline: .18em solid currentColor; }
.motion-sequence { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: #d9e1ec; }
.motion-sequence figure { min-width: 0; background: #f3f6fb; padding: clamp(14px,2.3vw,32px) 4px; text-align: center; }
.motion-sequence video { display: block; width: min(100%,270px); height: auto; margin: 0 auto; }
.motion-sequence figcaption { margin: .35em 4px 0; font-weight: 550; }
.collar { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(25px,7vw,100px); align-items: center; padding-block: clamp(54px,7vw,104px); }
.collar-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.68; object-fit: cover; border-radius: clamp(12px,1.2vw,18px); }
.collar-copy p { max-width: 36ch; margin-block: 14px 20px; }
.text-link { display: inline-flex; align-items: center; gap: .6em; font-weight: 650; color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: #20399e; }
.product footer { justify-content: space-between; padding-block: 28px 40px; }
.product footer .home img { height: 19px; }
.footer-links { flex-wrap: wrap; gap: 14px 24px; }
@media (max-width: 760px) {
  .product .site-header { padding-block: 17px; }
  .chapters { display: none; }
  .product .languages { border: 0; padding: 0; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 34px 44px; }
  .hero h1 { font-size: clamp(2.4rem, 8.8vw, 3.8rem); max-width: 15em; margin-top: 10px; }
  .hero .intro { max-width: 45ch; margin-top: 13px; }
  .primary-link { margin-top: 18px; padding: .7em 1.25em; }
  .section-intro, .collar { grid-template-columns: 1fr; }
  .section-intro { gap: 12px; align-items: start; }
  .motion-sequence { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .example-photo, .example-portrait { aspect-ratio: 1; }
  .collar { gap: 22px; }
  .product footer { align-items: flex-start; gap: 16px 26px; }
}
@media (max-width: 400px) {
  .product { --edge: 16px; }
  .product figcaption { font-size: .78rem; }
  .comparison { gap: 9px; }
}
