/* Shared iPhone mockup for every LEGASEE product screenshot. */
.device-mockup{position:relative;display:block;width:260px;aspect-ratio:416/870;flex:none;isolation:isolate}
.device-mockup .iphone-body{position:absolute;inset:.15% .72%;border-radius:15.12% / 7.14%;background:#08090b;box-shadow:1px 2px 2px #0003,7px 16px 24px -10px #0004,15px 38px 65px -22px #0003}
.device-mockup .iphone-display{position:absolute;left:3.125%;top:1.49425287%;width:93.75%;height:97.01149425%;border-radius:12.05128205% / 5.56872038%;overflow:hidden;background:#0c0c0c;container-type:inline-size;isolation:isolate}
.device-mockup .device-content{position:absolute;inset:0;overflow:hidden}
.device-mockup img.device-screen{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;object-fit:fill;transform:none;z-index:auto}
.device-mockup img.iphone-frame{display:block;position:absolute;inset:0;z-index:3;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;object-fit:fill;pointer-events:none}
.device-mockup .iphone-status{position:absolute;inset:0 0 auto;height:5.3%;z-index:2;background:#0c0c0c;color:#f4f4f4;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;line-height:1}
.device-mockup .iphone-time{position:absolute;left:8.1%;top:42%;font-size:3.1cqw;font-weight:600;letter-spacing:-.04em;line-height:1}
.device-mockup .iphone-status-icons{position:absolute;right:7.5%;top:41%;width:14.8%;height:auto}
.device-mockup .iphone-island{position:absolute;top:1.36%;left:34.65%;width:30.7%;height:3.6%;border-radius:999px;background:#000;box-shadow:inset 0 0 0 .5px #111316;z-index:3}
.device-mockup .iphone-camera{position:absolute;right:8%;top:50%;width:7.6%;aspect-ratio:1;transform:translateY(-50%);border-radius:50%;background:radial-gradient(circle at 38% 33%,#1c2b3e 0,#0c1421 20%,#05090e 48%,#000 66%);box-shadow:0 0 0 .5px #070a0f}
.device-mockup[data-screen="market"] .device-content{top:5.45%;bottom:2.37%}
.device-mockup[data-screen="market"] img.device-screen{height:auto;object-fit:initial}
.device-mockup .iphone-home-indicator{position:absolute;left:36.7%;bottom:.6%;width:26.6%;height:.58%;border-radius:999px;background:#f0f0f0;z-index:3}
.device-record-grid{position:absolute;left:0;top:49.17061611%;width:100%;height:42.53554502%;background:#0c0c0c;overflow:hidden}
.device-record-slot{position:absolute;overflow:hidden;background:#0c0c0c;border-radius:1.54cqw}
.device-mockup .device-record-slot>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;object-fit:cover;z-index:0}
.device-record-slot>span{position:absolute;top:4.57%;left:4.57%;padding:2.3% 5.2%;border-radius:40px;background:#0b0f0edb;color:#fff;font:2.75cqw/1.4 var(--sans);white-space:nowrap;z-index:1}

/* Profile avatar: the same portrait on every instance of the saved screen. */
.iphone-display>img.profile-avatar{position:absolute;left:4.61538462%;top:13.27014218%;width:19.48717949%;height:auto;aspect-ratio:1;max-width:none;max-height:none;display:block;object-fit:cover;object-position:50% 50%;margin:0;padding:0;border:0;border-radius:50%;box-shadow:none;transform:none;z-index:1;pointer-events:none}
.iphone-display>.profile-identity{position:absolute;left:27.17948718%;top:13.98104265%;width:68.71794872%;height:6.51658768%;padding:.51282051cqw 1.02564103cqw;background:#0c0c0c;color:#f3f3f3;z-index:1;overflow:hidden;pointer-events:none;font-family:var(--sans);text-align:left;letter-spacing:0}
.profile-identity>.profile-name{display:block;font-size:4.87179487cqw;font-weight:400;line-height:1.3;letter-spacing:.02em;white-space:nowrap}
.profile-identity>.profile-handle{display:block;font-size:3.84615385cqw;font-weight:400;line-height:1.4;color:#d7d7d7;white-space:nowrap}

/* Paired devices: a quiet light studio, parallel faces and one common baseline. */
.story-art.platform-art,.directory-visual>.platform-art{aspect-ratio:1.14;background:radial-gradient(ellipse at 48% 38%,#fff 0,#f3f3ef 52%,#e7e8e3 100%);color:#161714;container-type:inline-size}
.platform-art::after{content:"";position:absolute;left:17%;right:17%;bottom:8%;height:2.2%;border-radius:50%;background:#22292124;filter:blur(12px);pointer-events:none}
.platform-caption{top:6%;left:6%;right:6%;z-index:4;pointer-events:none}
.platform-caption img{filter:none;width:106px}
.platform-caption>span{font-size:8px;line-height:1.5;color:#666963;letter-spacing:.025em}
.platform-bottom{z-index:4;left:6%;right:6%;bottom:3%;font-size:8px;color:#62655f;pointer-events:none}
.edition-screens{position:absolute;inset:0;display:block}
.edition-screens .device-mockup{position:absolute;height:auto;max-width:none;max-height:none;margin:0;transform:none}
.edition-screens .device-mockup.edition-market{left:19%;top:26%;width:27cqw;height:auto;max-width:none;max-height:none;margin:0;transform:none;z-index:1}
.edition-screens .device-mockup.edition-record{left:45%;top:17%;width:31cqw;height:auto;max-width:none;max-height:none;margin:0;transform:none;z-index:2}
.device-mockup .iphone-body{box-shadow:0 2px 3px #111a162b,0 18px 24px -18px #111a1670,0 42px 58px -32px #111a1652}
.edition-screens .device-mockup .iphone-body{box-shadow:0 1px 2px #14191440,0 15px 20px -13px #20251d66,0 36px 44px -24px #20251d4d}

/* The service page treats each screen as a product, with a generous front view. */
.product-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(32px,5vw,76px)}
.screens.single{width:100%;margin:0;min-width:0}
.screens.single .screen-grid{position:relative;min-height:0;padding:64px 28px 66px;overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#fff 0,#f5f5f1 54%,#eceee7 100%)}
.screens.single .screen-grid::before,.screens.single .screen-grid::after{display:none}
.screens.single .screen-grid .device-mockup.record-screen{width:min(82%,310px);height:auto;max-width:none;max-height:none;margin:0;transform:none}
.product-stage-top{position:absolute;left:24px;right:24px;top:22px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:4;font:8px/1.4 var(--sans);letter-spacing:.1em;color:#666a62;pointer-events:none}
.screens.single .screen-axis{left:24px;bottom:24px;font-size:8px;letter-spacing:.055em;color:#6b6f65}
.screens.single>figcaption{margin-top:12px;text-align:right;font-size:10px;line-height:1.7;color:#777b72}
.market-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(36px,5vw,76px)}
.market-figure{width:100%;max-width:540px;padding:0;margin:0;min-width:0}
.market-stage{position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate;padding:68px 28px 68px;overflow:hidden;background:radial-gradient(ellipse at 50% 36%,#393c37 0,#20231f 43%,#10120f 100%)}
.market-stage .product-stage-top{color:#b6bcb1}
.market-stage::before{content:"";position:absolute;left:22%;right:22%;bottom:45px;height:12px;background:#0009;filter:blur(14px);pointer-events:none}
.market-figure .device-mockup{width:min(82%,300px);height:auto;margin:0;transform:none}
.market-stage .iphone-body{box-shadow:0 1px 3px #000c,0 20px 32px -18px #000b,0 50px 68px -36px #000c}
.market-figure>figcaption{margin-top:12px;text-align:right;font-size:10px;line-height:1.7;color:#777b72}
@media(max-width:760px){
 .product-hero,.market-grid{grid-template-columns:1fr;gap:36px}
 .story-art.platform-art,.directory-visual>.platform-art{aspect-ratio:1.14}
 .platform-caption img{width:88px}
 .platform-caption>span{font-size:7px}
 .platform-bottom{font-size:7px}
 .screens.single .screen-grid{padding:56px 24px 57px}
 .screens.single .screen-grid .device-mockup.record-screen{width:min(88%,286px);max-width:100%;transform:none}
 .product-stage-top{left:20px;right:20px;top:20px;font-size:7px}
 .screens.single .screen-axis{left:20px;bottom:22px;font-size:7px}
 .market-figure{width:100%;max-width:none;padding:0}
 .market-stage{padding:57px 24px 58px}
 .market-figure .device-mockup{width:min(88%,278px);transform:none}
}
@media print{.device-mockup,.edition-screens .device-mockup{transform:none!important}.device-mockup .iphone-body{box-shadow:none}.platform-art::after,.market-stage::before{display:none}}
