.device-sync { padding-top: 130px; scroll-margin-top: 110px; }
.device-sync-layout { display: grid; grid-template-columns: .9fr 1.15fr; align-items: center; gap: 70px; }
.device-sync-copy, .device-sync-demo { min-width: 0; }
.device-sync .chapter { color: #a4c6b6; }
.device-sync h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 550; line-height: 1.32; letter-spacing: -1.5px; margin: 20px 0 25px; }
.device-sync-description { max-width: 440px; font-size: 15px; line-height: 1.95; color: var(--muted); }
.device-sync-benefits { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 15px; }
.device-sync-benefits li { display: flex; align-items: flex-start; gap: 12px; }
.device-sync-benefits svg { flex: 0 0 18px; width: 18px; height: 18px; color: #a7cdbb; margin-top: 4px; }
.device-sync-benefits strong { display: block; color: #dedee3; font-size: 13px; font-weight: 550; }
.device-sync-benefits p { margin-top: 3px; color: #95959e; font-size: 12px; line-height: 1.8; }
.device-sync-networks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.device-sync-networks span { font-size: 10px; color: #b4c2bb; border: 1px solid #ffffff19; border-radius: 20px; padding: 4px 10px; }
.device-sync-note { color: #85858e; font-size: 11px; line-height: 1.85; max-width: 420px; }
.device-sync-cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; color: #bfdaca; text-decoration: none; font-size: 13px; border-bottom: 1px solid #53665b; padding-bottom: 5px; }
.device-sync-cta:hover { color: #fff; border-color: #bfdaca; }
.device-sync-demo { container-type: inline-size; position: relative; padding-top: 10px; }
.device-sync-scene { position: relative; height: 75cqw; isolation: isolate; }
.device-sync-scene::before { content: ''; position: absolute; z-index: -1; width: 84%; height: 60%; top: 15%; left: 8%; border-radius: 50%; background: radial-gradient(ellipse, #7aa78d1f, transparent 70%); filter: blur(20px); }
.ds-device { position: absolute; padding: 1.2cqw; border: 1px solid #ffffff24; border-radius: 2.5cqw; background: linear-gradient(145deg, #262a2a, #121414); box-shadow: 0 20px 50px #0007; }
.ds-desktop { top: 4cqw; left: 0; width: 88%; }
.ds-desktop::after { content: ''; position: absolute; z-index: -1; bottom: -2.7cqw; left: -3.5%; width: 107%; height: 2.5cqw; background: linear-gradient(#414444, #1b1d1d); border: 1px solid #ffffff15; border-radius: 0 0 2cqw 2cqw; }
.ds-tablet { right: 0; top: 32cqw; width: 65%; padding: 1.5cqw 2.3cqw; border-radius: 3cqw; transform: rotate(-3deg); }
.ds-tablet::after { content: ''; position: absolute; left: .7cqw; top: 50%; width: .6cqw; height: .6cqw; border-radius: 50%; background: #424747; }
.ds-topbar { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 4cqw; font-size: 1.55cqw; color: #9fa7a2; padding: 0 1cqw; }
.ds-topbar i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #b2c3b8; box-shadow: 1.5cqw 0 #66746b, 3cqw 0 #414b45; margin-right: 3cqw; }
.ds-topbar > span { margin-left: auto; }
.ds-topbar b { font-weight: 400; color: #a8c8b6; margin-left: 1cqw; }
.ds-canvas { position: relative; overflow: hidden; height: 44cqw; border-radius: 1cqw; background: radial-gradient(#abb6ab24 .65px, transparent .65px) 0 0 / 9px 9px, #252b28; }
.ds-tablet .ds-canvas { height: 31cqw; }
.ds-board { position: absolute; inset: 10% 7%; font-size: 1.6cqw; }
.ds-board-heading { display: block; font-size: 2.15cqw; font-weight: 500; color: #e2e8dc; letter-spacing: .1em; }
.ds-board-sub { display: block; margin-top: .5cqw; font-size: 1.25cqw; color: #91a08e; }
.ds-shot { position: absolute; overflow: hidden; width: 42%; height: 59%; top: 29%; left: 0; border-radius: .8cqw; background: #161b16; border: 1px solid #cadbc321; transform: rotate(-3deg); transition: transform .35s; }
.ds-shot img { width: 100%; height: 76%; object-fit: cover; }
.ds-shot small { display: block; font-size: 1.3cqw; color: #bac3b5; padding: .6cqw 1cqw; }
.ds-shot--second { width: 43%; height: 48%; top: 23%; left: 49%; transform: rotate(3deg); }
.ds-shot--second img { height: 100%; }
.ds-sticky { position: absolute; top: 75%; left: 50%; width: 43%; padding: 1cqw; border-radius: .5cqw; background: #c7d3ae; color: #283424; font-size: 1.4cqw; line-height: 1.5; transition: transform .35s; }
.ds-annotation { position: absolute; width: 47%; height: 59%; top: 22%; left: 44%; overflow: visible; fill: none; stroke: #e4c48d; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.ds-edit-marker { position: absolute; left: 41%; top: 28%; color: #243c31; background: #a8d5ba; border-radius: .6cqw; padding: .4cqw .8cqw; font-size: 1.25cqw; }
.ds-tablet .ds-board { font-size: 1.2cqw; }
.ds-tablet .ds-board-heading { font-size: 1.6cqw; }
.ds-tablet .ds-board-sub, .ds-tablet .ds-shot small { font-size: 1cqw; }
.ds-tablet .ds-sticky { font-size: 1.1cqw; padding: .6cqw; }
.device-sync-demo[data-mode="view"] .ds-edit-marker { display: none; }
.device-sync-demo[data-mode="edit"] .ds-annotation { display: none; }
.device-sync-demo[data-mode="edit"] .ds-shot--second { transform: translate(0, 1.5cqw) rotate(0); border-color: #a8d5ba; }
.device-sync-demo[data-mode="edit"] .ds-sticky { transform: translate(0, .8cqw); }
.ds-connection { position: absolute; right: 0; top: 12cqw; display: flex; align-items: center; gap: 1.3cqw; padding: 1.5cqw 2cqw; border: 1px solid #b2e4c433; border-radius: 2cqw; background: #1a2520; box-shadow: 0 8px 20px #0006; color: #c6d8ca; font-size: 1.6cqw; }
.ds-connection svg { width: 3cqw; height: 3cqw; }
.ds-device-label { position: absolute; left: 0; bottom: 1cqw; color: #8b9a90; font-size: 1.6cqw; letter-spacing: .05em; }
.device-sync-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.device-sync-controls button { min-height: 44px; padding: 10px 18px; color: #9da9a1; background: #ffffff04; border: 1px solid #ffffff12; border-radius: 24px; font-size: 12px; }
.device-sync-controls button[aria-pressed="true"] { color: #d8e9df; border-color: #8cb59b66; background: #8cb59b16; }
.device-sync-controls button:hover { color: #f4f4f5; }
.device-sync-caption { min-height: 3.6em; margin: 16px auto 0; max-width: 400px; color: #929d95; font-size: 11px; line-height: 1.8; text-align: center; }
.device-sync-caption [hidden] { display: none; }
.device-sync-demo figcaption { text-align: center; color: #6f7972; font-size: 10px; margin-top: 10px; }
@media(max-width:1000px) {
  .device-sync-layout { gap: 36px; }
}
@media(max-width:800px) {
  .device-sync { padding-top: 90px; }
  .device-sync-layout { grid-template-columns: 1fr; gap: 35px; }
  .device-sync-copy { max-width: 560px; }
  .device-sync-demo { max-width: 600px; width: 100%; margin-inline: auto; }
}
@media(max-width:480px) {
  .device-sync h2 { font-size: 32px; }
  .device-sync-description { font-size: 14px; }
  .device-sync-controls button { padding-inline: 14px; font-size: 11px; }
  .ds-connection { font-size: 2.2cqw; }
  .ds-device-label { font-size: 2cqw; }
}
@media(prefers-reduced-motion:reduce) {
  .device-sync-demo * { transition: none; }
}
