/* Real app captures with CSS device surrounds and a hinged Duo preview. */
.platform-hero { position: relative; background: #f5f1e9; color: #24231f; padding: 150px 40px 85px; min-height: 880px; display: flex; align-items: center; overflow: hidden; }
.platform-background-video, .platform-video-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.platform-background-video { object-fit: cover; }
.platform-video-wash { background: rgba(255, 248, 235, .85); backdrop-filter: blur(3px); }
.platform-hero-inner { position: relative; width: 100%; max-width: 1580px; margin: auto; display: grid; grid-template-columns: .95fr 1.35fr; gap: 44px; align-items: center; }
.platform-intro { max-width: 560px; text-align: left; margin-left: clamp(18px, 3vw, 56px); }
.platform-business { display: inline-flex; gap: 10px; align-items: center; padding: 10px 13px; margin-bottom: 30px; border: 1px solid #8f8867; background: #f4e9a6; color: #333528; font: 600 11px/1.5 var(--font-body, sans-serif); letter-spacing: .04em; text-transform: uppercase; }
.platform-eyebrow { font: 600 11px/1.5 var(--font-body, sans-serif); letter-spacing: .2em; margin: 0 0 22px; }
.platform-hero h1 { font: 400 clamp(42px, 3.8vw, 64px)/1.08 'Times New Roman', Times, serif; letter-spacing: .01em; text-transform: uppercase; margin: 0; color: #24231f; }
.platform-hero h1 em { font-weight: 600; font-style: normal; color: #16864b; }
.platform-description { font: 400 18px/1.55 var(--font-body, sans-serif); color: #6d695f; margin: 25px 0 27px; }
.platform-actions { display: flex; justify-content: flex-start; align-items: center; gap: 30px; flex-wrap: wrap; }
.platform-primary, .platform-secondary, .platform-api { display: inline-flex; align-items: center; justify-content: center; gap: 30px; font: 600 14px/1.4 var(--font-body, sans-serif); text-decoration: none; }
.platform-primary { background: #272922; color: #fffaf0; padding: 16px 23px; border: 1px solid #272922; border-radius: 3px; transition: background .2s; }
.platform-primary:hover { background: #4c5143; }
.platform-secondary { color: #46483c; border-bottom: 1px solid #bbb4a5; padding: 10px 0; }
.platform-api { padding: 16px 23px; background: #145a40; border: 1px solid #145a40; color: #fffaf0; border-radius: 3px; }
.platform-api:hover { background: #247550; }
.platform-tv-link { margin-top: 22px; }
.platform-family { width: 100%; min-width: 0; margin: 0; }
.device-stage { position: relative; width: 100%; aspect-ratio: 1180 / 830; isolation: isolate; }
.device { position: absolute; margin: 0; filter: drop-shadow(0 15px 16px #302d2226); }
.device img { display: block; width: 100%; height: 100%; object-fit: contain; }
.device-caption { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: #706b60; font: 500 clamp(8px, .85vw, 11px)/1.2 var(--font-body, sans-serif); letter-spacing: .03em; }
.device-tv { width: 63%; top: 4%; left: 23%; z-index: 1; }
.device-tv-panel { padding: .8%; background: #191a18; border: 1px solid #51514a; border-radius: 9px; box-shadow: 0 2px 0 #64645d inset; }
.device-tv-panel img { border-radius: 3px; }
.device-tv-panel { position: relative; }
.hero-tv-film { position: absolute; inset: 1.5%; width: 97%; height: 97%; border: 0; border-radius: 3px; background: #101413; }
.hero-tv-poster { position: absolute; inset: 1.5%; width: 97%; height: 97%; border: 0; padding: 0; overflow: hidden; border-radius: 3px; background: #101413; color: #fff9ed; cursor: pointer; text-align: left; }
.device-tv-panel .hero-tv-poster > img { object-fit: cover; }
.hero-tv-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, #000a); }
.hero-tv-play-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 6px; align-items: center; z-index: 1; text-align: center; white-space: nowrap; text-shadow: 0 1px 6px #0009; font: 600 clamp(9px, 1vw, 14px)/1.3 var(--font-body, sans-serif); }
.hero-tv-play-label > svg { width: clamp(24px, 3vw, 40px); height: clamp(24px, 3vw, 40px); flex-shrink: 0; padding: 6px; border: 1px solid #ffffff80; border-radius: 50%; background: #15211980; }
.hero-tv-play-label small { display: block; margin-top: 3px; font-size: .75em; font-weight: 400; }
.hero-tv-toggle { position: absolute; top: 4%; right: 3%; padding: 5px 9px; border: 1px solid #ffffff55; border-radius: 99px; background: #18231fe6; color: #fff9ed; font: 500 clamp(8px, .75vw, 11px)/1.3 var(--font-body, sans-serif); cursor: pointer; z-index: 2; }
.hero-tv-toggle:focus-visible { outline: 3px solid #d5dcbd; outline-offset: 3px; }
.hero-tv-poster:focus-visible { outline: 3px solid #d5dcbd; outline-offset: -4px; }
.hero-tv-film[hidden], .hero-tv-poster[hidden] { display: none; }
.tv-neck { position: absolute; width: 8%; height: 24%; top: 100%; left: 46%; background: linear-gradient(90deg,#373932,#77796e,#373932); z-index: -1; }
.tv-foot { position: absolute; top: 123%; left: 35%; width: 30%; height: 1.6%; border-radius: 50%; background: #343630; }
.device-tv .device-caption { top: -24px; }
.device-mac { width: 43%; top: 39%; left: 0; z-index: 3; }
.mac-panel { position: relative; width: 88%; margin: auto; padding: 2% 1.2% 2.5%; background: #20221f; border: 1px solid #74766c; border-radius: 10px 10px 3px 3px; }
.mac-screen { position: relative; aspect-ratio: 1200 / 844; border-radius: 3px; background: radial-gradient(ellipse at 15% 85%, #e3d6bf, transparent 70%), linear-gradient(140deg, #dce5d8, #f4eee0); overflow: hidden; container-type: inline-size; }
.mac-window { position: absolute; display: block; overflow: hidden; border: 1px solid #b1b4a7; border-radius: 5px; background: #fffdf8; color: #30372b; text-decoration: none; box-shadow: 0 2px 6px #20291e24; }
.mac-window-title { display: flex; align-items: center; gap: 1.4cqw; padding: 1.5cqw 2cqw; background: #f1f0ea; border-bottom: 1px solid #dddcd2; font: 500 2.3cqw/1 var(--font-body, sans-serif); white-space: nowrap; }
.mac-window-title > img { width: 2.6cqw; height: 2.6cqw; }
.mac-window-controls { display: inline-flex; gap: .7cqw; margin-right: 1cqw; }
.mac-window-controls i { width: 1.2cqw; aspect-ratio: 1; border-radius: 50%; background: #d8a79b; }
.mac-window-controls i:nth-child(2) { background: #ddcb8b; }
.mac-window-controls i:nth-child(3) { background: #a8bba0; }
.mac-window-chatgpt { top: 3%; left: 3%; width: 52%; height: 52%; z-index: 1; }
.mac-chat-content { padding: 2cqw 3cqw; font: 500 2.3cqw/1.3 var(--font-body, sans-serif); }
.mac-chat-content > img { display: inline-block; width: 4cqw; height: 4cqw; margin-right: 1.5cqw; vertical-align: middle; }
.mac-chat-content p { margin: 2cqw 0; font: italic 400 3.8cqw/1.2 Georgia, serif; }
.mac-window-chrome { top: 12%; right: 3%; width: 45%; height: 65%; z-index: 2; }
.mac-extension-content { display: flex; flex-direction: column; align-items: flex-end; gap: 2cqw; padding: 3cqw; text-align: right; font: 400 2.3cqw/1.4 var(--font-body, sans-serif); }
.mac-extension-mark { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 1cqw; background: #eee5d3; font: 400 4cqw/1 Georgia, serif; }
.mac-extension-mark span { font-size: 2cqw; margin: -3cqw 0 0 2cqw; }
.mac-extension-content strong { font-weight: 600; }
.mac-extension-content p { margin: 0; }
.mac-extension-note { display: block; border: 1px solid #dadfce; border-radius: 2cqw; padding: .8cqw 1.5cqw; color: #52664b; font-size: 2cqw; }
.mac-window-app { left: 5%; bottom: 4%; width: 64%; z-index: 3; box-shadow: 0 4px 10px #20291e38; }
.mac-window-app > img { width: 100%; height: auto; }
.mac-window:focus-visible { z-index: 4; outline: 2px solid #537451; outline-offset: -2px; }
.mac-camera { width: 3px; height: 3px; border-radius: 50%; background: #4a4c46; position: absolute; top: 1%; left: 50%; }
.mac-base { height: 10px; background: linear-gradient(#d7d7d0,#999d91); border-radius: 2px 2px 50% 50%; box-shadow: 0 3px 3px #25282030; position: relative; }
.mac-base:after { content: ''; position: absolute; width: 16%; height: 3px; background: #73776c; top: 0; left: 42%; border-radius: 0 0 4px 4px; }
.device-ipad { width: 25%; top: 32%; right: .5%; z-index: 4; }
.ipad-panel { padding: 3.2%; background: #252623; border: 2px solid #8c897f; border-radius: 18px; }
.ipad-panel img { aspect-ratio: 3 / 4; border-radius: 10px; }
.device-iphone { width: 15%; bottom: 12%; left: 65%; z-index: 6; }
.iphone-panel { position: relative; background: #111; padding: 3.5%; border: 2px solid #9a9385; border-radius: 25px; }
.iphone-panel img { aspect-ratio: 540 / 1175; border-radius: 19px; object-fit: cover; }
.device-android { width: 10%; bottom: 12%; left: 53.6%; z-index: 5; }
.android-panel { padding: 4%; background: #262b25; border: 2px solid #8b9385; border-radius: 18px; position: relative; }
.android-panel img { aspect-ratio: 9 / 16; border-radius: 12px; }
.android-camera { position: absolute; top: 3%; left: 47%; width: 6%; aspect-ratio: 1; background: #141714; border-radius: 50%; }
.device-watch { width: 8.4%; bottom: 12%; left: 43.5%; z-index: 7; }
.watch-hardware { position: relative; padding: 28% 0; isolation: isolate; }
.watch-case { position: relative; z-index: 1; background: #252722; border: 3px solid #b9b1a1; border-radius: 24%; padding: 4%; }
.watch-case img { height: auto; aspect-ratio: 416 / 496; border-radius: 20%; }
.watch-case:after { content: ''; position: absolute; top: 28%; right: -6%; width: 4%; height: 21%; border-radius: 3px; background: #8b877c; }
.watch-strap { position: absolute; z-index: 0; width: 60%; left: 20%; top: 0; bottom: 0; border-radius: 22%; background: #9a9d89; box-shadow: inset 3px 0 4px #d1d3c054, inset -3px 0 4px #464b3b40; }
.device-watch .device-caption { top: calc(100% + 12px); }
.platform-arrow { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }
.platform-family figcaption { text-align: center; font: 400 12px/1.7 var(--font-body, sans-serif); color: #777164; margin: 48px auto 0; }
.platform-family figcaption a { color: #44483a; margin-left: 12px; border-bottom: 1px solid #bbb5a7; }
.platform-hero a:focus-visible, .tv-story a:focus-visible { outline: 3px solid #537451; outline-offset: 6px; }
.tv-story { max-width: 1200px; margin: 75px auto; padding: 0 24px; scroll-margin-top: 120px; }
@media (max-width: 1050px) {
 .platform-hero { padding: 140px 28px 65px; }
 .platform-hero-inner { grid-template-columns: 1fr; gap: 55px; max-width: 760px; }
 .platform-intro { max-width: 650px; margin-left: 0; }
 .platform-family { max-width: 720px; margin: auto; }
}
@media (max-width: 700px) {
 .platform-hero { padding: 125px 24px 38px; min-height: auto; }
 .platform-hero h1 { font-size: clamp(42px, 8vw, 56px); }
 .platform-description { font-size: 17px; max-width: 440px; }
 .platform-desktop-break { display: none; }
 .platform-actions { gap: 14px; }
 .platform-primary, .platform-secondary, .platform-api { font-size: 12px; gap: 12px; }
 .platform-family { margin-top: 0; }
 .device-stage { margin: 0 -3%; width: 106%; }
 .device-tv-panel { border-radius: 4px; }
 .device-tv .device-caption { top: -16px; }
 .ipad-panel { border-radius: 8px; border-width: 1px; }
 .ipad-panel img { border-radius: 5px; }
 .mac-panel { border-radius: 5px 5px 1px 1px; }
 .mac-base { height: 4px; }
 .mac-window { border-width: .5px; border-radius: 2px; }
 .iphone-panel { border-width: 1px; border-radius: 11px; }
 .iphone-panel img { border-radius: 8px; }
 .android-panel { border-width: 1px; border-radius: 7px; }
 .android-panel img { border-radius: 5px; }
 .watch-case { border-width: 1px; }
 .device-caption { font-size: 7px; top: calc(100% + 6px); }
 .platform-family figcaption { margin-top: 38px; font-size: 10px; max-width: 280px; }
 .tv-story { margin: 55px auto; padding: 0 24px; }

}
@media (prefers-reduced-motion: reduce) { .platform-hero *, .tv-story * { transition: none; scroll-behavior: auto; } }

/* Duo uses the 164.6 × 117.8 mm open proportions, rather than a tall slab. */
.device-stage .device-iphone { width: 14%; left: 44%; bottom: 2%; }
.device-stage .device-android { left: 32%; bottom: 2%; }
.device-stage .device-watch { left: 22%; bottom: 2%; }
.device-vision { width: 17%; left: 2%; bottom: 2%; z-index: 9; border-radius: 10px; }
.device-vision img { height: auto; transition: transform .3s ease; }
.device-vision .device-caption { color: #315741; text-decoration: underline; text-underline-offset: 2px; }
.device-vision:is(:hover, :focus-visible) img { transform: translateY(-4px); }
.device-ipad .device-caption, .device-mac .device-caption { top: -25px; padding: 3px 8px; border-radius: 99px; background: #fffaf0ed; color: #585446; }
.device-duo { width: 36%; left: 62%; bottom: 2%; z-index: 8; filter: none; }
.hero-duo-scene { position: relative; width: 100%; aspect-ratio: 980 / 700; }
.hero-duo-fallback { width: 100%; height: auto; border: 3px solid #8d919a; border-radius: 12px; }
.hero-duo-fallback[hidden] { display: none; }
.hero-duo-canvas { position: absolute; width: 980px; height: 700px; top: 0; left: 0; transform-origin: top left; isolation: isolate; pointer-events: none; }
.hero-duo-hardware, .hero-duo-projection { position: absolute; width: 980px; height: 700px; inset: 0; overflow: visible; }
.hero-duo-hardware-right { z-index: 0; }
.hero-duo-projection-right { z-index: 1; }
.hero-duo-hardware-left, .hero-duo-hardware-cover { z-index: 2; }
.hero-duo-projection-left, .hero-duo-projection-cover { z-index: 3; }
.hero-duo-picture { position: absolute; width: 980px; height: 700px; inset: 0; background: url('/images/platforms/duo.jpg') center / 100% 100%; }
.hero-duo-projection-cover .hero-duo-picture { background-image: url('/images/platforms/iphone.jpg'); background-size: 50% auto; background-position: right center; background-repeat: no-repeat; }
.hero-duo-projection::before { content: ''; position: absolute; inset: -160px; background: url('/images/platforms/duo.jpg') center / cover; filter: blur(18px); }
.hero-duo-shade { position: absolute; inset: -160px; backdrop-filter: blur(var(--projection-blur, 0px)) brightness(var(--projection-brightness, 1)); -webkit-backdrop-filter: blur(var(--projection-blur, 0px)) brightness(var(--projection-brightness, 1)); mask-image: linear-gradient(90deg, black 160px, transparent 650px); -webkit-mask-image: linear-gradient(90deg, black 160px, transparent 650px); }
.hero-duo-projection-cover .hero-duo-shade { mask-image: linear-gradient(90deg, transparent 650px, black 1140px); -webkit-mask-image: linear-gradient(90deg, transparent 650px, black 1140px); }
.hero-duo-clock { position: absolute; width: 0; height: 0; }
.duo-fold-control { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; display: flex; gap: 4px; align-items: center; min-height: 36px; border: 1px solid #b8b1a4; border-radius: 99px; background: #fffaf0e6; color: #44483a; padding: 4px 12px; font: 500 clamp(9px, .85vw, 11px)/1.2 var(--font-body, sans-serif); cursor: pointer; }
.duo-fold-control svg { width: 14px; height: 14px; }
.duo-fold-control:focus-visible { outline: 3px solid #537451; outline-offset: 4px; }
.duo-fold-control:hover { background: #fffdf7; }
.duo-fold-control:disabled { cursor: wait; }
@media (max-width: 700px) {
 .device-ipad .device-caption, .device-mac .device-caption { top: -20px; }
 .duo-fold-control { padding: 4px 7px; gap: 2px; font-size: 9px; }
 .duo-fold-control svg { width: 11px; height: 11px; }
 .platform-family figcaption { margin-top: 58px; }
}
