/* Original supplied photographs; the live interface sits inside each display. */
:root{background:#f2f1ed}body{background:radial-gradient(ellipse at 50% 48%,#f8f7f4 0%,#f5f4f0 42%,#eeede8 100%);min-height:100svh}
.device-area{isolation:isolate}.device-area:before{inset:0;background:none}
.phone:after{content:'';position:absolute;left:12%;bottom:-7px;width:76%;height:13px;border-radius:50%;background:#34342f22;filter:blur(13px);z-index:-1;pointer-events:none}
.studio-credit{font:12px/1.6 Arial,Helvetica,sans-serif;letter-spacing:0;color:#77796f}.studio-credit a{color:#444b3e;text-decoration:underline;text-underline-offset:3px}.studio-credit a:hover{color:#1e2e1b}
.phone{width:310px;height:auto;aspect-ratio:650/1425;padding:0;border:0;border-radius:0;background:none;box-shadow:none;position:relative;filter:drop-shadow(0 20px 16px #29292720)}
.device-photo{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.device-photo img{position:absolute;width:132%;height:auto;max-width:none;left:-16.8%;top:-7.45%;mix-blend-mode:multiply}
.screen{position:absolute;left:4.05%;top:1.6%;width:91.5%;height:90.5%;border:0;border-radius:36px;background:transparent!important;overflow:hidden}
.side,.island{display:none}
.status{height:48px;padding:0 21px;align-items:center;position:relative}
.status time{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.status .status-indicators{display:flex;align-items:center;gap:4px;letter-spacing:0;color:inherit}
.signal-icon{width:14px;height:12px;fill:currentColor}
.wifi-icon{width:15px;height:12px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.wifi-icon circle{fill:currentColor;stroke:none}
.battery-icon{position:relative;display:flex;align-items:center;justify-content:center;width:27px;height:13px;border:1px solid currentColor;border-radius:3px;font-size:8px;font-weight:700;background:linear-gradient(90deg,#34393220 86%,transparent 86%)}
.battery-icon>span{font-size:6px;margin-left:1px}
.battery-icon:after{content:'';position:absolute;right:-3px;width:2px;height:5px;background:currentColor;border-radius:0 1px 1px 0}
.phone-home{padding:22px 17px 0}
.widget{height:128px;background:#ffffff78;backdrop-filter:blur(7px);border:1px solid #ffffff8c;box-shadow:0 2px 7px #00000008}
.widget-title{font-size:21px}.apps{margin-top:22px;gap:19px 7px}.apps button{font-size:10px;color:#282d28}.apps .icon{height:50px;width:50px}
.dock{bottom:25px;height:66px;left:12px;right:12px;border-radius:23px;background:#f8f8f5a6;backdrop-filter:blur(12px)}
.dock .icon{width:48px;height:48px;border-radius:12px}
.home-bar{bottom:8px;height:4px;width:36%;background:#313631}
.device-caption{margin-top:23px;text-align:center;font-size:10px;color:#7f827a}
.app-view{inset:48px 2px 25px;background:#f5f4f1;padding:0 18px 22px;border-radius:0 0 22px 22px;overscroll-behavior:contain;scrollbar-width:thin}.app-view nav{position:sticky;top:0;background:inherit;z-index:2}
.device-picker,.surface-keyboard,.device-model{display:none}
.mobile-intro{display:none}
.dark-phone .widget{background:#e4e5e0c9}.dark-phone .apps button{color:#282d28}
@media(min-width:1450px){.phone{width:330px;height:auto}.apps{gap:22px 8px}.page-dots{margin-top:22px}}
@media(max-width:650px){.phone{width:min(300px,calc(100vw - 48px));height:auto}.widget{height:120px}.apps{gap:17px 7px}.device-caption{font-size:9px;letter-spacing:1px}.page-dots{margin-top:14px}}
/* Landscape layout uses the supplied frontal Surface photo, including keyboard. */
[data-device=surface] main{max-width:1500px;grid-template-columns:minmax(190px,1fr) minmax(0,650px) minmax(180px,1fr);gap:35px;padding:25px 35px 40px}
[data-device=surface] .device-area{width:100%;max-width:650px}
[data-device=surface] .phone{width:100%;height:auto;aspect-ratio:1250/910;transform:none;filter:drop-shadow(0 14px 12px #29292718)}
[data-device=surface] .phone:after{left:7%;width:86%;bottom:-6px;height:15px;background:#34342f24;filter:blur(15px)}
[data-device=surface] .device-photo img{width:128%;left:-14%;top:-37.8%;height:auto}
[data-device=surface] .screen{left:9%;top:5.2%;width:82%;height:70.8%;border-radius:0;background:none!important;border:0}
[data-device=surface] .status{height:27px;padding:0 13px;color:#fff;font-size:10px}
[data-device=surface] .phone-home{padding:13px 15px 48px;display:grid;grid-template-columns:1fr 1.1fr;gap:17px;align-items:start}
[data-device=surface] .phone-home[hidden]{display:none}
[data-device=surface] .widget{height:142px;margin-top:3px;padding:14px;border-radius:8px;background:#f8fbffde;border:1px solid #fff8}
[data-device=surface] .widget-title{font-size:21px;margin-top:14px}
[data-device=surface] .apps{margin-top:4px;gap:13px 8px;grid-template-columns:repeat(3,minmax(0,1fr))}
[data-device=surface] .apps button{color:white;font-size:9px;text-shadow:0 1px 4px #000}
[data-device=surface] .apps .icon{width:36px;height:36px;border-radius:8px;text-shadow:none}
[data-device=surface] .apps .icon img{width:25px;height:25px}
[data-device=surface] .apps .settings{font-size:29px}
[data-device=surface] .page-dots{display:none}
[data-device=surface] .dock{height:38px;bottom:0;left:0;right:0;justify-content:center;gap:15px;border:0;border-radius:0;background:#eef3fabd}
[data-device=surface] .dock .icon{width:27px;height:27px;border-radius:4px;font-size:24px;box-shadow:none}
[data-device=surface] .dock img{width:20px;height:20px}
[data-device=surface] .home-bar{width:23px;height:21px;left:calc(50% - 82px);bottom:8px;transform:none;border-radius:2px;background:linear-gradient(90deg,transparent 45%,#e6f1f9 45%,#e6f1f9 55%,transparent 55%),linear-gradient(transparent 45%,#e6f1f9 45%,#e6f1f9 55%,transparent 55%),#427da2}
[data-device=surface] .app-view{inset:27px 0 39px;padding:0 17px 20px;background:#f5f4f1;overflow:auto}
[data-device=surface] .app-view nav{height:35px}
[data-device=surface] .app-view h2{font-size:25px;margin:16px 0 10px}
[data-device=surface] .large-icon{float:right;margin:15px 0 10px 12px}
[data-device=surface] .project-story{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
[data-device=surface] .project-story figure{margin-top:12px}
@media(max-width:1100px){[data-device=surface] main{grid-template-columns:200px minmax(0,650px);gap:22px;padding-inline:25px}[data-device=surface] aside{display:none}[data-device=surface] h1{font-size:34px}}
@media(max-width:700px){[data-device=surface] main{display:flex;flex-direction:column;padding:20px;gap:20px}[data-device=surface] .intro{text-align:center}[data-device=surface] .intro .rule,[data-device=surface] .intro .small{display:none}[data-device=surface] .screen{font-size:12px}[data-device=surface] .widget-title{font-size:17px}[data-device=surface] .widget{height:120px;padding:10px}[data-device=surface] .apps{gap:8px}[data-device=surface] .apps .icon{height:30px;width:30px}[data-device=surface] .apps button{font-size:8px}}
@media(prefers-reduced-motion:no-preference){.phone{animation:device-enter .3s ease-out}@keyframes device-enter{from{opacity:.5}to{opacity:1}}}
@media(max-width:650px){footer{height:auto;min-height:85px;padding-block:18px;flex-wrap:wrap}.studio-credit{font-size:12px;max-width:240px;text-align:right}}
/* A complete, centered first viewport on smartphones, including short screens. */
@media(max-width:650px){
  header{height:56px;padding:10px 22px;align-items:flex-start}
  .brand img{width:36px;height:36px}
  .brand span,.edition{display:none}
  main{height:auto;min-height:0;display:grid;grid-template-columns:1fr;grid-template-rows:24px calc(100svh - 80px) auto auto;gap:0;padding:0 16px;margin:0}
  .intro{padding:0;align-self:center;text-align:center}
  .intro h1,.intro p,.intro .rule,.intro .small,.device-caption{display:none}
  .intro .eyebrow{font-size:10px;letter-spacing:1.5px}
  .device-area{width:100%;height:calc(679.6154px * var(--mobile-device-scale,.88));align-self:center;transform:translateY(7px)}
  .phone{position:absolute;top:0;width:310px;height:auto;transform:scale(var(--mobile-device-scale,.88));transform-origin:top center}
  .screen{border-radius:36px}
  .phone-home{padding:22px 17px 0}
  .widget{height:128px}
  .apps{gap:19px 7px}
  .page-dots{margin-top:14px}
  .mobile-intro{display:block;text-align:center;padding:24px 10px 36px}
  .mobile-intro h2{font-size:36px;line-height:1.15;letter-spacing:-1.6px;margin:0 0 18px}
  .mobile-intro em{font-family:Georgia,serif;font-weight:400}
  .mobile-intro p{font-size:15px;line-height:1.8;color:#73766f;margin:0}
  aside{display:block;justify-self:center;text-align:center;max-width:310px;padding:26px 12px 42px;border-top:1px solid #e0dfd8}
  aside h2{font-size:26px;margin-top:18px}
  aside .hint{justify-content:center;text-align:left}
  aside .aside-note{margin-top:24px}
  footer{margin-top:0}
}

