/* The welcome scene dissolves into one continuous Void backdrop for My Health.
   Both section introductions share the same central axis and type scale. */
#centre {
  --ct-scene-height: clamp(580px, 64vw, 960px);
  display: block; min-height: 0; padding: 0 0 48px;
  background: var(--void); color: var(--star);
}
#centre .ct-bg { position: relative; inset: auto; display: block; width: 100%; height: var(--ct-scene-height); z-index: 0; }
#centre .ct-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; object-position: 50% 46%; }
#centre .ct-scrim {
  inset: 0 0 auto; height: var(--ct-scene-height); z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(14,14,15,.08) 48%, rgba(14,14,15,.28) 60%, rgba(14,14,15,.65) 75%, rgba(14,14,15,.94) 91%, var(--void) 100%);
}
#centre .ct-inner {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: none; margin: -156px 0 0; padding-inline: var(--yl-inset); gap: 0; text-align: center;
}
#centre .ct-copy, #myhealth .mh-head > div:first-child { width: 100%; max-width: 760px; margin-inline: auto; align-self: auto; justify-self: auto; }
#centre .ct-h, #myhealth .mh-h { max-width: 760px; margin-inline: auto; text-align: center; color: var(--star); }
#centre .ct-lead, #myhealth .mh-lead { max-width: 640px; margin-inline: auto; color: rgba(233,228,218,.72); text-align: center; text-wrap: balance; }
#centre .ct-portal {
  --lw: 30px; position: absolute; z-index: 3; left: 50%; top: calc(var(--ct-scene-height) / 2);
  transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 48px); flex-direction: row; gap: 12px; min-height: 52px; height: auto;
  margin: 0; padding: 10px 20px 10px 14px; border-radius: 12px;
  background: rgba(14,14,15,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(233,228,218,.24);
  transition: background .3s ease, box-shadow .3s ease;
}
#centre .ct-visual { width: var(--lw); height: calc(var(--lw) * .72); flex: none; }
#centre .ct-label { min-height: 0; padding: 0; text-shadow: none; font: 400 14px/1.4 var(--f-text); letter-spacing: 0; }
#centre .ct-portal:hover { background: rgba(14,14,15,.65); box-shadow: inset 0 0 0 1px rgba(233,228,218,.4); }
#myhealth { padding-top: 64px; background: var(--void); color: var(--star); }
#myhealth .mh-head { display: block; text-align: center; }
#myhealth .mh-ct { color: var(--star); }
#myhealth .mh-cd { color: rgba(233,228,218,.72); }
#myhealth ::selection { background: var(--star); color: var(--void); }
#myhealth .mh-foot { border-top-color: rgba(233,228,218,.16); }
#myhealth .mh-note { color: rgba(233,228,218,.6); }
#myhealth .mh-cta { background: var(--gold); color: var(--void); }
#myhealth .mh-cta:hover { background: #f0cfa0; }
#myhealth .mh-track:focus-visible, #myhealth .mh-btn:focus-visible, #myhealth .mh-cta:focus-visible { outline-color: var(--gold); }
/* Keep the original light My Health app design inside the phones. */
#myhealth .mh-phone { box-shadow: 0 18px 40px rgba(0,0,0,.24); }
@media(max-width:759px) {
  #centre { --ct-scene-height: clamp(460px, 105vw, 640px); padding-bottom: 32px; }
  #centre .ct-bg img { object-position: 43% 42%; }
  #centre .ct-inner { margin-top: -92px; }
  #myhealth { padding-top: 48px; }
}
@media(orientation:landscape) and (max-height:520px) {
  #centre { --ct-scene-height: 560px; }
}
@media(prefers-reduced-motion:reduce) {
  #centre .ct-portal { transition: none; }
}
