/* Screen artwork is exported from Trove's Figma app designs. Each posture
   uses its own layout; only the physical display planes are transformed. */
.device-visual { min-width:0; width:100%; }
.device-frame[hidden], .duo-experience[hidden] { display:none; }
.device-showcase[data-kind=iphone] .device-frame,
.device-showcase[data-kind=android] .device-frame { margin-inline:auto; }
.device-showcase[data-kind=duo], .device-showcase[data-kind=tv] { display:block; }
.device-showcase[data-kind=duo] .device-copy,
.device-showcase[data-kind=tv] .device-copy { max-width:690px; margin-bottom:30px; }
.device-showcase[data-kind=tv] .device-frame { max-width:1120px; margin-inline:auto; border-color:#182a24; border-radius:16px; box-shadow:0 25px 60px #183e3333; }
.duo-experience { border:1px solid #cfdfd5; border-radius:28px; padding:24px 28px; background:radial-gradient(ellipse at 50% 45%,#fff 15%,#e2ede5 100%); }
.duo-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; position:relative; z-index:2; }
.duo-postures { display:flex; flex-wrap:wrap; gap:6px; }
.duo-toolbar button, #duo-close { min-height:44px; padding:11px 17px; border-radius:24px; background:transparent; color:var(--green); font-size:.8125rem; font-weight:600; }
.duo-postures button[aria-pressed=true] { background:var(--green); color:white; }
.duo-postures button:hover:not([aria-pressed=true]), .duo-expand:hover { background:#d4e5da; }
.duo-expand { flex-shrink:0; }
.duo-expand span { margin-left:6px; }
.duo-stage { display:grid; place-items:center; height:590px; perspective:1500px; padding:38px 40px; }
.duo-hardware { position:relative; width:min(100%,690px); aspect-ratio:4/3; transform-style:preserve-3d; transform:rotateX(8deg) rotateZ(-3deg); transition:transform .65s ease; }
.duo-plane { position:absolute; top:0; width:50%; height:100%; background:#141c19; border:7px solid #26352f; overflow:hidden; box-shadow:0 0 0 1px #90a399,0 4px 0 2px #53685c,0 22px 35px #16352b26; backface-visibility:hidden; transition:transform .65s ease; }
.duo-plane img { position:absolute; top:0; height:100%; width:200%; max-width:none; }
.duo-plane-first { left:0; border-right-width:0; border-radius:25px 3px 3px 25px; transform-origin:right center; transform:rotateY(-25deg); }
.duo-plane-second { left:50%; border-left-width:0; border-radius:3px 25px 25px 3px; transform-origin:left center; transform:rotateY(25deg); }
.duo-plane-second img { left:-100%; }
.duo-hinge { position:absolute; left:calc(50% - 5px); top:2%; width:10px; height:96%; border-radius:6px; background:linear-gradient(90deg,#111d17,#9ba69f 40%,#324a3c 70%,#0f1a14); transform:translateZ(3px); box-shadow:0 0 6px #183d3355; pointer-events:none; }
.duo-posture-caption { text-align:center; color:var(--deep); font-size:1rem; line-height:1.5; font-weight:600; }
.duo-note { text-align:center; font-size:.6875rem; line-height:1.5; color:#617366; margin-top:9px; }
.duo-experience[data-posture=closed] .duo-hardware { width:235px; aspect-ratio:402/874; transform:rotateY(-13deg) rotateZ(-3deg); }
.duo-experience[data-posture=closed] .duo-plane-first { width:100%; border:7px solid #26352f; border-radius:32px; transform:none; box-shadow:5px 1px 0 #7c8e81,10px 2px 0 #233c2c,0 26px 40px #16352b33; }
.duo-experience[data-posture=closed] .duo-plane-first img { width:100%; }
.duo-experience[data-posture=closed] .duo-plane-second,
.duo-experience[data-posture=closed] .duo-hinge { display:none; }
.duo-experience[data-posture=open] .duo-hardware { width:min(100%,615px); aspect-ratio:960/800; transform:rotateX(3deg) rotateZ(-2deg); }
.duo-experience[data-posture=open] .duo-plane { transform:none; }
.duo-experience[data-posture=open] .duo-hinge { width:2px; left:calc(50% - 1px); background:#28423518; box-shadow:none; }
.duo-experience[data-posture=tabletop] .duo-hardware { width:min(100%,720px); transform:rotateX(5deg) rotateZ(-4deg); }
.duo-experience[data-posture=tabletop] .duo-plane { left:0; width:100%; border:7px solid #26352f; }
.duo-experience[data-posture=tabletop] .duo-plane-first { top:0; height:48.333333%; border-bottom:0; border-radius:25px 25px 3px 3px; transform-origin:center bottom; transform:rotateX(-16deg); }
.duo-experience[data-posture=tabletop] .duo-plane-second { top:48.333333%; height:51.666667%; border-top:0; border-radius:3px 3px 25px 25px; transform-origin:center top; transform:rotateX(43deg); }
.duo-experience[data-posture=tabletop] .duo-plane-first img { width:100%; height:206.896552%; }
.duo-experience[data-posture=tabletop] .duo-plane-second img { left:0; top:-93.548387%; width:100%; height:193.548387%; }
.duo-experience[data-posture=tabletop] .duo-hinge { left:2%; top:calc(48.333333% - 4px); height:8px; width:96%; background:linear-gradient(#14231a,#9ba69f 40%,#324a3c 70%,#0f1a14); }
#duo-dialog { width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:28px 40px; border-radius:0; background:#eef4ef; }
.duo-dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; max-width:1400px; margin:0 auto 18px; }
.duo-dialog-heading h2 { font-size:clamp(1.3rem,2.3vw,2.25rem); margin-top:10px; }
#duo-close { flex-shrink:0; background:#d8e8de; }
#duo-close span { font-size:1.3rem; padding-left:10px; }
#duo-dialog .duo-experience { max-width:1400px; margin:auto; }
#duo-dialog .duo-expand { display:none; }
#duo-dialog .duo-toolbar { justify-content:center; }
#duo-dialog .duo-stage { height:max(320px,calc(100dvh - 295px)); }
#duo-dialog .duo-hardware { width:min(90%,calc((100dvh - 380px)*1.3333),900px); }
#duo-dialog [data-posture=closed] .duo-hardware { width:min(270px,calc((100dvh - 380px)*.46)); }
#duo-dialog [data-posture=open] .duo-hardware { width:min(90%,calc((100dvh - 380px)*1.2),860px); }
@media(max-width:760px) {
 .duo-experience { border-radius:20px; padding:14px 12px 20px; }
 .duo-toolbar { flex-direction:column; gap:5px; }
 .duo-toolbar button { padding:10px 12px; font-size:.75rem; }
 .duo-postures { justify-content:center; gap:1px; }
 .duo-stage { height:clamp(285px,88vw,510px); padding:25px 10px; perspective:950px; }
 .duo-plane { border-width:4px; }
 .duo-plane-first { border-right-width:0; border-radius:15px 2px 2px 15px; }
 .duo-plane-second { border-left-width:0; border-radius:2px 15px 15px 2px; }
 .duo-hinge { width:6px; left:calc(50% - 3px); }
 .duo-experience[data-posture=closed] .duo-hardware { width:clamp(112px,31vw,200px); }
 .duo-experience[data-posture=closed] .duo-plane-first { border-width:4px; border-radius:20px; }
 .duo-experience[data-posture=tabletop] .duo-plane { border-width:4px; }
 .duo-posture-caption { font-size:.875rem; }
 .duo-note { font-size:.625rem; }
 #duo-dialog { padding:20px 12px; }
 .duo-dialog-heading { gap:10px; margin-bottom:18px; }
 .duo-dialog-heading .eyebrow { font-size:.625rem; }
 #duo-close { padding:8px 12px; }
 #duo-dialog .duo-stage { height:max(280px,calc(100dvh - 320px)); padding-inline:5px; }
 #duo-dialog .duo-hardware { width:96%; }
 #duo-dialog [data-posture=closed] .duo-hardware { width:min(225px,calc((100dvh - 365px)*.46)); }
 #duo-dialog [data-posture=open] .duo-hardware { width:96%; }
}
@media(prefers-reduced-motion:reduce) { .duo-hardware,.duo-plane { transition:none; } }

/* Keep the Figma screen ratio exact: the bezel sits outside the screen plane. */
.duo-plane, .duo-experience[data-posture=closed] .duo-plane-first, .duo-experience[data-posture=tabletop] .duo-plane { border-width:0; box-shadow:0 0 0 5px #26352f,0 3px 0 7px #73877a,0 22px 35px #16352b26; }
.duo-experience[data-posture=open] .duo-plane { box-shadow:none; }
.duo-experience[data-posture=open] .duo-hardware { border-radius:25px; box-shadow:0 0 0 6px #26352f,0 4px 0 8px #73877a,0 22px 35px #16352b26; }
.duo-experience[data-posture=closed] .duo-plane-first { box-shadow:0 0 0 5px #26352f,7px 1px 0 6px #7c8e81,11px 2px 0 6px #233c2c,0 26px 40px #16352b33; }
