/* The public homepage's existing dark, cinematic world extends to real app screens. */
body.homepage .content > #scienshell-app .wrap.wrap--wide {
  width: auto;
  max-width: none;
  margin-inline: var(--frame-left) var(--frame-right);
}
#scienshell-app { padding-block: 76px 92px; background: transparent; }
#scienshell-app h2 {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(30px, 3.7vw, 54px);
  line-height: 1.2;
  font-weight: 300;
  text-wrap: balance;
}
.app-showcase__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 6vw, 92px);
  max-width: 1440px;
  margin-inline: auto;
}
.app-showcase__feature { min-width: 0; }
.app-showcase__copy { max-width: 520px; margin-inline: auto; text-align: center; }
.app-showcase__copy h3 {
  margin: 22px 0 12px;
  font-size: clamp(21px, 1.85vw, 27px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.app-showcase__copy p {
  margin: 0 auto;
  max-width: 48ch;
  color: #b7c7d1;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}
#scienshell-app .app-showcase__copy .btn { min-height: 48px; margin-top: 24px; background: #f4f7f8; border-color: #f4f7f8; color: #0b141c; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
#scienshell-app .app-showcase__copy .btn[hidden] { display: none !important; }
#scienshell-app .app-showcase__copy .btn::before { display: none; }
#scienshell-app .app-showcase__copy .btn:hover { background: #fff; border-color: #fff; color: #0b141c; }
.app-showcase__copy .btn:focus-visible { outline: 2px solid #9fd2ea; outline-offset: 6px; }
.app-showcase ::selection { background: #2779a7; color: #fff; }
.app-phones, .app-desktop { position: relative; height: 550px; max-width: 550px; margin-inline: auto; }
.app-phone {
  position: absolute;
  width: 42%;
  padding: 7px;
  border-radius: 36px;
  background: linear-gradient(115deg, #79818a 0%, #252b31 9%, #414850 42%, #161b20 63%, #626a73 100%);
  box-shadow: inset 0 0 0 1px #939ba3, inset 0 0 0 3px #252a31, 3px 5px 0 #12161b, 12px 22px 32px rgba(0,0,0,.55);
  transform-origin: 50% 70%;
}
.app-phone--notes { z-index: 1; left: 15%; top: 34px; transform: rotate(-14deg); }
.app-phone--films { z-index: 2; right: 12%; top: 18px; transform: rotate(10deg); }
.app-phone__screen { position: relative; overflow: hidden; border-radius: 29px; background: #05070b; box-shadow: 0 0 0 2px #080a0d; }
.app-phone__screen img { display: block; width: 100%; height: auto; max-width: none; }
.app-phone__status { display: flex; align-items: center; justify-content: space-between; height: 27px; padding: 3px 15px 0; font-family: var(--font); font-size: 8px; font-weight: 600; color: #eff2f6; }
.app-phone__signals { display: flex; align-items: flex-end; gap: 5px; }
.app-phone__signals i { width: 10px; height: 7px; background: linear-gradient(to right, #eff2f6 0 2px, transparent 2px 3px, #eff2f6 3px 5px, transparent 5px 6px, #eff2f6 6px 8px, transparent 8px 9px, #eff2f6 9px 10px); clip-path: polygon(0 70%, 25% 70%, 25% 45%, 55% 45%, 55% 20%, 85% 20%, 85% 0, 100% 0, 100% 100%, 0 100%); }
.app-phone__signals b { position: relative; display: block; width: 13px; height: 6px; border: 1px solid #aab1ba; border-radius: 2px; background: #eff2f6; box-shadow: inset 0 0 0 1px #05070b; }
.app-phone__signals b::after { content: ""; position: absolute; top: 1px; right: -3px; width: 2px; height: 2px; background: #aab1ba; border-radius: 0 1px 1px 0; }
.app-phone__island { position: absolute; top: 12px; left: 50%; display: flex; align-items: center; justify-content: center; gap: 6px; width: 33%; height: 16px; transform: translateX(-50%); border-radius: 0 0 12px 12px; background: #050609; }
.app-phone__island i { width: 25px; height: 3px; border-radius: 2px; background: #21252c; box-shadow: 0 1px 0 #0c0e12; }
.app-phone__island b { width: 5px; height: 5px; border-radius: 50%; background: #14212c; box-shadow: inset 1px 1px 1px #314453; }
.app-phone__home { position: absolute; bottom: 6px; left: 32%; width: 36%; height: 3px; background: #d6dce2; border-radius: 2px; }
.app-phone__button { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(to right, #181d23, #7c848d, #303740); box-shadow: 1px 0 1px #07090b; }
.app-phone__button--silent { left: -2px; top: 70px; height: 13px; }
.app-phone__button--volume { left: -2px; top: 105px; height: 47px; }
.app-phone__button--volume::after { content: ""; position: absolute; top: 54px; left: 0; width: 3px; height: 35px; background: inherit; border-radius: inherit; }
.app-phone__button--power { right: -3px; top: 112px; height: 48px; }
.app-desktop { display: flex; align-items: center; max-width: 680px; }
.app-desktop__device { position: relative; width: 100%; padding-bottom: 58px; }
.app-desktop__display {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 12px 9px 20px;
  border-radius: 11px;
  background: linear-gradient(125deg, #505760, #20262d 25%, #11161c 78%, #353d45);
  box-shadow: inset 0 0 0 1px #69717a, inset 0 0 0 3px #1d2229, 2px 5px 0 #0c1015, 12px 22px 38px rgba(0,0,0,.45);
}
.app-desktop__screen { overflow: hidden; border-radius: 3px; background: #05070b; }
.app-desktop__screen img { display: block; width: 100%; height: auto; max-width: none; }
.app-desktop__camera { position: absolute; left: calc(50% - 2px); top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #0b1219; box-shadow: inset 1px 1px 1px #3d4c5c; }
.app-desktop__chin { position: absolute; left: calc(50% - 9px); bottom: 8px; width: 18px; height: 2px; background: #87909a; border-radius: 1px; }
.app-desktop__stand { position: absolute; z-index: 1; left: 41%; bottom: 6px; width: 18%; height: 56px; background: linear-gradient(90deg, #323a43, #69747e 48%, #303943); transform: perspective(150px) rotateX(15deg); }
.app-desktop__foot { position: absolute; z-index: 3; left: 30%; bottom: 0; width: 40%; height: 7px; border-radius: 50% 50% 2px 2px; background: linear-gradient(180deg, #7d8892, #29313a); box-shadow: 0 12px 16px rgba(0,0,0,.5); }
@media (min-width: 1800px) { .app-showcase__features { column-gap: 140px; } }
@media (max-width: 1199px) {
  .app-phones, .app-desktop { height: 470px; }
  .app-phone { width: 42%; border-radius: 31px; }
  .app-phone__screen { border-radius: 24px; }
  .app-phone--notes { left: 15%; top: 38px; }
  .app-phone--films { right: 12%; top: 22px; }
  .app-showcase__copy p { font-size: 15px; }
}
@media (max-width: 899px) {
  #scienshell-app { padding-block: 64px 72px; }
  #scienshell-app h2 { max-width: 600px; margin-inline: auto; margin-bottom: 30px; }
  .app-showcase__features { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .app-phones { width: min(100%, 420px); height: 470px; }
  .app-phone { width: 42%; }
  .app-desktop { width: min(100%, 620px); height: auto; min-height: 250px; padding: 0; }
  .app-showcase__copy h3 { margin-top: 16px; }
}
@media (max-width: 479px) {
  #scienshell-app h2 { font-size: 30px; margin-bottom: 20px; }
  .app-phones { height: 375px; }
  .app-phone { width: 42%; padding: 5px; border-radius: 25px; }
  .app-phone__screen { border-radius: 20px; }
  .app-phone--notes { left: 15%; top: 32px; }
  .app-phone--films { right: 12%; top: 17px; }
  .app-phone__status { height: 21px; padding: 2px 10px 0; font-size: 6px; }
  .app-phone__island { top: 8px; height: 13px; gap: 4px; }
  .app-phone__island i { width: 20px; height: 2px; }
  .app-phone__island b { width: 4px; height: 4px; }
  .app-showcase__copy h3 { font-size: 22px; }
  #scienshell-app .app-showcase__copy .btn { margin-top: 20px; }
  .app-desktop { min-height: 220px; }
  .app-desktop__device { padding-bottom: 45px; }
  .app-desktop__display { padding: 9px 6px 17px; border-radius: 8px; }
  .app-desktop__stand { height: 43px; bottom: 5px; }
  .app-desktop__foot { height: 6px; }
}
@media (max-width: 359px) { .app-phones { height: 350px; } }
@media (prefers-reduced-motion: reduce) { .app-showcase__copy .btn { transition: none; } }
