.services .service-example { height: 420px; }
.demo-switch { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px; width: fit-content; max-width: 100%; margin: 0 auto; border: 1px solid #535c4966; border-radius: 24px; background: #181d17; }
.demo-switch button { border: 0; border-radius: 20px; background: transparent; color: #abb59e; padding: 8px 14px; font-size: 11px; line-height: 1; cursor: pointer; white-space: nowrap; transition: color .25s, background .25s; }
.demo-switch button[aria-pressed="true"] { background: #b8cb98; color: #232c1b; }
.demo-switch button:hover { color: #f0f3e8; }
.demo-switch button[aria-pressed="true"]:hover { color: #232c1b; background: #c7d8ad; }
.demo-switch button:disabled { cursor: default; }
.demo-switch button:focus-visible, .edit-play:focus-visible { outline: 2px solid #d7e6c1; outline-offset: 3px; }
.web-example .device-demo { animation: none; top: 40px; transition: width .85s cubic-bezier(.22, 1, .36, 1), border-radius .85s; }
.web-example[data-viewport="mobile"] .device-demo { width: 180px; border-radius: 20px; }
.web-example[data-viewport="desktop"] .demo-site { padding: 15px clamp(9px, 4cqw, 17px); }
.web-example[data-viewport="desktop"] .demo-site-layout { grid-template-columns: 1.25fr 1fr; gap: clamp(5px, 2.5cqw, 10px); margin-top: 19px; }
.web-example[data-viewport="desktop"] .demo-site-title { font-size: clamp(14px, 6cqw, 23px); margin-bottom: 13px; }
.web-example[data-viewport="desktop"] .demo-site-art { height: clamp(60px, 25cqw, 99px); border-radius: 45px 45px 8px 8px; }
.web-example[data-viewport="desktop"] .demo-site-line,
.web-example[data-viewport="desktop"] .demo-site-cta { display: block; }
.web-example .demo-switch { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.editing-example { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #252d22; }
.editing-example > .demo-switch { flex: none; }
.edit-stage { position: relative; flex: 1; min-height: 145px; border-radius: 10px; overflow: hidden; background: #151a13; }
.edit-stage video { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.edit-badge { position: absolute; top: 11px; left: 11px; background: #111b; border: 1px solid #ffffff30; color: #fff; border-radius: 5px; font-size: 8px; letter-spacing: 1.5px; padding: 5px 7px; pointer-events: none; }
.edit-title { position: absolute; left: 22px; bottom: 20px; color: white; font-size: clamp(27px, 3.3vw, 43px); line-height: .96; letter-spacing: -1.8px; font-weight: 600; text-shadow: 0 2px 14px #0006; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s; pointer-events: none; }
.edit-title em { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.25em; font-weight: 400; }
.edit-title.visible { opacity: 1; transform: none; }
.edit-timeline { flex: none; height: 24px; position: relative; border-radius: 5px; --progress: 0%; }
.edit-timeline:focus-within { outline: 2px solid #c7d8ad; outline-offset: 4px; }
.edit-timeline input { position: absolute; inset: -4px 0; width: 100%; height: 32px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.edit-segments { display: flex; gap: 3px; height: 100%; overflow: hidden; border-radius: 4px; }
.edit-segments i { display: block; flex: 1; background: #bd9978; position: relative; }
.edit-segments i:nth-child(even) { background: #a08cb7; }
.edit-segments i:after { content: ''; position: absolute; inset: 6px 8px; background: repeating-linear-gradient(90deg, #ffffff60 0 1px, transparent 1px 6px); opacity: .6; }
.edit-cursor { position: absolute; width: 2px; background: #fbf5da; top: -3px; bottom: -3px; left: clamp(0px, var(--progress), calc(100% - 2px)); pointer-events: none; }
.edit-transport { display: flex; align-items: center; gap: 10px; flex: none; min-height: 30px; }
.edit-play { border: 1px solid #606e52; border-radius: 18px; background: #303d28; color: #e9efdf; padding: 8px 12px; min-width: 98px; font-size: 11px; cursor: pointer; }
.edit-play:disabled { opacity: .5; cursor: wait; }
.edit-clock { font-size: 10px; font-variant-numeric: tabular-nums; color: #cad3be; white-space: nowrap; }
.edit-silent { font-size: 9px; color: #acb79e; margin-left: auto; }
.edit-mode-note { font-size: 11px; line-height: 1.45; color: #bdc9ae; margin: 0; min-height: 32px; flex: none; }
.stock-credit { color: #bfc9ad; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:760px) { .services .service-example { height: 390px; } .editing-example { padding: 13px; gap: 11px; } .web-example .device-demo { top: 27px; height: 263px; } .web-example .demo-switch { bottom: 24px; } .edit-title { font-size: 31px; left: 17px; bottom: 17px; } .edit-silent { font-size: 8px; } .edit-play { min-width: 88px; padding: 8px 10px; } }
@media(max-width:360px) { .edit-silent { display: none; } .demo-switch button { font-size: 10px; padding: 8px 12px; } .edit-clock { font-size: 9px; } }
